]>
Commit | Line | Data |
---|---|---|
8ff3f883 C |
1 | $small-view: 800px; |
2 | $mobile-view: 500px; | |
3 | ||
8a8e02a4 | 4 | $main-fonts: 'Source Sans Pro', sans-serif; |
b33f657c C |
5 | $font-regular: 400; |
6 | $font-semibold: 600; | |
7 | $font-bold: 700; | |
8 | ||
7b272fd7 C |
9 | $grey-color: #E5E5E5; |
10 | $grey-hoover-color: #EFEFEF;; | |
b33f657c | 11 | $orange-color: #F1680D; |
ce0e281d | 12 | $orange-hoover-color: #F97D46; |
09223546 | 13 | |
769ac6c1 RK |
14 | $bg-color: #fff; |
15 | $fg-color: #000; | |
41a676db C |
16 | |
17 | $red: #FF0000; | |
18 | $green: #39CC0B; | |
383bfc83 | 19 | |
22a16e36 C |
20 | $grey-actor-name: #777272; |
21 | ||
c30745f3 | 22 | $expanded-horizontal-margins: 150px; |
d178b5c1 | 23 | $not-expanded-horizontal-margins: 30px; |
c30745f3 | 24 | |
b33f657c C |
25 | $button-height: 30px; |
26 | ||
b33f657c | 27 | $header-height: 50px; |
383bfc83 | 28 | $header-border-color: #e9eff6; |
26c6ee80 C |
29 | $search-input-width: 375px; |
30 | ||
9a0fc840 | 31 | $menu-background: #000; |
26c6ee80 | 32 | $menu-color: #fff; |
8afc19a6 | 33 | $menu-bottom-color: #C6C6C6; |
26c6ee80 | 34 | $menu-width: 240px; |
8afc19a6 | 35 | $menu-left-padding: 26px; |
26c6ee80 | 36 | |
9a0fc840 RK |
37 | $sub-menu-color: #F7F7F7; |
38 | ||
efbf0ed7 C |
39 | $footer-height: 30px; |
40 | $footer-margin: 30px; | |
41 | ||
897ec54d | 42 | $footer-border-color: $header-border-color; |
3290f37c C |
43 | |
44 | $video-thumbnail-height: 110px; | |
45 | $video-thumbnail-width: 200px; | |
054a103b C |
46 | |
47 | $theater-bottom-space: 85px; | |
9a0fc840 RK |
48 | |
49 | $input-color: $bg-color; | |
50 | $input-placeholder-color: #898989; | |
51 | ||
52 | /*** theme ***/ | |
53 | ||
54 | body { | |
55 | // now beware node-sass requires interpolation | |
56 | // for css custom properties #{$var} | |
57 | --mainColor: #{$orange-color}; | |
58 | --mainHoverColor: #{$orange-hoover-color}; | |
59 | --mainBackgroundColor: #{$bg-color}; | |
60 | --mainForegroundColor: #{$fg-color}; | |
61 | --submenuColor: #{$sub-menu-color}; | |
62 | --inputColor: #{$input-color}; | |
63 | --inputPlaceholderColor: #{$input-placeholder-color}; | |
64 | } | |
65 | ||
66 | /*** map theme ***/ | |
67 | ||
68 | // pass variables into a sass map, | |
69 | // to be warned of non-existing variables | |
70 | $variables: ( | |
71 | --mainColor: var(--mainColor), | |
72 | --mainHoverColor: var(--mainHoverColor), | |
73 | --mainBackgroundColor: var(--mainBackgroundColor), | |
74 | --mainForegroundColor: var(--mainForegroundColor), | |
75 | --submenuColor: var(--submenuColor), | |
76 | --inputColor: var(--inputColor), | |
77 | --inputPlaceholderColor: var(--inputPlaceholderColor) | |
78 | ); | |
79 | ||
80 | /*** theme helper ***/ | |
81 | ||
82 | @function var($variable) { | |
83 | @return map-get($variables, $variable); | |
84 | } |