]>
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 | $main-color: hsl(24, 90%, 50%); |
18 | $main-hover-color: lighten($main-color, 5%); | |
19 | $main-color-lighter: lighten($main-color, 10%); | |
a6d5ff76 | 20 | $main-color-lightest: lighten($main-color, 40%); |
680b5496 | 21 | $secondary-color: hsl(187, 77, 34); |
aa0f1963 | 22 | |
0240da5c RK |
23 | $support-button: inherit; |
24 | $support-button-heart: #e83e8c; | |
2fcc2294 | 25 | |
769ac6c1 RK |
26 | $bg-color: #fff; |
27 | $fg-color: #000; | |
41a676db C |
28 | |
29 | $red: #FF0000; | |
30 | $green: #39CC0B; | |
383bfc83 | 31 | |
22a16e36 C |
32 | $grey-actor-name: #777272; |
33 | ||
c30745f3 | 34 | $expanded-horizontal-margins: 150px; |
d178b5c1 | 35 | $not-expanded-horizontal-margins: 30px; |
c30745f3 | 36 | |
b33f657c C |
37 | $button-height: 30px; |
38 | ||
b33f657c | 39 | $header-height: 50px; |
383bfc83 | 40 | $header-border-color: #e9eff6; |
26c6ee80 C |
41 | $search-input-width: 375px; |
42 | ||
9a0fc840 | 43 | $menu-background: #000; |
26c6ee80 | 44 | $menu-color: #fff; |
8afc19a6 | 45 | $menu-bottom-color: #C6C6C6; |
26c6ee80 | 46 | $menu-width: 240px; |
35c29307 | 47 | $menu-lateral-padding: 26px; |
26c6ee80 | 48 | |
9a0fc840 | 49 | $sub-menu-color: #F7F7F7; |
ed5bb517 | 50 | $sub-menu-height: 81px; |
9a0fc840 | 51 | |
efbf0ed7 C |
52 | $footer-height: 30px; |
53 | $footer-margin: 30px; | |
54 | ||
f0a39880 C |
55 | $separator-border-color: rgba(0, 0, 0, 0.10); |
56 | ||
11dd0c2e | 57 | $video-miniature-width: 238px; |
435258ea | 58 | $video-miniature-margin-bottom: 15px; |
e5fc7811 C |
59 | $video-thumbnail-height: 122px; |
60 | $video-thumbnail-width: 223px; | |
054a103b | 61 | |
432e7ddc | 62 | $theater-bottom-space: 115px; |
9a0fc840 | 63 | |
3bf07dd8 | 64 | $input-foreground-color: $fg-color; |
db6d617d | 65 | $input-background-color: $bg-color; |
9a0fc840 RK |
66 | $input-placeholder-color: #898989; |
67 | ||
3bf07dd8 | 68 | $textarea-foreground-color: $fg-color; |
f33dc6ab C |
69 | $textarea-background-color: $bg-color; |
70 | $markdown-textarea-background-color: $grey-background-hover-color; | |
b15fe00f | 71 | |
bce47964 | 72 | $sub-menu-margin-bottom: 30px; |
4682468d | 73 | $sub-menu-margin-bottom-small-view: 10px; |
bce47964 | 74 | |
0240da5c RK |
75 | $activated-action-button-color: black; |
76 | ||
6a4c30de RK |
77 | $focus-box-shadow-form: 0 0 0 .2rem; |
78 | ||
9a0fc840 RK |
79 | /*** map theme ***/ |
80 | ||
81 | // pass variables into a sass map, | |
82 | // to be warned of non-existing variables | |
83 | $variables: ( | |
84 | --mainColor: var(--mainColor), | |
d3217560 | 85 | --mainColorLighter: var(--mainColorLighter), |
a6d5ff76 | 86 | --mainColorLightest: var(--mainColorLightest), |
17119e4a | 87 | |
9a0fc840 | 88 | --mainHoverColor: var(--mainHoverColor), |
17119e4a | 89 | |
9a0fc840 RK |
90 | --mainBackgroundColor: var(--mainBackgroundColor), |
91 | --mainForegroundColor: var(--mainForegroundColor), | |
17119e4a | 92 | |
aa0f1963 | 93 | --secondaryColor: var(--secondaryColor), |
2fcc2294 | 94 | |
c123027f | 95 | --greyForegroundColor: var(--greyForegroundColor), |
441e453a | 96 | --greyBackgroundColor: var(--greyBackgroundColor), |
c123027f | 97 | |
1d9d9cfd RK |
98 | --menuBackgroundColor: var(--menuBackgroundColor), |
99 | --menuForegroundColor: var(--menuForegroundColor), | |
9a0fc840 | 100 | --submenuColor: var(--submenuColor), |
2fcc2294 | 101 | |
3bf07dd8 | 102 | --inputForegroundColor: var(--inputForegroundColor), |
14aa8556 | 103 | --inputBackgroundColor: var(--inputBackgroundColor), |
5efab546 | 104 | --inputPlaceholderColor: var(--inputPlaceholderColor), |
2fcc2294 | 105 | |
3bf07dd8 | 106 | --textareaForegroundColor: var(--textareaForegroundColor), |
b15fe00f | 107 | --textareaBackgroundColor: var(--textareaBackgroundColor), |
f33dc6ab | 108 | --markdownTextareaBackgroundColor: var(--markdownTextareaBackgroundColor), |
b15fe00f | 109 | |
0240da5c | 110 | --actionButtonColor: var(--actionButtonColor), |
5f57df54 C |
111 | --activatedActionButtonColor: var(--activatedActionButtonColor), |
112 | ||
2fcc2294 C |
113 | --supportButtonColor: var(--supportButtonColor), |
114 | --supportButtonBackgroundColor: var(--supportButtonBackgroundColor), | |
0240da5c | 115 | --supportButtonHeartColor: var(--supportButtonHeartColor), |
2fcc2294 | 116 | |
5efab546 C |
117 | --embedForegroundColor: var(--embedForegroundColor), |
118 | --embedBigPlayBackgroundColor: var(--embedBigPlayBackgroundColor) | |
9a0fc840 RK |
119 | ); |
120 | ||
e66883b3 | 121 | @function pvar($variable) { |
9a0fc840 RK |
122 | @return map-get($variables, $variable); |
123 | } | |
36f2981f RK |
124 | |
125 | /*** z-index groups ***/ | |
126 | ||
127 | $zindex: ( | |
d6eace77 C |
128 | miniature : 10, |
129 | privacymsg : 20, | |
7706b370 | 130 | dropdown : 12000, |
d6eace77 C |
131 | sub-menu : 12500, |
132 | menu : 12600, | |
133 | search-typeahead: 12650, | |
134 | header : 12700, | |
135 | popover : 13000, | |
136 | tooltip : 14000, | |
137 | loadbar : 15000, | |
138 | modal : 16000, | |
139 | help-popover : 17000, | |
140 | notification : 18000, | |
141 | hotkeys : 19000 | |
36f2981f RK |
142 | ); |
143 | ||
144 | @function z($label) { | |
145 | @return map-get($zindex, $label); | |
146 | } |