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