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