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

module Design.LoggedIn.Income
  ( design
  ) where

import Clay

import qualified Design.Helper as Helper
import qualified Design.Constants as Constants
import qualified Design.Color as Color

design :: Css
design = do

  h1 ? paddingBottom (px 0)

  form ? do
    display flex
    "alignItems" -: "center"
    "margin-bottom" -: "4vh"
    ".textInput" ? marginRight (px 30)

    button ? do
      Helper.defaultButton Color.chestnutRose Color.white (px Constants.inputHeight) Constants.focusLighten
      marginTop (px 3)

  ul # ".incomes" ? button ?
    marginLeft (px 12)