diff options
author | Joris | 2016-06-25 22:51:12 +0200 |
---|---|---|
committer | Joris | 2016-06-25 22:51:12 +0200 |
commit | 0886d5916ae28e2a0d1d5c70fb81842a6d0dc70f (patch) | |
tree | 8016750c80cac177d2bf315b2f59605f3a8f80d3 /src/server/Design/LoggedIn | |
parent | 70720548c9af024dbb6080638ac8e5470c2213eb (diff) |
Add a remove icon to empty a input text field
Diffstat (limited to 'src/server/Design/LoggedIn')
-rw-r--r-- | src/server/Design/LoggedIn/Home/Table.hs | 14 | ||||
-rw-r--r-- | src/server/Design/LoggedIn/Income.hs | 2 |
2 files changed, 1 insertions, 15 deletions
diff --git a/src/server/Design/LoggedIn/Home/Table.hs b/src/server/Design/LoggedIn/Home/Table.hs index a229132..2594f25 100644 --- a/src/server/Design/LoggedIn/Home/Table.hs +++ b/src/server/Design/LoggedIn/Home/Table.hs @@ -38,20 +38,6 @@ design = do ".row" ? do fontSize (px 18) height (px rowHeightPx) - ".cell:first-child::before" ? do - display block - content (stringContent "") - position absolute - top (px 0) - left (px 0) - width (px 0) - height (px rowHeightPx) - backgroundColor Color.mossGreen - transition "width" (sec 0.3) ease (sec 0) - opacity (0.8) - - hover & do - ".cell:first-child::before" ? width (px 5) nthChild "odd" & do backgroundColor Color.wildSand diff --git a/src/server/Design/LoggedIn/Income.hs b/src/server/Design/LoggedIn/Income.hs index bebd136..84ae521 100644 --- a/src/server/Design/LoggedIn/Income.hs +++ b/src/server/Design/LoggedIn/Income.hs @@ -21,7 +21,7 @@ design = do "margin-bottom" -: "4vh" ".textInput" ? marginRight (px 30) - button ? do + button # ".add" ? do Helper.defaultButton Color.chestnutRose Color.white (px Constants.inputHeight) Constants.focusLighten marginTop (px 3) |