]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/Resources/static/themes/baggy/css/main.css
Merge remote-tracking branch 'origin/master' into 2.1
[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;
1d4d9aaf
TC
484 text-align: justify;
485 -moz-text-align-last: center;
486 text-align-last: center;
19f2f11e
NL
487}
488
5ecdfcd0
TC
489.entry h2::after {
490 content: none;
491}
19f2f11e 492
26864574 493.entry h2 a {
19f2f11e
NL
494 display: block;
495 text-decoration: none;
496 color: #000;
497 word-wrap: break-word;
498 -webkit-transition: all 0.5s ease;
5ecdfcd0
TC
499 -moz-transition: all 0.5s ease;
500 -ms-transition: all 0.5s ease;
501 -o-transition: all 0.5s ease;
502 transition: all 0.5s ease;
19f2f11e 503}
19f2f11e 504
b026d3b1 505img.preview {
1d4d9aaf
TC
506 max-width: calc(100% + 3em);
507 left: -1.5em;
508 position: relative;
b026d3b1
NL
509}
510
26864574 511.entry p {
19f2f11e
NL
512 color: #666;
513 font-size: 0.9em;
514 line-height: 1.7;
515}
516
5ecdfcd0
TC
517.entry h2 a::first-letter {
518 text-transform: uppercase;
519}
19f2f11e 520
26864574 521.entry:hover .tools {
19f2f11e
NL
522 bottom: 0;
523}
524
26864574 525.entry .tools {
19f2f11e
NL
526 position: absolute;
527 bottom: -50px;
528 left: 0;
529 width: 100%;
530 z-index: 10;
531 padding-right: 0.5em;
532 text-align: right;
533 -webkit-transition: all 0.5s ease;
5ecdfcd0
TC
534 -moz-transition: all 0.5s ease;
535 -ms-transition: all 0.5s ease;
536 -o-transition: all 0.5s ease;
537 transition: all 0.5s ease;
19f2f11e
NL
538}
539
5ecdfcd0
TC
540.entry .tools a {
541 color: #666;
542 text-decoration: none;
543 display: block;
544 padding: 0.4em;
545}
19f2f11e 546
5ecdfcd0
TC
547.entry .tools a:hover {
548 color: #fff;
549}
19f2f11e 550
5ecdfcd0
TC
551.entry .tools li {
552 display: inline-block;
553}
19f2f11e 554
26864574 555.entry:nth-child(3n+1) {
19f2f11e
NL
556 margin-left: 0;
557}
558
559.results {
560 letter-spacing: -5px;
561 padding: 0 0 0.5em;
562}
563
564.results > * {
565 display: inline-block;
566 vertical-align: top;
567 letter-spacing: normal;
568 width: 50%;
5ecdfcd0 569 text-align: right;
19f2f11e
NL
570}
571
624a7c6d 572div.pagination ul {
19f2f11e 573 text-align: right;
5ecdfcd0 574 margin-bottom: 50px;
19f2f11e
NL
575}
576
577.nb-results {
578 text-align: left;
579 font-style: italic;
580 color: #999;
581}
582
624a7c6d 583div.pagination ul > * {
19f2f11e
NL
584 display: inline-block;
585 margin-left: 0.5em;
586}
587
624a7c6d 588div.pagination ul a {
19f2f11e
NL
589 color: #999;
590 text-decoration: none;
591}
592
5ecdfcd0
TC
593div.pagination ul a:hover,
594div.pagination ul a:focus {
595 text-decoration: underline;
624a7c6d 596}
19f2f11e 597
5ecdfcd0
TC
598div.pagination ul .prev.disabled,
599div.pagination ul .next.disabled {
19f2f11e
NL
600 display: none;
601}
602
624a7c6d 603div.pagination ul .current {
9fb6ac83
FG
604 height: 25px;
605 padding: 4px 8px;
606 border: 1px solid #d5d5d5;
607 text-decoration: none;
608 font-weight: bold;
609 color: #000;
610 background-color: #ccc;
611}
612
19f2f11e
NL
613/* ==========================================================================
614 2.1 = "save a link" related styles
615 ========================================================================== */
616
617.popup-form {
5ecdfcd0 618 background: rgba(0, 0, 0, 0.5);
19f2f11e
NL
619 position: absolute;
620 top: 0;
621 left: 10em;
622 z-index: 20;
623 height: 100%;
624 width: 100%;
625 margin: 0;
b0b893ea 626 margin-top: -30% !important;
19f2f11e
NL
627 padding: 2em;
628 display: none;
5ecdfcd0 629 border-left: 1px #eee solid;
19f2f11e
NL
630}
631
5ecdfcd0
TC
632.popup-form form {
633 background-color: #fff;
0d3bafdf
JB
634 position: absolute;
635 top: 0;
636 left: 0;
637 z-index: 20;
638 border: 10px solid #000;
639 width: 400px;
640 height: 200px;
641 padding: 2em;
5ecdfcd0 642}
19f2f11e
NL
643
644#bagit-form-form .addurl {
5ecdfcd0 645 margin-left: 0;
19f2f11e
NL
646}
647
648.closeMessage,
649.close-button {
650 background-color: #000;
5ecdfcd0
TC
651 color: #fff;
652 font-size: 1.2em;
653 line-height: 1.6;
654 width: 1.6em;
655 height: 1.6em;
656 text-align: center;
19f2f11e
NL
657 text-decoration: none;
658}
5ecdfcd0
TC
659
660.closeMessage:hover,
661.closeMessage:focus,
662.close-button:hover,
663.close-button:focus {
0d3bafdf
JB
664 background-color: #999;
665 color: #000;
5ecdfcd0 666}
19f2f11e
NL
667
668.close-button--popup {
5ecdfcd0
TC
669 display: inline-block;
670 position: absolute;
671 top: 0;
672 right: 0;
673 font-size: 1.4em;
19f2f11e
NL
674}
675
676.active-current {
677 background-color: #999;
678}
679
5ecdfcd0 680.active-current::after {
19f2f11e
NL
681 content: "";
682 width: 0;
683 height: 0;
684 position: absolute;
685 border-style: solid;
686 border-width: 10px;
5ecdfcd0 687 border-color: transparent #eee transparent transparent;
19f2f11e
NL
688 right: 0;
689 top: 50%;
690 margin-top: -10px;
691}
692
693.opacity03 {
694 opacity: 0.3;
695}
696
697.add-to-wallabag-link-after {
698 background-color: #000;
699 color: #fff;
1d4d9aaf 700 padding: 0 3px 2px;
19f2f11e
NL
701}
702
703a.add-to-wallabag-link-after {
5ecdfcd0
TC
704 visibility: hidden;
705 position: absolute;
706 opacity: 0;
707 transition-duration: 2s;
708 transition-timing-function: ease-out;
19f2f11e
NL
709}
710
5ecdfcd0
TC
711#article article a:hover + a.add-to-wallabag-link-after,
712a.add-to-wallabag-link-after:hover {
713 opacity: 1;
714 visibility: visible;
715 transition-duration: 0.3s;
716 transition-timing-function: ease-in;
19f2f11e
NL
717}
718
5ecdfcd0
TC
719a.add-to-wallabag-link-after::after {
720 content: "w";
19f2f11e
NL
721}
722
723#add-link-result {
724 font-weight: bold;
725 font-size: 0.9em;
726}
727
5ecdfcd0 728.btn-clickable {
1d4d9aaf 729 cursor: pointer;
5ecdfcd0
TC
730}
731
19f2f11e
NL
732/* ==========================================================================
733 3 = Pictos
734 ========================================================================== */
371ac69a 735
19f2f11e 736@font-face {
5ecdfcd0
TC
737 font-family: icomoon;
738 src: url("../fonts/icomoon.eot?-s0mcsx");
739 src:
740 url("../fonts/icomoon.eot?#iefix-s0mcsx") format("embedded-opentype"),
741 url("../fonts/icomoon.woff?-s0mcsx") format("woff"),
742 url("../fonts/icomoon.ttf?-s0mcsx") format("truetype"),
743 url("../fonts/icomoon.svg?-s0mcsx#icomoon") format("svg");
19f2f11e
NL
744 font-weight: normal;
745 font-style: normal;
746}
747
5ecdfcd0
TC
748@font-face {
749 font-family: 'Material Icons';
750 font-style: normal;
751 font-weight: 400;
752 src: url(../fonts/MaterialIcons-Regular.eot);
1d4d9aaf 753
5ecdfcd0
TC
754 /* For IE6-8 */
755 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");
756}
757
758.material-icons {
759 font-family: 'Material Icons';
760 font-weight: normal;
761 font-style: normal;
762 font-size: 1em; /* Preferred icon size */
763 width: 1em;
764 height: 1em;
765 display: inline-block;
766 line-height: 1;
767 text-transform: none;
768 letter-spacing: normal;
769 word-wrap: normal;
770 white-space: nowrap;
771 direction: ltr;
772
773 /* Support for all WebKit browsers. */
774 -webkit-font-smoothing: antialiased;
1d4d9aaf 775
5ecdfcd0
TC
776 /* Support for Safari and Chrome. */
777 text-rendering: optimizeLegibility;
778
779 /* Support for Firefox. */
780 -moz-osx-font-smoothing: grayscale;
781
782 /* Support for IE. */
783 font-feature-settings: 'liga';
784}
785
786.material-icons.md-18 { font-size: 18px; }
787.material-icons.md-24 { font-size: 24px; }
788.material-icons.md-36 { font-size: 36px; }
789.material-icons.md-48 { font-size: 48px; }
790
19f2f11e
NL
791.icon span,
792.icon-image span {
793 position: absolute;
794 top: -9999px;
795}
796
5ecdfcd0
TC
797[class^="icon-"]::before,
798[class*=" icon-"]::before {
799 font-family: icomoon;
19f2f11e
NL
800 speak: none;
801 font-style: normal;
802 font-weight: normal;
803 font-variant: normal;
804 text-transform: none;
805 line-height: 1;
806
807 /* Better Font Rendering =========== */
808 -webkit-font-smoothing: antialiased;
809 -moz-osx-font-smoothing: grayscale;
810}
811
5ecdfcd0
TC
812.icon-flattr::before {
813 content: "\ead4";
19f2f11e 814}
5ecdfcd0
TC
815
816.icon-mail::before {
817 content: "\ea86";
19f2f11e 818}
5ecdfcd0
TC
819
820.icon-up-open::before {
19f2f11e
NL
821 content: "\e80b";
822}
5ecdfcd0
TC
823
824.icon-star::before {
825 content: "\e9d9";
19f2f11e 826}
5ecdfcd0
TC
827
828.icon-check::before {
829 content: "\ea10";
19f2f11e 830}
5ecdfcd0
TC
831
832.icon-link::before {
833 content: "\e9cb";
19f2f11e 834}
5ecdfcd0
TC
835
836.icon-reply::before {
19f2f11e
NL
837 content: "\e806";
838}
5ecdfcd0
TC
839
840.icon-menu::before {
841 content: "\e9bd";
19f2f11e 842}
5ecdfcd0
TC
843
844.icon-clock::before {
19f2f11e
NL
845 content: "\e803";
846}
5ecdfcd0
TC
847
848.icon-twitter::before {
849 content: "\ea91";
19f2f11e 850}
5ecdfcd0
TC
851
852.icon-down-open::before {
19f2f11e
NL
853 content: "\e809";
854}
5ecdfcd0
TC
855
856.icon-trash::before {
857 content: "\e9ac";
19f2f11e 858}
5ecdfcd0
TC
859
860.icon-delete::before {
861 content: "\ea0d";
19f2f11e 862}
5ecdfcd0
TC
863
864.icon-power::before {
865 content: "\ea14";
19f2f11e 866}
5ecdfcd0
TC
867
868.icon-arrow-up-thick::before {
869 content: "\ea3a";
19f2f11e 870}
5ecdfcd0
TC
871
872.icon-rss::before {
19f2f11e
NL
873 content: "\e808";
874}
5ecdfcd0
TC
875
876.icon-print::before {
877 content: "\e954";
19f2f11e 878}
5ecdfcd0
TC
879
880.icon-reload::before {
0cf434c0
JB
881 content: "\ea2e";
882}
19f2f11e 883
5ecdfcd0
TC
884.icon-price-tags::before {
885 content: "\e936";
886}
19f2f11e
NL
887
888/* .icon-image class, for image-based icons
0d3bafdf 889 ========================================================================== */
19f2f11e
NL
890
891.icon-image {
5ecdfcd0
TC
892 background-size: 16px 16px;
893 background-repeat: no-repeat;
894 background-position: center;
895 padding-right: 1em !important;
896 padding-left: 1em !important;
19f2f11e
NL
897}
898
899/* Carrot (http://carrot.org) */
900.icon-image--carrot {
5ecdfcd0 901 background-image: url("../../_global/img/icons/carrot-icon--white.png");
19f2f11e
NL
902}
903
904/* Diaspora */
905.icon-image--diaspora {
5ecdfcd0 906 background-image: url("../../_global/img/icons/diaspora-icon--black.png");
a24c1ee3 907}
19f2f11e
NL
908
909/* ==========================================================================
910 Icon selected
911 ========================================================================== */
912
5ecdfcd0
TC
913.icon-star.fav::before {
914 color: #fff;
19f2f11e
NL
915}
916
5ecdfcd0
TC
917.icon-check.archive::before {
918 color: #fff;
19f2f11e
NL
919}
920
921/* ==========================================================================
922 4 = Messages
923 ========================================================================== */
924
925.messages {
926 text-align: left;
927 margin-top: 1em;
928}
929
5ecdfcd0
TC
930.messages > * {
931 display: inline-block;
932}
19f2f11e
NL
933
934.warning {
19f2f11e
NL
935 font-weight: bold;
936 display: block;
937 width: 100%;
938}
939
940.more-info {
5ecdfcd0 941 font-size: 0.85em;
19f2f11e 942 line-height: 1.5;
5ecdfcd0 943 color: #aaa;
19f2f11e
NL
944}
945
5ecdfcd0 946.more-info a {
0d3bafdf 947 color: #aaa;
5ecdfcd0 948}
19f2f11e
NL
949
950/* ==========================================================================
951 5 = Article
952 ========================================================================== */
953
954#article {
955 width: 70%;
956 margin-bottom: 3em;
957 text-align: justify;
958}
959
960#article .tags {
961 margin-bottom: 1em;
962}
963
964#article i {
965 font-style: normal;
966}
967
968blockquote {
5ecdfcd0
TC
969 border: 1px solid #999;
970 background-color: #fff;
19f2f11e
NL
971 padding: 1em;
972 margin: 0;
973}
974
975#article h1 {
976 text-align: left;
977}
978
5ecdfcd0
TC
979#article h2,
980#article h3,
981#article h4 {
19f2f11e
NL
982 text-transform: none;
983}
984
5ecdfcd0 985#article h2::after {
19f2f11e
NL
986 content: none;
987}
988
989.topPosF {
990 position: fixed;
991 right: 20%;
992 bottom: 2em;
993 font-size: 1.5em;
994}
995
996#article_toolbar {
997 margin-bottom: 1em;
998}
999
1000#article_toolbar li {
1001 display: inline-block;
1002}
1003
1004#article_toolbar a {
1005 background-color: #000;
1006 padding: 0.3em 0.5em 0.2em;
5ecdfcd0 1007 color: #fff;
19f2f11e
NL
1008 text-decoration: none;
1009}
371ac69a 1010
5ecdfcd0
TC
1011#article_toolbar a:hover,
1012#article_toolbar a:focus {
56349e47
TC
1013 background-color: #999;
1014}
1015
1016#nav-btn-add-tag {
5ecdfcd0 1017 cursor: pointer;
56349e47 1018}
19f2f11e 1019
5ecdfcd0 1020.shaarli::before {
19f2f11e
NL
1021 content: "*";
1022}
1023
1024.return {
1025 text-decoration: none;
1026 margin-top: 1em;
1027 display: block;
1028}
1029
5ecdfcd0 1030.return::before {
19f2f11e
NL
1031 margin-right: 0.5em;
1032}
1033
1034.notags {
1035 font-style: italic;
1036 color: #999;
1037}
1038
1039.icon-rss {
1040 background-color: #000;
5ecdfcd0 1041 color: #fff;
19f2f11e
NL
1042 padding: 0.2em 0.5em;
1043}
1044
5ecdfcd0 1045.icon-rss::before {
19f2f11e
NL
1046 position: relative;
1047 top: 2px;
1048}
1049
1050.list-tags li {
1051 margin-bottom: 0.5em;
1052}
1053
5ecdfcd0
TC
1054.list-tags .icon-rss:hover,
1055.list-tags .icon-rss:focus {
1056 background-color: #fff;
19f2f11e
NL
1057 color: #000;
1058 text-decoration: none;
1059}
1060
1061.list-tags a {
1062 text-decoration: none;
1063}
1064
5ecdfcd0
TC
1065.list-tags a:hover,
1066.list-tags a:focus {
19f2f11e
NL
1067 text-decoration: underline;
1068}
1069
1070pre code {
0d3bafdf 1071 font-family: "Courier New", Courier, monospace;
19f2f11e
NL
1072}
1073
d2fcbf5d 1074#filter-form {
5def3f58 1075 position: fixed;
1a5f7e2d 1076 width: 20%;
5def3f58
JB
1077 height: 100%;
1078 top: 0;
1079 right: 0;
5ecdfcd0 1080 background-color: #fff;
5def3f58
JB
1081 padding: 15px;
1082 padding-right: 30px;
1083 padding-top: 30px;
0d3bafdf 1084 border-left: 1px #333 solid;
5def3f58 1085 z-index: 12;
5ecdfcd0 1086 min-width: 300px;
5def3f58
JB
1087}
1088
1089#filter-form form .filter-group {
1090 margin: 5px;
d2fcbf5d
JB
1091}
1092
5ecdfcd0 1093#download-form {
1d4d9aaf
TC
1094 position: fixed;
1095 width: 10%;
1096 height: 100%;
1097 top: 0;
1098 right: 0;
1099 background-color: #fff;
1100 padding: 15px;
1101 padding-right: 30px;
1102 padding-top: 30px;
1103 border-left: 1px #333 solid;
1104 z-index: 12;
1105 min-width: 200px;
5ecdfcd0
TC
1106}
1107
1108#download-form li {
1d4d9aaf
TC
1109 display: block;
1110 padding: 0.5em 2em 0.5em 1em;
1111 color: #fff;
1112 position: relative;
1113 text-transform: uppercase;
1114 text-decoration: none;
1115 font-weight: 400;
1116 font-family: PT Sans, sans-serif;
1117 transition: all 0.5s ease;
5ecdfcd0 1118}
19f2f11e
NL
1119
1120/* ==========================================================================
1121 6 = Media Queries
1122 ========================================================================== */
1123
1124@media screen and (max-width: 1050px) {
26864574 1125 .entry {
19f2f11e
NL
1126 width: 49%;
1127 }
26864574 1128 .entry:nth-child(3n+1) {
19f2f11e
NL
1129 margin-left: 1.5%;
1130 }
26864574 1131 .entry:nth-child(2n+1) {
19f2f11e
NL
1132 margin-left: 0;
1133 }
1134}
1135
1136@media screen and (max-width: 900px) {
1137 #article {
1138 width: 80%;
1139 }
1140 .topPosF {
1141 right: 2.5em;
1142 }
1143}
1144
1145@media screen and (max-width: 700px) {
26864574 1146 .entry {
19f2f11e
NL
1147 width: 100%;
1148 margin-left: 0;
1149 }
1150 #display-mode {
1151 display: none;
1152 }
1153}
1154
1155@media screen and (max-width: 500px) {
26864574 1156 .entry {
19f2f11e
NL
1157 width: 100%;
1158 margin-left: 0;
1159 }
5ecdfcd0 1160
19f2f11e
NL
1161 body > header {
1162 background-color: #333;
1163 position: fixed;
1164 top: 0;
1165 width: 100%;
1166 height: 3em;
1167 z-index: 11;
1168 }
5ecdfcd0 1169
19f2f11e
NL
1170 #links li:last-child {
1171 position: static;
1172 width: auto;
1173 }
5ecdfcd0
TC
1174
1175 #links li:last-child a::before {
19f2f11e
NL
1176 content: none;
1177 }
5ecdfcd0 1178
19f2f11e
NL
1179 .logo {
1180 width: 1.25em;
1181 height: 1.25em;
1182 left: 0;
1183 top: 0;
1184 }
5ecdfcd0 1185
19f2f11e
NL
1186 .login > header {
1187 position: static;
1188 }
5ecdfcd0 1189
19f2f11e
NL
1190 .login form {
1191 width: 100%;
1192 position: static;
1193 margin-left: 0;
1194 }
5ecdfcd0 1195
19f2f11e 1196 .login .logo {
19f2f11e
NL
1197 height: auto;
1198 top: 0.5em;
1199 width: 75px;
1200 height: 75px;
1201 margin-left: -37.5px;
1202 }
5ecdfcd0 1203
19f2f11e
NL
1204 .desktopHide {
1205 display: block;
1206 position: fixed;
1207 z-index: 20;
1208 top: 0;
1209 right: 0;
5ecdfcd0 1210 border: 0;
19f2f11e
NL
1211 width: 2.5em;
1212 height: 2.5em;
1213 cursor: pointer;
1214 background-color: #999;
1215 font-size: 1.2em;
1216 }
5ecdfcd0
TC
1217 .desktopHide:hover,
1218 .desktopHide:focus {
1219 background-color: #fff;
1220 }
1221
19f2f11e
NL
1222 #links {
1223 display: none;
1224 width: 100%;
1225 height: auto;
1226 padding-top: 3em;
1227 }
5ecdfcd0 1228
19f2f11e
NL
1229 #links.menu--open {
1230 display: block;
1231 }
5ecdfcd0
TC
1232
1233 footer {
19f2f11e
NL
1234 position: static;
1235 margin-right: 3em;
1236 }
5ecdfcd0 1237
19f2f11e
NL
1238 #main {
1239 margin-left: 1.5em;
1240 padding-right: 1.5em;
1241 position: static;
1242 margin-top: 3em;
1243 }
5ecdfcd0 1244
1d4d9aaf
TC
1245 .card-entry-labels {
1246 display: none;
1247 }
1248
19f2f11e
NL
1249 #article_toolbar .topPosF {
1250 display: none;
1251 }
1252
1253 #article {
1254 width: 100%;
1255 }
1256
1257 #article h1 {
1258 font-size: 1.5em;
1259 }
5ecdfcd0 1260
19f2f11e
NL
1261 #article_toolbar a {
1262 padding: 0.3em 0.4em 0.2em;
1263 }
371ac69a 1264
19f2f11e
NL
1265 #display-mode {
1266 display: none;
1267 }
1268
5ecdfcd0
TC
1269 .popup-form,
1270 #bagit-form,
1271 #search-form {
19f2f11e
NL
1272 left: 0;
1273 width: 100%;
1274 border-left: none;
1275 }
1276
1277 .popup-form form,
1278 #bagit-form form,
1279 #search-form form {
1280 width: 100%;
1281 }
1282}