aboutsummaryrefslogtreecommitdiff
path: root/src/server/Design/Header.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/Design/Header.hs')
-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