]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/Resources/static/themes/baggy/css/main.css
Add eslint & stylelint tests (fix a few things) and move dependencies to dev
[github/wallabag/wallabag.git] / app / Resources / static / themes / baggy / css / main.css
CommitLineData
19f2f11e
NL
1/* ==========================================================================
2 Sommaire
3
4 1 = Style Guide
5 2 = Layout
6 3 = Pictos
7 4 = Messages
8 5 = Article
9 6 = Media queries
371ac69a 10
19f2f11e
NL
11 ========================================================================== */
12
13html {
14 min-height: 100%;
15}
16
17body {
5ecdfcd0 18 background-color: #eee;
19f2f11e
NL
19}
20
21.login {
22 background-color: #333;
23}
24
25.login #main {
26 padding: 0;
27 margin: 0;
28}
29
30.login form {
5ecdfcd0 31 background-color: #fff;
19f2f11e 32 padding: 1.5em;
5ecdfcd0 33 box-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
19f2f11e
NL
34 width: 20em;
35 position: absolute;
36 top: 8em;
37 left: 50%;
38 margin-left: -10em;
39}
40
41.login .logo {
42 position: absolute;
43 top: 2em;
44 left: 50%;
371ac69a 45 margin-left: -55px;
19f2f11e
NL
46}
47
48/* ==========================================================================
49 1 = Style Guide
50 ========================================================================== */
51
371ac69a 52::selection {
5ecdfcd0 53 color: #fff;
19f2f11e 54 background-color: #000;
371ac69a 55}
19f2f11e
NL
56
57.desktopHide {
58 display: none;
59}
60
61.logo {
62 position: fixed;
63 z-index: 20;
64 top: 0.4em;
371ac69a 65 left: 0.6em;
19f2f11e
NL
66}
67
5ecdfcd0
TC
68h2,
69h3,
70h4 {
71 font-family: "PT Sans", sans-serif;
19f2f11e
NL
72 text-transform: uppercase;
73}
74
5ecdfcd0
TC
75p,
76li,
77label {
19f2f11e
NL
78 color: #666;
79}
80
81a {
82 color: #000;
83 font-weight: bold;
84}
85
5ecdfcd0 86a.nostyle {
1d4d9aaf 87 text-decoration: none;
5ecdfcd0
TC
88}
89
90a:hover,
91a:focus {
19f2f11e
NL
92 text-decoration: none;
93}
94
95form fieldset {
5ecdfcd0 96 border: 0;
19f2f11e
NL
97 padding: 0;
98 margin: 0;
99}
100
5ecdfcd0
TC
101form input[type="text"],
102form input[type="number"],
103select,
104form input[type="password"],
105form input[type="url"],
106form input[type="email"] {
19f2f11e
NL
107 border: 1px solid #999;
108 padding: 0.5em 1em;
109 min-width: 12em;
110 color: #666;
111}
112
5ecdfcd0
TC
113@media screen and (-webkit-min-device-pixel-ratio: 0) {
114 select {
19f2f11e
NL
115 -webkit-appearance: none;
116 border-radius: 0;
5ecdfcd0 117 background: #fff url("../../_global/img/bg-select.png") no-repeat right center;
19f2f11e
NL
118 }
119}
120
121.inline .row {
122 display: inline-block;
123 margin-right: 0.5em;
124}
125
126.inline label {
127 min-width: 6em;
128}
129
130fieldset label {
131 display: inline-block;
132 min-width: 12.5em;
133 color: #666;
134}
135
136label {
137 margin-right: 0.5em;
138}
139
140form .row {
141 margin-bottom: 0.5em;
142}
143
5ecdfcd0
TC
144form button,
145input[type="submit"] {
146 cursor: pointer;
19f2f11e 147 background-color: #000;
5ecdfcd0 148 color: #fff;
19f2f11e
NL
149 padding: 0.5em 1em;
150 display: inline-block;
5ecdfcd0 151 border: 1px solid #000;
19f2f11e
NL
152}
153
5ecdfcd0
TC
154form button:hover,
155form button:focus,
156input[type="submit"]:hover,
157input[type="submit"]:focus {
158 background-color: #fff;
159 color: #000;
160 -webkit-transition: all 0.5s ease;
161 -moz-transition: all 0.5s ease;
162 -ms-transition: all 0.5s ease;
163 -o-transition: all 0.5s ease;
164 transition: all 0.5s ease;
165}
19f2f11e
NL
166
167#bookmarklet {
168 cursor: move;
371ac69a 169}
19f2f11e 170
5ecdfcd0 171h2::after {
19f2f11e
NL
172 content: "";
173 height: 4px;
174 width: 70px;
175 background-color: #000;
176 display: block;
177}
178
179.links {
180 padding: 0;
181 margin: 0;
182}
19f2f11e 183
5ecdfcd0
TC
184.links li {
185 list-style: none;
186 margin: 0;
187 padding: 0;
188}
19f2f11e
NL
189
190#links {
191 position: fixed;
192 top: 0;
193 width: 10em;
194 left: 0;
195 text-align: right;
196 background-color: #333;
197 padding-top: 9.5em;
198 height: 100%;
5ecdfcd0 199 box-shadow: inset -4px 0 20px rgba(0, 0, 0, 0.6);
19f2f11e
NL
200 z-index: 15;
201}
202
203#main {
1d4d9aaf 204 margin-left: 12em;
19f2f11e
NL
205 position: relative;
206 z-index: 10;
207 padding-right: 5%;
208 padding-bottom: 1em;
209}
210
5ecdfcd0
TC
211#links > li > a {
212 display: block;
213 padding: 0.5em 2em 0.5em 1em;
214 color: #fff;
215 position: relative;
216 text-transform: uppercase;
217 text-decoration: none;
218 font-weight: normal;
219 font-family: "PT Sans", sans-serif;
220 -webkit-transition: all 0.5s ease;
221 -moz-transition: all 0.5s ease;
222 -ms-transition: all 0.5s ease;
223 -o-transition: all 0.5s ease;
224 transition: all 0.5s ease;
225}
19f2f11e 226
5ecdfcd0
TC
227#links > li > a:hover,
228#links > li > a:focus {
229 background-color: #999;
230 color: #000;
231}
19f2f11e 232
5ecdfcd0
TC
233#links .current::after {
234 content: "";
235 width: 0;
236 height: 0;
237 position: absolute;
238 border-style: solid;
239 border-width: 10px;
240 border-color: transparent #eee transparent transparent;
241 right: 0;
242 top: 50%;
243 margin-top: -10px;
244}
19f2f11e 245
5ecdfcd0
TC
246#links li:last-child {
247 position: fixed;
248 bottom: 1em;
249 width: 10em;
250}
19f2f11e 251
5ecdfcd0
TC
252#links li:last-child a::before {
253 font-size: 1.2em;
254 position: relative;
255 top: 2px;
256}
19f2f11e
NL
257
258#sort {
5ecdfcd0
TC
259 padding: 0;
260 list-style-type: none;
261 opacity: 0.5;
262 display: inline-block;
19f2f11e
NL
263}
264
265#sort li {
5ecdfcd0
TC
266 display: inline;
267 font-size: 0.9em;
19f2f11e
NL
268}
269
270#sort li + li {
5ecdfcd0 271 margin-left: 10px;
19f2f11e
NL
272}
273
274#sort a {
5ecdfcd0
TC
275 padding: 2px 2px 0;
276 vertical-align: middle;
19f2f11e
NL
277}
278
279#sort img {
5ecdfcd0 280 vertical-align: baseline;
19f2f11e 281}
5ecdfcd0 282
19f2f11e 283#sort img:hover {
5ecdfcd0 284 cursor: pointer;
19f2f11e
NL
285}
286
287#display-mode {
288 float: right;
19f2f11e
NL
289 margin-top: 10px;
290 margin-bottom: 10px;
291 opacity: 0.5;
292}
5ecdfcd0 293
19f2f11e
NL
294#listmode {
295 width: 16px;
296 display: inline-block;
297 text-decoration: none;
298}
5ecdfcd0 299
19f2f11e
NL
300#listmode a:hover {
301 opacity: 1;
302}
5ecdfcd0 303
19f2f11e
NL
304#listmode.tablemode {
305 background-image: url("../img/baggy/table.png");
306 background-repeat: no-repeat;
307 background-position: bottom;
308}
5ecdfcd0 309
19f2f11e
NL
310#listmode.listmode {
311 background-image: url("../img/baggy/list.png");
312 background-repeat: no-repeat;
313 background-position: bottom;
314}
315
5ecdfcd0
TC
316#warning_message {
317 position: fixed;
318 background-color: #ff6347;
319 z-index: 1000;
320 bottom: 0;
321 left: 0;
322 width: 100%;
323 color: #000;
324}
19f2f11e
NL
325
326/* ==========================================================================
327 2 = Layout
328 ========================================================================== */
371ac69a 329
19f2f11e 330#content {
56349e47 331 margin-top: 2em;
19f2f11e
NL
332 min-height: 30em;
333}
334
335footer {
336 text-align: right;
337 position: relative;
338 bottom: 0;
339 right: 5em;
340 color: #999;
341 font-size: 0.8em;
342 font-style: italic;
343 z-index: 20;
344}
345
346footer a {
347 color: #999;
348 font-weight: normal;
349}
350
351.list-entries {
5ecdfcd0 352 letter-spacing: -5px;
19f2f11e
NL
353}
354
26864574 355.listmode .entry {
5ecdfcd0
TC
356 width: 100% !important;
357 margin-left: 0 !important;
19f2f11e
NL
358}
359
1d4d9aaf
TC
360.card-entry-labels {
361 position: absolute;
362 top: 100px;
363 left: -1em;
364 z-index: 90;
365 max-width: 50%;
366 padding-left: 0;
367}
368
369.card-entry-labels li {
370 margin: 10px 10px 10px auto;
371 padding: 5px 12px 5px 25px;
372 background-color: rgba(0, 0, 0, 0.6);
373 border-radius: 0 3px 3px 0;
374 color: #fff;
375 cursor: default;
376 max-height: 2em;
377 overflow: hidden;
378 text-overflow: ellipsis;
379 white-space: nowrap;
380}
381
382.card-entry-tags {
383 max-height: 2em;
384 overflow-y: hidden;
385 padding: 0;
386}
387
388.card-entry-tags li {
389 display: inline-block;
390 margin: 0 5px;
391 padding: 5px 12px;
392 background-color: rgba(0, 0, 0, 0.6);
393 border-radius: 3px;
394 max-height: 2em;
395 overflow: hidden;
396 text-overflow: ellipsis;
397 color: #fff;
398}
399
19f2f11e
NL
400.list-entries + .results {
401 margin-bottom: 2em;
402}
403
404.estimatedTime .reading-time {
405 color: #999;
406 font-style: italic;
407 font-weight: normal;
408 font-size: 0.9em;
409}
410
411.estimatedTime small {
412 position: relative;
413 top: -1px;
414}
415
26864574 416.entry {
5ecdfcd0
TC
417 background-color: #fff;
418 letter-spacing: normal;
419 box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
19f2f11e
NL
420 display: inline-block;
421 width: 32%;
422 margin-bottom: 1.5em;
423 vertical-align: top;
1d4d9aaf 424 margin-right: 1%;
19f2f11e
NL
425 position: relative;
426 overflow: hidden;
1d4d9aaf
TC
427 padding: 1.5em 1.5em 3em;
428 height: 440px;
19f2f11e
NL
429}
430
5ecdfcd0 431.entry::before {
19f2f11e
NL
432 content: "";
433 width: 0;
434 height: 0;
5ecdfcd0 435 border-style: solid;
1d4d9aaf 436 border-color: transparent transparent #000;
19f2f11e
NL
437 border-width: 10px;
438 position: absolute;
439 bottom: 0.3em;
440 z-index: 10;
441 right: 1.5em;
442 -webkit-transition: all 0.5s ease;
5ecdfcd0
TC
443 -moz-transition: all 0.5s ease;
444 -ms-transition: all 0.5s ease;
445 -o-transition: all 0.5s ease;
446 transition: all 0.5s ease;
19f2f11e
NL
447}
448
5ecdfcd0 449.entry::after {
19f2f11e
NL
450 content: "";
451 position: absolute;
452 height: 7px;
453 width: 100%;
454 bottom: 0;
455 left: 0;
456 background-color: #000;
457 -webkit-transition: all 0.5s ease;
5ecdfcd0
TC
458 -moz-transition: all 0.5s ease;
459 -ms-transition: all 0.5s ease;
460 -o-transition: all 0.5s ease;
461 transition: all 0.5s ease;
19f2f11e
NL
462}
463
26864574 464.entry:hover {
5ecdfcd0 465 box-shadow: 0 3px 10px rgba(0, 0, 0, 1);
19f2f11e
NL
466}
467
5ecdfcd0 468.entry:hover::after {
19f2f11e
NL
469 height: 40px;
470}
471
5ecdfcd0 472.entry:hover::before {
19f2f11e
NL
473 bottom: 2.4em;
474}
475
26864574 476.entry:hover h2 a {
19f2f11e
NL
477 color: #666;
478}
479
26864574 480.entry h2 {
19f2f11e
NL
481 text-transform: none;
482 margin-bottom: 0;
483 line-height: 1.2;
484}
485
5ecdfcd0
TC
486.entry h2::after {
487 content: none;
488}
19f2f11e 489
26864574 490.entry h2 a {
19f2f11e
NL
491 display: block;
492 text-decoration: none;
493 color: #000;
494 word-wrap: break-word;
495 -webkit-transition: all 0.5s ease;
5ecdfcd0
TC
496 -moz-transition: all 0.5s ease;
497 -ms-transition: all 0.5s ease;
498 -o-transition: all 0.5s ease;
499 transition: all 0.5s ease;
19f2f11e 500}
19f2f11e 501
b026d3b1 502img.preview {
1d4d9aaf
TC
503 max-width: calc(100% + 3em);
504 left: -1.5em;
505 position: relative;
b026d3b1
NL
506}
507
26864574 508.entry p {
19f2f11e
NL
509 color: #666;
510 font-size: 0.9em;
511 line-height: 1.7;
512}
513
5ecdfcd0
TC
514.entry h2 a::first-letter {
515 text-transform: uppercase;
516}
19f2f11e 517
26864574 518.entry:hover .tools {
19f2f11e
NL
519 bottom: 0;
520}
521
26864574 522.entry .tools {
19f2f11e
NL
523 position: absolute;
524 bottom: -50px;
525 left: 0;
526 width: 100%;
527 z-index: 10;
528 padding-right: 0.5em;
529 text-align: right;
530 -webkit-transition: all 0.5s ease;
5ecdfcd0
TC
531 -moz-transition: all 0.5s ease;
532 -ms-transition: all 0.5s ease;
533 -o-transition: all 0.5s ease;
534 transition: all 0.5s ease;
19f2f11e
NL
535}
536
5ecdfcd0
TC
537.entry .tools a {
538 color: #666;
539 text-decoration: none;
540 display: block;
541 padding: 0.4em;
542}
19f2f11e 543
5ecdfcd0
TC
544.entry .tools a:hover {
545 color: #fff;
546}
19f2f11e 547
5ecdfcd0
TC
548.entry .tools li {
549 display: inline-block;
550}
19f2f11e 551
26864574 552.entry:nth-child(3n+1) {
19f2f11e
NL
553 margin-left: 0;
554}
555
556.results {
557 letter-spacing: -5px;
558 padding: 0 0 0.5em;
559}
560
561.results > * {
562 display: inline-block;
563 vertical-align: top;
564 letter-spacing: normal;
565 width: 50%;
5ecdfcd0 566 text-align: right;
19f2f11e
NL
567}
568
624a7c6d 569div.pagination ul {
19f2f11e 570 text-align: right;
5ecdfcd0 571 margin-bottom: 50px;
19f2f11e
NL
572}
573
574.nb-results {
575 text-align: left;
576 font-style: italic;
577 color: #999;
578}
579
624a7c6d 580div.pagination ul > * {
19f2f11e
NL
581 display: inline-block;
582 margin-left: 0.5em;
583}
584
624a7c6d 585div.pagination ul a {
19f2f11e
NL
586 color: #999;
587 text-decoration: none;
588}
589
5ecdfcd0
TC
590div.pagination ul a:hover,
591div.pagination ul a:focus {
592 text-decoration: underline;
624a7c6d 593}
19f2f11e 594
5ecdfcd0
TC
595div.pagination ul .prev.disabled,
596div.pagination ul .next.disabled {
19f2f11e
NL
597 display: none;
598}
599
624a7c6d 600div.pagination ul .current {
9fb6ac83
FG
601 height: 25px;
602 padding: 4px 8px;
603 border: 1px solid #d5d5d5;
604 text-decoration: none;
605 font-weight: bold;
606 color: #000;
607 background-color: #ccc;
608}
609
19f2f11e
NL
610/* ==========================================================================
611 2.1 = "save a link" related styles
612 ========================================================================== */
613
614.popup-form {
5ecdfcd0 615 background: rgba(0, 0, 0, 0.5);
19f2f11e
NL
616 position: absolute;
617 top: 0;
618 left: 10em;
619 z-index: 20;
620 height: 100%;
621 width: 100%;
622 margin: 0;
b0b893ea 623 margin-top: -30% !important;
19f2f11e
NL
624 padding: 2em;
625 display: none;
5ecdfcd0 626 border-left: 1px #eee solid;
19f2f11e
NL
627}
628
5ecdfcd0
TC
629.popup-form form {
630 background-color: #fff;
0d3bafdf
JB
631 position: absolute;
632 top: 0;
633 left: 0;
634 z-index: 20;
635 border: 10px solid #000;
636 width: 400px;
637 height: 200px;
638 padding: 2em;
5ecdfcd0 639}
19f2f11e
NL
640
641#bagit-form-form .addurl {
5ecdfcd0 642 margin-left: 0;
19f2f11e
NL
643}
644
645.closeMessage,
646.close-button {
647 background-color: #000;
5ecdfcd0
TC
648 color: #fff;
649 font-size: 1.2em;
650 line-height: 1.6;
651 width: 1.6em;
652 height: 1.6em;
653 text-align: center;
19f2f11e
NL
654 text-decoration: none;
655}
5ecdfcd0
TC
656
657.closeMessage:hover,
658.closeMessage:focus,
659.close-button:hover,
660.close-button:focus {
0d3bafdf
JB
661 background-color: #999;
662 color: #000;
5ecdfcd0 663}
19f2f11e
NL
664
665.close-button--popup {
5ecdfcd0
TC
666 display: inline-block;
667 position: absolute;
668 top: 0;
669 right: 0;
670 font-size: 1.4em;
19f2f11e
NL
671}
672
673.active-current {
674 background-color: #999;
675}
676
5ecdfcd0 677.active-current::after {
19f2f11e
NL
678 content: "";
679 width: 0;
680 height: 0;
681 position: absolute;
682 border-style: solid;
683 border-width: 10px;
5ecdfcd0 684 border-color: transparent #eee transparent transparent;
19f2f11e
NL
685 right: 0;
686 top: 50%;
687 margin-top: -10px;
688}
689
690.opacity03 {
691 opacity: 0.3;
692}
693
694.add-to-wallabag-link-after {
695 background-color: #000;
696 color: #fff;
1d4d9aaf 697 padding: 0 3px 2px;
19f2f11e
NL
698}
699
700a.add-to-wallabag-link-after {
5ecdfcd0
TC
701 visibility: hidden;
702 position: absolute;
703 opacity: 0;
704 transition-duration: 2s;
705 transition-timing-function: ease-out;
19f2f11e
NL
706}
707
5ecdfcd0
TC
708#article article a:hover + a.add-to-wallabag-link-after,
709a.add-to-wallabag-link-after:hover {
710 opacity: 1;
711 visibility: visible;
712 transition-duration: 0.3s;
713 transition-timing-function: ease-in;
19f2f11e
NL
714}
715
5ecdfcd0
TC
716a.add-to-wallabag-link-after::after {
717 content: "w";
19f2f11e
NL
718}
719
720#add-link-result {
721 font-weight: bold;
722 font-size: 0.9em;
723}
724
5ecdfcd0 725.btn-clickable {
1d4d9aaf 726 cursor: pointer;
5ecdfcd0
TC
727}
728
19f2f11e
NL
729/* ==========================================================================
730 3 = Pictos
731 ========================================================================== */
371ac69a 732
19f2f11e 733@font-face {
5ecdfcd0 734 font-family: icomoon;
0471e905 735 src: url("../fonts/IcoMoon-Free.ttf");
19f2f11e
NL
736 font-weight: normal;
737 font-style: normal;
738}
739
5ecdfcd0
TC
740@font-face {
741 font-family: 'Material Icons';
742 font-style: normal;
743 font-weight: 400;
744 src: url(../fonts/MaterialIcons-Regular.eot);
1d4d9aaf 745
5ecdfcd0
TC
746 /* For IE6-8 */
747 src: local("Material Icons"), local("MaterialIcons-Regular"), url(../fonts/MaterialIcons-Regular.woff2) format("woff2"), url(../fonts/MaterialIcons-Regular.woff) format("woff"), url(../fonts/MaterialIcons-Regular.ttf) format("truetype");
748}
749
750.material-icons {
751 font-family: 'Material Icons';
752 font-weight: normal;
753 font-style: normal;
754 font-size: 1em; /* Preferred icon size */
755 width: 1em;
756 height: 1em;
757 display: inline-block;
758 line-height: 1;
759 text-transform: none;
760 letter-spacing: normal;
761 word-wrap: normal;
762 white-space: nowrap;
763 direction: ltr;
764
765 /* Support for all WebKit browsers. */
766 -webkit-font-smoothing: antialiased;
1d4d9aaf 767
5ecdfcd0
TC
768 /* Support for Safari and Chrome. */
769 text-rendering: optimizeLegibility;
770
771 /* Support for Firefox. */
772 -moz-osx-font-smoothing: grayscale;
773
774 /* Support for IE. */
775 font-feature-settings: 'liga';
776}
777
778.material-icons.md-18 { font-size: 18px; }
779.material-icons.md-24 { font-size: 24px; }
780.material-icons.md-36 { font-size: 36px; }
781.material-icons.md-48 { font-size: 48px; }
782
19f2f11e
NL
783.icon span,
784.icon-image span {
785 position: absolute;
786 top: -9999px;
787}
788
5ecdfcd0
TC
789[class^="icon-"]::before,
790[class*=" icon-"]::before {
791 font-family: icomoon;
19f2f11e
NL
792 speak: none;
793 font-style: normal;
794 font-weight: normal;
795 font-variant: normal;
796 text-transform: none;
797 line-height: 1;
798
a494c33e
TC
799 /* Enable Ligatures ================ */
800 letter-spacing: 0;
801 -webkit-font-feature-settings: "liga";
802 -moz-font-feature-settings: "liga=1";
803 -moz-font-feature-settings: "liga";
804 -ms-font-feature-settings: "liga" 1;
805 -o-font-feature-settings: "liga";
806 font-feature-settings: "liga";
807
19f2f11e
NL
808 /* Better Font Rendering =========== */
809 -webkit-font-smoothing: antialiased;
810 -moz-osx-font-smoothing: grayscale;
811}
812
5ecdfcd0
TC
813.icon-flattr::before {
814 content: "\ead4";
19f2f11e 815}
5ecdfcd0
TC
816
817.icon-mail::before {
818 content: "\ea86";
19f2f11e 819}
5ecdfcd0
TC
820
821.icon-up-open::before {
19f2f11e
NL
822 content: "\e80b";
823}
5ecdfcd0
TC
824
825.icon-star::before {
826 content: "\e9d9";
19f2f11e 827}
5ecdfcd0
TC
828
829.icon-check::before {
830 content: "\ea10";
19f2f11e 831}
5ecdfcd0
TC
832
833.icon-link::before {
834 content: "\e9cb";
19f2f11e 835}
5ecdfcd0
TC
836
837.icon-reply::before {
19f2f11e
NL
838 content: "\e806";
839}
5ecdfcd0
TC
840
841.icon-menu::before {
842 content: "\e9bd";
19f2f11e 843}
5ecdfcd0
TC
844
845.icon-clock::before {
19f2f11e
NL
846 content: "\e803";
847}
5ecdfcd0
TC
848
849.icon-twitter::before {
a494c33e 850 content: "\ea96";
19f2f11e 851}
5ecdfcd0
TC
852
853.icon-down-open::before {
19f2f11e
NL
854 content: "\e809";
855}
5ecdfcd0
TC
856
857.icon-trash::before {
858 content: "\e9ac";
19f2f11e 859}
5ecdfcd0
TC
860
861.icon-delete::before {
862 content: "\ea0d";
19f2f11e 863}
5ecdfcd0
TC
864
865.icon-power::before {
866 content: "\ea14";
19f2f11e 867}
5ecdfcd0
TC
868
869.icon-arrow-up-thick::before {
870 content: "\ea3a";
19f2f11e 871}
5ecdfcd0
TC
872
873.icon-rss::before {
19f2f11e
NL
874 content: "\e808";
875}
5ecdfcd0
TC
876
877.icon-print::before {
878 content: "\e954";
19f2f11e 879}
5ecdfcd0
TC
880
881.icon-reload::before {
0cf434c0
JB
882 content: "\ea2e";
883}
19f2f11e 884
5ecdfcd0
TC
885.icon-price-tags::before {
886 content: "\e936";
887}
19f2f11e 888
a494c33e
TC
889.icon-eye::before {
890 content: "\e9ce";
891}
892
893.icon-no-eye::before {
894 content: "\e9d1";
895}
896
897.icon-calendar::before {
898 content: "\e953";
899}
900
901.icon-time::before {
902 content: "\e952";
903}
904
19f2f11e 905/* .icon-image class, for image-based icons
0d3bafdf 906 ========================================================================== */
19f2f11e
NL
907
908.icon-image {
5ecdfcd0 909 background-size: 16px 16px;
9f7d154e
TC
910 background-repeat: no-repeat;
911 background-position: center;
5ecdfcd0
TC
912 padding-right: 1em !important;
913 padding-left: 1em !important;
19f2f11e
NL
914}
915
916/* Carrot (http://carrot.org) */
917.icon-image--carrot {
5ecdfcd0 918 background-image: url("../../_global/img/icons/carrot-icon--white.png");
19f2f11e
NL
919}
920
921/* Diaspora */
922.icon-image--diaspora {
5ecdfcd0 923 background-image: url("../../_global/img/icons/diaspora-icon--black.png");
a24c1ee3 924}
19f2f11e 925
9f3a1cd2 926/* shaarli */
a494c33e
TC
927.icon-image--shaarli {
928 background-image: url("../../_global/img/icons/shaarli.png");
929}
930
19f2f11e
NL
931/* ==========================================================================
932 Icon selected
933 ========================================================================== */
934
5ecdfcd0
TC
935.icon-star.fav::before {
936 color: #fff;
19f2f11e
NL
937}
938
5ecdfcd0
TC
939.icon-check.archive::before {
940 color: #fff;
19f2f11e
NL
941}
942
943/* ==========================================================================
944 4 = Messages
945 ========================================================================== */
946
947.messages {
948 text-align: left;
949 margin-top: 1em;
950}
951
5ecdfcd0
TC
952.messages > * {
953 display: inline-block;
954}
19f2f11e
NL
955
956.warning {
19f2f11e
NL
957 font-weight: bold;
958 display: block;
959 width: 100%;
960}
961
962.more-info {
5ecdfcd0 963 font-size: 0.85em;
19f2f11e 964 line-height: 1.5;
5ecdfcd0 965 color: #aaa;
19f2f11e
NL
966}
967
5ecdfcd0 968.more-info a {
0d3bafdf 969 color: #aaa;
5ecdfcd0 970}
19f2f11e
NL
971
972/* ==========================================================================
973 5 = Article
974 ========================================================================== */
975
976#article {
977 width: 70%;
978 margin-bottom: 3em;
979 text-align: justify;
980}
981
982#article .tags {
983 margin-bottom: 1em;
984}
985
986#article i {
987 font-style: normal;
988}
989
990blockquote {
5ecdfcd0
TC
991 border: 1px solid #999;
992 background-color: #fff;
19f2f11e
NL
993 padding: 1em;
994 margin: 0;
995}
996
997#article h1 {
998 text-align: left;
999}
1000
5ecdfcd0
TC
1001#article h2,
1002#article h3,
1003#article h4 {
19f2f11e
NL
1004 text-transform: none;
1005}
1006
5ecdfcd0 1007#article h2::after {
19f2f11e
NL
1008 content: none;
1009}
1010
1011.topPosF {
1012 position: fixed;
1013 right: 20%;
1014 bottom: 2em;
1015 font-size: 1.5em;
1016}
1017
1018#article_toolbar {
1019 margin-bottom: 1em;
1020}
1021
1022#article_toolbar li {
1023 display: inline-block;
1024}
1025
1026#article_toolbar a {
1027 background-color: #000;
1028 padding: 0.3em 0.5em 0.2em;
5ecdfcd0 1029 color: #fff;
19f2f11e
NL
1030 text-decoration: none;
1031}
371ac69a 1032
5ecdfcd0
TC
1033#article_toolbar a:hover,
1034#article_toolbar a:focus {
56349e47
TC
1035 background-color: #999;
1036}
1037
1038#nav-btn-add-tag {
5ecdfcd0 1039 cursor: pointer;
56349e47 1040}
19f2f11e 1041
5ecdfcd0 1042.shaarli::before {
19f2f11e
NL
1043 content: "*";
1044}
1045
1046.return {
1047 text-decoration: none;
1048 margin-top: 1em;
1049 display: block;
1050}
1051
5ecdfcd0 1052.return::before {
19f2f11e
NL
1053 margin-right: 0.5em;
1054}
1055
1056.notags {
1057 font-style: italic;
1058 color: #999;
1059}
1060
1061.icon-rss {
1062 background-color: #000;
5ecdfcd0 1063 color: #fff;
19f2f11e
NL
1064 padding: 0.2em 0.5em;
1065}
1066
5ecdfcd0 1067.icon-rss::before {
19f2f11e
NL
1068 position: relative;
1069 top: 2px;
1070}
1071
1072.list-tags li {
1073 margin-bottom: 0.5em;
1074}
1075
5ecdfcd0
TC
1076.list-tags .icon-rss:hover,
1077.list-tags .icon-rss:focus {
1078 background-color: #fff;
19f2f11e
NL
1079 color: #000;
1080 text-decoration: none;
1081}
1082
1083.list-tags a {
1084 text-decoration: none;
1085}
1086
5ecdfcd0
TC
1087.list-tags a:hover,
1088.list-tags a:focus {
19f2f11e
NL
1089 text-decoration: underline;
1090}
1091
1092pre code {
0d3bafdf 1093 font-family: "Courier New", Courier, monospace;
19f2f11e
NL
1094}
1095
c146f694 1096#filters {
5def3f58 1097 position: fixed;
1a5f7e2d 1098 width: 20%;
5def3f58
JB
1099 height: 100%;
1100 top: 0;
1101 right: 0;
5ecdfcd0 1102 background-color: #fff;
5def3f58
JB
1103 padding: 15px;
1104 padding-right: 30px;
1105 padding-top: 30px;
0d3bafdf 1106 border-left: 1px #333 solid;
5def3f58 1107 z-index: 12;
5ecdfcd0 1108 min-width: 300px;
5def3f58
JB
1109}
1110
c146f694 1111#filters form .filter-group {
5def3f58 1112 margin: 5px;
d2fcbf5d
JB
1113}
1114
5ecdfcd0 1115#download-form {
1d4d9aaf
TC
1116 position: fixed;
1117 width: 10%;
1118 height: 100%;
1119 top: 0;
1120 right: 0;
1121 background-color: #fff;
1122 padding: 15px;
1123 padding-right: 30px;
1124 padding-top: 30px;
1125 border-left: 1px #333 solid;
1126 z-index: 12;
1127 min-width: 200px;
5ecdfcd0
TC
1128}
1129
1130#download-form li {
1d4d9aaf
TC
1131 display: block;
1132 padding: 0.5em 2em 0.5em 1em;
1133 color: #fff;
1134 position: relative;
1135 text-transform: uppercase;
1136 text-decoration: none;
1137 font-weight: 400;
1138 font-family: PT Sans, sans-serif;
1139 transition: all 0.5s ease;
5ecdfcd0 1140}
19f2f11e
NL
1141
1142/* ==========================================================================
1143 6 = Media Queries
1144 ========================================================================== */
1145
1146@media screen and (max-width: 1050px) {
26864574 1147 .entry {
19f2f11e
NL
1148 width: 49%;
1149 }
c146f694 1150
26864574 1151 .entry:nth-child(3n+1) {
19f2f11e
NL
1152 margin-left: 1.5%;
1153 }
c146f694 1154
26864574 1155 .entry:nth-child(2n+1) {
19f2f11e
NL
1156 margin-left: 0;
1157 }
1158}
1159
1160@media screen and (max-width: 900px) {
1161 #article {
1162 width: 80%;
1163 }
c146f694 1164
19f2f11e
NL
1165 .topPosF {
1166 right: 2.5em;
1167 }
1168}
1169
1170@media screen and (max-width: 700px) {
26864574 1171 .entry {
19f2f11e
NL
1172 width: 100%;
1173 margin-left: 0;
1174 }
c146f694 1175
19f2f11e
NL
1176 #display-mode {
1177 display: none;
1178 }
1179}
1180
1181@media screen and (max-width: 500px) {
26864574 1182 .entry {
19f2f11e
NL
1183 width: 100%;
1184 margin-left: 0;
1185 }
5ecdfcd0 1186
19f2f11e
NL
1187 body > header {
1188 background-color: #333;
1189 position: fixed;
1190 top: 0;
1191 width: 100%;
1192 height: 3em;
1193 z-index: 11;
1194 }
5ecdfcd0 1195
19f2f11e
NL
1196 #links li:last-child {
1197 position: static;
1198 width: auto;
1199 }
5ecdfcd0
TC
1200
1201 #links li:last-child a::before {
19f2f11e
NL
1202 content: none;
1203 }
5ecdfcd0 1204
19f2f11e
NL
1205 .logo {
1206 width: 1.25em;
1207 height: 1.25em;
1208 left: 0;
1209 top: 0;
1210 }
5ecdfcd0 1211
19f2f11e
NL
1212 .login > header {
1213 position: static;
1214 }
5ecdfcd0 1215
19f2f11e
NL
1216 .login form {
1217 width: 100%;
1218 position: static;
1219 margin-left: 0;
1220 }
5ecdfcd0 1221
19f2f11e 1222 .login .logo {
19f2f11e
NL
1223 height: auto;
1224 top: 0.5em;
1225 width: 75px;
19f2f11e
NL
1226 margin-left: -37.5px;
1227 }
5ecdfcd0 1228
19f2f11e
NL
1229 .desktopHide {
1230 display: block;
1231 position: fixed;
1232 z-index: 20;
1233 top: 0;
1234 right: 0;
5ecdfcd0 1235 border: 0;
19f2f11e
NL
1236 width: 2.5em;
1237 height: 2.5em;
1238 cursor: pointer;
1239 background-color: #999;
1240 font-size: 1.2em;
1241 }
c146f694 1242
5ecdfcd0
TC
1243 .desktopHide:hover,
1244 .desktopHide:focus {
1245 background-color: #fff;
1246 }
1247
19f2f11e
NL
1248 #links {
1249 display: none;
1250 width: 100%;
1251 height: auto;
1252 padding-top: 3em;
1253 }
5ecdfcd0 1254
19f2f11e
NL
1255 #links.menu--open {
1256 display: block;
1257 }
5ecdfcd0
TC
1258
1259 footer {
19f2f11e
NL
1260 position: static;
1261 margin-right: 3em;
1262 }
5ecdfcd0 1263
19f2f11e
NL
1264 #main {
1265 margin-left: 1.5em;
1266 padding-right: 1.5em;
1267 position: static;
1268 margin-top: 3em;
1269 }
5ecdfcd0 1270
1d4d9aaf
TC
1271 .card-entry-labels {
1272 display: none;
1273 }
1274
19f2f11e
NL
1275 #article_toolbar .topPosF {
1276 display: none;
1277 }
1278
1279 #article {
1280 width: 100%;
1281 }
1282
1283 #article h1 {
1284 font-size: 1.5em;
1285 }
5ecdfcd0 1286
19f2f11e
NL
1287 #article_toolbar a {
1288 padding: 0.3em 0.4em 0.2em;
1289 }
371ac69a 1290
19f2f11e
NL
1291 #display-mode {
1292 display: none;
1293 }
1294
5ecdfcd0
TC
1295 .popup-form,
1296 #bagit-form,
1297 #search-form {
19f2f11e
NL
1298 left: 0;
1299 width: 100%;
1300 border-left: none;
1301 }
1302
1303 .popup-form form,
1304 #bagit-form form,
1305 #search-form form {
1306 width: 100%;
1307 }
1308}