aboutsummaryrefslogtreecommitdiff
path: root/src/server/Design/LoggedIn/Pages.hs
blob: f7946b87b22ea3745bad2a8ff2712750a3d88a77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{-# LANGUAGE OverloadedStrings #-}

module Design.LoggedIn.Pages
  ( pagesDesign
  ) where

import Clay

import Design.Color as C
import Design.Helper
import Design.Constants

pagesDesign :: Css
pagesDesign =

  ".pages" ? do
    padding (px 30) (px 30) (px 30) (px 30)
    textAlign (alignSide (sideCenter))
    clearFix

    ".page" ? do
      defaultButton C.white C.darkGrey (px 50) focusDarken
      display inlineBlock
      border solid (px 2) C.darkGrey
      marginRight (px 10)
      paddingLeft (px 10)
      paddingRight (px 10)
      fontWeight bold

      ":not(.current)" & cursor pointer

      ".current" & do
        borderColor C.red
        color C.red