aboutsummaryrefslogtreecommitdiff
path: root/src/server/Design/LoggedIn/Expandables.hs
diff options
context:
space:
mode:
authorJoris2016-01-03 19:41:31 +0100
committerJoris2016-01-03 19:41:31 +0100
commita8309988518af5bddf62d6a326d990fde4069b40 (patch)
tree6ff9c0af27d78f8579b5c3975378a3c82899593c /src/server/Design/LoggedIn/Expandables.hs
parent0cba27cba2b44756389d50bc113f23a2be87e978 (diff)
downloadbudget-a8309988518af5bddf62d6a326d990fde4069b40.tar.gz
budget-a8309988518af5bddf62d6a326d990fde4069b40.tar.bz2
budget-a8309988518af5bddf62d6a326d990fde4069b40.zip
Set focus properties to button elements
Diffstat (limited to 'src/server/Design/LoggedIn/Expandables.hs')
-rw-r--r--src/server/Design/LoggedIn/Expandables.hs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/server/Design/LoggedIn/Expandables.hs b/src/server/Design/LoggedIn/Expandables.hs
index 66a9b06..8ef42cd 100644
--- a/src/server/Design/LoggedIn/Expandables.hs
+++ b/src/server/Design/LoggedIn/Expandables.hs
@@ -22,7 +22,8 @@ expandablesDesign =
right blockPadding
bottom (px 2)
- ".monthlyPayments" ? expandBlock C.blue C.white (px inputHeight)
+ ".monthlyPayments" ? do
+ expandBlock C.blue C.white (px inputHeight)
".account" ? do
expandBlock C.green C.white (px inputHeight)
@@ -35,7 +36,7 @@ expandablesDesign =
backgroundColor C.lightGrey
padding (px 0) (px 20) (px 0) (px 20)
position relative
- lineHeight rowHeight
+ lineHeight (px rowHeightPx)
input ? do
defaultInput inputHeight
@@ -50,10 +51,10 @@ expandablesDesign =
marginTop (px (-5))
".validateIncomeEdition" <> ".editIncomeEdition" ?
- defaultButton C.red C.white (px inputHeight)
+ defaultButton C.red C.white (px inputHeight) focusLighten
".undoIncomeEdition" ?
- defaultButton C.blue C.white (px inputHeight)
+ defaultButton C.blue C.white (px inputHeight) focusLighten
".error" ? do
color C.redError