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