From ed1d212ae2daea5e4bd043417610177093e99f19 Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Sat, 16 Jan 2016 03:03:51 -0500
Subject: [PATCH] Improved SVG cleanup code

---
 plugins/managesieve/skins/larry/managesieve.css |  168 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 159 insertions(+), 9 deletions(-)

diff --git a/plugins/managesieve/skins/larry/managesieve.css b/plugins/managesieve/skins/larry/managesieve.css
index 49ebe00..5193b42 100644
--- a/plugins/managesieve/skins/larry/managesieve.css
+++ b/plugins/managesieve/skins/larry/managesieve.css
@@ -43,7 +43,7 @@
 #filtersetslist
 {
   width: 100%;
-  table-layout: fixed; 
+  table-layout: fixed;
 }
 
 #filterslist tbody td,
@@ -58,6 +58,7 @@
 #filtersetslist tbody tr.disabled td
 {
   color: #87A3AA;
+	text-decoration: line-through;
 }
 
 #filtersetslist tbody td
@@ -67,13 +68,13 @@
 
 #filterslist tbody tr.filtermoveup td
 {
-  border-top: 2px dotted #555;
+  border-top: 2px dotted #555 !important;
   padding-top: 5px;
 }
 
 #filterslist tbody tr.filtermovedown td
 {
-  border-bottom: 2px dotted #555;
+  border-bottom: 2px dotted #555 !important;
   padding-bottom: 4px;
 }
 
@@ -89,7 +90,7 @@
   padding: 20px 10px 10px 10px;
 }
 
-legend, label
+#filter-form legend, #filter-form label
 {
   color: #666666;
 }
@@ -124,7 +125,7 @@
   min-width: 600px;
 }
 
-td
+#filter-form td
 {
   vertical-align: top;
 }
@@ -175,9 +176,27 @@
   padding-top: 2px;
 }
 
+td.rowtargets > div
+{
+  vertical-align: top;
+  margin-top: 2px;
+}
+
 td.rowtargets div.adv
 {
   padding-top: 3px;
+  font-size: 10px;
+}
+
+td.rowtargets div.adv span.label
+{
+  display: inline-block;
+  padding-right: 5px;
+  min-width: 70px;
+}
+
+td.rowtargets div a {
+  margin-left: 10px;
 }
 
 input.disabled, input.disabled:hover
@@ -197,9 +216,15 @@
   margin-top: 0;
 }
 
+input.radio
+{
+  vertical-align: middle;
+}
+
 select.operator_selector
 {
   width: 200px;
+  vertical-align: top;
 }
 
 td.rowtargets span,
@@ -208,6 +233,11 @@
   color: #666666;
   font-size: 10px;
   white-space: nowrap;
+}
+
+td.rowtargets label
+{
+  color: black;
 }
 
 #footer
@@ -280,21 +310,93 @@
 {
   font-size: 11px;
   padding: 1px;
+  vertical-align: middle;
+  max-width: 280px;
 }
 
 /* revert larry style button */
 #filter-form input.button
 {
-  padding-bottom: 2px;
-  padding-left: 5px;
-  padding-right: 5px;
-  padding-top: 2px;
+  padding: 4px 12px;
 }
 
 fieldset
 {
   border-radius: 4px;
 }
+
+/* smart multi-row input field */
+.listarea
+{
+  border: 1px solid #B2B2B2;
+  border-radius: 4px;
+  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);
+  margin: 0;
+  padding: 2px;
+  display: inline-block;
+  max-height: 59px;
+  overflow-y: auto;
+  vertical-align: middle;
+}
+
+td.rowtargets > span.listarea
+{
+  vertical-align: top;
+  margin-top: 2px;
+}
+
+.listelement
+{
+  display: block;
+  white-space: nowrap;
+  background-color: #fff;
+  border-top: 1px solid #e2e2e2;
+  height: 14px;
+  padding: 0;
+  margin: 0;
+  overflow: hidden;
+  line-height: 14px;
+}
+
+.listarea.error .listelement
+{
+  background-color: #FFFFC4;
+}
+
+.listelement:first-child
+{
+  border-top: none;
+}
+
+#filter-form .listelement input
+{
+  border: none;
+  border-radius: 0;
+  box-shadow: none;
+  outline: none;
+  vertical-align: top;
+  height: 14px;
+  padding-top: 0;
+  padding-bottom: 0;
+  line-height: 14px;
+  background-color: transparent;
+}
+
+.listelement input:focus
+{
+  box-shadow: none;
+}
+
+.listelement .reset
+{
+  display: inline-block;
+  width: 16px;
+  height: 16px;
+  background: url(images/erase.png) -1px -1px no-repeat #eee;
+  cursor: pointer;
+}
+
 
 /* fixes for popup window */
 
@@ -308,3 +410,51 @@
 {
   padding: 10px 5px 5px 5px;
 }
+
+
+/* vacation form */
+#settings-sections .vacation a {
+  background-image: url(images/vacation_icons.png);
+	background-repeat: no-repeat;
+	background-position: 7px 1px;
+}
+
+#settings-sections .vacation.selected a {
+  background-position: 7px -23px;
+}
+
+#managesieve-vacation {
+  position: absolute;
+  top: 0;
+  left: 212px;
+  right: 0;
+  bottom: 0;
+  overflow: auto;
+}
+
+#vacationform .listarea {
+  max-height: 91px;
+}
+
+#vacationform .listelement,
+#vacationform .listelement .reset {
+  height: 22px;
+}
+
+#vacationform .listelement .reset {
+  background-position: -1px 3px;
+}
+
+#vacationform .listelement input {
+  vertical-align: top;
+  border: 0;
+  box-shadow: none;
+}
+
+#vacationform td.vacation {
+  white-space: nowrap;
+}
+
+#vacationform input.button {
+  margin-left: 10px;
+}

--
Gitblit v1.9.1