diff options
author | Joris | 2016-04-05 23:52:13 +0200 |
---|---|---|
committer | Joris | 2016-04-05 23:52:13 +0200 |
commit | fe50c4042848681833d15fab27466d1d2d4bda45 (patch) | |
tree | 9a1eda4adb22c0d84815e20e8e021968815d7c50 /src/server/Design/Global.hs | |
parent | 466f77394885cb74d01451c4733cafc9b61f4bba (diff) |
Ameliore design in income page and stat page
Diffstat (limited to 'src/server/Design/Global.hs')
-rw-r--r-- | src/server/Design/Global.hs | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/src/server/Design/Global.hs b/src/server/Design/Global.hs index c41d06f..90dd842 100644 --- a/src/server/Design/Global.hs +++ b/src/server/Design/Global.hs @@ -8,17 +8,26 @@ import Clay import Data.Text.Lazy (Text) -import Design.Header -import Design.SignIn -import Design.LoggedIn +import qualified Design.Header as HeaderDesign +import qualified Design.SignIn as SignInDesign +import qualified Design.LoggedIn as LoggedInDesign + import Design.Animation.Keyframes +import Design.Color as Color + globalDesign :: Text globalDesign = renderWith compact [] global global :: Css global = do + header ? HeaderDesign.design + ".signIn" ? SignInDesign.design + ".loggedIn" ? LoggedInDesign.design + + allKeyframes + body ? do position relative minWidth (px 550) @@ -26,10 +35,15 @@ global = do a ? cursor pointer - allKeyframes - - signInDesign - - headerDesign - - loggedInDesign + h1 ? do + fontSize (px 20) + color Color.red + marginBottom (em 1) + + ul ? do + marginBottom (em 1) + li ? do + marginBottom (em 0.5) + before & do + content (stringContent "• ") + color Color.red |