aboutsummaryrefslogtreecommitdiff
path: root/src/server/Design/LoggedIn/Expandables.hs
blob: a3be877a4d197a14df153bf4008bdbbc3c208e29 (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.Expandables
  ( expandablesDesign
  ) where

-- import Data.Monoid ((<>))
--
import Clay

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

expandablesDesign :: Css
expandablesDesign =

  ".expandables" ? do

    ".expand" ? do
      position absolute
      right blockPadding
      bottom (px 2)

    ".monthlyPayments" ? expandBlock C.blue C.white (px inputHeight)

    ".account" ? expandBlock C.green C.white (px inputHeight)

    ".detail" |> ".header" ? borderRadius radius radius 0 0