aboutsummaryrefslogtreecommitdiff
path: root/src/server/Design/SignIn.hs
blob: 92e485bdbc5b9fa72db9be5251b15e3755bde1ad (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
{-# LANGUAGE OverloadedStrings #-}

module Design.SignIn
  ( signInDesign
  ) where

import Clay

import Design.Color as C
import Design.Helper

signInDesign :: Css
signInDesign =

  ".signIn" ? do

    button ? do
      display block
      margin (em 5) auto (em 2) auto
      iconButton C.blue C.white (em 2.5)
      fontSize (em 1.5)
      position relative

    ".result" ? do
      textAlign (alignSide sideCenter)
      ".success" ? color C.greenSuccess
      ".error" ? color C.redError