From a94813019b146d75f7556d10e8d0dfd50586f54d Mon Sep 17 00:00:00 2001 From: Joris Date: Sun, 13 Sep 2015 11:23:04 +0200 Subject: Splitting Global design file into a hierarchy of files --- src/server/Design/Constants.hs | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/server/Design/Constants.hs (limited to 'src/server/Design/Constants.hs') 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 -- cgit v1.2.3