diff options
author | Joris | 2019-08-10 21:31:27 +0200 |
---|---|---|
committer | Joris | 2019-08-10 21:31:27 +0200 |
commit | c542424b7b41c78a170763f6996c12f56b359860 (patch) | |
tree | 44830a524c592b53e93190c0461676edbfa6fdb8 /server/src/Design/Global.hs | |
parent | c5c54722f4736108c8418c9865f81f05a6db560d (diff) |
Add smooth transitions to modal show and hide
Diffstat (limited to 'server/src/Design/Global.hs')
-rw-r--r-- | server/src/Design/Global.hs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/server/src/Design/Global.hs b/server/src/Design/Global.hs index 66e9f47..24d999f 100644 --- a/server/src/Design/Global.hs +++ b/server/src/Design/Global.hs @@ -22,7 +22,7 @@ globalDesign = renderWith compact [] global global :: Css global = do ".errors" ? Errors.design - ".modal" ? Modal.design + Modal.design ".tooltip" ? Tooltip.design Views.design Form.design @@ -33,13 +33,14 @@ global = do html ? do height (pct 100) + "g-Body--Modal" ? + overflowY hidden + body ? do position relative minWidth (px 320) height (pct 100) fontFamily ["Cantarell"] [sansSerif] - ".modal" & - overflowY hidden Media.tablet $ do fontSize (px 15) button ? fontSize (px 15) |