[3355] | 1 | /* jQuery Autocomplete plugin */ |
---|
| 2 | |
---|
| 3 | .ac_results { |
---|
[3439] | 4 | padding: 0px; |
---|
[3763] | 5 | background-color: $ac-results-background; |
---|
| 6 | border: 1px dotted $ac-results-border; |
---|
[3439] | 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 | } |
---|
[3355] | 25 | } |
---|
| 26 | |
---|
| 27 | .ac_loading { |
---|
[3439] | 28 | background: transparent url('loader.gif') right center no-repeat; |
---|
[3355] | 29 | } |
---|
| 30 | |
---|
[3770] | 31 | .ac_odd { |
---|
| 32 | background-color: $ac-results-background; |
---|
| 33 | } |
---|
| 34 | |
---|
[3355] | 35 | .ac_over { |
---|
[3763] | 36 | color: $ac-results-over; |
---|
| 37 | background-color: $ac-results-over-background; |
---|
[3355] | 38 | } |
---|
| 39 | |
---|
| 40 | |
---|
| 41 | /* password indicator */ |
---|
| 42 | |
---|
| 43 | .pw-table { |
---|
[3439] | 44 | display: table; |
---|
| 45 | margin-bottom: 1em; |
---|
[3355] | 46 | } |
---|
| 47 | |
---|
| 48 | .pw-cell { |
---|
[3439] | 49 | display: table-cell; |
---|
| 50 | margin-bottom: 1em; |
---|
[3355] | 51 | } |
---|
| 52 | |
---|
| 53 | #pwindicator { |
---|
[3439] | 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 | } |
---|
[3355] | 62 | } |
---|
| 63 | |
---|
| 64 | .pw-very-weak .bar { |
---|
[3763] | 65 | background: $pw-very-weak; |
---|
[3439] | 66 | width: 30px; |
---|
[3355] | 67 | } |
---|
| 68 | |
---|
| 69 | .pw-weak .bar { |
---|
[3763] | 70 | background: $pw-weak; |
---|
[3439] | 71 | width: 60px; |
---|
[3355] | 72 | } |
---|
| 73 | |
---|
| 74 | .pw-mediocre .bar { |
---|
[3763] | 75 | background: $pw-mediocre; |
---|
[3439] | 76 | width: 90px; |
---|
[3355] | 77 | } |
---|
| 78 | |
---|
| 79 | .pw-strong .bar { |
---|
[3763] | 80 | background: $pw-strong; |
---|
[3439] | 81 | width: 120px; |
---|
[3355] | 82 | } |
---|
| 83 | |
---|
| 84 | .pw-very-strong .bar { |
---|
[3763] | 85 | background: $pw-very-strong; |
---|
[3439] | 86 | width: 150px; |
---|
[3355] | 87 | } |
---|
| 88 | |
---|
| 89 | |
---|
| 90 | /* ------------------------------------------------------------------ navigation */ |
---|
| 91 | |
---|
| 92 | |
---|
| 93 | /* selects accès rapide */ |
---|
| 94 | |
---|
| 95 | .anchor-nav { |
---|
[3763] | 96 | background: $nav-background; |
---|
[3439] | 97 | padding: 4px 1em; |
---|
| 98 | label { |
---|
| 99 | vertical-align: bottom; |
---|
| 100 | } |
---|
[3355] | 101 | } |
---|
| 102 | |
---|
| 103 | |
---|
| 104 | /* nav links */ |
---|
| 105 | |
---|
| 106 | .nav_prevnext { |
---|
[3439] | 107 | margin-bottom: 2em; |
---|
[3763] | 108 | color: $nav-background; |
---|
[3355] | 109 | } |
---|
| 110 | |
---|
| 111 | .nav_prevnext a, |
---|
| 112 | a.back { |
---|
[3763] | 113 | color: $nav-prevnext; |
---|
| 114 | border: 1px solid $nav-prevnext-border; |
---|
[3439] | 115 | padding: 2px 1.5em; |
---|
| 116 | border-radius: .75em; |
---|
[3763] | 117 | background-color: $nav-prevnext-background; |
---|
[3355] | 118 | } |
---|
| 119 | |
---|
| 120 | a.back:before { |
---|
[3439] | 121 | content: "\ab\a0"; |
---|
[3355] | 122 | } |
---|
| 123 | |
---|
| 124 | a.onblog_link { |
---|
[3763] | 125 | color: $onblog-link; |
---|
[3439] | 126 | float: right; |
---|
[3763] | 127 | border: 1px solid $onblog-link-border; |
---|
[3439] | 128 | padding: 2px 1.5em; |
---|
| 129 | border-radius: .75em; |
---|
[3763] | 130 | background-color: $onblog-link-background; |
---|
| 131 | box-shadow: 0 1px 1px $onblog-link-shadow; |
---|
[3355] | 132 | } |
---|
| 133 | |
---|
| 134 | |
---|
| 135 | /* Pagination */ |
---|
| 136 | |
---|
| 137 | .pager { |
---|
[3439] | 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 { |
---|
[3763] | 154 | border: 1px solid $pager-border; |
---|
| 155 | background-color: $pager-background; |
---|
| 156 | color: $pager-link; |
---|
[3439] | 157 | border-radius: 3px; |
---|
| 158 | overflow: hidden; |
---|
| 159 | &.no-link { |
---|
[3763] | 160 | border-color: $pager-border; |
---|
| 161 | background-color: $pager-off-background; |
---|
[3439] | 162 | padding: 1px 3px 0; |
---|
| 163 | } |
---|
| 164 | } |
---|
| 165 | .active { |
---|
| 166 | padding: 4px 12px; |
---|
[3763] | 167 | color: $pager-active; |
---|
[3439] | 168 | } |
---|
| 169 | .direct-access { |
---|
| 170 | margin-left: 2em; |
---|
| 171 | input[type=text] { |
---|
[3763] | 172 | border: 1px solid $pager-border; |
---|
[3439] | 173 | padding: 3px 8px; |
---|
| 174 | margin-left: .25em; |
---|
[3763] | 175 | background-color: $pager-input-background; |
---|
[3439] | 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 { |
---|
[3763] | 187 | background-color: $pager-background-over; |
---|
[3439] | 188 | } |
---|
| 189 | } |
---|
[3355] | 190 | } |
---|
| 191 | |
---|
[3439] | 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 { |
---|
[3763] | 205 | color: $index-no-link; |
---|
[3439] | 206 | } |
---|
| 207 | .active { |
---|
| 208 | padding: 4px 8px; |
---|
[3763] | 209 | color: $index-active; |
---|
| 210 | background: $index-active-background; |
---|
[3439] | 211 | border-radius: 3px; |
---|
| 212 | font-variant: small-caps; |
---|
| 213 | } |
---|
[3355] | 214 | } |
---|
| 215 | |
---|
| 216 | |
---|
| 217 | /* Etapes */ |
---|
| 218 | |
---|
| 219 | .step { |
---|
[3439] | 220 | display: inline-block; |
---|
| 221 | float: left; |
---|
| 222 | margin: 3px 10px 2px 0; |
---|
| 223 | padding: 5px .5em; |
---|
[3763] | 224 | color: $step; |
---|
| 225 | background: $step-background; |
---|
| 226 | border: 1px solid $step-border; |
---|
[3439] | 227 | border-radius: 3px; |
---|
| 228 | font-weight: bold; |
---|
[3355] | 229 | } |
---|
| 230 | |
---|
[3774] | 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 | } |
---|
[3355] | 251 | |
---|
| 252 | /* ---------------------------------------------------------------- utilisables partout */ |
---|
| 253 | |
---|
| 254 | .legible { |
---|
[3439] | 255 | font-size: 1.16em; |
---|
| 256 | max-width: 62em; |
---|
[3355] | 257 | } |
---|
| 258 | |
---|
| 259 | .fieldset { |
---|
[3763] | 260 | background: $fieldset-background; |
---|
| 261 | border: 1px solid $fieldset-border; |
---|
[3439] | 262 | border-radius: 3px; |
---|
| 263 | padding: 1em .7em .5em; |
---|
| 264 | margin-bottom: 1em; |
---|
| 265 | h3 { |
---|
| 266 | margin-top: 0; |
---|
| 267 | } |
---|
[3876] | 268 | hr { |
---|
| 269 | background-color: $fieldset-border; |
---|
| 270 | border-width: 0; |
---|
| 271 | margin: 1em 0; |
---|
| 272 | } |
---|
[3621] | 273 | &:focus-within { |
---|
[3763] | 274 | background-color: $fieldset-focus-background; |
---|
[3621] | 275 | } |
---|
[3355] | 276 | } |
---|
| 277 | |
---|
| 278 | .right, |
---|
| 279 | .txt-right { |
---|
[3439] | 280 | text-align: right; |
---|
[3355] | 281 | } |
---|
| 282 | |
---|
| 283 | .txt-center { |
---|
[3439] | 284 | text-align: center; |
---|
[3355] | 285 | } |
---|
| 286 | |
---|
| 287 | .txt-left { |
---|
[3439] | 288 | text-align: left; |
---|
[3355] | 289 | } |
---|
| 290 | |
---|
| 291 | .no-margin, |
---|
| 292 | label.no-margin { |
---|
[3439] | 293 | margin-top: 0; |
---|
| 294 | margin-bottom: 0; |
---|
[3355] | 295 | } |
---|
| 296 | |
---|
| 297 | .vertical-separator { |
---|
[3439] | 298 | margin-top: 2em; |
---|
[3355] | 299 | } |
---|
| 300 | |
---|
| 301 | p.clear.vertical-separator { |
---|
[3439] | 302 | padding-top: 2em; |
---|
[3355] | 303 | } |
---|
| 304 | |
---|
| 305 | .border-top { |
---|
[3763] | 306 | border-top: 1px solid $link-border; |
---|
[3439] | 307 | padding-top: 1em; |
---|
| 308 | margin-top: 1em; |
---|
[3355] | 309 | } |
---|
| 310 | |
---|
| 311 | .grid { |
---|
[3439] | 312 | background: transparent repeat url('grid.png') 0 0; |
---|
[3355] | 313 | } |
---|
| 314 | |
---|
| 315 | ul.nice { |
---|
[3439] | 316 | margin: 1em 0; |
---|
| 317 | padding: 0 0 0 2em; |
---|
| 318 | list-style: square; |
---|
| 319 | li { |
---|
| 320 | margin: 0; |
---|
| 321 | padding: 0; |
---|
| 322 | } |
---|
[3355] | 323 | } |
---|
| 324 | |
---|
| 325 | ul.from-left { |
---|
[3439] | 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 | } |
---|
[3355] | 336 | } |
---|
| 337 | |
---|
| 338 | .offline { |
---|
[3763] | 339 | color: $offline; |
---|
[3811] | 340 | background: $offline-background; |
---|
[3355] | 341 | } |
---|
| 342 | |
---|
| 343 | |
---|
| 344 | /* caché pour tout le monde */ |
---|
| 345 | |
---|
| 346 | .hide, |
---|
| 347 | .button.hide { |
---|
[3439] | 348 | display: none !important; |
---|
[3355] | 349 | } |
---|
| 350 | |
---|
| 351 | |
---|
| 352 | /* Caché sauf pour les revues d'écran */ |
---|
| 353 | |
---|
| 354 | .hidden, |
---|
| 355 | .with-js .out-of-screen-if-js { |
---|
[3439] | 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; |
---|
[3355] | 365 | } |
---|
| 366 | |
---|
| 367 | |
---|
| 368 | /* caché si js est inactif */ |
---|
| 369 | |
---|
| 370 | .no-js .hidden-if-no-js { |
---|
[3439] | 371 | display: none; |
---|
[3355] | 372 | } |
---|
| 373 | |
---|
| 374 | |
---|
| 375 | /* caché si js est actif */ |
---|
| 376 | |
---|
| 377 | .with-js .hidden-if-js { |
---|
[3439] | 378 | display: none; |
---|
[3355] | 379 | } |
---|