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/larry/managesieve.css | 34 ++++++++++++++++------------------ 1 files changed, 16 insertions(+), 18 deletions(-) diff --git a/plugins/managesieve/skins/larry/managesieve.css b/plugins/managesieve/skins/larry/managesieve.css index b36d97f..47e992c 100644 --- a/plugins/managesieve/skins/larry/managesieve.css +++ b/plugins/managesieve/skins/larry/managesieve.css @@ -306,21 +306,13 @@ font-size: 11px; padding: 1px; vertical-align: middle; -} - -html.mozilla #filter-form select -{ - padding-top: 3px; - padding-bottom: 3px; + max-width: 280px; } /* revert larry style button */ #filter-form input.button { - padding-bottom: 2px; - padding-left: 5px; - padding-right: 5px; - padding-top: 2px; + padding: inherit; } fieldset @@ -334,9 +326,7 @@ border: 1px solid #B2B2B2; border-radius: 4px; box-shadow: inset 0 0 2px 1px rgba(0,0,0, 0.1); - -moz-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); - -o-box-shadow: inset 0 0 2px 1px rgba(0,0,0, 0.1); margin: 0; padding: 2px; display: inline-block; @@ -417,11 +407,13 @@ /* vacation form */ -#settings-sections span.vacation a { - background: url(images/vacation_icons.png) no-repeat 7px 1px; +#settings-sections .vacation a { + background-image: url(images/vacation_icons.png); + background-repeat: no-repeat; + background-position: 7px 1px; } -#settings-sections span.vacation.selected a { +#settings-sections .vacation.selected a { background-position: 7px -23px; } @@ -435,18 +427,24 @@ } #vacationform .listarea { - max-height: 83px; + max-height: 91px; } #vacationform .listelement, #vacationform .listelement .reset { - height: 27px; + height: 22px; } #vacationform .listelement .reset { - background-position: -1px 5px; + background-position: -1px 3px; } #vacationform .listelement input { vertical-align: top; + border: 0; + box-shadow: none; +} + +#vacationform td.vacation { + white-space: nowrap; } -- Gitblit v1.9.1