From c6f0755860b7a08b68375c534d1fae40dbaaf21d Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Tue, 11 Jun 2013 12:49:03 +0200 Subject: Support string list arguments in filter form (#1489018) --- .../skins/classic/images/plus_minus.png | Bin 0 -> 570 bytes plugins/managesieve/skins/classic/managesieve.css | 72 +++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 plugins/managesieve/skins/classic/images/plus_minus.png (limited to 'plugins/managesieve/skins/classic') diff --git a/plugins/managesieve/skins/classic/images/plus_minus.png b/plugins/managesieve/skins/classic/images/plus_minus.png new file mode 100644 index 000000000..d92af25c2 Binary files /dev/null and b/plugins/managesieve/skins/classic/images/plus_minus.png differ diff --git a/plugins/managesieve/skins/classic/managesieve.css b/plugins/managesieve/skins/classic/managesieve.css index 86a0d197d..5305b5242 100644 --- a/plugins/managesieve/skins/classic/managesieve.css +++ b/plugins/managesieve/skins/classic/managesieve.css @@ -226,6 +226,7 @@ input.radio select.operator_selector { width: 200px; + vertical-align: top; } td.rowtargets span, @@ -308,6 +309,77 @@ a.button.disabled font-size: 11px; } +/* smart multi-row input field */ +.listarea +{ + border: 1px solid #666; + margin: 0; + padding: 1px; + display: inline-block; + max-height: 67px; + overflow-y: auto; +} + +.listelement +{ + display: block; + white-space: nowrap; + background-color: #fff; + border-top: 1px solid #e2e2e2; + height: 16px; + padding: 0; + margin: 0; + overflow: hidden; + line-height: 16px; +} + +.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: 16px; + padding-top: 0; + padding-bottom: 0; + line-height: 16px; + background-color: transparent; +} + +.listelement input:focus +{ + 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 +{ + display: inline-block; + width: 16px; + height: 16px; + cursor: pointer; +} + + /* fixes for popup window */ body.iframe.mail -- cgit v1.2.3