diff options
author | Joris | 2016-06-25 15:10:03 +0200 |
---|---|---|
committer | Joris | 2016-06-25 22:09:04 +0200 |
commit | 70720548c9af024dbb6080638ac8e5470c2213eb (patch) | |
tree | a149bd6d8f1448de11ac4b0b41c52bc82052035a /src/server/Design/Form.hs | |
parent | 4ce4de89a5400b0d8b9cddaa2922901a081fdaaa (diff) | |
download | budget-70720548c9af024dbb6080638ac8e5470c2213eb.tar.gz budget-70720548c9af024dbb6080638ac8e5470c2213eb.tar.bz2 budget-70720548c9af024dbb6080638ac8e5470c2213eb.zip |
Use the search to view either punctual or monthly payments
Diffstat (limited to 'src/server/Design/Form.hs')
-rw-r--r-- | src/server/Design/Form.hs | 24 |
1 files changed, 14 insertions, 10 deletions
diff --git a/src/server/Design/Form.hs b/src/server/Design/Form.hs index 4bd1ad6..c2537f1 100644 --- a/src/server/Design/Form.hs +++ b/src/server/Design/Form.hs @@ -66,14 +66,18 @@ design = do color Color.silver marginBottom (em 0.8) - ".radioElems" ? do + ".radioInputs" ? do display flex - "justify-content" -: "space-around" - - label ? do - marginBottom (px 5) - display block - cursor pointer - input ? do - margin (px 0) (px 8) (px (-1)) (px 0) - cursor pointer + "justify-content" -: "center" + + ".radioInput:not(:last-child)::after" ? do + content (stringContent "/") + marginLeft (px 10) + marginRight (px 10) + + input ? display none + label ? cursor pointer + + "input:checked + label" ? do + color Color.chestnutRose + fontWeight bold |