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 | 91 +++++++++++++++++++++++++++++++++------------ 1 files changed, 66 insertions(+), 25 deletions(-) diff --git a/plugins/managesieve/skins/larry/managesieve.css b/plugins/managesieve/skins/larry/managesieve.css index 058b662..47e992c 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, @@ -89,7 +89,7 @@ padding: 20px 10px 10px 10px; } -legend, label +#filter-form legend, #filter-form label { color: #666666; } @@ -124,7 +124,7 @@ min-width: 600px; } -td +#filter-form td { vertical-align: top; } @@ -184,6 +184,14 @@ 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; } input.disabled, input.disabled:hover @@ -297,21 +305,14 @@ { font-size: 11px; padding: 1px; -} - -html.mozilla #filter-form select -{ - padding-top: 3px; - padding-bottom: 3px; + 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: inherit; } fieldset @@ -325,14 +326,18 @@ 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; max-height: 59px; overflow-y: auto; +} + +td.rowtargets > span.listarea +{ + vertical-align: top; + margin-top: 2px; } .listelement @@ -377,20 +382,12 @@ box-shadow: none; } -.listelement .actions -{ - display: inline-block; - width: 32px; - height: 16px; - background: url(images/plus_minus.png) -1px -1px no-repeat #eee; -} - -.actions .add, -.actions .reset +.listelement .reset { display: inline-block; width: 16px; height: 16px; + background: url(images/erase.png) -1px -1px no-repeat #eee; cursor: pointer; } @@ -407,3 +404,47 @@ { 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; +} -- Gitblit v1.9.1