xtras/mathuaerknedam 135:88fe38e094b9: Put 1pm back on the left ...
commits at adium.im
commits at adium.im
Fri Oct 23 03:18:48 UTC 2009
details: http://hg.adium.im/xtras/mathuaerknedam/rev/88fe38e094b9
revision: 135:88fe38e094b9
author: mathuaerknedam
date: Thu Oct 22 19:27:50 2009 -0500
Put 1pm back on the left edge of each message.
Subject: xtras/mathuaerknedam 136:f51b388c6d6a: Improved all-by-sender javascript?
details: http://hg.adium.im/xtras/mathuaerknedam/rev/f51b388c6d6a
revision: 136:f51b388c6d6a
author: mathuaerknedam
date: Thu Oct 22 22:05:44 2009 -0500
Improved all-by-sender javascript?
Subject: xtras/mathuaerknedam 137:be91369ed5cf: Remove a bunch of selectors with empty or commented declarations, since the selectors are still active even when no style gets applied. This is bad for performance.
details: http://hg.adium.im/xtras/mathuaerknedam/rev/be91369ed5cf
revision: 137:be91369ed5cf
author: mathuaerknedam
date: Thu Oct 22 22:08:44 2009 -0500
Remove a bunch of selectors with empty or commented declarations, since the selectors are still active even when no style gets applied. This is bad for performance.
diffs (225 lines):
diff -r c2a46e98e08e -r be91369ed5cf Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Variants/Alternating.css
--- a/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Variants/Alternating.css Tue Oct 20 16:43:06 2009 -0500
+++ b/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Variants/Alternating.css Thu Oct 22 22:08:44 2009 -0500
@@ -544,14 +544,6 @@
//padding-bottom: 3px;
}
-.history.message .x-wrap:last-child
-{
-}
-
-.history.message .x-wrap:not(:last-child)
-{
-}
-
.history .x-sender
{
display: inline;
diff -r c2a46e98e08e -r be91369ed5cf Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Variants/Compact.css
--- a/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Variants/Compact.css Tue Oct 20 16:43:06 2009 -0500
+++ b/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Variants/Compact.css Thu Oct 22 22:08:44 2009 -0500
@@ -21,11 +21,6 @@
color: rgba(64, 64, 64, 1);
}
-#Chat div:first-child
-{
- //margin-top: 2px;
-}
-
#Chat .history:first-child.message
{
-webkit-box-shadow: 0px -1px 1px rgba(0, 0, 0, .2);
@@ -331,13 +326,6 @@
margin-right: 9px;
}
-.history.event:first-child:before
-{
- //content: "Message History \25BE";
- //float: left;
- //margin-left: 7px;
-}
-
.history.status:not(.consecutive),
.history.event:not(.consecutive)
{
@@ -351,14 +339,6 @@
text-shadow: 0px 1px 4px rgba(64, 64, 64, .5);
}
-.history.message .x-wrap:last-child
-{
-}
-
-.history.message .x-wrap:not(:last-child)
-{
-}
-
.history .x-rtime
{
text-shadow: 0px 1px 4px rgba(184, 184, 184, .5);
diff -r c2a46e98e08e -r be91369ed5cf Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Variants/Icon-Time1.css
--- a/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Variants/Icon-Time1.css Tue Oct 20 16:43:06 2009 -0500
+++ b/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Variants/Icon-Time1.css Thu Oct 22 22:08:44 2009 -0500
@@ -20,11 +20,6 @@
padding: 8px;
}
-#Chat div:first-child
-{
- //margin-top: 2px;
-}
-
#Chat .history:first-child.message
{
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, .3), 0px 0px 1px rgba(0, 0, 0, .4);
@@ -484,14 +479,6 @@
//margin-right: 9px;
}
-.history.event:first-child:before
-{
- //content: "Message History \25BE";
- //float: left;
- //margin-left: 8px;
- //margin-top: 1px;
-}
-
.history.event:first-child
{
-webkit-border-top-left-radius: 5px;
@@ -538,18 +525,6 @@
padding-bottom: 2px;
}
-.history.message.consecutive .x-wrap
-{
-}
-
-.history.message .x-wrap:last-child
-{
-}
-
-.history.message .x-wrap:not(:last-child)
-{
-}
-
.history.message.hideIcons .x-wrap,
.history.IRC.message .x-wrap
{
diff -r c2a46e98e08e -r be91369ed5cf Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Variants/Icon-Time2.css
--- a/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Variants/Icon-Time2.css Tue Oct 20 16:43:06 2009 -0500
+++ b/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Variants/Icon-Time2.css Thu Oct 22 22:08:44 2009 -0500
@@ -20,11 +20,6 @@
padding: 8px;
}
-#Chat div:first-child
-{
- //margin-top: 2px;
-}
-
#Chat .history:first-child.message
{
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, .3), 0px 0px 1px rgba(0, 0, 0, .4);
@@ -539,18 +534,6 @@
padding-bottom: 2px;
}
-.history.message.consecutive .x-wrap
-{
-}
-
-.history.message .x-wrap:last-child
-{
-}
-
-.history.message .x-wrap:not(:last-child)
-{
-}
-
.history.hideIcons .x-wrap,
.history.IRC .x-wrap
{
diff -r c2a46e98e08e -r be91369ed5cf Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Variants/Time-Icon.css
--- a/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Variants/Time-Icon.css Tue Oct 20 16:43:06 2009 -0500
+++ b/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Variants/Time-Icon.css Thu Oct 22 22:08:44 2009 -0500
@@ -20,11 +20,6 @@
padding: 8px;
}
-#Chat div:first-child
-{
- //margin-top: 2px;
-}
-
#Chat .history:first-child.message
{
-webkit-box-shadow: 0px 3px 3px rgba(0, 0, 0, .3), 0px 0px 1px rgba(0, 0, 0, .4);
@@ -421,13 +416,6 @@
margin-left: -1px;
}
-.history:last-of-type:after
-{
- //content: "Message History \25BE";
- //float: left;
- //margin-left: 9px;
-}
-
.history.event:first-child
{
-webkit-border-top-left-radius: 5px;
@@ -485,14 +473,6 @@
padding-bottom: 2px;
}
-.history.message .x-wrap:last-child
-{
-}
-
-.history.message .x-wrap:not(:last-child)
-{
-}
-
.history .x-sender
{
display: inline;
diff -r c2a46e98e08e -r be91369ed5cf yMous ☿.AdiumMessageStyle/Contents/Resources/Footer.html
--- a/yMous ☿.AdiumMessageStyle/Contents/Resources/Footer.html Tue Oct 20 16:43:06 2009 -0500
+++ b/yMous ☿.AdiumMessageStyle/Contents/Resources/Footer.html Thu Oct 22 22:08:44 2009 -0500
@@ -12,7 +12,7 @@
}
node = node.parentElement;
}
- var elms = document.getElementsByClassName(senderName);
+ var elms = document.getElementsByClassName(senderName); var elemArray = new Array(elms.length); for (var i=0; i<elms.length; i++) { elemArray[i]=elms[i]; }
var len = elms.length;
for(var i = 0; i < len; i++) {
elms[i].className += ' xxxhover';
diff -r c2a46e98e08e -r be91369ed5cf yMous ☿.AdiumMessageStyle/Contents/Resources/Mockup.html
--- a/yMous ☿.AdiumMessageStyle/Contents/Resources/Mockup.html Tue Oct 20 16:43:06 2009 -0500
+++ b/yMous ☿.AdiumMessageStyle/Contents/Resources/Mockup.html Thu Oct 22 22:08:44 2009 -0500
@@ -182,7 +182,7 @@
}
node = node.parentElement;
}
- var elms = document.getElementsByClassName(senderName);
+ var elms = document.getElementsByClassName(senderName); var elemArray = new Array(elms.length); for (var i=0; i<elms.length; i++) { elemArray[i]=elms[i]; }
var len = elms.length;
for(var i = 0; i < len; i++) {
elms[i].className += ' xxxhover';
diff -r c2a46e98e08e -r be91369ed5cf yMous ☿.AdiumMessageStyle/Contents/Resources/Variants/_Themes/_Base.css
--- a/yMous ☿.AdiumMessageStyle/Contents/Resources/Variants/_Themes/_Base.css Tue Oct 20 16:43:06 2009 -0500
+++ b/yMous ☿.AdiumMessageStyle/Contents/Resources/Variants/_Themes/_Base.css Thu Oct 22 22:08:44 2009 -0500
@@ -185,7 +185,7 @@
.xxxmessage
{
- padding-left: 2px;
+ padding-left: 3px;
padding-right: .5em;
max-width: 90%;
width: 100%;
More information about the commits
mailing list