From 651da7934ed4c13e2cbc2e4a82caf2ebaba87373 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Sat, 14 Apr 2012 02:28:10 -0400
Subject: [PATCH] - Fix folder collapsing/expanding broken with framework merge (#1488430)

---
 skins/larry/styles.css |  333 ++++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 279 insertions(+), 54 deletions(-)

diff --git a/skins/larry/styles.css b/skins/larry/styles.css
index 4ca9ac7..4868ed9 100644
--- a/skins/larry/styles.css
+++ b/skins/larry/styles.css
@@ -1,7 +1,7 @@
 /**
  * Roundcube webmail styles for skin "Larry"
  *
- * Copyright (c) 2011, The Roundcube Dev Team
+ * Copyright (c) 2012, The Roundcube Dev Team
  * Screendesign by FLINT / Büro für Gestaltung, bueroflint.com
  *
  * The contents are subject to the Creative Commons Attribution-ShareAlike
@@ -18,6 +18,11 @@
 	color: #333;
 	background: url(images/linen.jpg) repeat #d1d5d8;
 	margin: 0;
+}
+
+body.noscroll {
+	/* also avoids bounce effect in Chrome and Safari */
+	overflow: hidden;
 }
 
 a {
@@ -54,15 +59,12 @@
 	-moz-box-shadow: 0 0 5px 2px rgba(71,135,177, 0.9);
 	-webkit-box-shadow: 0 0 5px 2px rgba(71,135,177, 0.9);
 	-o-box-shadow: 0 0 5px 2px rgba(71,135,177, 0.9);
+	outline: none;
 }
 
 input.placeholder,
 textarea.placeholder {
 	color: #aaa;
-}
-
-select.selector {
-	padding: 2px 4px;
 }
 
 .bold {
@@ -222,6 +224,7 @@
 
 a.button.disabled span.inner {
 	opacity: 0.4;
+	filter: alpha(opacity=40);
 }
 
 a.button.pressed,
@@ -238,7 +241,7 @@
 .pagenav.dark a.button {
 	font-weight: bold;
 	border-color: #e6e6e6;
-	background: #f7f7f7;
+	background: #d8d8d8;
 	background: -moz-linear-gradient(top, #d8d8d8 0%, #bababa 100%);
 	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#d8d8d8), color-stop(100%,#bababa));
 	background: -o-linear-gradient(top, #d8d8d8 0%, #bababa 100%);
@@ -333,6 +336,7 @@
 
 a.iconbutton.disabled {
 	opacity: 0.4;
+	filter: alpha(opacity=40);
 	cursor: default;
 }
 
@@ -352,6 +356,7 @@
 	display: inline-block;
 	color: #888;
 	text-decoration: none;
+	white-space: nowrap;
 	padding: 2px 8px 2px 20px;
 	background: url(images/buttons.png) -1000px 0 no-repeat;
 }
@@ -369,7 +374,7 @@
 }
 
 a.iconlink.remove {
-	background-position: -7px -377px;
+	background-position: -7px -378px;
 }
 
 a.iconlink.cancel {
@@ -419,6 +424,17 @@
 
 #message div.loading {
 	background: url(images/ajaxloader.gif) 2px 6px no-repeat;
+}
+
+#message div a,
+#message div span {
+	padding-right: 0.5em;
+	text-decoration: none;
+}
+
+#message div a:hover {
+	text-decoration: underline;
+	cursor: pointer;
 }
 
 #message.statusbar {
@@ -499,12 +515,12 @@
 	height: 46px;
 	margin-bottom: 10px;
 	padding: 0 0 0 10px;
