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