]>
Commit | Line | Data |
---|---|---|
53e12188 AD |
1 | /* ========================================================================== |
2 | Sommaire | |
3 | ||
4 | 0 = Common | |
5 | 1 = Nav | |
6 | 2 = Side-nav | |
83aaf841 JB |
7 | 3 = Filters slider |
8 | 4 = Cards | |
53e12188 | 9 | 5 = Article |
53e12188 | 10 | 6 = Media queries |
ba873ae6 AD |
11 | 7 = Font |
12 | 8 = Others | |
53e12188 AD |
13 | |
14 | ========================================================================== */ | |
15 | ||
16 | ||
17 | /* ========================================================================== | |
18 | 0 = Common | |
19 | ========================================================================== */ | |
20 | ||
ba873ae6 AD |
21 | @font-face { |
22 | font-family: 'icomoon'; | |
23 | src:url('../font/icomoon/icomoon.eot?yw303w'); | |
24 | src:url('../font/icomoon/icomoon.eot?yw303w#iefix') format('embedded-opentype'), | |
25 | url('../font/icomoon/icomoon.ttf?yw303w') format('truetype'), | |
26 | url('../font/icomoon/icomoon.woff?yw303w') format('woff'), | |
27 | url('../font/icomoon/icomoon.svg?yw303w#icomoon') format('svg'); | |
28 | font-weight: normal; | |
29 | font-style: normal; | |
30 | } | |
31 | ||
32 | [class^="icon-"], [class*=" icon-"] { | |
33 | font-family: 'icomoon'; | |
34 | speak: none; | |
35 | font-style: normal; | |
36 | font-weight: normal; | |
37 | font-variant: normal; | |
38 | text-transform: none; | |
39 | line-height: 1; | |
40 | ||
41 | /* Better Font Rendering =========== */ | |
42 | -webkit-font-smoothing: antialiased; | |
43 | -moz-osx-font-smoothing: grayscale; | |
44 | } | |
45 | ||
53e12188 AD |
46 | body { |
47 | display: flex; | |
48 | min-height: 100vh; | |
49 | flex-direction: column; | |
50 | background: #f0f0f0; | |
51 | } | |
52 | ||
e0d18880 NL |
53 | body.login main { |
54 | padding: 0; | |
55 | } | |
56 | ||
fdab81e9 | 57 | #warning_message { |
e62d27ff NL |
58 | position: fixed; |
59 | background-color: #ff6347; | |
60 | z-index: 1000; | |
61 | bottom: 0; | |
62 | left: 0; | |
63 | width: 100%; | |
64 | color: #000; | |
65 | } | |
66 | ||
fdab81e9 | 67 | #warning_message a { |
e62d27ff NL |
68 | color: #555; |
69 | } | |
70 | ||
53e12188 AD |
71 | .border-bottom { |
72 | border-bottom: 1px solid #DDD; | |
73 | } | |
74 | ||
75 | nav, main, footer { | |
76 | padding-left: 240px; | |
77 | } | |
78 | ||
79 | #main { | |
80 | flex: 1 0 auto; | |
81 | } | |
82 | ||
83 | .results { | |
84 | height: 1em; | |
85 | line-height: 30px; | |
86 | } | |
87 | ||
88 | .results .nb-results, .results .pagination { | |
89 | margin: 15px; | |
90 | margin-bottom: 0; | |
91 | } | |
92 | ||
d75a9fa3 AD |
93 | .pagination li { |
94 | padding: 0; | |
95 | } | |
96 | ||
97 | .pagination a { | |
98 | padding: 0px 10px; | |
99 | height: 30px; | |
100 | display: block; | |
101 | } | |
102 | ||
53e12188 AD |
103 | .page-footer .footer-copyright p { |
104 | display: inline; | |
105 | } | |
106 | ||
107 | .hidden { | |
108 | display: none; | |
109 | } | |
110 | ||
727b39a9 AD |
111 | .picker__date-display { |
112 | display: none; | |
113 | } | |
114 | ||
ba873ae6 AD |
115 | footer.page-footer { |
116 | margin-top: 10px; | |
117 | padding-top: 10px; | |
118 | } | |
119 | ||
120 | footer .row { | |
121 | margin-bottom: 10px; | |
122 | } | |
123 | ||
53e12188 AD |
124 | /* ========================================================================== |
125 | 1 = Nav | |
126 | ========================================================================== */ | |
127 | ||
06fdfd02 AD |
128 | nav input { |
129 | color: #aaa; | |
130 | } | |
131 | ||
53e12188 AD |
132 | .nav-wrapper .button-collapse { |
133 | padding: 0px 15px; | |
134 | } | |
135 | ||
136 | .nav-input { | |
137 | display: none; | |
138 | } | |
139 | ||
140 | .nav-panels { | |
342f0cc5 | 141 | overflow: hidden; |
53e12188 AD |
142 | } |
143 | ||
144 | .nav-panel-buttom li { | |
145 | max-height: 64px; | |
146 | } | |
147 | ||
148 | .nav-panel-buttom { | |
149 | float: right; | |
150 | } | |
151 | ||
768303a5 AD |
152 | .nav-panels { |
153 | transition: background 0.2s ease; | |
154 | } | |
155 | ||
946d6a51 AD |
156 | .nav-panel-add .mdi-content-add, |
157 | .nav-panel-search .mdi-action-search, | |
158 | .nav-panels .mdi-navigation-close { | |
768303a5 AD |
159 | color: #444 !important; |
160 | } | |
161 | ||
0e765068 AD |
162 | .nav-panels .action { |
163 | padding-left: 0.75rem; | |
164 | font-size: 2.1rem; | |
165 | white-space: nowrap; | |
166 | } | |
167 | ||
8ba913d8 | 168 | .nav-panels .input-field input { |
06fdfd02 AD |
169 | display: block; |
170 | line-height: inherit; | |
171 | padding-left: 4rem !important; | |
172 | width: calc(100% - 8rem); | |
173 | } | |
174 | ||
8ba913d8 | 175 | .nav-panels .input-field input:focus { |
06fdfd02 AD |
176 | background-color: #fff; |
177 | border: 0; | |
178 | box-shadow: none; | |
179 | color: #444; | |
180 | } | |
181 | ||
182 | .input-field.nav-panel-add label { | |
183 | left: 1rem; | |
184 | } | |
185 | ||
186 | .input-field.nav-panel-add .mdi-navigation-close { | |
187 | position: absolute; | |
188 | top: 0; | |
189 | right: 1rem; | |
190 | color: transparent; | |
191 | cursor: pointer; | |
192 | font-size: 2rem; | |
193 | transition: .3s color; | |
194 | } | |
195 | ||
392f4a26 AD |
196 | #button_filters { |
197 | display: none; | |
198 | } | |
199 | ||
53e12188 AD |
200 | /* ========================================================================== |
201 | 2 = Side-nav | |
202 | ========================================================================== */ | |
203 | ||
204 | .side-nav.fixed a { | |
205 | font-size: 13px; | |
206 | line-height: 44px; | |
207 | height: 44px; | |
208 | } | |
209 | ||
210 | .bold > a { | |
211 | font-weight: bold; | |
212 | } | |
213 | ||
214 | .side-nav > li.logo { | |
215 | line-height: 0; | |
216 | text-align: center; | |
217 | } | |
218 | ||
219 | #main .logo a { | |
220 | height: 100pt; | |
221 | } | |
222 | ||
223 | #main .logo img { | |
224 | height: 100pt; | |
225 | width: 100pt; | |
226 | } | |
227 | ||
228 | .side-nav li { | |
229 | padding: 0px; | |
230 | } | |
231 | ||
232 | .side-nav a { | |
233 | margin: 0px 1rem; | |
234 | } | |
235 | ||
392f4a26 AD |
236 | /* ========================================================================== |
237 | * 3 = Filters slider | |
238 | * ========================================================================== */ | |
239 | ||
240 | #filters button { | |
241 | padding: 0px; | |
242 | width: 100%; | |
243 | } | |
244 | ||
d75a9fa3 AD |
245 | .side-nav.fixed.right-aligned { |
246 | right: -250px; | |
247 | left: auto !important; | |
727b39a9 | 248 | overflow-y: visible; |
d75a9fa3 AD |
249 | } |
250 | ||
db96045a JB |
251 | #filters div.with-checkbox { |
252 | height: 3rem; | |
253 | margin-top: 0px; | |
254 | } | |
255 | ||
53e12188 | 256 | /* ========================================================================== |
83aaf841 | 257 | 4 = Cards |
53e12188 AD |
258 | ========================================================================== */ |
259 | ||
260 | main #content { | |
261 | padding: 0px 0.5rem; | |
262 | } | |
263 | ||
264 | main ul.row { | |
265 | padding: 0px 0.75rem; | |
266 | } | |
267 | ||
451bad02 | 268 | .data .card .card-body { |
342f0cc5 AD |
269 | height: 22em; |
270 | overflow: hidden; | |
53e12188 AD |
271 | } |
272 | ||
273 | .card .card-content .card-title { | |
274 | line-height: 32px; | |
275 | } | |
276 | ||
277 | .card .card-content .estimatedTime { | |
278 | margin-bottom: 10px; | |
279 | } | |
280 | ||
281 | .card .card-action .original { | |
282 | line-height: 24px; | |
283 | } | |
284 | ||
285 | .card .card-action ul.links { | |
286 | margin: 0; | |
287 | font-size: 24px; | |
288 | line-height: 24px; | |
289 | } | |
290 | ||
9948d899 | 291 | .card .card-action a { |
ec3ce598 | 292 | color: #ffffff; |
9948d899 AD |
293 | margin: 0; |
294 | } | |
295 | ||
ec3ce598 NL |
296 | .card .card-action a:hover { |
297 | color: #ffffff; | |
298 | } | |
299 | ||
9948d899 AD |
300 | .settings .div_tabs { |
301 | padding-bottom: 15px; | |
53e12188 AD |
302 | } |
303 | ||
b17874a7 AD |
304 | .card.sw { |
305 | max-width: 370px; | |
306 | margin-left: auto; | |
307 | margin-right: auto; | |
308 | } | |
309 | ||
451bad02 AD |
310 | .mdi-card-close:before { |
311 | content: "\e8aa"; | |
312 | } | |
313 | ||
314 | .card .card-image { | |
315 | height: 14em; | |
316 | } | |
317 | ||
318 | .card .card-image .preview { | |
319 | height: 14em; | |
320 | background-size: cover; | |
321 | background-repeat: no-repeat; | |
322 | background-position: 50%; | |
323 | } | |
324 | ||
53e12188 | 325 | /* ========================================================================== |
83aaf841 | 326 | 5 = Article |
53e12188 AD |
327 | ========================================================================== */ |
328 | ||
329 | #article { | |
330 | font-size: 20px; | |
331 | margin: 0px auto; | |
b69fc062 | 332 | max-width: 40em; |
53e12188 AD |
333 | } |
334 | ||
335 | .reader-mode { | |
336 | width: 95px !important; | |
337 | transition: width 0.2s ease; | |
338 | } | |
339 | ||
340 | .reader-mode:hover { | |
341 | width: 240px !important; | |
342 | } | |
343 | ||
6fd3d82c AD |
344 | .reader-mode .collapsible-body { |
345 | height: 0; | |
346 | overflow: hidden; | |
347 | } | |
348 | ||
349 | .reader-mode:hover .collapsible-body { | |
350 | height: auto; | |
351 | } | |
352 | ||
53e12188 AD |
353 | .reader-mode span { |
354 | opacity: 0; | |
355 | transition: opacity 0.2s ease; | |
356 | } | |
357 | ||
358 | .reader-mode:hover span { | |
359 | opacity: 1; | |
360 | } | |
361 | ||
fcb3faf1 AD |
362 | .progress { |
363 | position:fixed; | |
364 | top:0px; | |
365 | width: 100%; | |
366 | height: 3px; | |
367 | margin: 0; | |
368 | z-index: 9999; | |
369 | } | |
a754db33 NL |
370 | |
371 | #article aside .link { | |
372 | color: #000; | |
373 | font-size: 0.6em; | |
374 | text-decoration: none; | |
375 | } | |
376 | ||
377 | #article aside #list { | |
378 | float: right; | |
379 | margin-right: 15px; | |
380 | } | |
381 | ||
68e9dcf6 | 382 | #article aside .chip { |
a754db33 | 383 | background-color: #039be5; |
68e9dcf6 | 384 | color: #ffffff; |
a754db33 NL |
385 | } |
386 | ||
53e12188 AD |
387 | /* ========================================================================== |
388 | 6 = Media queries | |
389 | ========================================================================== */ | |
390 | ||
391 | @media only screen and (max-width : 992px) { | |
392 | header, main, footer { | |
393 | padding-left: 0; | |
394 | } | |
b17874a7 AD |
395 | nav, main, footer { |
396 | padding-left: 0; | |
397 | } | |
398 | .pagination { | |
399 | width: auto; | |
400 | } | |
401 | .reader-mode { | |
402 | width: 240px !important; | |
403 | } | |
404 | .reader-mode span { | |
405 | opacity: 1; | |
406 | } | |
53e12188 | 407 | } |
9948d899 AD |
408 | |
409 | @media only screen and (min-width : 993px) and (max-width : 1180px) { | |
410 | .row .col.l1 { | |
411 | width: 25%; | |
412 | margin-left: 0; } | |
413 | .row .col.l2 { | |
414 | width: 33.33333%; | |
415 | margin-left: 0; } | |
416 | .row .col.l3 { | |
417 | width: 41.66667%; | |
418 | margin-left: 0; } | |
419 | .row .col.l4 { | |
420 | width: 50%; | |
421 | margin-left: 0; } | |
422 | .row .col.l5 { | |
423 | width: 58.33333%; | |
424 | margin-left: 0; } | |
425 | .row .col.l6 { | |
426 | width: 66.66667%; | |
427 | margin-left: 0; } | |
428 | .row .col.l7 { | |
429 | width: 75%; | |
430 | margin-left: 0; } | |
431 | .row .col.l8 { | |
432 | width: 83.33333%; | |
433 | margin-left: 0; } | |
434 | .row .col.l9 { | |
435 | width: 91.66667%; | |
436 | margin-left: 0; } | |
437 | .row .col.l10 { | |
438 | width: 100%; | |
439 | margin-left: 0; } | |
440 | } | |
441 | ||
9948d899 AD |
442 | @media only screen and (max-width : 350px) { |
443 | .nb-results { | |
444 | display: none; | |
445 | } | |
b69fc062 | 446 | } |
ba873ae6 AD |
447 | |
448 | /* ========================================================================== | |
449 | 7 = Font | |
450 | ========================================================================== */ | |
451 | ||
452 | .icon-google-plus2:before { | |
453 | content: "\e800"; | |
454 | } | |
455 | .icon-facebook2:before { | |
456 | content: "\e801"; | |
457 | } | |
458 | .icon-twitter:before { | |
459 | content: "\e802"; | |
460 | } | |
461 | .icon-apple:before { | |
462 | content: "\e803"; | |
463 | } | |
464 | .icon-android:before { | |
465 | content: "\e804"; | |
466 | } | |
467 | .icon-chrome:before { | |
468 | content: "\e805"; | |
469 | } | |
470 | .icon-firefox:before { | |
471 | content: "\e806"; | |
472 | } | |
473 | ||
474 | footer [class^="icon-"], footer [class*=" icon-"] { | |
475 | font-size: 2em; | |
476 | transition: text-shadow 0.2s ease; | |
477 | padding-right: 10px; | |
478 | } | |
479 | ||
480 | footer [class^="icon-"]:hover, footer [class*=" icon-"]:hover { | |
481 | text-shadow: 0 0 10px rgba(0,0,0,0.3); | |
482 | } | |
483 | ||
484 | ||
83aaf841 | 485 | /* ========================================================================== |
ba873ae6 | 486 | 8 = Others |
83aaf841 JB |
487 | ========================================================================== */ |
488 | ||
dc1c2deb JB |
489 | /* force height on non-input field in the settings page */ |
490 | div.settings div.input-field div, div.settings div.input-field ul { | |
83aaf841 | 491 | margin-top: 40px; |
ba873ae6 | 492 | } |