]>
Commit | Line | Data |
---|---|---|
161b061d | 1 | $icon-font-path: '~@neos21/bootstrap3-glyphicons/assets/fonts/'; |
63c4db6d | 2 | |
9b8a7aa8 | 3 | @import '_bootstrap-variables'; |
dcbc29d5 C |
4 | @import '_variables'; |
5 | @import '_mixins'; | |
6 | ||
fa40cbc3 | 7 | @import '_fonts'; |
63c4db6d | 8 | |
d592e0a9 | 9 | @import '~video.js/dist/video-js.css'; |
c893d451 | 10 | |
2a19a1e4 | 11 | $assets-path: '../assets/'; |
b335ccec | 12 | @import './player/index'; |
c893d451 | 13 | @import './loading-bar'; |
e31f6ad6 | 14 | |
2f4c784a | 15 | @import './bootstrap'; |
bbe0f064 C |
16 | @import './primeng-custom'; |
17 | ||
383bfc83 C |
18 | [hidden] { |
19 | display: none !important; | |
20 | } | |
a64668c0 | 21 | |
b33f657c | 22 | body { |
dcbc29d5 C |
23 | /*** theme ***/ |
24 | // now beware node-sass requires interpolation | |
25 | // for css custom properties #{$var} | |
680b5496 RK |
26 | --mainColor: #{$main-color}; |
27 | --mainColorLighter: #{$main-color-lighter}; | |
28 | --mainHoverColor: #{$main-hover-color}; | |
dcbc29d5 C |
29 | --mainBackgroundColor: #{$bg-color}; |
30 | --mainForegroundColor: #{$fg-color}; | |
680b5496 | 31 | --secondaryColor: #{$secondary-color}; |
2fcc2294 | 32 | |
1d9d9cfd RK |
33 | --menuBackgroundColor: #{$menu-background}; |
34 | --menuForegroundColor: #{$menu-color}; | |
dcbc29d5 | 35 | --submenuColor: #{$sub-menu-color}; |
2fcc2294 | 36 | |
14aa8556 | 37 | --inputBackgroundColor: #{$input-background-color}; |
dcbc29d5 C |
38 | --inputPlaceholderColor: #{$input-placeholder-color}; |
39 | ||
0240da5c RK |
40 | --actionButtonColor: #{$grey-foreground-color}; |
41 | --supportButtonBackgroundColor: #{transparent}; | |
42 | --supportButtonColor: #{var(--actionButtonColor)}; | |
43 | --supportButtonHeartColor: #{$support-button-heart}; | |
2fcc2294 | 44 | |
8a8e02a4 | 45 | font-family: $main-fonts; |
b33f657c | 46 | font-weight: $font-regular; |
9a0fc840 | 47 | color: var(--mainForegroundColor); |
cdbfd2b0 | 48 | background-color: var(--mainBackgroundColor); |
b34a444e | 49 | font-size: 14px; |
b33f657c C |
50 | } |
51 | ||
52cc0d54 RK |
52 | ::selection { |
53 | color: var(--mainBackgroundColor); | |
54 | background-color: var(--mainHoverColor); | |
55 | } | |
56 | ||
73e09f27 C |
57 | #incompatible-browser { |
58 | display: none; | |
59 | text-align: center; | |
60 | position: absolute; | |
61 | width: 100%; | |
62 | top: 45%; | |
63 | } | |
64 | ||
07fa4c97 C |
65 | strong { |
66 | font-weight: $font-semibold; | |
67 | } | |
68 | ||
383bfc83 C |
69 | input.readonly { |
70 | /* Force blank on readonly inputs */ | |
14aa8556 | 71 | background-color: var(--inputBackgroundColor) !important; |
0ac5edd9 | 72 | } |
73 | ||
63347a0f C |
74 | input, textarea { |
75 | outline: none; | |
20c3a59e | 76 | color: var(--mainForegroundColor); |
63347a0f C |
77 | } |
78 | ||
a7f9fae9 C |
79 | .btn-outline-secondary { |
80 | border-color: $input-border-color; | |
81 | } | |
82 | ||
d235f6b0 C |
83 | label { |
84 | font-weight: $font-bold; | |
85 | font-size: 15px; | |
09223546 C |
86 | } |
87 | ||
a2b817d3 C |
88 | .form-error { |
89 | display: block; | |
41a676db | 90 | color: $red; |
a2b817d3 C |
91 | margin-top: 5px; |
92 | } | |
93 | ||
94 | .input-error { | |
41a676db | 95 | border-color: $red !important; |
a2b817d3 C |
96 | } |
97 | ||
2d9fea16 RK |
98 | .fullWidth { |
99 | width: 100%; | |
100 | margin-left: auto; | |
101 | margin-right: auto; | |
102 | max-width: initial; | |
103 | } | |
104 | ||
383bfc83 C |
105 | .glyphicon-black { |
106 | color: black; | |
107 | } | |
108 | ||
c4741804 RK |
109 | .row { |
110 | margin: 0; | |
111 | } | |
112 | ||
383bfc83 | 113 | .main-col { |
c30745f3 | 114 | margin-left: $menu-width; |
c4741804 | 115 | width: calc(100% - #{$menu-width}); |
9bf9d2a5 | 116 | |
c30745f3 | 117 | .margin-content { |
d178b5c1 C |
118 | margin-left: $not-expanded-horizontal-margins; |
119 | margin-right: $not-expanded-horizontal-margins; | |
b34a444e | 120 | flex-grow: 1; |
c30745f3 C |
121 | } |
122 | ||
123 | .sub-menu { | |
9a0fc840 | 124 | background-color: var(--submenuColor); |
c30745f3 C |
125 | width: 100%; |
126 | height: 81px; | |
bce47964 | 127 | margin-bottom: $sub-menu-margin-bottom; |
c30745f3 C |
128 | display: flex; |
129 | align-items: center; | |
d178b5c1 | 130 | padding-left: $not-expanded-horizontal-margins; |
22a16e36 | 131 | padding-right: $not-expanded-horizontal-margins; |
c30745f3 C |
132 | } |
133 | ||
134 | // Override some properties if the main content is expanded (no menu on the left) | |
135 | &.expanded { | |
136 | margin-left: 0; | |
c4741804 | 137 | width: 100%; |
c30745f3 C |
138 | |
139 | .margin-content { | |
140 | margin-left: $expanded-horizontal-margins; | |
141 | margin-right: $expanded-horizontal-margins; | |
142 | } | |
143 | ||
144 | .sub-menu { | |
145 | padding-left: $expanded-horizontal-margins; | |
22a16e36 | 146 | padding-right: $expanded-horizontal-margins; |
c30745f3 | 147 | } |
602eb142 | 148 | } |
383bfc83 | 149 | } |
602eb142 | 150 | |
59aa1e5e | 151 | .title-page { |
9a0fc840 | 152 | color: var(--mainForegroundColor); |
59aa1e5e C |
153 | font-size: 16px; |
154 | display: inline-block; | |
155 | margin-right: 55px; | |
156 | font-weight: $font-semibold; | |
157 | @include disable-default-a-behaviour; | |
158 | ||
159 | &.active, &.title-page-single { | |
59aa1e5e C |
160 | margin-top: 30px; |
161 | margin-bottom: 25px; | |
162 | } | |
cadb46d8 | 163 | |
d6ed9ccc | 164 | &.active { |
96f6278f | 165 | font-weight: $font-bold; |
d6ed9ccc RK |
166 | border-bottom: 2px solid var(--mainColor); |
167 | } | |
168 | ||
169 | &.title-page-single { | |
170 | font-size: 125%; | |
171 | } | |
172 | ||
cadb46d8 | 173 | &:hover, &:active, &:focus { |
9a0fc840 | 174 | color: var(--mainForegroundColor); |
04e0fc48 | 175 | } |
1952a538 | 176 | |
ece3029b | 177 | @media screen and (max-width: $mobile-view) { |
2c3abc4f | 178 | margin-right: 15px; |
1952a538 | 179 | } |
cadb46d8 | 180 | } |
04e0fc48 | 181 | |
482fa503 RK |
182 | .title-page-about, |
183 | .title-page-settings { | |
e61151b0 | 184 | white-space: nowrap; |
482fa503 RK |
185 | font-size: 115%; |
186 | font-weight: $font-regular; | |
187 | ||
188 | &.active { | |
189 | font-weight: $font-semibold; | |
190 | } | |
191 | } | |
192 | ||
cd83ea1b C |
193 | .admin-sub-header { |
194 | display: flex; | |
195 | align-items: center; | |
196 | margin-bottom: 30px; | |
197 | ||
08c1efbe | 198 | .form-sub-title { |
cd83ea1b C |
199 | flex-grow: 1; |
200 | } | |
65b247dd C |
201 | |
202 | .admin-sub-nav a { | |
203 | @include disable-default-a-behaviour; | |
204 | ||
205 | font-size: 16px; | |
9a0fc840 | 206 | color: var(--mainForegroundColor); |
65b247dd C |
207 | padding: 5px 15px; |
208 | border-radius: 0.25rem; | |
209 | ||
210 | &.active { | |
211 | font-weight: $font-semibold; | |
212 | background-color: #f0f0f0; | |
9a0fc840 | 213 | color: #000; |
65b247dd C |
214 | } |
215 | } | |
cd83ea1b C |
216 | } |
217 | ||
08c1efbe | 218 | .form-sub-title { |
04e0fc48 C |
219 | font-size: 20px; |
220 | font-weight: bold; | |
59aa1e5e C |
221 | } |
222 | ||
315cc0cc C |
223 | @keyframes spin { |
224 | from { transform: scale(1) rotate(0deg);} | |
225 | to { transform: scale(1) rotate(360deg);} | |
226 | } | |
227 | ||
fb4fd623 C |
228 | // In tables, don't have a hover different background |
229 | table { | |
230 | .action-button-edit, .action-button-delete { | |
231 | &:hover, &:active, &:focus, &[disabled], &.disabled { | |
457bb213 | 232 | background-color: $grey-background-color !important; |
fb4fd623 C |
233 | } |
234 | } | |
235 | } | |
236 | ||
2d3741d6 C |
237 | .no-results { |
238 | height: 40vh; | |
239 | display: flex; | |
240 | align-items: center; | |
241 | justify-content: center; | |
242 | font-size: 16px; | |
243 | font-weight: $font-semibold; | |
244 | } | |
245 | ||
eb7c7a51 RK |
246 | .dropdown-item { |
247 | @include dropdown-with-icon-item; | |
248 | ||
249 | my-global-icon { | |
250 | width: 22px; | |
251 | height: 22px; | |
252 | } | |
253 | } | |
254 | ||
45e0d669 RK |
255 | .anchor { |
256 | position: relative; | |
257 | top: #{-($header-height + 20px)}; | |
258 | } | |
259 | ||
9b8a7aa8 | 260 | @media screen and (max-width: #{map-get($grid-breakpoints, xxl)}) { |
2303a803 RK |
261 | .main-col { |
262 | &.expanded { | |
263 | .margin-content { | |
264 | margin-left: $expanded-horizontal-margins/2; | |
265 | margin-right: $expanded-horizontal-margins/2; | |
266 | } | |
267 | } | |
268 | } | |
269 | } | |
270 | ||
9b8a7aa8 | 271 | @media screen and (max-width: #{map-get($grid-breakpoints, lg)}) { |
1f788f20 | 272 | .main-col { |
2303a803 | 273 | &.expanded { |
1f788f20 | 274 | .margin-content { |
2303a803 RK |
275 | margin-left: $expanded-horizontal-margins/3; |
276 | margin-right: $expanded-horizontal-margins/3; | |
1f788f20 | 277 | } |
dd778941 C |
278 | |
279 | .sub-menu { | |
280 | padding-left: 50px; | |
22a16e36 C |
281 | |
282 | .title-page { | |
24e7916c | 283 | font-size: 17px; |
22a16e36 | 284 | } |
dd778941 | 285 | } |
1f788f20 C |
286 | } |
287 | } | |
288 | } | |
289 | ||
8ff3f883 | 290 | @media screen and (max-width: $small-view) { |
20206dfb C |
291 | .main-col { |
292 | margin-left: 0; | |
293 | ||
294 | &, &.expanded { | |
295 | .margin-content { | |
6693df9d C |
296 | margin-left: 15px; |
297 | margin-right: 15px; | |
20206dfb C |
298 | } |
299 | ||
300 | .sub-menu { | |
2c3abc4f C |
301 | width: 100vw; |
302 | overflow-x: auto; | |
dd778941 | 303 | padding-left: 15px; |
22a16e36 | 304 | padding-right: 15px; |
20206dfb C |
305 | margin-bottom: 10px; |
306 | } | |
307 | ||
308 | input[type=text], input[type=password] { | |
309 | width: 100% !important; | |
310 | } | |
311 | } | |
312 | } | |
457bb213 | 313 | } |