-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStyles.elm
57 lines (38 loc) · 818 Bytes
/
Styles.elm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
module Styles exposing (..)
import Css exposing (..)
import Html.Attributes
cellSize =
100
markerSize =
cellSize - 20
primaryColor =
hex "#d3d3d3"
styles =
asPairs >> Html.Attributes.style
appStyles =
styles
[ margin2 (px 0) auto
, width (px 320)
]
buttonStyles =
styles
[ backgroundColor primaryColor
, fontSize (px 15)
, marginLeft (px 15)
, padding (px 5)
]
cellStyles =
styles
[ border3 (px 1) solid primaryColor
, fontSize (px markerSize)
, height (px cellSize)
, textAlign center
, textTransform uppercase
, width (px cellSize)
]
headerStyles =
styles
[ textAlign center ]
statusBarStyles =
styles
[ lineHeight (px 40) ]