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