minimal_mod: adding two new sendercolor variants that should please a good chunk of people, and some html/css cleanup found along the way.
authormathuaerknedam
Thu Mar 18 00:31:35 2010 -0500 (23 months ago)
changeset 446acaef596ee92
parent 445 a0363e966037
child 447 0dc975209847
minimal_mod: adding two new sendercolor variants that should please a good chunk of people, and some html/css cleanup found along the way.
minimal_mod ☿.AdiumMessageStyle/Contents/Resources/Content.html
minimal_mod ☿.AdiumMessageStyle/Contents/Resources/Variants/SenderColor EveryTime.css
minimal_mod ☿.AdiumMessageStyle/Contents/Resources/Variants/SenderColor SingleLine.css
minimal_mod ☿.AdiumMessageStyle/Contents/Resources/main.css
     1.1 --- a/minimal_mod ☿.AdiumMessageStyle/Contents/Resources/Content.html	Wed Mar 17 21:53:29 2010 -0500
     1.2 +++ b/minimal_mod ☿.AdiumMessageStyle/Contents/Resources/Content.html	Thu Mar 18 00:31:35 2010 -0500
     1.3 @@ -2,6 +2,6 @@
     1.4  	<div class="x-time" title="%time{dd MMM yyyy}%">%time%</div>
     1.5  	<img class="x-buddyicon" src="%userIconPath%" />
     1.6  	<div class="x-sender" style="color: %senderColor%;" title="%senderPrefix%&nbsp;%senderScreenName%">%sender%</div>
     1.7 -	<div class="x-message"%service% %time%>%message%</div>
     1.8 +	<div class="x-message" title="%service% %time%">%message%</div>
     1.9  </div>
    1.10  <div id="insert"></div>
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/minimal_mod ☿.AdiumMessageStyle/Contents/Resources/Variants/SenderColor EveryTime.css	Thu Mar 18 00:31:35 2010 -0500
     2.3 @@ -0,0 +1,14 @@
     2.4 +.message .x-time
     2.5 +{
     2.6 +	margin-top: 18px;
     2.7 +}
     2.8 +
     2.9 +.message.consecutive .x-time
    2.10 +{
    2.11 +	margin-top: 2px;
    2.12 +}
    2.13 +
    2.14 +.consecutive .x-time
    2.15 +{
    2.16 +	display: block;
    2.17 +}
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/minimal_mod ☿.AdiumMessageStyle/Contents/Resources/Variants/SenderColor SingleLine.css	Thu Mar 18 00:31:35 2010 -0500
     3.3 @@ -0,0 +1,134 @@
     3.4 +#Chat
     3.5 +{
     3.6 +	display: table;
     3.7 +}
     3.8 +
     3.9 +.x-container:not(.consecutive)
    3.10 +{
    3.11 +	border-top: none;
    3.12 +}
    3.13 +
    3.14 +.x-container
    3.15 +{
    3.16 +	padding-left: 0px;
    3.17 +	padding-right: 0px;
    3.18 +}
    3.19 +
    3.20 +#insert,
    3.21 +.message,
    3.22 +.status,
    3.23 +.event
    3.24 +{
    3.25 +	display: table-row;
    3.26 +}
    3.27 +
    3.28 +.x-icon,
    3.29 +.x-sender,
    3.30 +.x-message,
    3.31 +.x-time
    3.32 +{
    3.33 +	display: table-cell !important;
    3.34 +	border-top: 1px solid rgba(0, 0, 0, .1);
    3.35 +	padding-top: 4px;
    3.36 +	padding-bottom: 2px;
    3.37 +}
    3.38 +
    3.39 +.x-sender,
    3.40 +.x-time
    3.41 +{
    3.42 +	text-overflow: ellipsis;
    3.43 +	white-space: nowrap;
    3.44 +}
    3.45 +
    3.46 +.x-sender
    3.47 +{
    3.48 +	max-width: 8em;
    3.49 +}
    3.50 +
    3.51 +.status .x-sender:after,
    3.52 +.event .x-sender:after
    3.53 +{
    3.54 +	color: rgb(192, 192, 192) !important;
    3.55 +	content: "<***>";
    3.56 +}
    3.57 +
    3.58 +.x-time
    3.59 +{
    3.60 +	padding-left: 16px;
    3.61 +	padding-right: 8px;
    3.62 +	float: none;
    3.63 +}
    3.64 +
    3.65 +.x-message
    3.66 +{
    3.67 +	padding-right: 8px;
    3.68 +	padding-left: 8px;
    3.69 +	width: 100%;
    3.70 +}
    3.71 +
    3.72 +#insert
    3.73 +{
    3.74 +	padding-bottom: 2px;
    3.75 +}
    3.76 +
    3.77 +.x-buddyicon
    3.78 +{
    3.79 +	display: none;
    3.80 +}
    3.81 +
    3.82 +.focus,
    3.83 +.focus.mention,
    3.84 +.mention,
    3.85 +.mention.history
    3.86 +{
    3.87 +	background: none;
    3.88 +}
    3.89 +
    3.90 +.mention .x-time
    3.91 +{
    3.92 +	background:
    3.93 +		-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, .75)), to(rgba(0, 0, 0, .75))) 0px 0px no-repeat;
    3.94 +	-webkit-background-size: 10px 100%;
    3.95 +}
    3.96 +
    3.97 +.focus.mention .x-time
    3.98 +{
    3.99 +	background:
   3.100 +		-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, .75)), to(rgba(0, 0, 0, .75))) 0px 0px no-repeat,
   3.101 +		-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, .05)), to(rgba(0, 0, 0, .05))) 0px 0px no-repeat;
   3.102 +	-webkit-background-size: 10px 100%;
   3.103 +}
   3.104 +
   3.105 +.focus .x-icon,
   3.106 +.focus .x-sender,
   3.107 +.focus .x-message,
   3.108 +.focus .x-time
   3.109 +{
   3.110 +	background: rgba(0, 0, 0, .05);
   3.111 +}
   3.112 +
   3.113 +.actionMessageUserName
   3.114 +{
   3.115 +	display: none;
   3.116 +}
   3.117 +
   3.118 +.actionMessageBody:after
   3.119 +{
   3.120 +	content: "";
   3.121 +}
   3.122 +
   3.123 +.actionMessageBody:before
   3.124 +{
   3.125 +	content: "";
   3.126 +}
   3.127 +
   3.128 +.action .x-sender,
   3.129 +.action .x-message
   3.130 +{
   3.131 +	font-style: italic !important;
   3.132 +}
   3.133 +
   3.134 +.action .x-sender
   3.135 +{
   3.136 +	text-align: right;
   3.137 +}
     4.1 --- a/minimal_mod ☿.AdiumMessageStyle/Contents/Resources/main.css	Wed Mar 17 21:53:29 2010 -0500
     4.2 +++ b/minimal_mod ☿.AdiumMessageStyle/Contents/Resources/main.css	Thu Mar 18 00:31:35 2010 -0500
     4.3 @@ -93,7 +93,6 @@
     4.4  .x-container:not(.consecutive)
     4.5  {
     4.6  	padding-top: 4px;
     4.7 -	border-top: 1px dotted #ccc;
     4.8  	border-top: 1px dotted rgba(0, 0, 0, .2);
     4.9  }
    4.10  
    4.11 @@ -101,8 +100,6 @@
    4.12  {
    4.13  	padding-left: 16px;
    4.14  	padding-right: 8px;
    4.15 -	padding-bottom: 0px;
    4.16 -	margin-left: 0px;
    4.17  	padding-bottom: 2px;
    4.18  }
    4.19  
    4.20 @@ -123,7 +120,7 @@
    4.21  
    4.22  .x-sender
    4.23  {
    4.24 -	text-align: left;
    4.25 +	/*text-align: left;*/
    4.26  	font-weight: bold;
    4.27  	font-size: 1.1em;
    4.28  	overflow: hidden;
    4.29 @@ -147,7 +144,7 @@
    4.30  	color: #9F9F9F;
    4.31  }
    4.32  
    4.33 -.x-message
    4.34 +/*.x-message
    4.35  {
    4.36  	overflow: auto;
    4.37  }
    4.38 @@ -157,7 +154,7 @@
    4.39  {
    4.40  	width: auto;
    4.41  	text-align: left;
    4.42 -}
    4.43 +}*/
    4.44  
    4.45  img.x-buddyicon
    4.46  {
    4.47 @@ -197,7 +194,7 @@
    4.48  		top: 0px;
    4.49  		left: 0px;
    4.50  		right: 0px;
    4.51 -	margin: 0;
    4.52 +	margin: 0px;
    4.53  	padding: 5px;
    4.54  	overflow: auto;
    4.55  	color: white;
    4.56 @@ -249,14 +246,12 @@
    4.57  	background:
    4.58  		-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, .75)), to(rgba(0, 0, 0, .75))) 0px 0px no-repeat,
    4.59  		url("./images/vert.png") repeat;
    4.60 -	-webkit-background-size: 10px 100%;
    4.61  }
    4.62  
    4.63  .history.mention
    4.64  {
    4.65  	background:
    4.66  		-webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, .2)), to(rgba(0, 0, 0, .2))) 0px 0px no-repeat;
    4.67 -	-webkit-background-size: 10px 100%;
    4.68  }
    4.69  
    4.70  .status .x-buddyicon,