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