aboutsummaryrefslogtreecommitdiff
path: root/src/server/Design
diff options
context:
space:
mode:
authorJoris2016-04-05 13:39:48 +0200
committerJoris2016-04-05 13:39:48 +0200
commitedca79a7e2bfed1a08de780cc6ab7eac430ef950 (patch)
tree02f794910924f1ca0114d08a254deed98388c70f /src/server/Design
parentd19b69eeeb0c24ee7e4a75b0da32eefba1d43928 (diff)
Add a statistics empty page
Diffstat (limited to 'src/server/Design')
-rw-r--r--src/server/Design/Header.hs30
1 files changed, 14 insertions, 16 deletions
diff --git a/src/server/Design/Header.hs b/src/server/Design/Header.hs
index c4f9332..3b4f35c 100644
--- a/src/server/Design/Header.hs
+++ b/src/server/Design/Header.hs
@@ -22,32 +22,30 @@ headerDesign =
height headerHeight
marginBottom blockMarginBottom
position relative
+ backgroundColor C.red
+ color C.white
- (".title" <> ".user" <> ".icon") ? do
- color C.white
- backgroundColor C.red
+ ".item" ? do
+ float floatLeft
+ paddingLeft headerPadding
+ paddingRight headerPadding
hover & backgroundColor darkenedRed
focus & backgroundColor darkenedRed
".title" ? do
- display block
- width (pct 100)
height (pct 100)
fontSize (px 35)
textAlign (alignSide sideLeft)
paddingLeft headerPadding
paddingRight headerPadding
- ".signedPanel" ? do
- float floatRight
- height (pct 100)
- display flex
- position absolute
- top (px 0)
- right (px 0)
+ (".name" <> ".signOut") ? float floatRight
- ".user" <> ".icon" ? do
- paddingLeft headerPadding
- paddingRight headerPadding
+ ".name" ? do
+ paddingLeft headerPadding
+ paddingRight headerPadding
- ".icon" ? fontSize iconFontSize
+ ".signOut" ? do
+ height (pct 100)
+ fontSize iconFontSize
+ color C.white