diff options
author | Joris | 2015-09-13 11:23:04 +0200 |
---|---|---|
committer | Joris | 2015-09-13 11:23:04 +0200 |
commit | a94813019b146d75f7556d10e8d0dfd50586f54d (patch) | |
tree | cf1ca605b72e0d2a4045f7aa54369e06d64aa872 /src/server/Design/Constants.hs | |
parent | e56aaedad92f8585a70277edce8ed8ad065d681c (diff) | |
download | budget-a94813019b146d75f7556d10e8d0dfd50586f54d.tar.gz budget-a94813019b146d75f7556d10e8d0dfd50586f54d.tar.bz2 budget-a94813019b146d75f7556d10e8d0dfd50586f54d.zip |
Splitting Global design file into a hierarchy of files
Diffstat (limited to 'src/server/Design/Constants.hs')
-rw-r--r-- | src/server/Design/Constants.hs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/server/Design/Constants.hs b/src/server/Design/Constants.hs new file mode 100644 index 0000000..6c4ab90 --- /dev/null +++ b/src/server/Design/Constants.hs @@ -0,0 +1,27 @@ +module Design.Constants where + +import Clay + +iconFontSize :: Size Abs +iconFontSize = px 32 + +radius :: Size Abs +radius = px 3 + +blockPadding :: Size Abs +blockPadding = px 15 + +blockPercentWidth :: Double +blockPercentWidth = 90 + +blockPercentMargin :: Double +blockPercentMargin = (100 - blockPercentWidth) / 2 + +blockMarginBottom :: Size Abs +blockMarginBottom = px 50 + +rowHeight :: Size Abs +rowHeight = px 60 + +inputHeight :: Integer +inputHeight = 40 |