From: paul Date: Mon, 7 Nov 2016 19:05:45 +0000 (+0000) Subject: improved styling for filter input X-Git-Url: https://git.plutz.net/?p=confetti;a=commitdiff_plain;h=0148cdea1cf6f906cc401885013da20774034d75 improved styling for filter input svn path=/trunk/; revision=137 --- 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):