]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/Resources/static/themes/baggy/css/main.css
Hide article text on mobile with list mode
[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 300#listmode.tablemode {
9f01d0fd 301 background-image: url("../../_global/img/table.png");
19f2f11e
NL
302 background-repeat: no-repeat;
303 background-position: bottom;
304}
5ecdfcd0 305
19f2f11e 306#listmode.listmode {
9f01d0fd 307 background-image: url("../../_global/img/list.png");
19f2f11e
NL
308 background-repeat: no-repeat;
309 background-position: bottom;
310}
311
5ecdfcd0
TC
312#warning_message {
313 position: fixed;
314 background-color: #ff6347;
315 z-index: 1000;
316 bottom: 0;
317 left: 0;
318 width: 100%;
319 color: #000;
320}
19f2f11e
NL
321
322/* ==========================================================================
323 2 = Layout
324 ========================================================================== */
371ac69a 325
19f2f11e 326#content {
56349e47 327 margin-top: 2em;
19f2f11e
NL
328 min-height: 30em;
329}
330
331footer {
332 text-align: right;
333 position: relative;
334 bottom: 0;
335 right: 5em;
336 color: #999;
337 font-size: 0.8em;
338 font-style: italic;
339 z-index: 20;
340}
341
342footer a {
343 color: #999;
344 font-weight: normal;
345}
346
347.list-entries {
5ecdfcd0 348 letter-spacing: -5px;
19f2f11e
NL
349}
350
9f01d0fd
NL
351.listmode.entry {
352 width: 100%;
353 height: inherit;
19f2f11e
NL
354}
355
1d4d9aaf
TC
356.card-entry-labels {
357 position: absolute;
358 top: 100px;
359 left: -1em;
360 z-index: 90;
361 max-width: 50%;
362 padding-left: 0;
363}
364
365.card-entry-labels li {
366 margin: 10px 10px 10px auto;
367 padding: 5px 12px 5px 25px;
368 background-color: rgba(0, 0, 0, 0.6);
369 border-radius: 0 3px 3px 0;
370 color: #fff;
371 cursor: default;
372 max-height: 2em;
373 overflow: hidden;
374 text-overflow: ellipsis;
375 white-space: nowrap;
376}
377
378.card-entry-tags {
379 max-height: 2em;
380 overflow-y: hidden;
381 padding: 0;
645c0d5b 382 margin: 0;
1d4d9aaf
TC
383}
384
645c0d5b
TC
385.card-entry-tags li,
386.card-entry-tags span {
1d4d9aaf
TC
387 display: inline-block;
388 margin: 0 5px;
389 padding: 5px 12px;
390 background-color: rgba(0, 0, 0, 0.6);
391 border-radius: 3px;
392 max-height: 2em;
393 overflow: hidden;
394 text-overflow: ellipsis;
645c0d5b
TC
395}
396
397.card-entry-tags a,
398.card-entry-labels a {
399 text-decoration: none;
400 font-weight: normal;
1d4d9aaf
TC
401 color: #fff;
402}
403
645c0d5b
TC
404.nav-panel-add-tag {
405 margin-top: 10px;
406}
407
19f2f11e
NL
408.list-entries + .results {
409 margin-bottom: 2em;
410}
411
1c282b1d
NL
412.reading-time,
413.created-at {
19f2f11e
NL
414 color: #999;
415 font-style: italic;
416 font-weight: normal;
417 font-size: 0.9em;
418}
419
420.estimatedTime small {
421 position: relative;
422 top: -1px;
423}
424
26864574 425.entry {
5ecdfcd0
TC
426 background-color: #fff;
427 letter-spacing: normal;
428 box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
19f2f11e
NL
429 display: inline-block;
430 width: 32%;
431 margin-bottom: 1.5em;
432 vertical-align: top;
1d4d9aaf 433 margin-right: 1%;
19f2f11e
NL
434 position: relative;
435 overflow: hidden;
1d4d9aaf
TC
436 padding: 1.5em 1.5em 3em;
437 height: 440px;
19f2f11e
NL
438}
439
5ecdfcd0 440.entry::before {
19f2f11e
NL
441 content: "";
442 width: 0;
443 height: 0;
5ecdfcd0 444 border-style: solid;
1d4d9aaf 445 border-color: transparent transparent #000;
19f2f11e
NL
446 border-width: 10px;
447 position: absolute;
448 bottom: 0.3em;
449 z-index: 10;
450 right: 1.5em;
451 -webkit-transition: all 0.5s ease;
5ecdfcd0
TC
452 -moz-transition: all 0.5s ease;
453 -ms-transition: all 0.5s ease;
454 -o-transition: all 0.5s ease;
455 transition: all 0.5s ease;
19f2f11e
NL
456}
457
5ecdfcd0 458.entry::after {
19f2f11e
NL
459 content: "";
460 position: absolute;
461 height: 7px;
462 width: 100%;
463 bottom: 0;
464 left: 0;
465 background-color: #000;
466 -webkit-transition: all 0.5s ease;
5ecdfcd0
TC
467 -moz-transition: all 0.5s ease;
468 -ms-transition: all 0.5s ease;
469 -o-transition: all 0.5s ease;
470 transition: all 0.5s ease;
19f2f11e
NL
471}
472
26864574 473.entry:hover {
5ecdfcd0 474 box-shadow: 0 3px 10px rgba(0, 0, 0, 1);
19f2f11e
NL
475}
476
5ecdfcd0 477.entry:hover::after {
19f2f11e
NL
478 height: 40px;
479}
480
5ecdfcd0 481.entry:hover::before {
19f2f11e
NL
482 bottom: 2.4em;
483}
484
26864574 485.entry:hover h2 a {
19f2f11e
NL
486 color: #666;
487}
488
26864574 489.entry h2 {
19f2f11e
NL
490 text-transform: none;
491 margin-bottom: 0;
492 line-height: 1.2;
493}
494
5ecdfcd0
TC
495.entry h2::after {
496 content: none;
497}
19f2f11e 498
26864574 499.entry h2 a {
19f2f11e
NL
500 display: block;
501 text-decoration: none;
502 color: #000;
503 word-wrap: break-word;
504 -webkit-transition: all 0.5s ease;
5ecdfcd0
TC
505 -moz-transition: all 0.5s ease;
506 -ms-transition: all 0.5s ease;
507 -o-transition: all 0.5s ease;
508 transition: all 0.5s ease;
19f2f11e 509}
19f2f11e 510
b026d3b1 511img.preview {
1d4d9aaf
TC
512 max-width: calc(100% + 3em);
513 left: -1.5em;
514 position: relative;
b026d3b1
NL
515}
516
26864574 517.entry p {
19f2f11e
NL
518 color: #666;
519 font-size: 0.9em;
520 line-height: 1.7;
645c0d5b 521 margin-top: 5px;
19f2f11e
NL
522}
523
5ecdfcd0
TC
524.entry h2 a::first-letter {
525 text-transform: uppercase;
526}
19f2f11e 527
26864574 528.entry:hover .tools {
19f2f11e
NL
529 bottom: 0;
530}
531
26864574 532.entry .tools {
19f2f11e
NL
533 position: absolute;
534 bottom: -50px;
535 left: 0;
536 width: 100%;
537 z-index: 10;
538 padding-right: 0.5em;
539 text-align: right;
540 -webkit-transition: all 0.5s ease;
5ecdfcd0
TC
541 -moz-transition: all 0.5s ease;
542 -ms-transition: all 0.5s ease;
543 -o-transition: all 0.5s ease;
544 transition: all 0.5s ease;
19f2f11e
NL
545}
546
5ecdfcd0
TC
547.entry .tools a {
548 color: #666;
549 text-decoration: none;
550 display: block;
551 padding: 0.4em;
552}
19f2f11e 553
5ecdfcd0
TC
554.entry .tools a:hover {
555 color: #fff;
556}
19f2f11e 557
5ecdfcd0
TC
558.entry .tools li {
559 display: inline-block;
560}
19f2f11e 561
26864574 562.entry:nth-child(3n+1) {
19f2f11e
NL
563 margin-left: 0;
564}
565
566.results {
567 letter-spacing: -5px;
568 padding: 0 0 0.5em;
569}
570
571.results > * {
572 display: inline-block;
573 vertical-align: top;
574 letter-spacing: normal;
575 width: 50%;
5ecdfcd0 576 text-align: right;
19f2f11e
NL
577}
578
624a7c6d 579div.pagination ul {
19f2f11e 580 text-align: right;
19f2f11e
NL
581}
582
583.nb-results {
584 text-align: left;
585 font-style: italic;
586 color: #999;
9f01d0fd 587 display: inline-flex;
19f2f11e
NL
588}
589
624a7c6d 590div.pagination ul > * {
19f2f11e
NL
591 display: inline-block;
592 margin-left: 0.5em;
593}
594
624a7c6d 595div.pagination ul a {
19f2f11e
NL
596 color: #999;
597 text-decoration: none;
598}
599
5ecdfcd0
TC
600div.pagination ul a:hover,
601div.pagination ul a:focus {
602 text-decoration: underline;
624a7c6d 603}
19f2f11e 604
5ecdfcd0
TC
605div.pagination ul .prev.disabled,
606div.pagination ul .next.disabled {
19f2f11e
NL
607 display: none;
608}
609
624a7c6d 610div.pagination ul .current {
9fb6ac83
FG
611 height: 25px;
612 padding: 4px 8px;
613 border: 1px solid #d5d5d5;
614 text-decoration: none;
615 font-weight: bold;
616 color: #000;
617 background-color: #ccc;
618}
619
19f2f11e
NL
620/* ==========================================================================
621 2.1 = "save a link" related styles
622 ========================================================================== */
623
624.popup-form {
5ecdfcd0 625 background: rgba(0, 0, 0, 0.5);
19f2f11e
NL
626 position: absolute;
627 top: 0;
628 left: 10em;
629 z-index: 20;
630 height: 100%;
631 width: 100%;
632 margin: 0;
b0b893ea 633 margin-top: -30% !important;
19f2f11e
NL
634 padding: 2em;
635 display: none;
5ecdfcd0 636 border-left: 1px #eee solid;
19f2f11e
NL
637}
638
5ecdfcd0
TC
639.popup-form form {
640 background-color: #fff;
0d3bafdf
JB
641 position: absolute;
642 top: 0;
643 left: 0;
644 z-index: 20;
645 border: 10px solid #000;
646 width: 400px;
647 height: 200px;
648 padding: 2em;
5ecdfcd0 649}
19f2f11e
NL
650
651#bagit-form-form .addurl {
5ecdfcd0 652 margin-left: 0;
19f2f11e
NL
653}
654
655.closeMessage,
656.close-button {
657 background-color: #000;
5ecdfcd0
TC
658 color: #fff;
659 font-size: 1.2em;
660 line-height: 1.6;
661 width: 1.6em;
662 height: 1.6em;
663 text-align: center;
19f2f11e
NL
664 text-decoration: none;
665}
5ecdfcd0
TC
666
667.closeMessage:hover,
668.closeMessage:focus,
669.close-button:hover,
670.close-button:focus {
0d3bafdf
JB
671 background-color: #999;
672 color: #000;
5ecdfcd0 673}
19f2f11e
NL
674
675.close-button--popup {
5ecdfcd0
TC
676 display: inline-block;
677 position: absolute;
678 top: 0;
679 right: 0;
680 font-size: 1.4em;
19f2f11e
NL
681}
682
683.active-current {
684 background-color: #999;
685}
686
5ecdfcd0 687.active-current::after {
19f2f11e
NL
688 content: "";
689 width: 0;
690 height: 0;
691 position: absolute;
692 border-style: solid;
693 border-width: 10px;
5ecdfcd0 694 border-color: transparent #eee transparent transparent;
19f2f11e
NL
695 right: 0;
696 top: 50%;
697 margin-top: -10px;
698}
699
700.opacity03 {
701 opacity: 0.3;
702}
703
704.add-to-wallabag-link-after {
705 background-color: #000;
706 color: #fff;
1d4d9aaf 707 padding: 0 3px 2px;
19f2f11e
NL
708}
709
710a.add-to-wallabag-link-after {
5ecdfcd0
TC
711 visibility: hidden;
712 position: absolute;
713 opacity: 0;
714 transition-duration: 2s;
715 transition-timing-function: ease-out;
19f2f11e
NL
716}
717
5ecdfcd0
TC
718#article article a:hover + a.add-to-wallabag-link-after,
719a.add-to-wallabag-link-after:hover {
720 opacity: 1;
721 visibility: visible;
722 transition-duration: 0.3s;
723 transition-timing-function: ease-in;
19f2f11e
NL
724}
725
5ecdfcd0
TC
726a.add-to-wallabag-link-after::after {
727 content: "w";
19f2f11e
NL
728}
729
730#add-link-result {
731 font-weight: bold;
732 font-size: 0.9em;
733}
734
5ecdfcd0 735.btn-clickable {
1d4d9aaf 736 cursor: pointer;
5ecdfcd0
TC
737}
738
19f2f11e
NL
739/* ==========================================================================
740 3 = Pictos
741 ========================================================================== */
371ac69a 742
19f2f11e 743@font-face {
5ecdfcd0 744 font-family: icomoon;
0471e905 745 src: url("../fonts/IcoMoon-Free.ttf");
19f2f11e
NL
746 font-weight: normal;
747 font-style: normal;
748}
749
5ecdfcd0
TC
750@font-face {
751 font-family: 'Material Icons';
752 font-style: normal;
753 font-weight: 400;
754 src: url(../fonts/MaterialIcons-Regular.eot);
1d4d9aaf 755
5ecdfcd0
TC
756 /* For IE6-8 */
757 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");
758}
759
760.material-icons {
761 font-family: 'Material Icons';
762 font-weight: normal;
763 font-style: normal;
764 font-size: 1em; /* Preferred icon size */
765 width: 1em;
766 height: 1em;
767 display: inline-block;
768 line-height: 1;
769 text-transform: none;
770 letter-spacing: normal;
771 word-wrap: normal;
772 white-space: nowrap;
773 direction: ltr;
774
775 /* Support for all WebKit browsers. */
776 -webkit-font-smoothing: antialiased;
1d4d9aaf 777
5ecdfcd0
TC
778 /* Support for Safari and Chrome. */
779 text-rendering: optimizeLegibility;
780
781 /* Support for Firefox. */
782 -moz-osx-font-smoothing: grayscale;
783
784 /* Support for IE. */
785 font-feature-settings: 'liga';
786}
787
788.material-icons.md-18 { font-size: 18px; }
789.material-icons.md-24 { font-size: 24px; }
790.material-icons.md-36 { font-size: 36px; }
791.material-icons.md-48 { font-size: 48px; }
792
19f2f11e
NL
793.icon span,
794.icon-image span {
795 position: absolute;
796 top: -9999px;
797}
798
5ecdfcd0
TC
799[class^="icon-"]::before,
800[class*=" icon-"]::before {
801 font-family: icomoon;
19f2f11e
NL
802 speak: none;
803 font-style: normal;
804 font-weight: normal;
805 font-variant: normal;
806 text-transform: none;
807 line-height: 1;
808
a494c33e
TC
809 /* Enable Ligatures ================ */
810 letter-spacing: 0;
811 -webkit-font-feature-settings: "liga";
812 -moz-font-feature-settings: "liga=1";
813 -moz-font-feature-settings: "liga";
814 -ms-font-feature-settings: "liga" 1;
815 -o-font-feature-settings: "liga";
816 font-feature-settings: "liga";
817
19f2f11e
NL
818 /* Better Font Rendering =========== */
819 -webkit-font-smoothing: antialiased;
820 -moz-osx-font-smoothing: grayscale;
821}
822
5ecdfcd0
TC
823.icon-flattr::before {
824 content: "\ead4";
19f2f11e 825}
5ecdfcd0
TC
826
827.icon-mail::before {
828 content: "\ea86";
19f2f11e 829}
5ecdfcd0
TC
830
831.icon-up-open::before {
19f2f11e
NL
832 content: "\e80b";
833}
5ecdfcd0
TC
834
835.icon-star::before {
836 content: "\e9d9";
19f2f11e 837}
5ecdfcd0
TC
838
839.icon-check::before {
840 content: "\ea10";
19f2f11e 841}
5ecdfcd0
TC
842
843.icon-link::before {
844 content: "\e9cb";
19f2f11e 845}
5ecdfcd0
TC
846
847.icon-reply::before {
19f2f11e
NL
848 content: "\e806";
849}
5ecdfcd0
TC
850
851.icon-menu::before {
852 content: "\e9bd";
19f2f11e 853}
5ecdfcd0
TC
854
855.icon-clock::before {
19f2f11e
NL
856 content: "\e803";
857}
5ecdfcd0
TC
858
859.icon-twitter::before {
a494c33e 860 content: "\ea96";
19f2f11e 861}
5ecdfcd0
TC
862
863.icon-down-open::before {
19f2f11e
NL
864 content: "\e809";
865}
5ecdfcd0
TC
866
867.icon-trash::before {
868 content: "\e9ac";
19f2f11e 869}
5ecdfcd0
TC
870
871.icon-delete::before {
872 content: "\ea0d";
19f2f11e 873}
5ecdfcd0
TC
874
875.icon-power::before {
876 content: "\ea14";
19f2f11e 877}
5ecdfcd0
TC
878
879.icon-arrow-up-thick::before {
880 content: "\ea3a";
19f2f11e 881}
5ecdfcd0
TC
882
883.icon-rss::before {
19f2f11e
NL
884 content: "\e808";
885}
5ecdfcd0
TC
886
887.icon-print::before {
888 content: "\e954";
19f2f11e 889}
5ecdfcd0
TC
890
891.icon-reload::before {
0cf434c0
JB
892 content: "\ea2e";
893}
19f2f11e 894
5ecdfcd0
TC
895.icon-price-tags::before {
896 content: "\e936";
897}
19f2f11e 898
a494c33e
TC
899.icon-eye::before {
900 content: "\e9ce";
901}
902
903.icon-no-eye::before {
904 content: "\e9d1";
905}
906
907.icon-calendar::before {
908 content: "\e953";
909}
910
911.icon-time::before {
912 content: "\e952";
913}
914
19f2f11e 915/* .icon-image class, for image-based icons
0d3bafdf 916 ========================================================================== */
19f2f11e
NL
917
918.icon-image {
5ecdfcd0 919 background-size: 16px 16px;
9f7d154e
TC
920 background-repeat: no-repeat;
921 background-position: center;
5ecdfcd0
TC
922 padding-right: 1em !important;
923 padding-left: 1em !important;
19f2f11e
NL
924}
925
926/* Carrot (http://carrot.org) */
927.icon-image--carrot {
5ecdfcd0 928 background-image: url("../../_global/img/icons/carrot-icon--white.png");
19f2f11e
NL
929}
930
931/* Diaspora */
932.icon-image--diaspora {
5ecdfcd0 933 background-image: url("../../_global/img/icons/diaspora-icon--black.png");
a24c1ee3 934}
19f2f11e 935
8a9604aa
NL
936/* Unmark.it */
937.icon-image--unmark {
938 background-image: url("../../_global/img/icons/unmark-icon--black.png");
939}
940
9f3a1cd2 941/* shaarli */
a494c33e
TC
942.icon-image--shaarli {
943 background-image: url("../../_global/img/icons/shaarli.png");
944}
945
19f2f11e
NL
946/* ==========================================================================
947 Icon selected
948 ========================================================================== */
949
5ecdfcd0
TC
950.icon-star.fav::before {
951 color: #fff;
19f2f11e
NL
952}
953
5ecdfcd0
TC
954.icon-check.archive::before {
955 color: #fff;
19f2f11e
NL
956}
957
958/* ==========================================================================
959 4 = Messages
960 ========================================================================== */
961
962.messages {
963 text-align: left;
964 margin-top: 1em;
965}
966
5ecdfcd0
TC
967.messages > * {
968 display: inline-block;
969}
19f2f11e
NL
970
971.warning {
19f2f11e
NL
972 font-weight: bold;
973 display: block;
974 width: 100%;
975}
976
977.more-info {
5ecdfcd0 978 font-size: 0.85em;
19f2f11e 979 line-height: 1.5;
5ecdfcd0 980 color: #aaa;
19f2f11e
NL
981}
982
5ecdfcd0 983.more-info a {
0d3bafdf 984 color: #aaa;
5ecdfcd0 985}
19f2f11e
NL
986
987/* ==========================================================================
988 5 = Article
989 ========================================================================== */
990
991#article {
992 width: 70%;
993 margin-bottom: 3em;
994 text-align: justify;
995}
996
997#article .tags {
998 margin-bottom: 1em;
999}
1000
1001#article i {
1002 font-style: normal;
1003}
1004
1005blockquote {
5ecdfcd0
TC
1006 border: 1px solid #999;
1007 background-color: #fff;
19f2f11e
NL
1008 padding: 1em;
1009 margin: 0;
1010}
1011
1012#article h1 {
1013 text-align: left;
1014}
1015
5ecdfcd0
TC
1016#article h2,
1017#article h3,
1018#article h4 {
19f2f11e
NL
1019 text-transform: none;
1020}
1021
5ecdfcd0 1022#article h2::after {
19f2f11e
NL
1023 content: none;
1024}
1025
1026.topPosF {
1027 position: fixed;
1028 right: 20%;
1029 bottom: 2em;
1030 font-size: 1.5em;
1031}
1032
1033#article_toolbar {
1034 margin-bottom: 1em;
1035}
1036
1037#article_toolbar li {
1038 display: inline-block;
645c0d5b 1039 margin: 3px auto;
19f2f11e
NL
1040}
1041
1042#article_toolbar a {
1043 background-color: #000;
1044 padding: 0.3em 0.5em 0.2em;
5ecdfcd0 1045 color: #fff;
19f2f11e
NL
1046 text-decoration: none;
1047}
371ac69a 1048
5ecdfcd0
TC
1049#article_toolbar a:hover,
1050#article_toolbar a:focus {
56349e47
TC
1051 background-color: #999;
1052}
1053
1054#nav-btn-add-tag {
5ecdfcd0 1055 cursor: pointer;
56349e47 1056}
19f2f11e 1057
5ecdfcd0 1058.shaarli::before {
19f2f11e
NL
1059 content: "*";
1060}
1061
1062.return {
1063 text-decoration: none;
1064 margin-top: 1em;
1065 display: block;
1066}
1067
5ecdfcd0 1068.return::before {
19f2f11e
NL
1069 margin-right: 0.5em;
1070}
1071
1072.notags {
1073 font-style: italic;
1074 color: #999;
1075}
1076
1077.icon-rss {
1078 background-color: #000;
5ecdfcd0 1079 color: #fff;
19f2f11e
NL
1080 padding: 0.2em 0.5em;
1081}
1082
5ecdfcd0 1083.icon-rss::before {
19f2f11e
NL
1084 position: relative;
1085 top: 2px;
1086}
1087
1088.list-tags li {
1089 margin-bottom: 0.5em;
1090}
1091
5ecdfcd0
TC
1092.list-tags .icon-rss:hover,
1093.list-tags .icon-rss:focus {
1094 background-color: #fff;
19f2f11e
NL
1095 color: #000;
1096 text-decoration: none;
1097}
1098
1099.list-tags a {
1100 text-decoration: none;
1101}
1102
5ecdfcd0
TC
1103.list-tags a:hover,
1104.list-tags a:focus {
19f2f11e
NL
1105 text-decoration: underline;
1106}
1107
1108pre code {
0d3bafdf 1109 font-family: "Courier New", Courier, monospace;
19f2f11e
NL
1110}
1111
c146f694 1112#filters {
5def3f58 1113 position: fixed;
1a5f7e2d 1114 width: 20%;
5def3f58
JB
1115 height: 100%;
1116 top: 0;
1117 right: 0;
5ecdfcd0 1118 background-color: #fff;
5def3f58
JB
1119 padding: 15px;
1120 padding-right: 30px;
1121 padding-top: 30px;
0d3bafdf 1122 border-left: 1px #333 solid;
5def3f58 1123 z-index: 12;
5ecdfcd0 1124 min-width: 300px;
5def3f58
JB
1125}
1126
c146f694 1127#filters form .filter-group {
5def3f58 1128 margin: 5px;
d2fcbf5d
JB
1129}
1130
5ecdfcd0 1131#download-form {
1d4d9aaf
TC
1132 position: fixed;
1133 width: 10%;
1134 height: 100%;
1135 top: 0;
1136 right: 0;
1137 background-color: #fff;
1138 padding: 15px;
1139 padding-right: 30px;
1140 padding-top: 30px;
1141 border-left: 1px #333 solid;
1142 z-index: 12;
1143 min-width: 200px;
5ecdfcd0
TC
1144}
1145
1146#download-form li {
1d4d9aaf
TC
1147 display: block;
1148 padding: 0.5em 2em 0.5em 1em;
1149 color: #fff;
1150 position: relative;
1151 text-transform: uppercase;
1152 text-decoration: none;
1153 font-weight: 400;
1154 font-family: PT Sans, sans-serif;
1155 transition: all 0.5s ease;
5ecdfcd0 1156}
19f2f11e
NL
1157
1158/* ==========================================================================
1159 6 = Media Queries
1160 ========================================================================== */
1161
1162@media screen and (max-width: 1050px) {
26864574 1163 .entry {
19f2f11e
NL
1164 width: 49%;
1165 }
c146f694 1166
26864574 1167 .entry:nth-child(3n+1) {
19f2f11e
NL
1168 margin-left: 1.5%;
1169 }
c146f694 1170
26864574 1171 .entry:nth-child(2n+1) {
19f2f11e
NL
1172 margin-left: 0;
1173 }
1174}
1175
1176@media screen and (max-width: 900px) {
1177 #article {
1178 width: 80%;
1179 }
c146f694 1180
19f2f11e
NL
1181 .topPosF {
1182 right: 2.5em;
1183 }
1184}
1185
1186@media screen and (max-width: 700px) {
26864574 1187 .entry {
19f2f11e
NL
1188 width: 100%;
1189 margin-left: 0;
1190 }
c146f694 1191
19f2f11e
NL
1192 #display-mode {
1193 display: none;
1194 }
1195}
1196
d32e1c42
TC
1197@media screen and (max-height: 770px) {
1198 .menu.users,
1199 .menu.internal,
1200 .menu.developer {
1201 display: none;
1202 }
1203}
1204
19f2f11e 1205@media screen and (max-width: 500px) {
56a7ce17
NL
1206 .hide {
1207 display: none;
1208 }
1209
26864574 1210 .entry {
19f2f11e
NL
1211 width: 100%;
1212 margin-left: 0;
1213 }
5ecdfcd0 1214
19f2f11e
NL
1215 body > header {
1216 background-color: #333;
1217 position: fixed;
1218 top: 0;
1219 width: 100%;
1220 height: 3em;
1221 z-index: 11;
1222 }
5ecdfcd0 1223
19f2f11e
NL
1224 #links li:last-child {
1225 position: static;
1226 width: auto;
1227 }
5ecdfcd0
TC
1228
1229 #links li:last-child a::before {
19f2f11e
NL
1230 content: none;
1231 }
5ecdfcd0 1232
19f2f11e
NL
1233 .logo {
1234 width: 1.25em;
1235 height: 1.25em;
1236 left: 0;
1237 top: 0;
1238 }
5ecdfcd0 1239
19f2f11e
NL
1240 .login > header {
1241 position: static;
1242 }
5ecdfcd0 1243
19f2f11e
NL
1244 .login form {
1245 width: 100%;
1246 position: static;
1247 margin-left: 0;
1248 }
5ecdfcd0 1249
19f2f11e 1250 .login .logo {
19f2f11e
NL
1251 height: auto;
1252 top: 0.5em;
1253 width: 75px;
19f2f11e
NL
1254 margin-left: -37.5px;
1255 }
5ecdfcd0 1256
19f2f11e
NL
1257 .desktopHide {
1258 display: block;
1259 position: fixed;
1260 z-index: 20;
1261 top: 0;
1262 right: 0;
5ecdfcd0 1263 border: 0;
19f2f11e
NL
1264 width: 2.5em;
1265 height: 2.5em;
1266 cursor: pointer;
1267 background-color: #999;
1268 font-size: 1.2em;
1269 }
c146f694 1270
5ecdfcd0
TC
1271 .desktopHide:hover,
1272 .desktopHide:focus {
1273 background-color: #fff;
1274 }
1275
19f2f11e
NL
1276 #links {
1277 display: none;
1278 width: 100%;
1279 height: auto;
1280 padding-top: 3em;
1281 }
5ecdfcd0 1282
19f2f11e
NL
1283 #links.menu--open {
1284 display: block;
1285 }
5ecdfcd0
TC
1286
1287 footer {
19f2f11e
NL
1288 position: static;
1289 margin-right: 3em;
1290 }
5ecdfcd0 1291
19f2f11e
NL
1292 #main {
1293 margin-left: 1.5em;
1294 padding-right: 1.5em;
1295 position: static;
1296 margin-top: 3em;
1297 }
5ecdfcd0 1298
1d4d9aaf
TC
1299 .card-entry-labels {
1300 display: none;
1301 }
1302
19f2f11e
NL
1303 #article_toolbar .topPosF {
1304 display: none;
1305 }
1306
1307 #article {
1308 width: 100%;
1309 }
1310
1311 #article h1 {
1312 font-size: 1.5em;
1313 }
5ecdfcd0 1314
19f2f11e
NL
1315 #article_toolbar a {
1316 padding: 0.3em 0.4em 0.2em;
1317 }
371ac69a 1318
19f2f11e
NL
1319 #display-mode {
1320 display: none;
1321 }
1322
5ecdfcd0
TC
1323 .popup-form,
1324 #bagit-form,
1325 #search-form {
19f2f11e
NL
1326 left: 0;
1327 width: 100%;
1328 border-left: none;
1329 }
1330
1331 .popup-form form,
1332 #bagit-form form,
1333 #search-form form {
1334 width: 100%;
1335 }
1336}