From 0148cdea1cf6f906cc401885013da20774034d75 Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 7 Nov 2016 19:05:45 +0000 Subject: [PATCH] improved styling for filter input svn path=/trunk/; revision=137 --- static/cards.css | 20 ++++++++++++++++++++ templates/cards.html.sh | 38 ++++++++++++++++++++++++++------------ 2 files changed, 46 insertions(+), 12 deletions(-) diff --git a/static/cards.css b/static/cards.css index 9397dc3..5d78a0f 100644 --- a/static/cards.css +++ b/static/cards.css @@ -64,6 +64,26 @@ margin-top: .5em; } +.filter fieldset.item { padding-left: 0; } +.filter fieldset.item legend { display: none; } +.filter fieldset.item input[type=text] { + background-color: #FFF; + border: 1px solid #000; + margin-top: -1px; + padding: .25em .5em; +} +.filter fieldset.item input[type=radio] { display: none; } +.filter fieldset.item input[type=radio] + label { + position: relative; z-index: 1; + margin: 0; padding: .25em 1em; + +} +.filter fieldset.item input[type=radio]:checked + label { + background-color: #FFF; + border: 1px solid #000; + border-bottom-color: #FFF; +} + .newcard { display: block; border: solid 1px; diff --git a/templates/cards.html.sh b/templates/cards.html.sh index df630c0..2eca4d1 100755 --- a/templates/cards.html.sh +++ b/templates/cards.html.sh @@ -26,21 +26,35 @@ cat <

$(l10n filter_label)

- -
-
- $(l10n filter_type): - - - - - - +
+ $(l10n filter_item): + + + + + + + + + + + + + + + + + + ${profile_circus:+ - + + } + +
-
+ +
$(l10n filter_order): -- 2.39.2