diff options
author | Joris | 2017-11-28 09:11:19 +0100 |
---|---|---|
committer | Joris | 2017-11-28 09:11:19 +0100 |
commit | 49426740e8e0c59040f4f3721a658f225572582b (patch) | |
tree | 43e3cf19f35d672734a92648b0038bf48dace778 /server/src/Design/Global.hs | |
parent | 554880727d833befab00666c7a4f95611e8370b9 (diff) |
Add search for payments
Diffstat (limited to 'server/src/Design/Global.hs')
-rw-r--r-- | server/src/Design/Global.hs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/server/src/Design/Global.hs b/server/src/Design/Global.hs index 34d772e..5e5035c 100644 --- a/server/src/Design/Global.hs +++ b/server/src/Design/Global.hs @@ -71,3 +71,29 @@ global = do ".undo" & Helper.button Color.silver Color.white (px Constants.inputHeight) Constants.focusLighten svg ? height (pct 100) + + button ? do + ".content" ? display flex + svg # ".loader" ? display none + + ".waiting" & do + ".content" ? do + display none + svg # ".loader" ? do + display block + rotateKeyframes + rotateAnimation + +rotateAnimation :: Css +rotateAnimation = do + animationName "rotate" + animationDuration (sec 1) + animationTimingFunction easeOut + animationIterationCount infinite + +rotateKeyframes :: Css +rotateKeyframes = keyframes + "rotate" + [ (0, "transform" -: "rotate(0deg)") + , (100, "transform" -: "rotate(360deg)") + ] |