diff options
author | Joris | 2018-01-05 14:45:47 +0100 |
---|---|---|
committer | Joris | 2018-01-05 14:45:47 +0100 |
commit | ab17b6339d16970c3845ec4f153bfeed89eae728 (patch) | |
tree | 47c413dc13c2d21af47b965cb7b34e7dcbda805f /server/src/Design/Global.hs | |
parent | 17d6a05756479388c91bc2e50f721fcea8a82d38 (diff) |
Add modal component
Diffstat (limited to 'server/src/Design/Global.hs')
-rw-r--r-- | server/src/Design/Global.hs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/server/src/Design/Global.hs b/server/src/Design/Global.hs index 5e5035c..4da4ffb 100644 --- a/server/src/Design/Global.hs +++ b/server/src/Design/Global.hs @@ -3,19 +3,17 @@ module Design.Global ) where import Clay - import Data.Text.Lazy (Text) -import qualified Design.Dialog as Dialog -import qualified Design.Errors as Errors -import qualified Design.Form as Form -import qualified Design.Tooltip as Tooltip -import qualified Design.Views as Views - import qualified Design.Color as Color import qualified Design.Constants as Constants +import qualified Design.Errors as Errors +import qualified Design.Form as Form import qualified Design.Helper as Helper import qualified Design.Media as Media +import qualified Design.Modal as Modal +import qualified Design.Tooltip as Tooltip +import qualified Design.Views as Views globalDesign :: Text globalDesign = renderWith compact [] global @@ -23,7 +21,7 @@ globalDesign = renderWith compact [] global global :: Css global = do ".errors" ? Errors.design - ".dialog" ? Dialog.design + ".modal" ? Modal.design ".tooltip" ? Tooltip.design Views.design Form.design @@ -84,6 +82,8 @@ global = do rotateKeyframes rotateAnimation + select ? cursor pointer + rotateAnimation :: Css rotateAnimation = do animationName "rotate" |