xtras/mathuaerknedam 70:72928a363c0c: Fix classes here too. ("t-...
commits at adium.im
commits at adium.im
Mon Jul 6 10:32:36 UTC 2009
details: http://hg.adium.im/xtras/mathuaerknedam/rev/72928a363c0c
revision: 70:72928a363c0c
author: mathuaerknedam
date: Fri Jul 03 22:00:56 2009 -0500
Fix classes here too. ("t-" and "so-" to "x-")
diffs (192 lines):
diff -r d3e3fc78d256 -r 72928a363c0c Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Footer.html
--- a/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Footer.html Fri Jul 03 15:13:30 2009 -0500
+++ b/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Footer.html Fri Jul 03 22:00:56 2009 -0500
@@ -8,7 +8,7 @@
var senderName = null;
while (!senderName) {
var nodeClass = node.className;
- if (nodeClass.indexOf("message") >= 0 && nodeClass.indexOf("t-message") == -1) {
+ if (nodeClass.indexOf("message") >= 0 && nodeClass.indexOf("x-message") == -1) {
var parts = nodeClass.split(" ");
senderName = parts[parts.length - 1];
}
@@ -17,18 +17,18 @@
var elms = document.getElementsByClassName(senderName);
var len = elms.length;
for(var i = 0; i < len; i++) {
- elms[i].className += ' t-hover';
+ elms[i].className += ' x-hover';
}
}
function deselectAll() {
if (!highlightActive)
return;
- var elms = document.querySelectorAll(".t-hover");
+ var elms = document.querySelectorAll(".x-hover");
var len = elms.length;
var elm = null;
for(var i = 0; i < len; i++) {
elm = elms[i];
- elm.className = elm.className.replace(' t-hover', '');
+ elm.className = elm.className.replace(' x-hover', '');
}
highlightActive = false;
}
diff -r d3e3fc78d256 -r 72928a363c0c Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Header.css
--- a/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Header.css Fri Jul 03 15:13:30 2009 -0500
+++ b/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Header.css Fri Jul 03 22:00:56 2009 -0500
@@ -6,7 +6,7 @@
padding-top: 66px;
}
-#so-header {
+#x-header {
position: fixed;
top: 0;
height: 56px;
@@ -24,7 +24,7 @@
z-index: 100;
}
-#so-header .so-icon {
+#x-header .x-icon {
position: absolute;
z-index: 101;
max-width: 32px;
@@ -34,29 +34,29 @@
}
/*
-#so-header .so-icon {
+#x-header .x-icon {
background: url(images/icons/background_48_rounded.png) top left no-repeat;
}
*/
-#so-header .so-icon.incoming {
+#x-header .x-icon.incoming {
left: 25px;
right: auto;
}
-#so-header .so-icon.outgoing {
+#x-header .x-icon.outgoing {
right: 25px;
left: auto;
}
-#so-service {
+#x-service {
height: 16px;
width: auto;
position: relative;
top: 3px;
}
-#so-header h1 {
+#x-header h1 {
margin: 5px 60px 0;
padding: 0;
font-size: 11px;
@@ -66,14 +66,14 @@
text-overflow: ellipsis;
}
-#so-header h2 {
+#x-header h2 {
margin: 3px 0 0 0;
padding: 0;
font-size: 10px;
color: rgba(120, 120, 120, 1);
}
-#so-header h3 {
+#x-header h3 {
font-size: 11px;
text-transform: lowercase;
position: absolute;
@@ -100,18 +100,18 @@
/* Large header */
/*
-#so-header {
+#x-header {
height: 85px;
background-image: url(images/compact/normal/header.png), url(images/compact/normal/swish_left.png), url(images/compact/normal/swish_right.png);
}
-#so-header .so-icon {
+#x-header .x-icon {
width: 48px;
height: 48px;
top: 11px;
}
-#so-header h3 {
+#x-header h3 {
top: 63px;
margin: 0;
white-space: nowrap;
@@ -120,16 +120,16 @@
max-width: 35%;
}
-#so-service {
+#x-service {
height: 22px;
top: 4px;
}
-#so-header h1 {
+#x-header h1 {
margin: 7px 0 0 0;
}
-#so-header h2 {
+#x-header h2 {
margin: 5px 0 0 0;
}
diff -r d3e3fc78d256 -r 72928a363c0c Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Header.html
--- a/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Header.html Fri Jul 03 15:13:30 2009 -0500
+++ b/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Header.html Fri Jul 03 22:00:56 2009 -0500
@@ -2,12 +2,12 @@
@import url(./Header.css);
</style>
-<div id="so-header">
+<div id="x-header">
<h1>%timeOpened{%A %e %B %Y}%</h1>
<h2>%timeOpened%</h2>
- <img id="so-service" src="images/compact/normal/aim.png" />
+ <img id="x-service" src="images/compact/normal/aim.png" />
<h3 class="incoming">%destinationName%</h3>
<h3 class="outgoing">%sourceName%</h3>
- <img class="so-icon incoming" src="%incomingIconPath%" />
- <img class="so-icon outgoing" src="%outgoingIconPath%" />
+ <img class="x-icon incoming" src="%incomingIconPath%" />
+ <img class="x-icon outgoing" src="%outgoingIconPath%" />
</div>
diff -r d3e3fc78d256 -r 72928a363c0c Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Mockup-SpecialCases.html
--- a/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Mockup-SpecialCases.html Fri Jul 03 15:13:30 2009 -0500
+++ b/Smooth Operator ☿.AdiumMessageStyle/Contents/Resources/Mockup-SpecialCases.html Fri Jul 03 22:00:56 2009 -0500
@@ -21,7 +21,7 @@
<body>
<!--
-<div id="so-header">
+<div id="x-header">
<style type="text/css">
@import url(./Header.css);
</style>
@@ -31,8 +31,8 @@
<img src="./Images/compact/normal/aim.png" id="IRC" />
<h3 class="incoming">Jeff</h3>
<h3 class="outgoing">Evan</h3>
- <img class="so-icon incoming" src="./incoming_icon.png" />
- <img class="so-icon outgoing" src="./outgoing_icon.png" />
+ <img class="x-icon incoming" src="./incoming_icon.png" />
+ <img class="x-icon outgoing" src="./outgoing_icon.png" />
</div>
--!>
More information about the commits
mailing list