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

---
 plugins/managesieve/skins/classic/managesieve.css |   58 +++++++++++++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 47 insertions(+), 11 deletions(-)

diff --git a/plugins/managesieve/skins/classic/managesieve.css b/plugins/managesieve/skins/classic/managesieve.css
index 5305b52..836e16d 100644
--- a/plugins/managesieve/skins/classic/managesieve.css
+++ b/plugins/managesieve/skins/classic/managesieve.css
@@ -115,7 +115,7 @@
   padding: 20px 10px 10px 10px;
 }
 
-legend, label
+#filter-form legend, #filter-form label
 {
   color: #666666;
 }
@@ -201,9 +201,28 @@
   padding-top: 2px;
 }
 
+td.rowtargets > div
+{
+  vertical-align: top;
+  margin-top: 2px;
+}
+
 td.rowtargets div.adv
 {
   padding-top: 3px;
+}
+
+td.rowtargets div.adv span.label
+{
+  display: inline-block;
+  padding-right: 10px;
+  min-width: 65px;
+}
+
+html.mozilla #filter-form select
+{
+  padding-top: 3px;
+  padding-bottom: 3px;
 }
 
 input.disabled, input.disabled:hover
@@ -307,6 +326,7 @@
 #filter-form textarea
 {
   font-size: 11px;
+  vertical-align: middle;
 }
 
 /* smart multi-row input field */
@@ -318,6 +338,12 @@
   display: inline-block;
   max-height: 67px;
   overflow-y: auto;
+}
+
+td.rowtargets > span.listarea
+{
+  vertical-align: top;
+  margin-top: 2px;
 }
 
 .listelement
@@ -362,20 +388,12 @@
   box-shadow: none;
 }
 
-.listelement .actions
-{
-  display: inline-block;
-  width: 32px;
-  height: 16px;
-  background: url(images/plus_minus.png) -1px 0 no-repeat #eee;
-}
-
-.actions .add,
-.actions .reset
+.listelement .reset
 {
   display: inline-block;
   width: 16px;
   height: 16px;
+  background: url(images/erase.png) -1px 0 no-repeat #eee;
   cursor: pointer;
 }
 
@@ -392,3 +410,21 @@
 {
   padding: 10px 5px 5px 5px;
 }
+
+#vacationform .listarea {
+  max-height: 75px;
+}
+
+#vacationform .listelement,
+#vacationform .listelement .reset {
+  height: 18px;
+}
+
+#vacationform .listelement .reset {
+  background-position: -1px 1px;
+}
+
+#vacationform .listelement input {
+  vertical-align: top;
+  border: 0;
+}

--
Gitblit v1.9.1