]>
Commit | Line | Data |
---|---|---|
9b8a7aa8 RK |
1 | @import '_bootstrap-variables'; |
2 | ||
8ff3f883 C |
3 | $small-view: 800px; |
4 | $mobile-view: 500px; | |
5 | ||
8a8e02a4 | 6 | $main-fonts: 'Source Sans Pro', sans-serif; |
b33f657c C |
7 | $font-regular: 400; |
8 | $font-semibold: 600; | |
9 | $font-bold: 700; | |
10 | ||
457bb213 C |
11 | $grey-background-color: #E5E5E5; |
12 | $grey-background-hover-color: #EFEFEF; | |
13 | $grey-foreground-color: #585858; | |
14 | $grey-foreground-hover-color: #303030; | |
a6d5ff76 | 15 | $grey-button-outline-color: scale-color($grey-foreground-color, $alpha: -95%); |
457bb213 | 16 | |
680b5496 RK |
17 | // Palette |
18 | $main-color: hsl(24, 90%, 50%); | |
19 | $main-hover-color: lighten($main-color, 5%); | |
20 | $main-color-lighter: lighten($main-color, 10%); | |
a6d5ff76 | 21 | $main-color-lightest: lighten($main-color, 40%); |
680b5496 RK |
22 | $secondary-color: hsl(187, 77, 34); |
23 | // | |
aa0f1963 | 24 | |
0240da5c RK |
25 | $support-button: inherit; |
26 | $support-button-heart: #e83e8c; | |
2fcc2294 | 27 | |
769ac6c1 RK |
28 | $bg-color: #fff; |
29 | $fg-color: #000; | |
41a676db C |
30 | |
31 | $red: #FF0000; | |
32 | $green: #39CC0B; | |
383bfc83 | 33 | |
22a16e36 C |
34 | $grey-actor-name: #777272; |
35 | ||
c30745f3 | 36 | $expanded-horizontal-margins: 150px; |
d178b5c1 | 37 | $not-expanded-horizontal-margins: 30px; |
c30745f3 | 38 | |
b33f657c C |
39 | $button-height: 30px; |
40 | ||
b33f657c | 41 | $header-height: 50px; |
383bfc83 | 42 | $header-border-color: #e9eff6; |
26c6ee80 C |
43 | $search-input-width: 375px; |
44 | ||
9a0fc840 | 45 | $menu-background: #000; |
26c6ee80 | 46 | $menu-color: #fff; |
8afc19a6 | 47 | $menu-bottom-color: #C6C6C6; |
26c6ee80 | 48 | $menu-width: 240px; |
35c29307 | 49 | $menu-lateral-padding: 26px; |
26c6ee80 | 50 | |
9a0fc840 RK |
51 | $sub-menu-color: #F7F7F7; |
52 | ||
efbf0ed7 C |
53 | $footer-height: 30px; |
54 | $footer-margin: 30px; | |
55 | ||
f0a39880 C |
56 | $separator-border-color: rgba(0, 0, 0, 0.10); |
57 | ||
11dd0c2e | 58 | $video-miniature-width: 238px; |
dc890263 | 59 | $video-miniature-margin-bottom: 30px; |
e5fc7811 C |
60 | $video-thumbnail-height: 122px; |
61 | $video-thumbnail-width: 223px; | |
8fc02e47 | 62 | $video-thumbnail-ratio: $video-thumbnail-width / $video-thumbnail-height; |
054a103b | 63 | |
432e7ddc | 64 | $theater-bottom-space: 115px; |
9a0fc840 | 65 | |
db6d617d | 66 | $input-background-color: $bg-color; |
9a0fc840 RK |
67 | $input-placeholder-color: #898989; |
68 | ||
b15fe00f K |
69 | $textarea-background-color: $grey-background-hover-color; |
70 | ||
bce47964 | 71 | $sub-menu-margin-bottom: 30px; |
4682468d | 72 | $sub-menu-margin-bottom-small-view: 10px; |
bce47964 | 73 | |
0240da5c RK |
74 | $activated-action-button-color: black; |
75 | ||
6a4c30de RK |
76 | $focus-box-shadow-form: 0 0 0 .2rem; |
77 | ||
9a0fc840 RK |
78 | /*** map theme ***/ |
79 | ||
80 | // pass variables into a sass map, | |
81 | // to be warned of non-existing variables | |
82 | $variables: ( | |
83 | --mainColor: var(--mainColor), | |
d3217560 | 84 | --mainColorLighter: var(--mainColorLighter), |
a6d5ff76 | 85 | --mainColorLightest: var(--mainColorLightest), |
9a0fc840 RK |
86 | --mainHoverColor: var(--mainHoverColor), |
87 | --mainBackgroundColor: var(--mainBackgroundColor), | |
88 | --mainForegroundColor: var(--mainForegroundColor), | |
aa0f1963 | 89 | --secondaryColor: var(--secondaryColor), |
2fcc2294 | 90 | |
1d9d9cfd RK |
91 | --menuBackgroundColor: var(--menuBackgroundColor), |
92 | --menuForegroundColor: var(--menuForegroundColor), | |
9a0fc840 | 93 | --submenuColor: var(--submenuColor), |
2fcc2294 | 94 | |
14aa8556 | 95 | --inputBackgroundColor: var(--inputBackgroundColor), |
5efab546 | 96 | --inputPlaceholderColor: var(--inputPlaceholderColor), |
2fcc2294 | 97 | |
b15fe00f K |
98 | --textareaBackgroundColor: var(--textareaBackgroundColor), |
99 | ||
0240da5c | 100 | --actionButtonColor: var(--actionButtonColor), |
2fcc2294 C |
101 | --supportButtonColor: var(--supportButtonColor), |
102 | --supportButtonBackgroundColor: var(--supportButtonBackgroundColor), | |
0240da5c | 103 | --supportButtonHeartColor: var(--supportButtonHeartColor), |
2fcc2294 | 104 | |
5efab546 C |
105 | --embedForegroundColor: var(--embedForegroundColor), |
106 | --embedBigPlayBackgroundColor: var(--embedBigPlayBackgroundColor) | |
9a0fc840 RK |
107 | ); |
108 | ||
9a0fc840 RK |
109 | @function var($variable) { |
110 | @return map-get($variables, $variable); | |
111 | } | |
36f2981f RK |
112 | |
113 | /*** z-index groups ***/ | |
114 | ||
115 | $zindex: ( | |
555fdc8c RK |
116 | miniature : 10, |
117 | privacymsg : 20, | |
118 | typeahead : 30, | |
36f2981f | 119 | header : 1000, |
36f2981f RK |
120 | menu : 11000, |
121 | dropdown : 12000, | |
757ffdfe RK |
122 | popover : 13000, |
123 | tooltip : 14000, | |
124 | loadbar : 15000, | |
125 | modal : 16000, | |
d3217560 RK |
126 | help-popover : 17000, |
127 | notification : 18000, | |
128 | hotkeys : 19000 | |
36f2981f RK |
129 | ); |
130 | ||
131 | @function z($label) { | |
132 | @return map-get($zindex, $label); | |
133 | } |