1 | /* jQuery Autocomplete plugin */ |
---|
2 | |
---|
3 | .ac_results { |
---|
4 | padding: 0px; |
---|
5 | background-color: $ac-results-background; |
---|
6 | border: 1px dotted $ac-results-border; |
---|
7 | overflow: hidden; |
---|
8 | z-index: 99999; |
---|
9 | ul { |
---|
10 | width: 100%; |
---|
11 | list-style-position: outside; |
---|
12 | list-style: none; |
---|
13 | padding: 0; |
---|
14 | margin: 0; |
---|
15 | } |
---|
16 | li { |
---|
17 | margin: 0px; |
---|
18 | padding: 2px 5px; |
---|
19 | cursor: default; |
---|
20 | display: block; |
---|
21 | font-size: 1em; |
---|
22 | line-height: 16px; |
---|
23 | overflow: hidden; |
---|
24 | } |
---|
25 | } |
---|
26 | |
---|
27 | .ac_loading { |
---|
28 | background: transparent url('loader.gif') right center no-repeat; |
---|
29 | } |
---|
30 | |
---|
31 | .ac_odd { |
---|
32 | background-color: $ac-results-background; |
---|
33 | } |
---|
34 | |
---|
35 | .ac_over { |
---|
36 | color: $ac-results-over; |
---|
37 | background-color: $ac-results-over-background; |
---|
38 | } |
---|
39 | |
---|
40 | |
---|
41 | /* password indicator */ |
---|
42 | |
---|
43 | .pw-table { |
---|
44 | display: table; |
---|
45 | margin-bottom: 1em; |
---|
46 | } |
---|
47 | |
---|
48 | .pw-cell { |
---|
49 | display: table-cell; |
---|
50 | margin-bottom: 1em; |
---|
51 | } |
---|
52 | |
---|
53 | #pwindicator { |
---|
54 | display: table-cell; |
---|
55 | vertical-align: bottom; |
---|
56 | padding-left: 1.5em; |
---|
57 | height: 3.8em; |
---|
58 | .bar { |
---|
59 | height: 6px; |
---|
60 | margin-bottom: 4px; |
---|
61 | } |
---|
62 | } |
---|
63 | |
---|
64 | .pw-very-weak .bar { |
---|
65 | background: $pw-very-weak; |
---|
66 | width: 30px; |
---|
67 | } |
---|
68 | |
---|
69 | .pw-weak .bar { |
---|
70 | background: $pw-weak; |
---|
71 | width: 60px; |
---|
72 | } |
---|
73 | |
---|
74 | .pw-mediocre .bar { |
---|
75 | background: $pw-mediocre; |
---|
76 | width: 90px; |
---|
77 | } |
---|
78 | |
---|
79 | .pw-strong .bar { |
---|
80 | background: $pw-strong; |
---|
81 | width: 120px; |
---|
82 | } |
---|
83 | |
---|
84 | .pw-very-strong .bar { |
---|
85 | background: $pw-very-strong; |
---|
86 | width: 150px; |
---|
87 | } |
---|
88 | |
---|
89 | |
---|
90 | /* ------------------------------------------------------------------ navigation */ |
---|
91 | |
---|
92 | |
---|
93 | /* selects accès rapide */ |
---|
94 | |
---|
95 | .anchor-nav { |
---|
96 | background: $nav-background; |
---|
97 | padding: 4px 1em; |
---|
98 | label { |
---|
99 | vertical-align: bottom; |
---|
100 | } |
---|
101 | } |
---|
102 | |
---|
103 | |
---|
104 | /* nav links */ |
---|
105 | |
---|
106 | .nav_prevnext { |
---|
107 | margin-bottom: 2em; |
---|
108 | color: $nav-background; |
---|
109 | } |
---|
110 | |
---|
111 | .nav_prevnext a, |
---|
112 | a.back { |
---|
113 | color: $nav-prevnext; |
---|
114 | border: 1px solid $nav-prevnext-border; |
---|
115 | padding: 2px 1.5em; |
---|
116 | border-radius: .75em; |
---|
117 | background-color: $nav-prevnext-background; |
---|
118 | } |
---|
119 | |
---|
120 | a.back:before { |
---|
121 | content: "\ab\a0"; |
---|
122 | } |
---|
123 | |
---|
124 | a.onblog_link { |
---|
125 | color: $onblog-link; |
---|
126 | float: right; |
---|
127 | border: 1px solid $onblog-link-border; |
---|
128 | padding: 2px 1.5em; |
---|
129 | border-radius: .75em; |
---|
130 | background-color: $onblog-link-background; |
---|
131 | box-shadow: 0 1px 1px $onblog-link-shadow; |
---|
132 | } |
---|
133 | |
---|
134 | |
---|
135 | /* Pagination */ |
---|
136 | |
---|
137 | .pager { |
---|
138 | margin: 2em 0 1em 0; |
---|
139 | clear: left; |
---|
140 | ul { |
---|
141 | list-style-type: none; |
---|
142 | margin: 0; |
---|
143 | padding: 0; |
---|
144 | } |
---|
145 | li, |
---|
146 | input { |
---|
147 | display: inline-block; |
---|
148 | vertical-align: middle; |
---|
149 | margin: 0 .33em 0 0; |
---|
150 | padding: 0; |
---|
151 | text-align: center; |
---|
152 | } |
---|
153 | .btn { |
---|
154 | border: 1px solid $pager-border; |
---|
155 | background-color: $pager-background; |
---|
156 | color: $pager-link; |
---|
157 | border-radius: 3px; |
---|
158 | overflow: hidden; |
---|
159 | &.no-link { |
---|
160 | border-color: $pager-border; |
---|
161 | background-color: $pager-off-background; |
---|
162 | padding: 1px 3px 0; |
---|
163 | } |
---|
164 | } |
---|
165 | .active { |
---|
166 | padding: 4px 12px; |
---|
167 | color: $pager-active; |
---|
168 | } |
---|
169 | .direct-access { |
---|
170 | margin-left: 2em; |
---|
171 | input[type=text] { |
---|
172 | border: 1px solid $pager-border; |
---|
173 | padding: 3px 8px; |
---|
174 | margin-left: .25em; |
---|
175 | background-color: $pager-input-background; |
---|
176 | } |
---|
177 | input[type=submit] { |
---|
178 | padding: 3px 6px; |
---|
179 | } |
---|
180 | } |
---|
181 | a { |
---|
182 | display: block; |
---|
183 | padding: 1px 3px 0; |
---|
184 | border: none; |
---|
185 | &:hover, |
---|
186 | &:focus { |
---|
187 | background-color: $pager-background-over; |
---|
188 | } |
---|
189 | } |
---|
190 | } |
---|
191 | |
---|
192 | .index { |
---|
193 | .btn.no-link, |
---|
194 | a { |
---|
195 | padding: 2px 8px 3px; |
---|
196 | font-variant: small-caps; |
---|
197 | } |
---|
198 | li { |
---|
199 | margin-bottom: 3px; |
---|
200 | } |
---|
201 | a { |
---|
202 | font-weight: bold; |
---|
203 | } |
---|
204 | .btn.no-link { |
---|
205 | color: $index-no-link; |
---|
206 | } |
---|
207 | .active { |
---|
208 | padding: 4px 8px; |
---|
209 | color: $index-active; |
---|
210 | background: $index-active-background; |
---|
211 | border-radius: 3px; |
---|
212 | font-variant: small-caps; |
---|
213 | } |
---|
214 | } |
---|
215 | |
---|
216 | |
---|
217 | /* Etapes */ |
---|
218 | |
---|
219 | .step { |
---|
220 | display: inline-block; |
---|
221 | float: left; |
---|
222 | margin: 3px 10px 2px 0; |
---|
223 | padding: 5px .5em; |
---|
224 | color: $step; |
---|
225 | background: $step-background; |
---|
226 | border: 1px solid $step-border; |
---|
227 | border-radius: 3px; |
---|
228 | font-weight: bold; |
---|
229 | } |
---|
230 | |
---|
231 | /* ------------------------------------------------------------------------- indicateurs */ |
---|
232 | |
---|
233 | .mark {} |
---|
234 | |
---|
235 | .mark-published {} |
---|
236 | .mark-unpublished {} |
---|
237 | .mark-scheduled {} |
---|
238 | .mark-pending {} |
---|
239 | .mark-locked {} |
---|
240 | .mark-selected {} |
---|
241 | .mark-hidden {} |
---|
242 | .mark-attach { |
---|
243 | display: inline-block; |
---|
244 | box-sizing: border-box; |
---|
245 | width: 12px; |
---|
246 | height: 12px; |
---|
247 | padding-left: 12px; |
---|
248 | background: $mark-attach-img no-repeat; |
---|
249 | filter: $mark-attach-filter; |
---|
250 | } |
---|
251 | |
---|
252 | /* ---------------------------------------------------------------- utilisables partout */ |
---|
253 | |
---|
254 | .legible { |
---|
255 | font-size: 1.16em; |
---|
256 | max-width: 62em; |
---|
257 | } |
---|
258 | |
---|
259 | .fieldset { |
---|
260 | background: $fieldset-background; |
---|
261 | border: 1px solid $fieldset-border; |
---|
262 | border-radius: 3px; |
---|
263 | padding: 1em .7em .5em; |
---|
264 | margin-bottom: 1em; |
---|
265 | h3 { |
---|
266 | margin-top: 0; |
---|
267 | } |
---|
268 | hr { |
---|
269 | background-color: $fieldset-border; |
---|
270 | border-width: 0; |
---|
271 | margin: 1em 0; |
---|
272 | } |
---|
273 | &:focus-within { |
---|
274 | background-color: $fieldset-focus-background; |
---|
275 | } |
---|
276 | } |
---|
277 | |
---|
278 | .right, |
---|
279 | .txt-right { |
---|
280 | text-align: right; |
---|
281 | } |
---|
282 | |
---|
283 | .txt-center { |
---|
284 | text-align: center; |
---|
285 | } |
---|
286 | |
---|
287 | .txt-left { |
---|
288 | text-align: left; |
---|
289 | } |
---|
290 | |
---|
291 | .no-margin, |
---|
292 | label.no-margin { |
---|
293 | margin-top: 0; |
---|
294 | margin-bottom: 0; |
---|
295 | } |
---|
296 | |
---|
297 | .vertical-separator { |
---|
298 | margin-top: 2em; |
---|
299 | } |
---|
300 | |
---|
301 | p.clear.vertical-separator { |
---|
302 | padding-top: 2em; |
---|
303 | } |
---|
304 | |
---|
305 | .border-top { |
---|
306 | border-top: 1px solid $link-border; |
---|
307 | padding-top: 1em; |
---|
308 | margin-top: 1em; |
---|
309 | } |
---|
310 | |
---|
311 | .grid { |
---|
312 | background: transparent repeat url('grid.png') 0 0; |
---|
313 | } |
---|
314 | |
---|
315 | ul.nice { |
---|
316 | margin: 1em 0; |
---|
317 | padding: 0 0 0 2em; |
---|
318 | list-style: square; |
---|
319 | li { |
---|
320 | margin: 0; |
---|
321 | padding: 0; |
---|
322 | } |
---|
323 | } |
---|
324 | |
---|
325 | ul.from-left { |
---|
326 | list-style-type: none; |
---|
327 | padding-left: 0; |
---|
328 | margin: 1em 0; |
---|
329 | > li { |
---|
330 | margin-top: 1em; |
---|
331 | margin-bottom: 1em; |
---|
332 | } |
---|
333 | ul { |
---|
334 | list-style-type: square; |
---|
335 | } |
---|
336 | } |
---|
337 | |
---|
338 | .offline { |
---|
339 | color: $offline; |
---|
340 | background: $offline-background; |
---|
341 | } |
---|
342 | |
---|
343 | |
---|
344 | /* caché pour tout le monde */ |
---|
345 | |
---|
346 | .hide, |
---|
347 | .button.hide { |
---|
348 | display: none !important; |
---|
349 | } |
---|
350 | |
---|
351 | |
---|
352 | /* Caché sauf pour les revues d'écran */ |
---|
353 | |
---|
354 | .hidden, |
---|
355 | .with-js .out-of-screen-if-js { |
---|
356 | position: absolute !important; |
---|
357 | clip: rect(1px 1px 1px 1px); |
---|
358 | /* IE6, IE7 */ |
---|
359 | clip: rect(1px, 1px, 1px, 1px); |
---|
360 | padding: 0 !important; |
---|
361 | border: 0 !important; |
---|
362 | height: 1px !important; |
---|
363 | width: 1px !important; |
---|
364 | overflow: hidden; |
---|
365 | } |
---|
366 | |
---|
367 | |
---|
368 | /* caché si js est inactif */ |
---|
369 | |
---|
370 | .no-js .hidden-if-no-js { |
---|
371 | display: none; |
---|
372 | } |
---|
373 | |
---|
374 | |
---|
375 | /* caché si js est actif */ |
---|
376 | |
---|
377 | .with-js .hidden-if-js { |
---|
378 | display: none; |
---|
379 | } |
---|