pidgin/pidgin

Parents e891b5995bf7
Children 19e0299e7d2d
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.
--- 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
--- 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%%; }
</style>