adium 4287:fa71f0261abf: Smooth Operator - Alternating: tweaks f...

commits at adium.im commits at adium.im
Fri Nov 4 20:06:59 UTC 2011


details:	http://hg.adium.im/adium/rev/fa71f0261abf
revision:	4287:fa71f0261abf
branch:		(none)
author:		mathuaerknedam
date:		Thu Apr 21 21:12:40 2011 -0500

Smooth Operator - Alternating: tweaks for closing focus indicators when icons are disabled (via checkbox or in IRC).
(transplanted from 759fb82770a258c3d4427b8919253e2e606c93a9)
Subject: adium 4288:d1ac625dfab7: minimal_mod: hide the header if the user scrolls up far enough that Adium won't scroll on new content. Also remove the changing of header opacity on hover.

details:	http://hg.adium.im/adium/rev/d1ac625dfab7
revision:	4288:d1ac625dfab7
branch:		(none)
author:		mathuaerknedam
date:		Wed Aug 10 14:41:09 2011 -0500

minimal_mod: hide the header if the user scrolls up far enough that Adium won't scroll on new content. Also remove the changing of header opacity on hover.
(transplanted from ccbe2faa0f5b52886d4891688785b9264232ffaa)
Subject: adium 4289:d4008e9eb92d: minimal_mod: fix the previous;y broken check for hising the header on scroll.

details:	http://hg.adium.im/adium/rev/d4008e9eb92d
revision:	4289:d4008e9eb92d
branch:		(none)
author:		mathuaerknedam
date:		Wed Aug 17 09:19:29 2011 -0500

minimal_mod: fix the previous;y broken check for hising the header on scroll.
(transplanted from 135321e1dc7bc8dd085135233e402c25010f4eb1)
Subject: adium 4290:b1c5d0bca4ac: Smooth Operator: add a faint stripted texture to the background of the dark variant.

details:	http://hg.adium.im/adium/rev/b1c5d0bca4ac
revision:	4290:b1c5d0bca4ac
branch:		(none)
author:		mathuaerknedam <adium at ei8ht.us>
date:		Fri Nov 04 10:56:10 2011 -0500

Smooth Operator: add a faint stripted texture to the background of the dark variant.
(transplanted from c7e2b762fc5127b68416fa1a589dc1bcc7117c25)

diffs (137 lines):

diff -r d04be86b95c2 -r b1c5d0bca4ac Resources/Message Styles/Smooth Operator.AdiumMessageStyle/Contents/Resources/Variants/Alternating.css
--- a/Resources/Message Styles/Smooth Operator.AdiumMessageStyle/Contents/Resources/Variants/Alternating.css	Fri Nov 04 15:01:40 2011 -0400
+++ b/Resources/Message Styles/Smooth Operator.AdiumMessageStyle/Contents/Resources/Variants/Alternating.css	Fri Nov 04 10:56:10 2011 -0500
@@ -31,46 +31,59 @@
 	margin-top: -4px;
 	right: 5px;
 	font-size: 9px;
-	content: "\2b07";
 	content: "\25bc";
 	color: rgba(64, 64, 64, 1);
 	text-shadow: 0px 1px 1px rgba(255, 255, 255, 1);
 }
 
-.regainedFocus:not(.consecutive):before
+.showIcons.regainedFocus:not(.consecutive):not(.IRC):before
 {
 	position: absolute;
 	font-family: AppleGothic;
-	margin-top: -14px;
+	margin-top: -16px;
 	right: 5px;
 	font-size: 9px;
-	content: "\2b06";
 	content: "\25b2";
 	color: rgba(64, 64, 64, 1);
 	text-shadow: 0px 1px 1px rgba(255, 255, 255, 1);
 }
 
-.regainedFocus:before
+.hideIcons.regainedFocus:not(.consecutive):before,
+.IRC.regainedFocus:not(.consecutive):before
 {
 	position: absolute;
 	font-family: AppleGothic;
-	margin-top: -2px;
+	margin-top: -18px;
 	right: 5px;
 	font-size: 9px;
-	content: "\2b06";
 	content: "\25b2";
 	color: rgba(64, 64, 64, 1);
 	text-shadow: 0px 1px 1px rgba(255, 255, 255, 1);
 }
 
