From edca79a7e2bfed1a08de780cc6ab7eac430ef950 Mon Sep 17 00:00:00 2001 From: Joris Date: Tue, 5 Apr 2016 13:39:48 +0200 Subject: Add a statistics empty page --- src/server/Design/Header.hs | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) (limited to 'src/server/Design') 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 -- cgit v1.2.3