# HG changeset patch # User tomkiewicz@cpw.pidgin.im # Date 1337445518 0 # Node ID 1c0d9e817dcc1d3ba55ee1bc0f641c68beda598e # Parent 4acc5b98f143b6357b2b6a10fb0a2c078b8a9973 New branch for GSoC2012 project: Gadu-Gadu protocol plugin improvements. This commit makes trunk usable again - tunning default theme to match legacy Pidgin look&feel. diff -r 4acc5b98f143 -r 1c0d9e817dcc pidgin/themes/Contents/Resources/main.css --- a/pidgin/themes/Contents/Resources/main.css Fri May 04 07:33:51 2012 +0000 +++ b/pidgin/themes/Contents/Resources/main.css Sat May 19 16:38:38 2012 +0000 @@ -1,19 +1,24 @@ body { word-wrap: break-word; word-break: break-word; + + font-size: 13px; + margin: 2px; + overflow-y: scroll; } .x-container, .x-status_container { line-height: 1.3em; - margin-bottom: 6px; + margin-bottom: 4px; } .x-container .x-time, .x-status_container .x-time { display: inline; + font-size: 12px; } .x-container .x-sender diff -r 4acc5b98f143 -r 1c0d9e817dcc pidgin/themes/Template.html --- a/pidgin/themes/Template.html Fri May 04 07:33:51 2012 +0000 +++ b/pidgin/themes/Template.html Sat May 19 16:38:38 2012 +0000 @@ -286,22 +286,10 @@ node.parentNode.replaceChild(a, node); } - //Align our chat to the bottom of the window. If true is passed, view will also be scrolled down + //If true is passed, view will be scrolled down function alignChat(shouldScroll) { - var windowHeight = window.innerHeight; - - if (windowHeight > 0) { - var contentElement = document.getElementById('Chat'); - var heightDifference = (windowHeight - contentElement.offsetHeight); - if (heightDifference > 0) { - contentElement.style.position = 'relative'; - contentElement.style.top = heightDifference + 'px'; - } else { - contentElement.style.position = 'static'; - } - } - - if (shouldScroll) scrollToBottom(); + if (shouldScroll) + scrollToBottom(); } window.onresize = function windowDidResize(){ @@ -319,7 +307,7 @@ .actionMessageUserName { display:none; } .actionMessageBody:before { content:"*"; } .actionMessageBody:after { content:"*"; } - * { word-wrap:break-word; text-rendering: optimizelegibility; } + * { word-wrap:break-word } img.scaledToFitImage { height: auto; max-width: 100%%; }