-.lastFocus > #insert:before
+.showIcons.regainedFocus:not(.IRC):before,
+.showIcons.lastFocus:not(.IRC) > #insert:before
 {
 	position: absolute;
 	font-family: AppleGothic;
-	margin-top: -2px;
+	margin-top: -4px;
 	right: 5px;
 	font-size: 9px;
-	content: "\2b06";
+	content: "\25b2";
+	color: rgba(64, 64, 64, 1);
+	text-shadow: 0px 1px 1px rgba(255, 255, 255, 1);
+}
+
+.hideIcons.regainedFocus:before,
+.hideIcons.lastFocus > #insert:before,
+.IRC.regainedFocus:before,
+.IRC.lastFocus > #insert:before
+{
+	position: absolute;
+	font-family: AppleGothic;
+	margin-top: -6px;
+	right: 5px;
+	font-size: 9px;
 	content: "\25b2";
 	color: rgba(64, 64, 64, 1);
 	text-shadow: 0px 1px 1px rgba(255, 255, 255, 1);
diff -r d04be86b95c2 -r b1c5d0bca4ac Resources/Message Styles/Smooth Operator.AdiumMessageStyle/Contents/Resources/Variants/Dark.css
--- a/Resources/Message Styles/Smooth Operator.AdiumMessageStyle/Contents/Resources/Variants/Dark.css	Fri Nov 04 15:01:40 2011 -0400
+++ b/Resources/Message Styles/Smooth Operator.AdiumMessageStyle/Contents/Resources/Variants/Dark.css	Fri Nov 04 10:56:10 2011 -0500
@@ -4,8 +4,9 @@
 {
 	margin: 0px;
 	background:
-		-webkit-gradient(linear, left bottom, left top, from(rgba(140, 140, 140, 1)), to(rgba(112, 112, 112, 1))) fixed repeat-x;
-	-webkit-background-size: auto;
+		-webkit-gradient(linear, left bottom, right bottom, from(rgba(120, 120, 120, 1)), to(rgba(102, 102, 102, 1))) bottom right repeat;
+	-webkit-background-size: 2px auto;
+
 	word-wrap: break-word;
 	word-break: break-word;
 }
diff -r d04be86b95c2 -r b1c5d0bca4ac Resources/Message Styles/minimal_mod.AdiumMessageStyle/Contents/Resources/Footer.html
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Resources/Message Styles/minimal_mod.AdiumMessageStyle/Contents/Resources/Footer.html	Fri Nov 04 10:56:10 2011 -0500
@@ -0,0 +1,1 @@
+<script src="./Footer.js" type="text/javascript" charset="utf-8"></script>
diff -r d04be86b95c2 -r b1c5d0bca4ac Resources/Message Styles/minimal_mod.AdiumMessageStyle/Contents/Resources/Footer.js
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Resources/Message Styles/minimal_mod.AdiumMessageStyle/Contents/Resources/Footer.js	Fri Nov 04 10:56:10 2011 -0500
@@ -0,0 +1,10 @@
+// Hide the header when the user scrolls up (using the same calc as nearBottom).
+function twiddleHeader() {
+	if ( document.body.scrollTop >= ( document.body.offsetHeight - ( window.innerHeight * 1.2 ) ) ) {
+		document.getElementById('x-header').style.display = 'block';
+	} else {
+		document.getElementById('x-header').style.display = 'none';
+	}
+}
+
+window.addEventListener("scroll", twiddleHeader, false);
diff -r d04be86b95c2 -r b1c5d0bca4ac Resources/Message Styles/minimal_mod.AdiumMessageStyle/Contents/Resources/Mockup.html
--- a/Resources/Message Styles/minimal_mod.AdiumMessageStyle/Contents/Resources/Mockup.html	Fri Nov 04 15:01:40 2011 -0400
+++ b/Resources/Message Styles/minimal_mod.AdiumMessageStyle/Contents/Resources/Mockup.html	Fri Nov 04 10:56:10 2011 -0500
@@ -231,5 +231,7 @@
 <div id="insert"></div>
 </div>
 
+<script src="./Footer.js" type="text/javascript" charset="utf-8"></script>
+
 </body>
 </html>
diff -r d04be86b95c2 -r b1c5d0bca4ac Resources/Message Styles/minimal_mod.AdiumMessageStyle/Contents/Resources/main.css
--- a/Resources/Message Styles/minimal_mod.AdiumMessageStyle/Contents/Resources/main.css	Fri Nov 04 15:01:40 2011 -0400
+++ b/Resources/Message Styles/minimal_mod.AdiumMessageStyle/Contents/Resources/main.css	Fri Nov 04 10:56:10 2011 -0500
@@ -194,6 +194,7 @@
 	color: #999999;
 }
 
+/*
 #topic
 {
 	opacity: 1;
@@ -204,6 +205,7 @@
 {
 	opacity: .1;
 }
+*/
 
 #x-header
 {




More information about the commits mailing list