]>
Commit | Line | Data |
---|---|---|
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 | ||
51 | .page-footer .footer-copyright p { | |
52 | display: inline; | |
53 | } | |
54 | ||
55 | .hidden { | |
56 | display: none; | |
57 | } | |
58 | ||
59 | /* ========================================================================== | |
60 | 1 = Nav | |
61 | ========================================================================== */ | |
62 | ||
63 | .nav-wrapper .button-collapse { | |
64 | padding: 0px 15px; | |
65 | } | |
66 | ||
67 | .nav-input { | |
68 | display: none; | |
69 | } | |
70 | ||
71 | .nav-panels { | |
72 | overflov: hidden; | |
73 | } | |
74 | ||
75 | .nav-panel-buttom li { | |
76 | max-height: 64px; | |
77 | } | |
78 | ||
79 | .nav-panel-buttom { | |
80 | float: right; | |
81 | } | |
82 | ||
83 | .nav-panels { | |
84 | transition: background 0.2s ease; | |
85 | } | |
86 | ||
87 | .nav-panel-search .mdi-navigation-close, .nav-panel-search .mdi-action-search { | |
88 | color: #444 !important; | |
89 | } | |
90 | ||
91 | .nav-panels .action { | |
92 | padding-left: 0.75rem; | |
93 | font-size: 2.1rem; | |
94 | white-space: nowrap; | |
95 | } | |
96 | ||
97 | /* ========================================================================== | |
98 | 2 = Side-nav | |
99 | ========================================================================== */ | |
100 | ||
101 | .side-nav.fixed a { | |
102 | font-size: 13px; | |
103 | line-height: 44px; | |
104 | height: 44px; | |
105 | } | |
106 | ||
107 | .bold > a { | |
108 | font-weight: bold; | |
109 | } | |
110 | ||
111 | .side-nav > li.logo { | |
112 | line-height: 0; | |
113 | text-align: center; | |
114 | } | |
115 | ||
116 | #main .logo a { | |
117 | height: 100pt; | |
118 | } | |
119 | ||
120 | #main .logo img { | |
121 | height: 100pt; | |
122 | width: 100pt; | |
123 | } | |
124 | ||
125 | .side-nav li { | |
126 | padding: 0px; | |
127 | } | |
128 | ||
129 | .side-nav a { | |
130 | margin: 0px 1rem; | |
131 | } | |
132 | ||
133 | /* ========================================================================== | |
134 | 3 = Cards | |
135 | ========================================================================== */ | |
136 | ||
137 | main #content { | |
138 | padding: 0px 0.5rem; | |
139 | } | |
140 | ||
141 | main ul.row { | |
142 | padding: 0px 0.75rem; | |
143 | } | |
144 | ||
145 | .data .card .card-content { | |
146 | min-height: 25em; | |
147 | } | |
148 | ||
149 | .card .card-content .card-title { | |
150 | line-height: 32px; | |
151 | } | |
152 | ||
153 | .card .card-content .estimatedTime { | |
154 | margin-bottom: 10px; | |
155 | } | |
156 | ||
157 | .card .card-action .original { | |
158 | line-height: 24px; | |
159 | } | |
160 | ||
161 | .card .card-action ul.links { | |
162 | margin: 0; | |
163 | font-size: 24px; | |
164 | line-height: 24px; | |
165 | } | |
166 | ||
167 | .card .card-action a { | |
168 | margin: 0; | |
169 | } | |
170 | ||
171 | .settings .div_tabs { | |
172 | padding-bottom: 15px; | |
173 | } | |
174 | ||
175 | .card.sw { | |
176 | max-width: 370px; | |
177 | margin-left: auto; | |
178 | margin-right: auto; | |
179 | } | |
180 | ||
181 | /* ========================================================================== | |
182 | 4 = Article | |
183 | ========================================================================== */ | |
184 | ||
185 | #article { | |
186 | font-size: 20px; | |
187 | margin: 0px auto; | |
188 | max-width: 30em; | |
189 | } | |
190 | ||
191 | .reader-mode { | |
192 | width: 95px !important; | |
193 | transition: width 0.2s ease; | |
194 | } | |
195 | ||
196 | .reader-mode:hover { | |
197 | width: 240px !important; | |
198 | } | |
199 | ||
200 | .reader-mode span { | |
201 | opacity: 0; | |
202 | transition: opacity 0.2s ease; | |
203 | } | |
204 | ||
205 | .reader-mode:hover span { | |
206 | opacity: 1; | |
207 | } | |
208 | ||
209 | /* ========================================================================== | |
210 | 6 = Media queries | |
211 | ========================================================================== */ | |
212 | ||
213 | @media only screen and (max-width : 992px) { | |
214 | header, main, footer { | |
215 | padding-left: 0; | |
216 | } | |
217 | nav, main, footer { | |
218 | padding-left: 0; | |
219 | } | |
220 | .pagination { | |
221 | width: auto; | |
222 | } | |
223 | .reader-mode { | |
224 | width: 240px !important; | |
225 | } | |
226 | .reader-mode span { | |
227 | opacity: 1; | |
228 | } | |
229 | } | |
230 | ||
231 | @media only screen and (min-width : 993px) and (max-width : 1180px) { | |
232 | .row .col.l1 { | |
233 | width: 25%; | |
234 | margin-left: 0; } | |
235 | .row .col.l2 { | |
236 | width: 33.33333%; | |
237 | margin-left: 0; } | |
238 | .row .col.l3 { | |
239 | width: 41.66667%; | |
240 | margin-left: 0; } | |
241 | .row .col.l4 { | |
242 | width: 50%; | |
243 | margin-left: 0; } | |
244 | .row .col.l5 { | |
245 | width: 58.33333%; | |
246 | margin-left: 0; } | |
247 | .row .col.l6 { | |
248 | width: 66.66667%; | |
249 | margin-left: 0; } | |
250 | .row .col.l7 { | |
251 | width: 75%; | |
252 | margin-left: 0; } | |
253 | .row .col.l8 { | |
254 | width: 83.33333%; | |
255 | margin-left: 0; } | |
256 | .row .col.l9 { | |
257 | width: 91.66667%; | |
258 | margin-left: 0; } | |
259 | .row .col.l10 { | |
260 | width: 100%; | |
261 | margin-left: 0; } | |
262 | } | |
263 | ||
264 | @media only screen and (max-width : 350px) { | |
265 | .nb-results { | |
266 | display: none; | |
267 | } | |
268 | } |