]>
Commit | Line | Data |
---|---|---|
b2143ff4 | 1 | $fa-font-path: '~fork-awesome/fonts'; |
a33c5653 | 2 | |
b2143ff4 | 3 | @import '~fork-awesome/scss/fork-awesome'; |
a33c5653 A |
4 | @import '~purecss/build/pure.css'; |
5 | @import '~purecss/build/grids-responsive.css'; | |
6 | @import '~pure-extras/css/pure-extras.css'; | |
7 | @import '~awesomplete/awesomplete.css'; | |
8 | ||
c69585f3 A |
9 | $white: #fff; |
10 | $black: #000; | |
11 | $almost-white: #f5f5f5; | |
12 | $dark-grey: #252525; | |
13 | $light-grey: #797979; | |
14 | $main-green: #1b926c; | |
15 | $light-green: #b0ddce; | |
8fc0a984 | 16 | $dark-green: #186446; |
c69585f3 A |
17 | $red: #ac2925; |
18 | $orange: #f89406; | |
19 | $blue: #0b5ea6; | |
20 | $background-color: #d0d0d0; | |
21 | $background-linklist-info: #ddd; | |
22 | $light-shadow: rgba(255, 255, 255, .078); | |
23 | $dark-shadow: rgba(0, 0, 0, .298); | |
24 | $warning-text: #97600d; | |
25 | $form-input-border: #d8d8d8; | |
26 | $form-input-background: #eee; | |
27 | ||
a5a0c039 A |
28 | :root { |
29 | --main-color: #{$main-green}; | |
30 | --background-color: #{$background-color}; | |
31 | --dark-main-color: #{$dark-green}; | |
32 | } | |
33 | ||
c69585f3 | 34 | // General |
402b0346 | 35 | body { |
a5a0c039 | 36 | background: var(--background-color); |
402b0346 A |
37 | } |
38 | ||
39 | .strong { | |
c69585f3 | 40 | font-weight: bold; |
402b0346 A |
41 | } |
42 | ||
43 | .clear { | |
c69585f3 | 44 | clear: both; |
402b0346 A |
45 | } |
46 | ||
47 | .center { | |
c69585f3 A |
48 | margin: auto; |
49 | text-align: center; | |
402b0346 A |
50 | } |
51 | ||
52 | .label { | |
c69585f3 A |
53 | display: inline-block; |
54 | border-radius: .25rem; | |
55 | padding: .25em .4em; | |
56 | vertical-align: baseline; | |
57 | text-align: center; | |
58 | line-height: 1; | |
59 | white-space: nowrap; | |
60 | font-size: 75%; | |
61 | font-weight: 700; | |
402b0346 A |
62 | } |
63 | ||
64 | pre { | |
c69585f3 | 65 | max-width: 100%; |
402b0346 A |
66 | } |
67 | ||
68 | @font-face { | |
c69585f3 A |
69 | font-family: 'Roboto'; |
70 | font-weight: 400; | |
71 | font-style: normal; | |
96746d71 A |
72 | src: |
73 | local('Roboto'), | |
74 | local('Roboto-Regular'), | |
75 | url('../fonts/Roboto-Regular.woff2') format('woff2'), | |
76 | url('../fonts/Roboto-Regular.woff') format('woff'); | |
ad5c7570 A |
77 | } |
78 | ||
79 | @font-face { | |
c69585f3 A |
80 | font-family: 'Roboto'; |
81 | font-weight: 700; | |
82 | font-style: normal; | |
96746d71 A |
83 | src: |
84 | local('Roboto'), | |
85 | local('Roboto-Bold'), | |
86 | url('../fonts/Roboto-Bold.woff2') format('woff2'), | |
87 | url('../fonts/Roboto-Bold.woff') format('woff'); | |
c69585f3 A |
88 | } |
89 | ||
90 | body, | |
91 | .pure-g [class*='pure-u'] { | |
92 | font-family: Roboto, Arial, sans-serif; | |
93 | } | |
94 | ||
95 | // Extends Pure grids responsive to hide items. | |
96 | // Use xx-0 to hide an item on xx screen. | |
97 | // Display it at any level with xx-visible. | |
98 | .pure-u-0 { | |
99 | display: none !important; | |
100 | } | |
101 | ||
402b0346 | 102 | @media screen and (min-width: 35.5em) { |
c69585f3 A |
103 | .pure-u-sm-0 { |
104 | display: none !important; | |
105 | } | |
106 | ||
107 | .pure-u-sm-visible { | |
108 | display: inline-block !important; | |
109 | } | |
402b0346 | 110 | } |
c69585f3 | 111 | |
402b0346 | 112 | @media screen and (min-width: 48em) { |
c69585f3 A |
113 | .pure-u-md-0 { |
114 | display: none !important; | |
115 | } | |
116 | ||
117 | .pure-u-md-visible { | |
118 | display: inline-block !important; | |
119 | } | |
402b0346 | 120 | } |
c69585f3 | 121 | |
402b0346 | 122 | @media screen and (min-width: 64em) { |
c69585f3 A |
123 | .pure-u-lg-0 { |
124 | display: none !important; | |
125 | } | |
126 | ||
127 | .pure-u-lg-visible { | |
128 | display: inline-block !important; | |
129 | } | |
402b0346 | 130 | } |
c69585f3 | 131 | |
402b0346 | 132 | @media screen and (min-width: 80em) { |
c69585f3 A |
133 | .pure-u-xl-0 { |
134 | display: none !important; | |
135 | } | |
136 | ||
137 | .pure-u-xl-visible { | |
138 | display: inline-block !important; | |
139 | } | |
402b0346 A |
140 | } |
141 | ||
c69585f3 A |
142 | // Make pure-extras alert closable. |
143 | .pure-alert-closable { | |
144 | .fa-times { | |
402b0346 | 145 | float: right; |
c69585f3 | 146 | } |
402b0346 | 147 | } |
c69585f3 | 148 | |
402b0346 | 149 | .pure-alert-close { |
c69585f3 | 150 | cursor: pointer; |
402b0346 A |
151 | } |
152 | ||
153 | .pure-alert-success { | |
a5a0c039 | 154 | background-color: var(--main-color); |
402b0346 A |
155 | } |
156 | ||
28f26524 A |
157 | .pure-alert-warning { |
158 | a { | |
159 | color: $warning-text; | |
160 | font-weight: bold; | |
161 | } | |
162 | } | |
163 | ||
e85b7a05 A |
164 | .page-single-alert { |
165 | margin-top: 100px; | |
166 | } | |
167 | ||
c69585f3 A |
168 | .anchor { |
169 | &:target { | |
402b0346 | 170 | padding-top: 40px; |
c69585f3 | 171 | } |
402b0346 | 172 | } |
c69585f3 A |
173 | |
174 | // MENU | |
402b0346 | 175 | .shaarli-menu { |
c69585f3 A |
176 | position: fixed; |
177 | top: 0; | |
178 | transition: max-height .5s; | |
179 | z-index: 999; | |
a5a0c039 | 180 | background: var(--main-color); |
c69585f3 A |
181 | width: 100%; |
182 | // Hack to transition with auto height: http://stackoverflow.com/a/8331169/1484919 | |
183 | max-height: 45px; | |
184 | overflow: hidden; | |
185 | -webkit-font-smoothing: antialiased; | |
186 | ||
187 | &.open { | |
188 | transition: max-height .75s; | |
189 | max-height: 500px; | |
190 | } | |
402b0346 A |
191 | } |
192 | ||
402b0346 | 193 | .pure-menu-item { |
c69585f3 A |
194 | // Chrome bugfix: with 100% height, it only displays the first element. |
195 | height: 45px; | |
196 | ||
197 | &:hover { | |
198 | &::after { | |
199 | display: block; | |
200 | margin: -4px auto 0; | |
201 | background: $white; | |
202 | width: 100%; | |
203 | height: 4px; | |
204 | content: ''; | |
205 | } | |
206 | } | |
402b0346 A |
207 | } |
208 | ||
209 | .head-logo { | |
c69585f3 A |
210 | float: left; |
211 | margin: 0 5px 0 0; | |
402b0346 A |
212 | } |
213 | ||
c69585f3 A |
214 | %menu-link { |
215 | padding: .8em 1em; | |
216 | color: $almost-white; | |
402b0346 A |
217 | } |
218 | ||
c69585f3 A |
219 | %menu-link-hover { |
220 | background: transparent; | |
221 | color: $white; | |
402b0346 A |
222 | } |
223 | ||
c69585f3 A |
224 | .pure-menu-link { |
225 | @extend %menu-link; | |
226 | ||
227 | &:visited { | |
228 | @extend %menu-link; | |
229 | } | |
230 | ||
231 | &:hover, | |
232 | &:focus { | |
233 | @extend %menu-link-hover; | |
234 | } | |
402b0346 A |
235 | } |
236 | ||
c69585f3 A |
237 | .pure-menu-selected { |
238 | .pure-menu-link { | |
239 | @extend %menu-link; | |
240 | ||
241 | &:visited { | |
242 | @extend %menu-link; | |
243 | } | |
244 | ||
245 | &:hover, | |
246 | &:focus { | |
247 | @extend %menu-link-hover; | |
248 | } | |
249 | } | |
402b0346 A |
250 | } |
251 | ||
c69585f3 A |
252 | .menu-toggle { |
253 | display: none; | |
254 | position: absolute; | |
255 | top: 5px; | |
256 | right: 0; | |
257 | width: 34px; | |
258 | height: 45px; | |
259 | ||
260 | .bar { | |
402b0346 | 261 | display: block; |
402b0346 A |
262 | position: absolute; |
263 | top: 18px; | |
264 | right: 7px; | |
c69585f3 A |
265 | border-radius: 100px; |
266 | background-color: $light-green; | |
267 | width: 20px; | |
268 | height: 2px; | |
269 | transition-duration: .5s; | |
402b0346 | 270 | |
c69585f3 A |
271 | &:first-child { |
272 | transform: translateY(-6px); | |
273 | } | |
274 | } | |
402b0346 | 275 | |
c69585f3 A |
276 | &.x { |
277 | .bar { | |
278 | transform: rotate(45deg); | |
402b0346 | 279 | |
c69585f3 A |
280 | &:first-child { |
281 | transform: rotate(-45deg); | |
282 | } | |
283 | } | |
284 | } | |
402b0346 A |
285 | } |
286 | ||
287 | @media screen and (max-width: 64em) { | |
c69585f3 A |
288 | .menu-toggle { |
289 | display: block; | |
290 | } | |
402b0346 A |
291 | } |
292 | ||
293 | .header-buttons { | |
c69585f3 | 294 | text-align: right; |
402b0346 A |
295 | } |
296 | ||
297 | .linkcount { | |
c69585f3 A |
298 | color: $dark-grey; |
299 | font-size: .8em; | |
402b0346 A |
300 | } |
301 | ||
302 | @media screen and (min-width: 64em) { | |
c69585f3 A |
303 | .linkcount { |
304 | position: absolute; | |
305 | right: 5px; | |
306 | } | |
307 | } | |
308 | ||
309 | .searchform-block { | |
310 | width: 100%; | |
311 | text-align: center; | |
312 | ||
313 | input { | |
314 | &[type='text'] { | |
315 | border: medium none currentColor; | |
316 | border-radius: 2px; | |
317 | box-shadow: 0 1px 0 $light-shadow, 0 1px 1px $dark-shadow inset; | |
318 | background: $almost-white; | |
319 | padding: 0 5px; | |
320 | width: 260px; | |
321 | height: 30px; | |
322 | color: $dark-grey; | |
323 | ||
324 | &::-webkit-input-placeholder { | |
325 | color: $light-grey; | |
326 | } | |
402b0346 | 327 | } |
c69585f3 | 328 | } |
402b0346 | 329 | |
c69585f3 A |
330 | button { |
331 | border: 0; | |
402b0346 | 332 | border-radius: 2px; |
a5a0c039 | 333 | background-color: var(--main-color); |
c69585f3 A |
334 | padding: 4px 8px 6px; |
335 | color: $almost-white; | |
336 | } | |
402b0346 A |
337 | } |
338 | ||
c69585f3 A |
339 | @media screen and (max-width: 64em) { |
340 | .searchform { | |
341 | margin: 0 auto; | |
342 | max-width: 260px; | |
343 | } | |
402b0346 A |
344 | } |
345 | ||
c69585f3 A |
346 | .search-tagcloud { |
347 | button { | |
f210d94f | 348 | width: 90%; |
c69585f3 | 349 | } |
402b0346 A |
350 | } |
351 | ||
f210d94f | 352 | @media screen and (max-width: 64em) { |
c69585f3 A |
353 | .search-linklist { |
354 | button { | |
355 | width: 100%; | |
f210d94f | 356 | } |
402b0346 | 357 | |
c69585f3 A |
358 | .awesomplete { |
359 | margin: 5px 0; | |
402b0346 | 360 | } |
c69585f3 | 361 | } |
402b0346 A |
362 | } |
363 | ||
c69585f3 A |
364 | .header-search, |
365 | .search-linklist, | |
366 | .search-tagcloud { | |
367 | button { | |
368 | &:hover { | |
a5a0c039 | 369 | color: var(--background-color); |
c69585f3 A |
370 | } |
371 | } | |
29a837f3 A |
372 | } |
373 | ||
c69585f3 A |
374 | .header-search, |
375 | .search-linklist { | |
376 | padding: 6px 0; | |
29a837f3 A |
377 | } |
378 | ||
c69585f3 | 379 | @media screen and (max-width: 64em) { |
96746d71 | 380 | .header-search, |
c69585f3 A |
381 | .header-search * { |
382 | visibility: hidden; | |
383 | } | |
402b0346 A |
384 | } |
385 | ||
c69585f3 A |
386 | %subheader-form-input { |
387 | border: medium none currentColor; | |
388 | border-radius: 2px; | |
389 | box-shadow: 0 1px 0 $light-shadow, 0 1px 4px $dark-shadow inset; | |
390 | background: $almost-white; | |
391 | padding: 5px 5px 3px 15px; | |
c69585f3 | 392 | color: $dark-grey; |
70401690 A |
393 | } |
394 | ||
402b0346 | 395 | .subheader-form { |
c69585f3 A |
396 | display: block; |
397 | position: fixed; | |
398 | visibility: hidden; | |
399 | z-index: 999; | |
a5a0c039 | 400 | background: var(--main-color); |
c69585f3 A |
401 | padding: 5px 0; |
402 | width: 100%; | |
403 | height: 30px; | |
404 | text-align: center; | |
405 | ||
406 | input { | |
407 | &[type='text'], | |
408 | &[type='password'] { | |
409 | @extend %subheader-form-input; | |
410 | ||
411 | &::-webkit-input-placeholder { | |
412 | color: $dark-grey; | |
413 | } | |
402b0346 | 414 | } |
c69585f3 | 415 | } |
402b0346 | 416 | |
c69585f3 A |
417 | &[type='submit'] { |
418 | display: inline-block; | |
419 | margin: 0 0 5px; | |
420 | border: 1px solid $almost-white; | |
402b0346 | 421 | border-radius: 2px; |
a5a0c039 | 422 | background: var(--main-color); |
c69585f3 A |
423 | padding: 4px 0; |
424 | width: 100px; | |
425 | height: 28px; | |
426 | color: $almost-white; | |
402b0346 | 427 | |
c69585f3 A |
428 | &:hover { |
429 | background: $almost-white; | |
a5a0c039 | 430 | color: var(--main-color); |
c69585f3 A |
431 | } |
432 | } | |
433 | ||
434 | .remember-me { | |
435 | @extend %subheader-form-input; | |
402b0346 | 436 | |
402b0346 | 437 | display: inline-block; |
402b0346 | 438 | cursor: pointer; |
c69585f3 A |
439 | padding: 5px 20px 3px; |
440 | width: auto; | |
402b0346 | 441 | |
c69585f3 A |
442 | label, |
443 | input { | |
444 | cursor: pointer; | |
445 | } | |
446 | } | |
447 | ||
448 | a { | |
449 | &.button { | |
450 | border: 2px solid $almost-white; | |
451 | border-radius: 5px; | |
452 | padding: 3px 10px; | |
453 | text-decoration: none; | |
454 | color: $almost-white; | |
455 | font-weight: bold; | |
456 | } | |
457 | } | |
402b0346 A |
458 | } |
459 | ||
c69585f3 A |
460 | .header-login-form { |
461 | input { | |
462 | &[type='text'], | |
463 | &[type='password'] { | |
464 | width: 200px; | |
465 | ||
466 | // because chrome | |
467 | &::-webkit-input-placeholder { | |
468 | color: $light-grey; | |
469 | } | |
470 | } | |
471 | } | |
402b0346 A |
472 | } |
473 | ||
c69585f3 A |
474 | @media screen and (min-width: 64em) { |
475 | .subheader-form { | |
476 | &.open { | |
477 | visibility: visible; | |
478 | ||
479 | * { | |
480 | visibility: visible; | |
481 | } | |
482 | } | |
483 | } | |
402b0346 A |
484 | } |
485 | ||
486 | .new-version-message { | |
c69585f3 | 487 | text-align: center; |
402b0346 | 488 | |
c69585f3 A |
489 | a { |
490 | color: $warning-text; | |
402b0346 | 491 | font-weight: bold; |
c69585f3 | 492 | } |
402b0346 A |
493 | } |
494 | ||
8eac2e54 A |
495 | .header-alert-message { |
496 | text-align: center; | |
497 | } | |
498 | ||
c69585f3 A |
499 | // CONTENT - GENERAL |
500 | .container { | |
501 | position: relative; | |
502 | z-index: 2; | |
503 | margin-top: 45px; | |
402b0346 A |
504 | } |
505 | ||
c69585f3 | 506 | // Plugins additional forms |
402b0346 | 507 | .toolbar-plugin { |
c69585f3 A |
508 | margin: 5px 0; |
509 | text-align: center; | |
510 | ||
511 | input { | |
512 | &[type='text'] { | |
513 | border: medium none currentColor; | |
514 | border-radius: 2px; | |
515 | box-shadow: 0 1px 0 $light-shadow, 0 1px 1px $dark-shadow inset; | |
516 | background: $almost-white; | |
517 | padding: 0 5px; | |
518 | width: 300px; | |
519 | height: 30px; | |
520 | color: $dark-grey; | |
521 | ||
522 | &::-webkit-input-placeholder { | |
523 | color: $light-grey; | |
524 | } | |
525 | } | |
402b0346 | 526 | |
c69585f3 A |
527 | &[type='submit'] { |
528 | border: medium none currentColor; | |
529 | border-radius: 2px; | |
530 | background: $almost-white; | |
531 | padding: 0 10px; | |
532 | height: 30px; | |
533 | color: $dark-grey; | |
534 | ||
535 | &:hover { | |
536 | background: $white; | |
537 | } | |
538 | } | |
539 | } | |
70401690 A |
540 | } |
541 | ||
402b0346 | 542 | @media screen and (max-width: 64em) { |
c69585f3 A |
543 | .toolbar-plugin { |
544 | input { | |
545 | &[type='text'] { | |
402b0346 | 546 | width: 70%; |
c69585f3 | 547 | } |
402b0346 | 548 | } |
c69585f3 | 549 | } |
402b0346 A |
550 | } |
551 | ||
c69585f3 A |
552 | // CONTENT - LINKLIST PAGING |
553 | // 64em -> lg | |
402b0346 | 554 | .linklist-filters { |
c69585f3 A |
555 | margin: 5px 0; |
556 | color: $dark-grey; | |
557 | font-size: .9em; | |
402b0346 | 558 | |
c69585f3 | 559 | a { |
54ee2408 A |
560 | display: inline-block; |
561 | margin: 3px 0; | |
402b0346 A |
562 | padding: 5px 8px; |
563 | text-decoration: none; | |
c69585f3 | 564 | } |
402b0346 | 565 | |
c69585f3 A |
566 | .filter-off { |
567 | background: $almost-white; | |
568 | color: $dark-grey; | |
569 | } | |
402b0346 | 570 | |
c69585f3 | 571 | .filter-on { |
a5a0c039 | 572 | background: var(--main-color); |
c69585f3 A |
573 | color: $light-green; |
574 | } | |
402b0346 | 575 | |
c69585f3 A |
576 | .filter-block { |
577 | background: $red; | |
578 | color: $almost-white; | |
579 | } | |
9d4736a3 A |
580 | } |
581 | ||
402b0346 | 582 | .linklist-pages { |
c69585f3 A |
583 | margin: 5px 0; |
584 | text-align: center; | |
585 | color: $dark-grey; | |
402b0346 | 586 | |
c69585f3 | 587 | a { |
402b0346 | 588 | text-decoration: none; |
c69585f3 A |
589 | color: $dark-grey; |
590 | ||
591 | &:hover { | |
592 | color: $white; | |
593 | } | |
594 | } | |
402b0346 A |
595 | } |
596 | ||
c69585f3 A |
597 | %linksperpage-button { |
598 | display: inline-block; | |
599 | width: 20px; | |
600 | text-align: center; | |
402b0346 A |
601 | } |
602 | ||
603 | .linksperpage { | |
c69585f3 A |
604 | margin: 5px 0; |
605 | text-align: right; | |
606 | color: $dark-grey; | |
607 | font-size: .9em; | |
402b0346 | 608 | |
c69585f3 A |
609 | form { |
610 | display: inline; | |
611 | } | |
402b0346 | 612 | |
c69585f3 A |
613 | a { |
614 | @extend %linksperpage-button; | |
402b0346 | 615 | |
c69585f3 A |
616 | background: $almost-white; |
617 | padding: 5px; | |
618 | text-decoration: none; | |
619 | color: $dark-grey; | |
c69585f3 | 620 | |
e813934a KC |
621 | &.selected { |
622 | background: var(--main-color); | |
623 | color: $white; | |
96746d71 | 624 | } |
816ffba7 KC |
625 | } |
626 | ||
c69585f3 A |
627 | input { |
628 | &[type='text'] { | |
629 | @extend %linksperpage-button; | |
630 | ||
631 | margin: 0; | |
632 | border: medium none currentColor; | |
633 | background: $almost-white; | |
634 | padding: 4px 5px 3px 8px; | |
635 | height: 20px; | |
636 | color: $dark-grey; | |
637 | font-size: .8em; | |
638 | } | |
639 | } | |
402b0346 A |
640 | } |
641 | ||
c69585f3 A |
642 | // CONTENT - LINKLIST ITEMS |
643 | %private-border { | |
644 | display: block; | |
645 | position: absolute; | |
646 | top: 0; | |
647 | left: 3px; | |
648 | z-index: 1; | |
649 | background: $orange; | |
650 | width: 2px; | |
651 | height: 96%; | |
652 | content: ''; | |
402b0346 A |
653 | } |
654 | ||
402b0346 | 655 | .linklist-item { |
7b4fea0e | 656 | position: relative; |
c69585f3 A |
657 | margin: 0 0 10px; |
658 | box-shadow: 1px 1px 3px $light-grey; | |
659 | background: $almost-white; | |
660 | ||
661 | &.private { | |
7b4fea0e A |
662 | &::before { |
663 | display: block; | |
664 | position: absolute; | |
665 | top: 0; | |
666 | left: 0; | |
667 | z-index: 1; | |
668 | background: $orange; | |
669 | width: 2px; | |
670 | height: 100%; | |
671 | content: ''; | |
c69585f3 A |
672 | } |
673 | } | |
94c17565 A |
674 | } |
675 | ||
676 | .linklist-item-buttons { | |
c69585f3 A |
677 | position: relative; |
678 | z-index: 99; | |
679 | background: transparent; | |
680 | width: 23px; | |
94c17565 A |
681 | } |
682 | ||
683 | .linklist-item-buttons-right { | |
c69585f3 A |
684 | float: right; |
685 | margin-right: -25px; | |
94c17565 A |
686 | } |
687 | ||
688 | .linklist-item-buttons * { | |
c69585f3 A |
689 | display: block; |
690 | float: left; | |
691 | margin: auto; | |
692 | width: 100%; | |
693 | text-align: center; | |
402b0346 A |
694 | } |
695 | ||
696 | .linklist-item-title { | |
c69585f3 A |
697 | position: relative; |
698 | margin: 0; | |
699 | background: $almost-white; | |
700 | word-wrap: break-word; | |
402b0346 | 701 | |
c69585f3 A |
702 | h2 { |
703 | margin: 0; | |
704 | padding: 3px 10px 0; | |
402b0346 | 705 | line-height: 30px; |
c69585f3 | 706 | word-wrap: break-word; |
402b0346 | 707 | |
c69585f3 A |
708 | a { |
709 | vertical-align: middle; | |
710 | text-decoration: none; | |
711 | color: $dark-grey; | |
712 | font-size: .7em; | |
713 | ||
714 | &:visited { | |
715 | .linklist-link { | |
a5a0c039 | 716 | color: var(--dark-main-color); |
c69585f3 A |
717 | } |
718 | } | |
719 | ||
720 | &:hover { | |
721 | color: $dark-grey; | |
722 | } | |
723 | } | |
724 | } | |
402b0346 | 725 | |
c69585f3 | 726 | .linklist-link { |
a5a0c039 | 727 | color: var(--main-color); |
402b0346 | 728 | font-size: 1.1em; |
402b0346 | 729 | |
c69585f3 A |
730 | &:hover { |
731 | color: $dark-grey; | |
732 | } | |
733 | } | |
402b0346 | 734 | |
d3defcac A |
735 | .label { |
736 | font-family: Arial, sans-serif; | |
737 | font-size: .65em; | |
738 | } | |
739 | ||
c69585f3 A |
740 | .label-private { |
741 | border: solid 1px $orange; | |
742 | color: $orange; | |
d3defcac A |
743 | } |
744 | ||
745 | .label-sticky { | |
746 | border: solid 1px $blue; | |
747 | color: $blue; | |
c69585f3 | 748 | } |
402b0346 A |
749 | } |
750 | ||
94c17565 | 751 | .fold-button { |
c69585f3 A |
752 | display: none; |
753 | color: $dark-grey; | |
402b0346 A |
754 | } |
755 | ||
756 | .linklist-item-editbuttons { | |
c69585f3 A |
757 | float: right; |
758 | padding: 8px 5px; | |
402b0346 | 759 | |
c69585f3 | 760 | * { |
402b0346 A |
761 | display: block; |
762 | float: left; | |
763 | margin: 0 1px; | |
c69585f3 | 764 | } |
402b0346 | 765 | |
c69585f3 | 766 | a { |
402b0346 | 767 | font-size: 1em; |
c69585f3 A |
768 | } |
769 | ||
fc574e64 | 770 | .link-checkbox { |
c69585f3 A |
771 | display: none; |
772 | } | |
402b0346 A |
773 | } |
774 | ||
775 | .edit-link { | |
c69585f3 A |
776 | color: $blue; |
777 | font-size: 1.2em; | |
402b0346 A |
778 | } |
779 | ||
780 | .delete-link { | |
c69585f3 A |
781 | color: $red !important; |
782 | font-size: 1.3em; | |
402b0346 A |
783 | } |
784 | ||
4154c25b | 785 | .pin-link { |
d9bf5b31 | 786 | font-size: 1.3em; |
4154c25b A |
787 | } |
788 | ||
789 | .pinned-link { | |
d9bf5b31 | 790 | color: $blue !important; |
4154c25b A |
791 | } |
792 | ||
402b0346 | 793 | .linklist-item-description { |
c69585f3 A |
794 | position: relative; |
795 | padding: 0 10px; | |
796 | line-height: 1.3em; | |
797 | color: $dark-grey; | |
798 | word-wrap: break-word; | |
402b0346 | 799 | |
c69585f3 | 800 | a { |
402b0346 | 801 | text-decoration: none; |
a5a0c039 | 802 | color: var(--main-color); |
402b0346 | 803 | |
c69585f3 A |
804 | &:hover { |
805 | color: $dark-grey; | |
806 | } | |
402b0346 | 807 | |
c69585f3 | 808 | &:visited { |
a5a0c039 | 809 | color: var(--dark-main-color); |
c69585f3 A |
810 | } |
811 | } | |
402b0346 A |
812 | } |
813 | ||
814 | .linklist-item-thumbnail { | |
c69585f3 A |
815 | position: relative; |
816 | float: right; | |
817 | z-index: 50; | |
818 | margin: 0; | |
819 | padding: 0 0 0 5px; | |
820 | height: 90px; | |
402b0346 A |
821 | } |
822 | ||
823 | .linklist-item-infos { | |
c69585f3 A |
824 | background: $background-linklist-info; |
825 | padding: 4px 8px; | |
826 | color: $dark-grey; | |
402b0346 | 827 | |
c69585f3 | 828 | a { |
402b0346 | 829 | text-decoration: none; |
c69585f3 | 830 | color: $dark-grey; |
402b0346 | 831 | |
c69585f3 A |
832 | &:hover { |
833 | color: $black; | |
834 | } | |
835 | } | |
402b0346 | 836 | |
c69585f3 A |
837 | .linklist-item-tags { |
838 | font-size: .8em; | |
839 | } | |
402b0346 | 840 | |
c69585f3 | 841 | .label-tag { |
402b0346 | 842 | font-size: 1em; |
c69585f3 A |
843 | } |
844 | ||
845 | .mobile-buttons { | |
846 | text-align: right; | |
847 | } | |
848 | ||
849 | .linklist-plugin-icon { | |
850 | display: inline-block; | |
851 | margin: 0 2px; | |
852 | width: 16px; | |
853 | height: 16px; | |
854 | } | |
402b0346 A |
855 | } |
856 | ||
857 | .linklist-item-infos-dateblock { | |
c69585f3 | 858 | font-size: .9em; |
402b0346 A |
859 | } |
860 | ||
861 | .linklist-plugin-icon { | |
c69585f3 A |
862 | width: 13px; |
863 | height: 13px; | |
402b0346 A |
864 | } |
865 | ||
866 | .linklist-item-infos-url { | |
c69585f3 A |
867 | height: 23px; |
868 | overflow: hidden; | |
869 | text-align: right; | |
870 | text-overflow: ellipsis; | |
871 | line-height: 23px; | |
872 | white-space: nowrap; | |
873 | font-size: .8em; | |
402b0346 A |
874 | } |
875 | ||
94c17565 | 876 | .linklist-item-infos-controls-group { |
c69585f3 A |
877 | display: inline-block; |
878 | border-right: 1px solid $light-grey; | |
879 | padding-right: 6px; | |
94c17565 A |
880 | } |
881 | ||
882 | .ctrl-edit { | |
c69585f3 | 883 | margin: 0 7px; |
94c17565 A |
884 | } |
885 | ||
4154c25b | 886 | .ctrl-delete { |
d9bf5b31 | 887 | margin: 0 7px 0 0; |
4154c25b A |
888 | } |
889 | ||
c69585f3 | 890 | // 64em -> lg |
402b0346 | 891 | @media screen and (max-width: 64em) { |
c69585f3 A |
892 | .linklist-item-infos-url { |
893 | text-align: left; | |
894 | } | |
402b0346 A |
895 | } |
896 | ||
c69585f3 A |
897 | // Footer |
898 | .footer-container { | |
899 | margin: 20px 0; | |
900 | padding: 5px; | |
901 | text-align: center; | |
902 | color: $dark-grey; | |
402b0346 | 903 | |
c69585f3 | 904 | &::before { |
402b0346 | 905 | display: block; |
402b0346 | 906 | margin: 10px auto; |
a5a0c039 | 907 | background: linear-gradient(to right, var(--background-color), $dark-grey, var(--background-color)); |
c69585f3 A |
908 | width: 80%; |
909 | height: 1px; | |
910 | content: ''; | |
911 | } | |
912 | ||
913 | a { | |
914 | color: $dark-grey; | |
915 | } | |
916 | } | |
917 | ||
918 | // PAGE FORM | |
919 | %page-form-input { | |
920 | margin: 10px 0; | |
921 | border: solid 1px $form-input-border; | |
922 | border-radius: 2px; | |
923 | background: $form-input-background; | |
924 | padding: 5px 5px 3px 15px; | |
925 | width: 90%; | |
926 | height: 35px; | |
927 | color: $dark-grey; | |
928 | box-sizing: border-box; | |
929 | } | |
930 | ||
931 | %page-form-button { | |
932 | display: inline-block; | |
933 | margin: 15px 5px; | |
934 | border: 0; | |
935 | box-shadow: 1px 1px 1px $form-input-border, -1px -1px 6px $form-input-border, -1px 1px 2px $form-input-border, 1px -1px 2px $form-input-border; | |
a5a0c039 | 936 | background: var(--main-color); |
c69585f3 A |
937 | min-width: 150px; |
938 | height: 35px; | |
939 | vertical-align: center; | |
940 | text-decoration: none; | |
941 | line-height: 35px; | |
942 | color: $almost-white; | |
943 | font-size: 1.2em; | |
944 | font-weight: normal; | |
402b0346 A |
945 | } |
946 | ||
402b0346 | 947 | .page-form { |
c69585f3 A |
948 | margin: 20px 0 0; |
949 | box-shadow: 1px 1px 2px $light-grey; | |
950 | background: $almost-white; | |
951 | overflow: hidden; | |
952 | color: $dark-grey; | |
953 | ||
954 | .window-title { | |
955 | margin: 0 0 10px; | |
956 | background: $almost-white; | |
402b0346 A |
957 | padding: 10px 0; |
958 | width: 100%; | |
402b0346 | 959 | text-align: center; |
a5a0c039 | 960 | color: var(--main-color); |
c69585f3 | 961 | } |
402b0346 | 962 | |
c69585f3 | 963 | .window-subtitle { |
402b0346 | 964 | text-align: center; |
c69585f3 | 965 | } |
402b0346 | 966 | |
c69585f3 | 967 | a { |
aa4797ba | 968 | text-decoration: none; |
a5a0c039 | 969 | color: var(--main-color); |
c69585f3 | 970 | font-weight: bold; |
402b0346 | 971 | |
c69585f3 A |
972 | &.button { |
973 | @extend %page-form-button; | |
974 | } | |
975 | } | |
976 | ||
977 | p { | |
402b0346 | 978 | margin: 0; |
c69585f3 A |
979 | padding: 5px 10px; |
980 | } | |
402b0346 | 981 | |
c69585f3 A |
982 | input { |
983 | &[type='text'] { | |
984 | @extend %page-form-input; | |
985 | ||
986 | &::-webkit-input-placeholder { | |
987 | color: $light-grey; | |
988 | } | |
989 | } | |
990 | ||
991 | &[type='password'] { | |
992 | @extend %page-form-input; | |
993 | ||
994 | &::-webkit-input-placeholder { | |
995 | color: $light-grey; | |
996 | } | |
997 | } | |
998 | ||
999 | &[type='submit'] { | |
1000 | @extend %page-form-button; | |
1001 | } | |
1002 | } | |
1003 | ||
1004 | textarea { | |
1005 | @extend %page-form-input; | |
402b0346 | 1006 | |
402b0346 | 1007 | padding: 15px 5px 3px 15px; |
c69585f3 | 1008 | min-height: 240px; |
402b0346 A |
1009 | resize: vertical; |
1010 | overflow-y: auto; | |
c69585f3 A |
1011 | word-wrap: break-word; |
1012 | } | |
402b0346 | 1013 | |
c69585f3 A |
1014 | select { |
1015 | color: $dark-grey; | |
1016 | } | |
402b0346 | 1017 | |
c69585f3 A |
1018 | .button { |
1019 | &.button-red { | |
1020 | background: $red; | |
1021 | } | |
1022 | } | |
402b0346 | 1023 | |
c69585f3 A |
1024 | .submit-buttons { |
1025 | margin-bottom: 10px; | |
1026 | } | |
402b0346 | 1027 | |
c69585f3 A |
1028 | section { |
1029 | margin: 10px 0 25px; | |
1030 | } | |
402b0346 | 1031 | |
c69585f3 A |
1032 | table, |
1033 | th, | |
1034 | td { | |
1035 | border-width: 1px 0; | |
1036 | border-style: solid; | |
1037 | border-color: $light-grey; | |
1038 | } | |
402b0346 | 1039 | |
c69585f3 A |
1040 | th, |
1041 | td { | |
1042 | padding: 5px; | |
1043 | } | |
1044 | ||
1045 | table { | |
1046 | margin: auto; | |
1047 | width: 90%; | |
1048 | ||
1049 | .order { | |
1050 | text-decoration: none; | |
1051 | color: $dark-grey; | |
402b0346 | 1052 | } |
c69585f3 | 1053 | } |
402b0346 | 1054 | |
c69585f3 A |
1055 | .awesomplete { |
1056 | width: 90%; | |
1057 | ||
1058 | input { | |
1059 | width: 100%; | |
1060 | } | |
1061 | } | |
1062 | ||
1063 | div { | |
1064 | .awesomplete { | |
1065 | > ul { | |
1066 | color: $black; | |
1067 | } | |
402b0346 | 1068 | } |
c69585f3 A |
1069 | } |
1070 | } | |
1071 | ||
1072 | @media screen and (min-width: 64em) { | |
1073 | .page-form { | |
1074 | .submit-buttons { | |
1075 | position: relative; | |
1076 | ||
1077 | .button { | |
1078 | &.button-red { | |
1079 | position: absolute; | |
1080 | right: 5%; | |
1081 | } | |
1082 | } | |
1083 | } | |
1084 | } | |
402b0346 A |
1085 | } |
1086 | ||
1087 | @media screen and (max-width: 64em) { | |
c69585f3 A |
1088 | .page-form { |
1089 | .submit-buttons { | |
1090 | .button { | |
402b0346 | 1091 | margin: auto; |
c69585f3 | 1092 | } |
402b0346 | 1093 | } |
c69585f3 | 1094 | } |
402b0346 A |
1095 | } |
1096 | ||
c69585f3 A |
1097 | // PAGE FORM - LIGHT |
1098 | .page-form-light { | |
1099 | div, | |
1100 | p { | |
402b0346 | 1101 | text-align: center; |
c69585f3 | 1102 | } |
402b0346 A |
1103 | } |
1104 | ||
c69585f3 A |
1105 | // PAGE FORM - COMPLETE |
1106 | %page-form-valign { | |
1107 | position: absolute; | |
1108 | top: 50%; | |
1109 | transform: translateY(-50%); | |
402b0346 A |
1110 | } |
1111 | ||
c69585f3 A |
1112 | .page-form-complete { |
1113 | div, | |
1114 | p { | |
1115 | color: $dark-grey; | |
1116 | } | |
1117 | ||
1118 | .form-label, | |
1119 | .form-input { | |
402b0346 A |
1120 | position: relative; |
1121 | height: 60px; | |
c69585f3 | 1122 | } |
402b0346 | 1123 | |
c69585f3 A |
1124 | .form-label { |
1125 | label { | |
1126 | @extend %page-form-valign; | |
402b0346 | 1127 | |
c69585f3 A |
1128 | right: 0; |
1129 | padding: 0 20px; | |
1130 | text-align: right; | |
1131 | } | |
1132 | } | |
402b0346 | 1133 | |
c69585f3 | 1134 | .label-name { |
402b0346 | 1135 | font-weight: bold; |
c69585f3 | 1136 | } |
402b0346 | 1137 | |
c69585f3 A |
1138 | .label-desc { |
1139 | font-size: .8em; | |
1140 | } | |
402b0346 | 1141 | |
c69585f3 A |
1142 | .form-input { |
1143 | input { | |
1144 | @extend %page-form-valign; | |
402b0346 | 1145 | |
c69585f3 A |
1146 | &[type='text'], |
1147 | &[type='password'] { | |
1148 | margin: 0; | |
1149 | } | |
1150 | } | |
402b0346 | 1151 | |
c69585f3 A |
1152 | select { |
1153 | &.align { | |
1154 | @extend %page-form-valign; | |
1155 | } | |
1156 | } | |
1157 | } | |
402b0346 | 1158 | |
c69585f3 A |
1159 | textarea { |
1160 | margin: 0; | |
1161 | } | |
402b0346 | 1162 | |
c69585f3 A |
1163 | .timezone { |
1164 | @extend %page-form-valign; | |
1165 | } | |
402b0346 A |
1166 | } |
1167 | ||
c69585f3 A |
1168 | // Awesomeplete fix |
1169 | div { | |
1170 | &.awesomplete { | |
402b0346 | 1171 | width: inherit; |
402b0346 | 1172 | |
c69585f3 A |
1173 | > input { |
1174 | display: inherit; | |
1175 | } | |
402b0346 | 1176 | |
c69585f3 A |
1177 | > ul { |
1178 | z-index: 9999; | |
1179 | } | |
1180 | } | |
402b0346 A |
1181 | } |
1182 | ||
c69585f3 A |
1183 | form { |
1184 | &[name='linkform'] { | |
1185 | &.page-form { | |
1186 | overflow: visible; | |
1187 | } | |
1188 | } | |
402b0346 A |
1189 | } |
1190 | ||
c69585f3 A |
1191 | @media screen and (max-width: 64em) { |
1192 | %page-form-valign-mobile { | |
1193 | position: inherit; | |
1194 | top: inherit; | |
1195 | transform: translateY(0); | |
1196 | } | |
402b0346 | 1197 | |
c69585f3 A |
1198 | .page-form-complete { |
1199 | .form-label { | |
1200 | height: inherit; | |
402b0346 | 1201 | |
c69585f3 A |
1202 | label { |
1203 | @extend %page-form-valign-mobile; | |
15162272 | 1204 | |
c69585f3 A |
1205 | display: block; |
1206 | margin: 10px 0 0; | |
1207 | text-align: left; | |
1208 | } | |
402b0346 A |
1209 | } |
1210 | ||
c69585f3 A |
1211 | .form-input { |
1212 | text-align: center; | |
402b0346 | 1213 | |
c69585f3 A |
1214 | input { |
1215 | @extend %page-form-valign-mobile; | |
402b0346 | 1216 | |
c69585f3 A |
1217 | &[type='checkbox'] { |
1218 | position: absolute; | |
1219 | top: 50%; | |
1220 | right: 50%; | |
1221 | transform: translateY(-50%); | |
1222 | } | |
1223 | } | |
402b0346 A |
1224 | } |
1225 | ||
c69585f3 A |
1226 | .timezone { |
1227 | @extend %page-form-valign-mobile; | |
402b0346 A |
1228 | } |
1229 | ||
c69585f3 A |
1230 | .radio-buttons { |
1231 | padding: 5px 15px; | |
1232 | text-align: left; | |
402b0346 | 1233 | } |
c69585f3 | 1234 | } |
402b0346 | 1235 | |
c69585f3 A |
1236 | .timezone-continent { |
1237 | &::after { | |
1238 | white-space: pre; | |
1239 | content: '\a\a'; | |
402b0346 | 1240 | } |
c69585f3 | 1241 | } |
402b0346 A |
1242 | } |
1243 | ||
c69585f3 | 1244 | // Page visitor (page form extended) |
402b0346 | 1245 | .page-visitor { |
c69585f3 | 1246 | color: $dark-grey; |
402b0346 A |
1247 | } |
1248 | ||
dd51f653 | 1249 | .page-error-container { |
c69585f3 | 1250 | color: $dark-grey; |
6c50a6cc A |
1251 | |
1252 | h2 { | |
dd51f653 | 1253 | margin: 70px 0 25px; |
6c50a6cc A |
1254 | } |
1255 | ||
1256 | pre { | |
6c50a6cc A |
1257 | margin: 0 20%; |
1258 | padding: 20px 0; | |
dd51f653 A |
1259 | text-align: left; |
1260 | line-height: .7em; | |
6c50a6cc | 1261 | } |
402b0346 A |
1262 | } |
1263 | ||
c69585f3 A |
1264 | // EDIT LINK |
1265 | .edit-link-container { | |
1266 | .created-date { | |
807cade6 | 1267 | margin-bottom: 10px; |
c69585f3 A |
1268 | color: $light-grey; |
1269 | } | |
807cade6 A |
1270 | } |
1271 | ||
c69585f3 A |
1272 | // LOGIN |
1273 | .login-form-container { | |
1274 | .remember-me { | |
402b0346 | 1275 | margin: 5px 0; |
c69585f3 | 1276 | } |
402b0346 A |
1277 | } |
1278 | ||
c69585f3 A |
1279 | // Search results |
1280 | .search-result { | |
1281 | a { | |
402b0346 | 1282 | text-decoration: none; |
c69585f3 A |
1283 | color: $white; |
1284 | } | |
402b0346 | 1285 | |
c69585f3 A |
1286 | .label-tag { |
1287 | border-color: $white; | |
402b0346 | 1288 | |
c69585f3 A |
1289 | .remove { |
1290 | margin: 0 0 0 5px; | |
1291 | border-left: $white 1px solid; | |
1292 | padding: 0 0 0 5px; | |
1293 | } | |
1294 | } | |
402b0346 | 1295 | |
c69585f3 A |
1296 | .label-private { |
1297 | border: 1px solid $white; | |
1298 | } | |
7c26f662 A |
1299 | } |
1300 | ||
c69585f3 | 1301 | // TOOLS |
402b0346 | 1302 | .tools-item { |
c69585f3 | 1303 | margin: 10px 0; |
402b0346 | 1304 | |
c69585f3 A |
1305 | .pure-button { |
1306 | &:hover { | |
a5a0c039 | 1307 | background-color: var(--main-color); |
c69585f3 A |
1308 | background-image: none; |
1309 | color: $almost-white; | |
1310 | } | |
1311 | } | |
402b0346 A |
1312 | } |
1313 | ||
c69585f3 A |
1314 | // PLUGIN ADMIN |
1315 | .pluginform-container { | |
1316 | .mobile-row { | |
1317 | font-size: .9em; | |
1318 | } | |
402b0346 | 1319 | |
c69585f3 | 1320 | .more { |
402b0346 | 1321 | margin-top: 10px; |
c69585f3 | 1322 | } |
402b0346 A |
1323 | } |
1324 | ||
1325 | @media screen and (max-width: 64em) { | |
c69585f3 A |
1326 | .pluginform-container { |
1327 | .main-row { | |
1328 | border-top-style: none; | |
1329 | border-bottom-style: none; | |
402b0346 | 1330 | |
c69585f3 | 1331 | td { |
402b0346 | 1332 | border-top-style: none; |
c69585f3 A |
1333 | border-bottom-style: none; |
1334 | } | |
402b0346 | 1335 | } |
c69585f3 | 1336 | } |
402b0346 A |
1337 | } |
1338 | ||
c69585f3 A |
1339 | // IMPORT |
1340 | .import-field-container { | |
1341 | margin: 15px 0; | |
402b0346 A |
1342 | } |
1343 | ||
c69585f3 A |
1344 | // TAG CLOUD |
1345 | .cloudtag-container { | |
1346 | padding: 10px; | |
1347 | text-align: center; | |
1348 | text-decoration: none; | |
1349 | color: $dark-grey; | |
402b0346 | 1350 | |
c69585f3 | 1351 | a { |
402b0346 | 1352 | text-decoration: none; |
c69585f3 A |
1353 | color: $dark-grey; |
1354 | } | |
402b0346 | 1355 | |
c69585f3 A |
1356 | .count { |
1357 | color: $light-grey; | |
1358 | } | |
402b0346 A |
1359 | } |
1360 | ||
c69585f3 A |
1361 | // TAG LIST |
1362 | .taglist-container { | |
1363 | padding: 0 10px; | |
aa4797ba | 1364 | |
c69585f3 | 1365 | a { |
aa4797ba | 1366 | text-decoration: none; |
c69585f3 A |
1367 | color: $dark-grey; |
1368 | } | |
aa4797ba | 1369 | |
c69585f3 | 1370 | .count { |
aa4797ba A |
1371 | display: inline-block; |
1372 | width: 35px; | |
1373 | text-align: right; | |
c69585f3 A |
1374 | color: $light-grey; |
1375 | } | |
aa4797ba | 1376 | |
c69585f3 | 1377 | .rename-tag-form { |
82e3bb5f | 1378 | display: none; |
c69585f3 | 1379 | } |
82e3bb5f | 1380 | |
c69585f3 | 1381 | .delete-tag { |
aa4797ba | 1382 | display: none; |
c69585f3 A |
1383 | color: $red; |
1384 | } | |
1385 | ||
1386 | .rename-tag { | |
1387 | color: $blue; | |
1388 | } | |
1389 | ||
1390 | .validate-rename-tag { | |
a5a0c039 | 1391 | color: var(--main-color); |
c69585f3 A |
1392 | } |
1393 | } | |
1394 | ||
1395 | // Picture wall CSS | |
1396 | .picwall-container { | |
1397 | clear: both; | |
1398 | margin: 0 10px 10px; | |
1399 | background-color: $almost-white; | |
1400 | color: $dark-grey; | |
1401 | } | |
1402 | ||
1403 | .picwall-pictureframe { | |
1404 | display: table-cell; | |
1405 | position: relative; | |
1406 | float: left; | |
1407 | z-index: 5; | |
1408 | margin: 2px; | |
1409 | background-color: $almost-white; | |
1410 | width: 90px; | |
1411 | height: 90px; | |
1412 | overflow: hidden; | |
1413 | vertical-align: middle; | |
1414 | text-align: center; | |
1415 | ||
1416 | // Adapt the width of the image | |
1417 | img { | |
402b0346 A |
1418 | max-width: 100%; |
1419 | height: auto; | |
1420 | color: transparent; | |
c69585f3 | 1421 | } |
402b0346 | 1422 | |
c69585f3 | 1423 | a { |
402b0346 | 1424 | text-decoration: none; |
c69585f3 | 1425 | } |
402b0346 | 1426 | |
c69585f3 A |
1427 | span { |
1428 | &.info { | |
1429 | display: none; | |
1430 | font-family: Arial, sans-serif; | |
1431 | } | |
1432 | } | |
1433 | ||
1434 | // CSS to show title when hovering an image - no javascript required. | |
1435 | &:hover { | |
1436 | span { | |
1437 | &.info { | |
1438 | display: block; | |
1439 | position: absolute; | |
1440 | top: 0; | |
1441 | left: 0; | |
1442 | background-color: $dark-shadow; | |
1443 | width: 90px; | |
1444 | height: 90px; | |
1445 | text-align: left; | |
1446 | color: $almost-white; | |
1447 | font-size: 9pt; | |
1448 | font-weight: bold; | |
1449 | } | |
1450 | } | |
1451 | } | |
402b0346 A |
1452 | } |
1453 | ||
c69585f3 A |
1454 | .b-lazy { |
1455 | transition: opacity 500ms ease-in-out; | |
1456 | opacity: 0; | |
1457 | -webkit-transition: opacity 500ms ease-in-out; | |
1458 | -moz-transition: opacity 500ms ease-in-out; | |
1459 | -o-transition: opacity 500ms ease-in-out; | |
b5e2b23c A |
1460 | min-width: 1px; |
1461 | min-height: 1px; | |
c69585f3 A |
1462 | |
1463 | &.b-loaded { | |
1464 | opacity: 1; | |
1465 | } | |
402b0346 A |
1466 | } |
1467 | ||
c69585f3 | 1468 | // DAILY |
402b0346 | 1469 | .daily-desc { |
c69585f3 A |
1470 | color: $light-grey; |
1471 | font-size: .8em; | |
402b0346 | 1472 | |
c69585f3 | 1473 | a { |
402b0346 | 1474 | text-decoration: none; |
c69585f3 | 1475 | color: $dark-grey; |
402b0346 | 1476 | |
c69585f3 A |
1477 | &:hover { |
1478 | color: $light-grey; | |
1479 | } | |
1480 | } | |
1481 | } | |
1482 | ||
1483 | .daily-about { | |
1484 | h3 { | |
1485 | &::before, | |
1486 | &::after { | |
1487 | display: block; | |
1488 | margin: 10px auto; | |
a5a0c039 | 1489 | background: linear-gradient(to right, var(--background-color), $dark-grey, var(--background-color)); |
c69585f3 A |
1490 | width: 90%; |
1491 | height: 1px; | |
1492 | content: ''; | |
1493 | } | |
1494 | } | |
402b0346 A |
1495 | } |
1496 | ||
1497 | .daily-entry { | |
c69585f3 | 1498 | padding: 0 10px; |
402b0346 | 1499 | |
c69585f3 A |
1500 | .daily-entry-title { |
1501 | margin: 10px 0 0; | |
402b0346 | 1502 | |
c69585f3 A |
1503 | a { |
1504 | text-decoration: none; | |
1505 | color: $black; | |
1506 | } | |
402b0346 | 1507 | |
c69585f3 A |
1508 | &::after { |
1509 | display: block; | |
1510 | margin: 5px auto; | |
1511 | background: linear-gradient(to right, $white, $light-grey, $white); | |
1512 | width: 70%; | |
1513 | height: 1px; | |
1514 | content: ''; | |
1515 | } | |
1516 | } | |
402b0346 | 1517 | |
c69585f3 A |
1518 | .daily-entry-description { |
1519 | padding: 5px 5px 0; | |
402b0346 | 1520 | text-align: justify; |
c69585f3 | 1521 | font-size: .9em; |
402b0346 | 1522 | word-wrap: break-word; |
c69585f3 | 1523 | } |
402b0346 | 1524 | |
c69585f3 A |
1525 | .daily-entry-tags { |
1526 | padding: 0 5px 5px; | |
1527 | font-size: .8em; | |
1528 | } | |
402b0346 A |
1529 | } |
1530 | ||
1531 | .daily-entry-thumbnail { | |
c69585f3 A |
1532 | float: left; |
1533 | margin: 15px 5px 5px 15px; | |
402b0346 A |
1534 | } |
1535 | ||
c69585f3 A |
1536 | .daily-entry-description { |
1537 | a { | |
402b0346 | 1538 | text-decoration: none; |
a5a0c039 | 1539 | color: var(--main-color); |
402b0346 | 1540 | |
c69585f3 A |
1541 | &:hover { |
1542 | text-shadow: 1px 1px $background-linklist-info; | |
1543 | } | |
402b0346 | 1544 | |
c69585f3 | 1545 | &:visited { |
a5a0c039 | 1546 | color: var(--dark-main-color); |
c69585f3 A |
1547 | } |
1548 | } | |
402b0346 | 1549 | } |
70401690 | 1550 | |
c69585f3 | 1551 | // Fix empty bookmarklet name in Firefox |
70401690 | 1552 | .pure-button { |
c69585f3 | 1553 | -moz-user-select: auto; |
70401690 | 1554 | } |
aa4797ba A |
1555 | |
1556 | .tag-sort { | |
c69585f3 A |
1557 | margin-top: 30px; |
1558 | text-align: center; | |
aa4797ba | 1559 | |
c69585f3 | 1560 | a { |
f4ea7cd5 | 1561 | background: $almost-white; |
aa4797ba | 1562 | display: inline-block; |
f4ea7cd5 | 1563 | padding: 5px; |
aa4797ba | 1564 | text-decoration: none; |
f4ea7cd5 | 1565 | color: $dark-grey; |
c69585f3 | 1566 | } |
aa4797ba | 1567 | } |
94c17565 | 1568 | |
c69585f3 A |
1569 | // Markdown |
1570 | .markdown { | |
1571 | p { | |
94c17565 | 1572 | margin: 0 !important; |
c69585f3 | 1573 | } |
94c17565 | 1574 | |
c69585f3 A |
1575 | p + p { |
1576 | margin: .5em 0 0 !important; | |
1577 | } | |
94c17565 | 1578 | |
c69585f3 A |
1579 | * { |
1580 | &:first-child { | |
1581 | margin-top: 0 !important; | |
1582 | } | |
94c17565 | 1583 | |
c69585f3 A |
1584 | &:last-child { |
1585 | margin-bottom: 5px !important; | |
1586 | } | |
1587 | } | |
055ce4bd A |
1588 | } |
1589 | ||
c69585f3 | 1590 | // Pure Button |
055ce4bd A |
1591 | .pure-button-success, |
1592 | .pure-button-error, | |
1593 | .pure-button-warning, | |
1594 | .pure-button-primary, | |
1595 | .pure-button-shaarli, | |
1596 | .pure-button-secondary { | |
c69585f3 A |
1597 | border-radius: 4px; |
1598 | text-shadow: 0 1px 1px $dark-shadow; | |
1599 | color: $white !important; | |
055ce4bd A |
1600 | } |
1601 | ||
1602 | .pure-button-shaarli { | |
a5a0c039 | 1603 | background-color: var(--main-color); |
055ce4bd | 1604 | } |
28f26524 A |
1605 | |
1606 | .progressbar { | |
1607 | border-radius: 6px; | |
a5a0c039 | 1608 | background-color: var(--main-color); |
28f26524 A |
1609 | padding: 1px; |
1610 | ||
1611 | > div { | |
1612 | border-radius: 10px; | |
96746d71 A |
1613 | background: |
1614 | repeating-linear-gradient( | |
1615 | -45deg, | |
1616 | $almost-white, | |
1617 | $almost-white 6px, | |
1618 | var(--background-color) 6px, | |
1619 | var(--background-color) 12px | |
1620 | ); | |
28f26524 A |
1621 | width: 0%; |
1622 | height: 10px; | |
1623 | } | |
1624 | } | |
1625 | ||
1626 | .thumbnails-page-container { | |
1627 | .progress-counter { | |
1628 | padding: 10px 0 20px; | |
1629 | } | |
1630 | ||
1631 | .thumbnail-placeholder { | |
1632 | margin: 10px auto; | |
1633 | background-color: $light-grey; | |
1634 | } | |
1635 | ||
1636 | .thumbnail-link-title { | |
1637 | padding-bottom: 20px; | |
1638 | overflow: hidden; | |
1639 | text-overflow: ellipsis; | |
1640 | white-space: nowrap; | |
1641 | } | |
1642 | } | |
374f89e7 A |
1643 | |
1644 | // Print rules | |
1645 | @media print { | |
1646 | .shaarli-menu { | |
1647 | position: absolute; | |
1648 | } | |
1649 | ||
1650 | .search-linklist, | |
1651 | .link-count-block, | |
1652 | .linklist-item-infos-controls-group, | |
1653 | .mobile-buttons { | |
1654 | display: none; | |
1655 | } | |
1656 | } |