xtras/mathuaerknedam 446:acaef596ee92: minimal_mod: adding two n...

commits at adium.im commits at adium.im
Thu Mar 18 05:31:43 UTC 2010


details:	http://hg.adium.im/xtras/mathuaerknedam/rev/acaef596ee92
revision:	446:acaef596ee92
author:		mathuaerknedam
date:		Thu Mar 18 00:31:35 2010 -0500

minimal_mod: adding two new sendercolor variants that should please a good chunk of people, and some html/css cleanup found along the way.

diffs (238 lines):

diff -r a0363e966037 -r acaef596ee92 minimal_mod ☿.AdiumMessageStyle/Contents/Resources/Content.html
--- a/minimal_mod ☿.AdiumMessageStyle/Contents/Resources/Content.html	Wed Mar 17 21:53:29 2010 -0500
+++ b/minimal_mod ☿.AdiumMessageStyle/Contents/Resources/Content.html	Thu Mar 18 00:31:35 2010 -0500
@@ -2,6 +2,6 @@
 	<div class="x-time" title="%time{dd MMM yyyy}%">%time%</div>
 	<img class="x-buddyicon" src="%userIconPath%" />
 	<div class="x-sender" style="color: %senderColor%;" title="%senderPrefix% %senderScreenName%">%sender%</div>
-	<div class="x-message"%service% %time%>%message%</div>
+	<div class="x-message" title="%service% %time%">%message%</div>
 </div>
 <div id="insert"></div>
diff -r a0363e966037 -r acaef596ee92 minimal_mod ☿.AdiumMessageStyle/Contents/Resources/Variants/SenderColor EveryTime.css
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/minimal_mod ☿.AdiumMessageStyle/Contents/Resources/Variants/SenderColor EveryTime.css	Thu Mar 18 00:31:35 2010 -0500
@@ -0,0 +1,14 @@
+.message .x-time
+{
+	margin-top: 18px;
+}
+
+.message.consecutive .x-time
+{
+	margin-top: 2px;
+}
+
+.consecutive .x-time
+{
+	display: block;
+}
diff -r a0363e966037 -r acaef596ee92 minimal_mod ☿.AdiumMessageStyle/Contents/Resources/Variants/SenderColor SingleLine.css
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/minimal_mod ☿.AdiumMessageStyle/Contents/Resources/Variants/SenderColor SingleLine.css	Thu Mar 18 00:31:35 2010 -0500
@@ -0,0 +1,134 @@
+#Chat
+{
+	display: table;
+}
+
+.x-container:not(.consecutive)
+{
+	border-top: none;
+}
+
+.x-container
+{
+	padding-left: 0px;
+	padding-right: 0px;
+}
+
+#insert,
+.message,
+.status,
+.event
+{
+	display: table-row;
+}
+
+.x-icon,
+.x-sender,
+.x-message,
+.x-time
+{
+	display: table-cell !important;
+	border-top: 1px solid rgba(0, 0, 0, .1);
+	padding-top: 4px;
+	padding-bottom: 2px;
+}
+
+.x-sender,
+.x-time
+{
+	text-overflow: ellipsis;
+	white-space: nowrap;
+}
+
+.x-sender
+{
+	max-width: 8em;
+}
+
+.status .x-sender:after,
+.event .x-sender:after
+{
+	color: rgb(192, 192, 192) !important;
+	content: "<***>";
+}
+
+.x-time
+{
+	padding-left: 16px;
+	padding-right: 8px;
+	float: none;
+}
+
+.x-message
+{
+	padding-right: 8px;
+	padding-left: 8px;
+	width: 100%;
+}
+
+#insert
+{
+	padding-bottom: 2px;
+}
+
+.x-buddyicon
+{
+	display: none;
+}
+
+.focus,
+.focus.mention,
+.mention,
+.mention.history
+{
+	background: none;
+}
+
+.mention .x-time
+{
+	background:
+		-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, .75)), to(rgba(0, 0, 0, .75))) 0px 0px no-repeat;
+	-webkit-background-size: 10px 100%;
+}
+
+.focus.mention .x-time
+{
+	background:
+		-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, .75)), to(rgba(0, 0, 0, .75))) 0px 0px no-repeat,
+		-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, .05)), to(rgba(0, 0, 0, .05))) 0px 0px no-repeat;
+	-webkit-background-size: 10px 100%;
+}
+
+.focus .x-icon,
+.focus .x-sender,
+.focus .x-message,
+.focus .x-time
+{
+	background: rgba(0, 0, 0, .05);
+}
+
+.actionMessageUserName
+{
+	display: none;
+}
+
+.actionMessageBody:after
+{
+	content: "";
+}
+
+.actionMessageBody:before
+{
+	content: "";
+}
+
+.action .x-sender,
+.action .x-message
+{
+	font-style: italic !important;
+}
+
+.action .x-sender
+{
+	text-align: right;
+}
diff -r a0363e966037 -r acaef596ee92 minimal_mod ☿.AdiumMessageStyle/Contents/Resources/main.css
--- a/minimal_mod ☿.AdiumMessageStyle/Contents/Resources/main.css	Wed Mar 17 21:53:29 2010 -0500
+++ b/minimal_mod ☿.AdiumMessageStyle/Contents/Resources/main.css	Thu Mar 18 00:31:35 2010 -0500
@@ -93,7 +93,6 @@
 .x-container:not(.consecutive)
 {
 	padding-top: 4px;
-	border-top: 1px dotted #ccc;
 	border-top: 1px dotted rgba(0, 0, 0, .2);
 }
 
@@ -101,8 +100,6 @@
 {
 	padding-left: 16px;
 	padding-right: 8px;
-	padding-bottom: 0px;
-	margin-left: 0px;
 	padding-bottom: 2px;
 }
 
@@ -123,7 +120,7 @@
 
 .x-sender
 {
-	text-align: left;
+	/*text-align: left;*/
 	font-weight: bold;
 	font-size: 1.1em;
 	overflow: hidden;
@@ -147,7 +144,7 @@
 	color: #9F9F9F;
 }
 
-.x-message
+/*.x-message
 {
 	overflow: auto;
 }
@@ -157,7 +154,7 @@
 {
 	width: auto;
 	text-align: left;
-}
+}*/
 
 img.x-buddyicon
 {
@@ -197,7 +194,7 @@
 		top: 0px;
 		left: 0px;
 		right: 0px;
-	margin: 0;
+	margin: 0px;
 	padding: 5px;
 	overflow: auto;
 	color: white;
@@ -249,14 +246,12 @@
 	background:
 		-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, .75)), to(rgba(0, 0, 0, .75))) 0px 0px no-repeat,
 		url("./images/vert.png") repeat;
-	-webkit-background-size: 10px 100%;
 }
 
 .history.mention
 {
 	background:
 		-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, .2)), to(rgba(0, 0, 0, .2))) 0px 0px no-repeat;
-	-webkit-background-size: 10px 100%;
 }
 
 .status .x-buddyicon,


More information about the commits mailing list