aboutsummaryrefslogtreecommitdiff
path: root/server/src/Design/View
diff options
context:
space:
mode:
authorJoris2017-11-12 22:58:23 +0100
committerJoris2017-11-12 22:58:23 +0100
commit213cf7ede058b781fc957de2cd9f6a5988c08004 (patch)
treeedaa0aded649f6c63883637ee46bbb20b1851ddb /server/src/Design/View
parent30f786e277b4ece6a09311de364082691f261ca3 (diff)
Add mocked pages
Diffstat (limited to 'server/src/Design/View')
-rw-r--r--server/src/Design/View/Payment/Pages.hs6
-rw-r--r--server/src/Design/View/Payment/Table.hs2
2 files changed, 5 insertions, 3 deletions
diff --git a/server/src/Design/View/Payment/Pages.hs b/server/src/Design/View/Payment/Pages.hs
index ade81a8..5fc13f0 100644
--- a/server/src/Design/View/Payment/Pages.hs
+++ b/server/src/Design/View/Payment/Pages.hs
@@ -13,8 +13,8 @@ import qualified Design.Media as Media
design :: Css
design = do
- textAlign (alignSide sideCenter)
- Helper.clearFix
+ display flex
+ justifyContent center
Media.desktop $ do
padding (px 40) (px 30) (px 30) (px 30)
@@ -26,6 +26,8 @@ design = do
padding (px 20) (px 0) (px 20) (px 0)
lineHeight (px 40)
+ svg ? "path" ? ("fill" -: Color.toString Color.dustyGray)
+
".page" ? do
display inlineBlock
fontWeight bold
diff --git a/server/src/Design/View/Payment/Table.hs b/server/src/Design/View/Payment/Table.hs
index a866b40..f8326e4 100644
--- a/server/src/Design/View/Payment/Table.hs
+++ b/server/src/Design/View/Payment/Table.hs
@@ -38,5 +38,5 @@ design = do
marginBottom (em 0.5)
".button" & svg ? do
- "path" ? ("fill" -: (plain . unValue . value $ Color.chestnutRose))
+ "path" ? ("fill" -: Color.toString Color.chestnutRose)
width (px 18)