-	background: #3a3a3a;
-	background: -moz-linear-gradient(top, rgba(64,64,64,1) 0%, rgba(6,6,6,1) 100%);
-	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(64,64,64,1)), color-stop(100%,rgba(6,6,6,1)));
-	background: -o-linear-gradient(top, rgba(64,64,64,1) 0%,rgba(6,6,6,1) 100%);
-	background: -ms-linear-gradient(top, rgba(64,64,64,1) 0%,rgba(6,6,6,1) 100%);
-	background: linear-gradient(top, rgba(64,64,64,1) 0%,rgba(6,6,6,1) 100%);
+	background: #111;
+	background: -moz-linear-gradient(top, #404040 0%, #060606 100%);
+	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#404040), color-stop(100%,#060606));
+	background: -o-linear-gradient(top, #404040 0%, #060606 100%);
+	background: -ms-linear-gradient(top, #404040 0%, #060606 100%);
+	background: linear-gradient(top, #404040 0%, #060606 100%);
 }
 
 #topline a,
@@ -736,6 +752,11 @@
 	display: table-cell;
 	padding-bottom: 5px;
 	height: auto;
+	min-height: 14px;
+}
+
+.webkit .listing tbody td {
+	height: 14px;
 }
 
 .listbox .listitem.selected,
@@ -839,8 +860,13 @@
 	background-position: 2px -1502px;
 }
 
+.boxfooter .listbutton.removegroup .inner {
+	background-position: 5px -1540px;
+}
+
 .boxfooter .listbutton.disabled .inner {
 	opacity: 0.4;
+	filter: alpha(opacity=40);
 }
 
 .boxfooter .countdisplay {
@@ -883,6 +909,7 @@
 
 .boxpagenav a.icon.disabled {
 	opacity: 0.4;
+	filter: alpha(opacity=40);
 }
 
 .centerbox {
@@ -922,12 +949,14 @@
 	font-weight: bold;
 	background: #d6eaf3;
 	background: -moz-linear-gradient(left, #e3f2f6 0, #d6eaf3 14px, #d6eaf3 100%);
-	background: -webkit-gradient(linear, left top, right top, color-stop(0,#e3f2f6), color-stop(14px,#d6eaf3), color-stop(100%,#d6eaf3));
+	background: -webkit-gradient(linear, left top, right top, color-stop(0,#e3f2f6), color-stop(8%,#d6eaf3), color-stop(100%,#d6eaf3));
 	background: -o-linear-gradient(left, #e3f2f6 0, #d6eaf3 14px, #d6eaf3 100%);
 	background: -ms-linear-gradient(left, #e3f2f6 0, #d6eaf3 14px ,#d6eaf3 100%);
 	background: linear-gradient(left, #e3f2f6 0, #d6eaf3 14px, #d6eaf3 100%);
 	border-left: 1px solid #bbd3da;
 	padding: 8px 7px;
+	overflow: hidden;
+	text-overflow: ellipsis;
 }
 
 .records-table.sortheader thead td {
@@ -940,6 +969,8 @@
 	padding: 7px 7px;
 	color: #69939e;
 	text-decoration: none;
+	overflow: hidden;
+	text-overflow: ellipsis;
 }
 
 .records-table tbody td {
@@ -956,13 +987,6 @@
 .records-table thead tr td:first-child,
 .records-table tbody tr td:first-child {
 	border-left: 0;
-}
-
-.records-table tbody td a {
-	color: #333;
-	text-decoration: none;
-	white-space: nowrap;
-	cursor: default;
 }
 
 .records-table tr.selected td {
@@ -1163,12 +1187,13 @@
 }
 
 #login-form td.input {
+	width: 80%;
 	padding: 8px;
 }
 
 #login-form input[type="text"],
 #login-form input[type="password"] {
-	width: 24em;
+	width: 100%;
 	border-color: #666;
 }
 
@@ -1177,11 +1202,11 @@
 	text-shadow: 0px 1px 1px #fff;
 	border-color: #f9f9f9;
 	background: #f9f9f9;
-	background: -moz-linear-gradient(top, rgba(249,249,249,1) 0%, rgba(226,226,226,1) 100%);
-	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(249,249,249,1)), color-stop(100%,rgba(226,226,226,1)));
-	background: -o-linear-gradient(top, rgba(249,249,249,1) 0%,rgba(226,226,226,1) 100%);
-	background: -ms-linear-gradient(top, rgba(249,249,249,1) 0%,rgba(226,226,226,1) 100%);
-	background: linear-gradient(top, rgba(249,249,249,1) 0%,rgba(226,226,226,1) 100%);
+	background: -moz-linear-gradient(top, #f9f9f9 0%, #e2e2e2 100%);
+	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f9f9f9), color-stop(100%,#e2e2e2));
+	background: -o-linear-gradient(top, #f9f9f9 0%, #e2e2e2 100%);
+	background: -ms-linear-gradient(top, #f9f9f9 0%, #e2e2e2 100%);
+	background: linear-gradient(top, #f9f9f9 0%, #e2e2e2 100%);
 	box-shadow: inset 0 1px 0 0 #fff;
 	-moz-box-shadow: inset 0 1px 0 0 #fff;
 	-webkit-box-shadow: inset 0 1px 0 0 #fff;
@@ -1198,14 +1223,20 @@
 
 #login-form input.button:active {
 	color: #333;
-	background: -moz-linear-gradient(top, rgba(220,220,220,1) 0%, rgba(249,249,249,1) 100%);
-	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(220,220,220,1)), color-stop(100%,rgba(249,249,249,1)));
-	background: -o-linear-gradient(top, rgba(220,220,220,1) 0%,rgba(249,249,249,1) 100%);
-	background: -ms-linear-gradient(top, rgba(220,220,220,1) 0%,rgba(249,249,249,1) 100%);
-	background: linear-gradient(top, rgba(220,220,220,1) 0%,rgba(249,249,249,1) 100%);
+	background: -moz-linear-gradient(top, #dcdcdc 0%, #f9f9f9 100%);
+	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#dcdcdc), color-stop(100%,#f9f9f9));
+	background: -o-linear-gradient(top, #dcdcdc 0%, #f9f9f9 100%);
+	background: -ms-linear-gradient(top, #dcdcdc 0%, #f9f9f9 100%);
+	background: linear-gradient(top, #dcdcdc 0%, #f9f9f9 100%);
+}
+
+#login-form form table {
+	width: 98%;
 }
 
 #login-form td.title {
+	width: 20%;
+	white-space: nowrap;
 	color: #cecece;
 	text-shadow: 0px 1px 1px black;
 	text-align: right;
@@ -1224,12 +1255,12 @@
 #login-form #message {
 	min-height: 40px;
 	padding: 5px 25px;
+	text-align: center;
 }
 
 #login-form #message div {
-	display: block;
-	width: 200px;
-	margin: 0 auto;
+	display: inline-block;
+	padding-right: 0;
 }
 
 #bottomline {
@@ -1292,6 +1323,7 @@
 
 .toolbar a.button.disabled {
 	opacity: 0.4;
+	filter: alpha(opacity=40);
 }
 
 .dropbutton {
@@ -1302,7 +1334,7 @@
 .dropbutton .dropbuttontip {
 	display: block;
 	position: absolute;
-	right: 2px;
+	right: 0;
 	top: 0;
 	height: 42px;
 	width: 18px;
@@ -1316,10 +1348,18 @@
 
 .dropbutton a.button.disabled + .dropbuttontip {
 	opacity: 0.5;
+	filter: alpha(opacity=50);
 }
 
 .dropbutton a.button.disabled + .dropbuttontip:hover {
 	background-position: 0 -1255px;
+}
+
+.dropbutton a.button {
+    margin-left: 0;
+    padding-left: 0;
+    margin-right: 0;
+    padding-right: 0;
 }
 
 .toolbar a.button.back {
@@ -1339,13 +1379,13 @@
 }
 
 .toolbar a.button.reply-all {
-	min-width: 74px;
-	background-position: center -610px;
+	min-width: 64px;
+	background-position: left -610px;
 }
 
 .toolbar a.button.forward {
-	min-width: 74px;
-	background-position: center -650px;
+	min-width: 64px;
+	background-position: left -650px;
 }
 
 .toolbar a.button.delete {
@@ -1365,7 +1405,7 @@
 }
 
 .toolbar a.button.markmessage {
-	background-position: center -1095px;
+	background-position: center -1094px;
 }
 
 .toolbar a.button.more {
@@ -1377,7 +1417,13 @@
 }
 
 .toolbar a.button.spellcheck {
-	background-position: center -930px;
+	min-width: 64px;
+	background-position: left -930px;
+}
+
+.toolbar a.button.spellcheck.selected {
+	background-position: left -1610px;
+	color: #1978a1;
 }
 
 .toolbar a.button.insertsig {
@@ -1429,6 +1475,50 @@
 	text-decoration: none;
 }
 
+a.dropdownselector {
+	position: absolute;
+	z-index: 1;
+}
+
+select.decorated {
+	position: relative;
+	z-index: 10;
+	opacity: 0;
+	height: 22px;
+	cursor: pointer;
+	filter: alpha(opacity=0);
+	-khtml-appearance: none;
+	-webkit-appearance: none;
+}
+
+html.opera select.decorated {
+	opacity: 1;
+	height: auto;
+}
+
+select.decorated option {
+	color: #fff;
+	background: #444;
+	border: 0;
+	border-top: 1px solid #5a5a5a;
+	border-bottom: 1px solid #333;
+	text-shadow: 0px 1px 1px #333;
+	padding: 6px 10px;
+	outline: none;
+}
+
+
+/*** quota indicator ***/
+
+#quotadisplay {
+	left: 6px;
+	font-size: 12px;
+	font-weight: bold;
+	text-shadow: 0px 1px 1px #fff;
+	padding-left: 30px;
+	height: 18px;
+	background: url(images/quota.png) -100px 0 no-repeat;
+}
 
 /*** popup menus ***/
 
@@ -1473,12 +1563,14 @@
 }
 
 .googie_list tr:first-child td,
-ul.toolbarmenu li:first-child {
+ul.toolbarmenu li:first-child,
+select.decorated option:first-child {
 	border-top: 0;
 }
 
 .googie_list tr:last-child td,
-ul.toolbarmenu li:last-child {
+ul.toolbarmenu li:last-child,
+select.decorated option:last-child {
 	border-bottom: 0;
 }
 
@@ -1492,6 +1584,10 @@
 	padding: 6px 10px 6px 10px;
 }
 
+.googie_list td span {
+	padding: 3px 10px;
+}
+
 .googie_list td span,
 ul.toolbarmenu li a.active {
 	color: #fff;
@@ -1500,7 +1596,9 @@
 
 .googie_list td.googie_list_onhover,
 ul.toolbarmenu li a.active:hover,
-#rcmKSearchpane ul li.selected {
+#rcmKSearchpane ul li.selected,
+select.decorated option:hover,
+select.decorated option[selected='selected'] {
 	background-color: #00aad6;
 	background: -moz-linear-gradient(top, #00aad6 0%, #008fc9 100%);
 	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#00aad6), color-stop(100%,#008fc9));
@@ -1509,8 +1607,13 @@
 	background: linear-gradient(top, #00aad6 0%, #008fc9 100%);
 }
 
-ul.toolbarmenu.iconized li a {
+ul.toolbarmenu.iconized li a,
+ul.toolbarmenu.selectable li a {
 	padding-left: 30px;
+}
+
+ul.toolbarmenu.selectable li a.selected {
+	background: url(images/messages.png) 4px -27px no-repeat;
 }
 
 ul.toolbarmenu li label {
@@ -1534,10 +1637,12 @@
 	background-position: -100px 0;
 	background-repeat: no-repeat;
 	opacity: 0.2;
+	filter: alpha(opacity=20);
 }
 
 ul.toolbarmenu li a.active span.icon {
 	opacity: 0.99;
+	filter: alpha(opacity=100);
 }
 
 ul.toolbarmenu li span.read {
@@ -1607,6 +1712,7 @@
 	min-height: 14px;
 	padding: 6px 10px 6px 10px;
 	border: 0;
+	cursor: default;
 }
 
 .popupdialog {
@@ -1669,6 +1775,7 @@
 	color: #ccc;
 	white-space: nowrap;
 	opacity: 0.92;
+	filter: alpha(opacity=92);
 	text-shadow: 0px 1px 1px #333;
 }
 
@@ -1683,16 +1790,136 @@
 	/* reduce the damage in FF3.0 */
 	display: block; 
 	width: 0;
+	z-index: 251;
 }
 
-._draglayercopy:before {
+.draglayercopy:before {
 	position: absolute;
-	bottom: -5px;
+	bottom: -6px;
 	left: -6px;
 	content: " ";
-	width: 15px;
-	height: 15px;
-	background: url(images/buttons.png) -8px -360px no-repeat;
+	width: 16px;
+	height: 16px;
+	background: url(images/buttons.png) -7px -358px no-repeat;
+	z-index: 255;
+}
+
+
+/*** attachment list ***/
+
+.attachmentslist {
+	list-style: none;
+	margin: 0;
+	padding: 0;
+	overflow: hidden;
+	text-overflow: ellipsis;
+}
+
+.attachmentslist li {
+	display: block;
+	position: relative;
+	background: url(images/filetypes.png) 0 0 no-repeat;
+	margin-bottom: 1px;
+}
+
+.attachmentslist li.pdf {
+	background-position: 0 -26px;
+}
+
+.attachmentslist li.doc,
+.attachmentslist li.docx,
+.attachmentslist li.msword {
+	background-position: 0 -52px;
+}
+
+.attachmentslist li.odt {
+	background-position: 0 -78px;
+}
+
+.attachmentslist li.xls,
+.attachmentslist li.xlsx,
+.attachmentslist li.msexcel {
+	background-position: 0 -104px;
+}
+
+.attachmentslist li.ods {
+	background-position: 0 -130px;
+}
+
+.attachmentslist li.zip,
+.attachmentslist li.gz {
+	background-position: 0 -156px;
+}
+
+.attachmentslist li.rar {
+	background-position: 0 -182px;
+}
+
+.attachmentslist li.image {
+	background-position: 0 -208px;
+}
+
+.attachmentslist li.jpg,
+.attachmentslist li.jpeg {
+	background-position: 0 -234px;
+}
+
+.attachmentslist li.png {
+	background-position: 0 -260px;
+}
+
+.attachmentslist li.m4p {
+	background-position: 0 -286px;
+}
+
+.attachmentslist li.mp3,
+.attachmentslist li.audio {
+	background-position: 0 -312px;
+}
+
+.attachmentslist li.video {
+	background-position: 0 -338px;
+}
+
+.attachmentslist li.ics,
+.attachmentslist li.calendar {
+	background-position: 0 -364px;
+}
+
+.attachmentslist li a,
+#compose-attachments ul li {
+	display: block;
+	color: #333;
+	font-weight: bold;
+	padding: 8px 4px 3px 30px;
+	text-shadow: 0px 1px 1px #fff;
+	text-decoration: none;
+	white-space: nowrap;
+}
+
+.attachmentslist li a:hover {
+	text-decoration: underline;
+}
+
+.attachmentslist li.uploading {
+	background: url(images/ajaxloader.gif) 2px 6px no-repeat;
+}
+
+.attachmentslist li a.delete,
+.attachmentslist li a.cancelupload {
+	position: absolute;
+	top: 6px;
+	right: 0;
+	width: 24px;
+	height: 18px;
+	padding: 0;
+	text-decoration: none;
+	text-indent: -1000px;
+	background: url(images/buttons.png) -7px -337px no-repeat;
+}
+
+.attachmentslist li a.cancelupload {
+	background-position: -7px -377px;
 }
 
 
@@ -1735,7 +1962,7 @@
 
 .tabsbar .tablink.selected a {
 	color: #004458;
-	background: #fff;
+	background: #f6f6f6;
 	background: -moz-linear-gradient(top, #fff 40%, #efefef 100%);
 	background: -webkit-gradient(linear, left top, left bottom, color-stop(40%,#fff), color-stop(100%,#efefef));
 	background: -o-linear-gradient(top, #fff 40%, #efefef 100%);
@@ -1748,5 +1975,3 @@
 	padding: 0;
 	margin-left: 0;
 }
-
-

--
Gitblit v1.9.1