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