From a3644638aaf0418598196a870204e0b632a4c8ad Mon Sep 17 00:00:00 2001
From: Thomas Bruederli <thomas@roundcube.net>
Date: Fri, 17 Apr 2015 06:28:40 -0400
Subject: [PATCH] Allow preference sections to define CSS class names

---
 skins/larry/mail.css |   33 ++++++++++++++++-----------------
 1 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/skins/larry/mail.css b/skins/larry/mail.css
index 7eb3242..effc35f1 100644
--- a/skins/larry/mail.css
+++ b/skins/larry/mail.css
@@ -93,7 +93,7 @@
 	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ebebeb), color-stop(100%,#c6c6c6));
 	background: -o-linear-gradient(top, #ebebeb 0%, #c6c6c6 100%);
 	background: -ms-linear-gradient(top, #ebebeb 0%, #c6c6c6 100%);
-	background: linear-gradient(top, #ebebeb 0%, #c6c6c6 100%);
+	background: linear-gradient(to bottom, #ebebeb 0%, #c6c6c6 100%);
 	border-radius: 0 0 4px 4px;
 	white-space: nowrap;
 }
@@ -145,19 +145,19 @@
 	border-radius: 4px 4px 0 0;
 }
 
-#mailboxlist li.mailbox.unread > a {
+.folderlist li.mailbox.unread > a {
 	padding-right: 36px;
 }
 
-#mailboxlist li.unread {
+.folderlist li.unread {
 	font-weight: bold;
 }
 
-#mailboxlist li.recent > a {
+.folderlist li.recent > a {
 	color: #017cb4;
 }
 
-#mailboxlist li.mailbox .unreadcount {
+.folderlist li.mailbox .unreadcount {
 	position: absolute;
 	top: 3px;
 	right: 6px;
@@ -169,7 +169,7 @@
 	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#82acb5), color-stop(100%,#6a939f));
 	background: -o-linear-gradient(top, #82acb5 0%, #6a939f 100%);
 	background: -ms-linear-gradient(top, #82acb5 0%, #6a939f 100%);
-	background: linear-gradient(top, #82acb5 0%, #6a939f 100%);
+	background: linear-gradient(to bottom, #82acb5 0%, #6a939f 100%);
 	box-shadow: inset 0 1px 1px 0 #536d72;
 	-webkit-box-shadow: inset 0 1px 1px 0 #536d72;
 	border-radius: 9px;
@@ -179,24 +179,24 @@
 	text-shadow: none;
 }
 
-#mailboxlist li.mailbox.selected > a .unreadcount {
+.folderlist li.mailbox.selected > a .unreadcount {
 	background: #005d76;
 	background: -moz-linear-gradient(top, #005d76 0%, #004558 100%);
 	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#005d76), color-stop(100%,#004558));
 	background: -o-linear-gradient(top, #005d76 0%, #004558 100%);
 	background: -ms-linear-gradient(top, #005d76 0%, #004558 100%);
-	background: linear-gradient(top, #005d76 0%, #004558 100%);
+	background: linear-gradient(to bottom, #005d76 0%, #004558 100%);
 	box-shadow: inset 0 1px 1px 0 #003645;
 	-webkit-box-shadow: inset 0 1px 1px 0 #003645;
 }
 
-#mailboxlist li.mailbox.recent > a .unreadcount {
+.folderlist li.mailbox.recent > a .unreadcount {
 	background: #017cb4;
 	background: -moz-linear-gradient(top, #017cb4 0%, #006ca4 100%);
 	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#017cb4), color-stop(100%,#006ca4));
 	background: -o-linear-gradient(top, #017cb4 0%, #006ca4 100%);
 	background: -ms-linear-gradient(top, #017cb4 0%, #006ca4 100%);
-	background: linear-gradient(top, #017cb4 0%, #006ca4 100%);
+	background: linear-gradient(to bottom, #017cb4 0%, #006ca4 100%);
 	box-shadow: inset 0 1px 1px 0 #005080;
 	-webkit-box-shadow: inset 0 1px 1px 0 #005080;
 }
@@ -493,7 +493,7 @@
 .messagelist tr td.status span.unread,
 .messagelist tr td.subject span.unread,
 .messagelist tr td.status span.unread:hover {
-	background-position: 0 -1017px;
+	background-position: 0 -1017px !important;
 }
 
 .messagelist thead tr th.status span.status {
@@ -591,7 +591,7 @@
 	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#f0f0f0));
 	background: -o-linear-gradient(top, #fff 0%, #f0f0f0 100%);
 	background: -ms-linear-gradient(top, #fff 0%, #f0f0f0 100%);
-	background: linear-gradient(top, #fff 0%, #f0f0f0 100%);
+	background: linear-gradient(to bottom, #fff 0%, #f0f0f0 100%);
 	border-bottom: 1px solid #dfdfdf;
 }
 
@@ -857,7 +857,6 @@
 #messagecontent .leftcol,
 #messagepreview .leftcol {
 	margin-right: 252px;
-	overflow-x: auto;
 }
 
 #messagecontent .rightcol,
@@ -993,6 +992,7 @@
 #messagebody p.image-attachment {
 	position: relative;
 	padding: 1em;
+	margin-bottom: 0;
 	border-top: 1px solid #ccc;
 }
 
@@ -1306,13 +1306,13 @@
 	width: 99%;
 	border: 0;
 	border-radius: 0 0 0 4px;
-	padding: 8px 0 8px 8px;
+	padding: 4px;
 	resize: none;
 	font-family: monospace;
 	font-size: 9pt;
 	outline: none;
-	box-shadow: inset 0 0 2px 1px rgba(0,0,0, 0.2);
-	-webkit-box-shadow: inset 0 0 2px 1px rgba(0,0,0, 0.2);
+	box-shadow: inset 0 0 2px 1px rgba(0,0,0, 0.1);
+	-webkit-box-shadow: inset 0 0 2px 1px rgba(0,0,0, 0.1);
 }
 
 #composebody:active,
@@ -1384,4 +1384,3 @@
 #uploadform form div {
 	margin: 4px 0;
 }
-

--
Gitblit v1.9.1