aboutsummaryrefslogtreecommitdiff
path: root/src/server/Design/Form.hs
diff options
context:
space:
mode:
authorJoris2016-06-23 23:43:23 +0200
committerJoris2016-06-23 23:43:23 +0200
commit4ce4de89a5400b0d8b9cddaa2922901a081fdaaa (patch)
treeb65e9ef809c2ec7608101563eb3378eaeeddf12b /src/server/Design/Form.hs
parent36a90770ebeb9bd99e136bfe035fdda5dfabc304 (diff)
downloadbudget-4ce4de89a5400b0d8b9cddaa2922901a081fdaaa.tar.gz
budget-4ce4de89a5400b0d8b9cddaa2922901a081fdaaa.tar.bz2
budget-4ce4de89a5400b0d8b9cddaa2922901a081fdaaa.zip
Use a dialog to add a payment
Diffstat (limited to 'src/server/Design/Form.hs')
-rw-r--r--src/server/Design/Form.hs22
1 files changed, 21 insertions, 1 deletions
diff --git a/src/server/Design/Form.hs b/src/server/Design/Form.hs
index 2ad6a9c..4bd1ad6 100644
--- a/src/server/Design/Form.hs
+++ b/src/server/Design/Form.hs
@@ -19,7 +19,7 @@ design = do
".textInput" ? do
position relative
- marginBottom (em 1)
+ marginBottom (em 1.5)
paddingTop (px inputTop)
marginTop (px (-10))
@@ -57,3 +57,23 @@ design = do
position absolute
color Color.chestnutRose
fontSize (pct 80)
+
+ ".radioGroup" ? do
+ position relative
+ marginBottom (em 2)
+
+ ".title" ? do
+ color Color.silver
+ marginBottom (em 0.8)
+
+ ".radioElems" ? 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