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