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

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)