aboutsummaryrefslogtreecommitdiff
path: root/server/src/Design/Dialog.hs
blob: 034a8b15314dce2749545414de76a382cb566c3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module Design.Dialog
  ( design
  ) where

import           Data.Monoid ((<>))

import           Clay

design :: Css
design = do

  ".content" ? do
    minWidth (px 270)

    ".paymentDialog" & do
      ".radioGroup" ? ".title" ? display none
      ".selectInput" ? do
        select ? width (pct 100)
        marginBottom (em 1)

  ".deletePaymentDialog" <> ".deleteIncomeDialog" ? do
    h1 ? marginBottom (em 1.5)