]> git.immae.eu Git - github/wallabag/wallabag.git/blame - app/Resources/static/themes/material/css/main.css
Add missing env in install.sh
[github/wallabag/wallabag.git] / app / Resources / static / themes / material / css / main.css
CommitLineData
5ecdfcd0
TC
1/* ==========================================================================
2 Sommaire
3
4 0 = Common
5 1 = Nav
6 2 = Side-nav
7 3 = Filters slider
8 4 = Cards
9 5 = Article
10 6 = Media queries
11 7 = Font
12 8 = Others
13
14 ========================================================================== */
15
16/* ==========================================================================
17 0 = Common
18 ========================================================================== */
19
20@font-face {
21 font-family: icomoon;
0471e905 22 src: url("../fonts/IcoMoon-Free.ttf");
5ecdfcd0
TC
23 font-weight: normal;
24 font-style: normal;
25}
26
27@font-face {
28 font-family: 'Material Icons';
29 font-style: normal;
30 font-weight: 400;
31 src: url(../fonts/MaterialIcons-Regular.eot);
1d4d9aaf 32
5ecdfcd0
TC
33 /* For IE6-8 */
34 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");
35}
36
37.material-icons {
38 font-family: 'Material Icons';
39 font-weight: normal;
40 font-style: normal;
41 font-size: 24px; /* Preferred icon size */
42 width: 1em;
43 height: 1em;
44 display: inline-block;
45 line-height: 1;
46 text-transform: none;
47 letter-spacing: normal;
48 word-wrap: normal;
49 white-space: nowrap;
50 direction: ltr;
51
52 /* Support for all WebKit browsers. */
53 -webkit-font-smoothing: antialiased;
1d4d9aaf 54
5ecdfcd0
TC
55 /* Support for Safari and Chrome. */
56 text-rendering: optimizeLegibility;
57
58 /* Support for Firefox. */
59 -moz-osx-font-smoothing: grayscale;
60
61 /* Support for IE. */
62 font-feature-settings: 'liga';
63}
64
65[class^="icon-"],
66[class*=" icon-"] {
67 font-family: icomoon;
68 speak: none;
69 font-style: normal;
70 font-weight: normal;
71 font-variant: normal;
72 text-transform: none;
73 line-height: 1;
74
75 /* Better Font Rendering =========== */
76 -webkit-font-smoothing: antialiased;
77 -moz-osx-font-smoothing: grayscale;
78}
79
80body {
81 display: flex;
82 min-height: 100vh;
83 flex-direction: column;
84 background: #f0f0f0;
85}
86
87body.login main {
88 padding: 0;
cdd3010b 89 min-height: 100vh;
5ecdfcd0
TC
90}
91
92.border-bottom {
93 border-bottom: 1px solid #ddd;
94}
95
96nav,
97main,
98footer {
99 padding-left: 240px;
100}
101
102main,
103#content,
104.valign-wrapper {
105 height: 100%;
106}
107
108#main {
109 flex: 1 0 auto;
110}
111
112.results {
113 height: 1em;
114 line-height: 30px;
115}
116
117.results .nb-results,
118.results .pagination {
119 margin: 15px;
120 margin-bottom: 0;
121}
122
123.pagination {
1d4d9aaf 124 float: right;
5ecdfcd0
TC
125}
126
127.pagination ul {
1d4d9aaf 128 margin: 0 !important;
5ecdfcd0
TC
129}
130
131.pagination li {
132 padding: 0;
133}
134
135.pagination a {
136 padding: 0 10px;
137 height: 30px;
138 display: block;
139}
140
141.pagination .disabled {
1d4d9aaf
TC
142 margin-right: 10px;
143 margin-left: 10px;
5ecdfcd0
TC
144}
145
146div.pagination ul .prev.disabled,
147div.pagination ul .next.disabled {
148 display: none;
149}
150
151.pagination li.active span {
1d4d9aaf
TC
152 padding: 0 10px;
153 height: 30px;
154 display: block;
155 color: #fff;
5ecdfcd0
TC
156}
157
158.page-footer .footer-copyright p {
159 display: inline;
160}
161
162.hidden {
163 display: none;
164}
165
166.picker__date-display {
167 display: none;
168}
169
170footer.page-footer {
171 margin-top: 10px;
c146f694 172 padding-top: 0;
5ecdfcd0
TC
173}
174
175footer .row {
176 margin-bottom: 10px;
177}
178
179/* ==========================================================================
180 1 = Nav
181 ========================================================================== */
182
183nav input {
184 color: #aaa;
185}
186
187.nav-wrapper .button-collapse {
188 padding: 0 15px;
189}
190
191.nav-input {
192 display: none;
193}
194
195.nav-panels {
196 overflow: hidden;
197}
198
199.nav-panel-buttom li {
200 max-height: 64px;
201}
202
203.nav-panels {
204 transition: background 0.2s ease;
205}
206
207.nav-panel-add .add,
208.nav-panel-search .search,
209.nav-panels .close {
210 color: #444 !important;
211}
212
213.nav-panels .action {
214 padding-left: 0.75rem;
215 font-size: 2.1rem;
216 white-space: nowrap;
217}
218
219.nav-panels .input-field input {
220 display: block;
221 line-height: inherit;
222 padding-left: 4rem !important;
223 width: calc(100% - 8rem);
224}
225
226.nav-panels .input-field input:focus {
227 background-color: #fff;
228 border: 0;
229 box-shadow: none;
230 color: #444;
231}
232
233.input-field.nav-panel-add label {
234 left: 1rem;
235}
236
237.input-field.nav-panel-add .close {
238 position: absolute;
239 top: 0;
240 right: 1rem;
241 color: transparent;
242 cursor: pointer;
243 font-size: 2rem;
244 transition: 0.3s color;
245}
246
247#button_filters {
248 display: none;
249}
250
251#button_export {
252 display: none;
253}
254
c146f694
TC
255.input-field.nav-panel-add,
256.input-field.nav-panel-add form {
257 height: 100%;
cdd3010b
JB
258}
259
5ecdfcd0
TC
260/* ==========================================================================
261 2 = Side-nav
262 ========================================================================== */
263
264.side-nav.fixed a {
265 font-size: 13px;
266 line-height: 44px;
267 height: 44px;
268}
269
270.side-nav .collapsible-header,
271.side-nav.fixed .collapsible-header {
1d4d9aaf
TC
272 height: 45px;
273 line-height: 44px;
274 padding: 0 20px;
5ecdfcd0
TC
275}
276
277.bold > a {
278 font-weight: bold;
279}
280
281.side-nav > li.logo {
282 line-height: 0;
283 text-align: center;
284}
285
286#main .logo a {
287 height: 100pt;
288}
289
290#main .logo img {
291 height: 100pt;
292 width: 100pt;
293}
294
295#main .logo:hover {
296 background: transparent;
297}
298
299.side-nav li {
300 padding: 0;
301}
302
303.side-nav a {
304 margin: 0 1rem;
305}
306
8315130a
NL
307span.numberItems {
308 float: right;
309}
310
5ecdfcd0
TC
311/* ==========================================================================
312 * 3 = Filters slider
313 * ========================================================================== */
314
315#filters button {
316 padding: 0;
317 width: 100%;
318}
319
320.side-nav.fixed.right-aligned {
321 right: -250px;
322 left: auto !important;
323 overflow-y: visible;
324}
325
326#filters div.with-checkbox {
327 height: 3rem;
328 margin-top: 0;
329}
330
331/* ==========================================================================
332 4 = Cards
333 ========================================================================== */
334
335main #content {
336 padding: 0 0.5rem;
337}
338
339main ul.row {
340 padding: 0 0.75rem;
341}
342
343.data .card .card-body {
344 height: 22em;
345 overflow: hidden;
346}
347
348.card .card-content .card-title {
349 line-height: 32px;
cdd3010b 350 max-height: 64px;
cdd3010b
JB
351}
352
c146f694
TC
353.card .card-content i.right,
354.card .card-reveal i.right {
355 margin-left: 0;
5ecdfcd0
TC
356}
357
25dc07d3 358.card .card-entry-labels {
1d4d9aaf
TC
359 position: absolute;
360 top: 10px;
361 z-index: 90;
362 max-width: 50%;
25dc07d3
TC
363}
364
365.card .card-entry-labels li {
1d4d9aaf
TC
366 margin: 10px 10px 10px auto;
367 padding: 5px 12px 5px 16px;
368 background-color: rgba(0, 151, 167, 0.85);
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;
25dc07d3
TC
376}
377
378.card .card-entry-labels-hidden {
1d4d9aaf 379 margin-top: 5px;
25dc07d3
TC
380}
381
382.card .card-entry-labels-hidden li {
1d4d9aaf
TC
383 display: inline-block;
384 background-color: rgba(0, 151, 167, 0.85);
385 margin: 0 5px;
386 padding: 5px 12px;
387 border-radius: 3px;
388 color: #fff;
389 max-height: 2em;
390 max-width: calc(100% - 15px);
391 overflow: hidden;
392 text-overflow: ellipsis;
393 white-space: nowrap;
25dc07d3
TC
394}
395
5ecdfcd0
TC
396.card .card-content .estimatedTime {
397 margin-bottom: 10px;
398}
399
400.card .card-action .original {
401 line-height: 24px;
402}
403
404.card .card-action ul.links {
405 margin: 0;
406 font-size: 24px;
407 line-height: 24px;
408}
409
410.card .card-action a {
0f70abd6 411 color: #fff;
5ecdfcd0
TC
412 margin: 0;
413}
414
415.card .card-action a:hover {
0f70abd6
NL
416 color: #fff;
417}
418
419.quickstart .card .card-action a, .quickstart .card .card-action a:hover {
420 color: #fff !important;
5ecdfcd0
TC
421}
422
423.settings .div_tabs {
424 padding-bottom: 15px;
425}
426
427.card.sw {
428 max-width: 370px;
429 margin-left: auto;
430 margin-right: auto;
431}
432
433.card .card-image {
434 height: 14em;
435}
436
437.card .card-image .preview {
438 height: 14em;
439 background-size: cover;
440 background-repeat: no-repeat;
441 background-position: 50%;
442}
443
444/* ==========================================================================
445 5 = Article
446 ========================================================================== */
447
448#article {
449 font-size: 20px;
450 margin: 0 auto;
451 max-width: 40em;
452}
453
79efca1e
JB
454#article img,
455#article figure {
5ecdfcd0
TC
456 max-width: 100%;
457 height: auto;
458}
459
a15022db
TC
460#article > header > h1 {
461 font-size: 2em;
462}
463
5ecdfcd0
TC
464.reader-mode {
465 width: 95px !important;
466 transition: width 0.2s ease;
467}
468
469.reader-mode:hover {
470 width: 240px !important;
471}
472
473.reader-mode .collapsible-body {
474 height: 0;
475 overflow: hidden;
476}
477
478.reader-mode:hover .collapsible-body {
479 height: auto;
480}
481
482.reader-mode span {
483 opacity: 0;
484 transition: opacity 0.2s ease;
485}
486
487.reader-mode:hover span {
488 opacity: 1;
489}
490
491.progress {
492 position: fixed;
493 top: 0;
494 width: 100%;
495 height: 3px;
496 margin: 0;
497 z-index: 9999;
498}
499
500#article aside .link {
501 color: #000;
502 font-size: 0.8em;
503 text-decoration: none;
504}
505
506#article aside #list {
507 float: right;
eef833d6 508 margin: 0 15px 10px;
5ecdfcd0
TC
509}
510
511#article aside .chip {
1d4d9aaf 512 background-color: rgba(0, 151, 167, 0.85);
5ecdfcd0 513 color: #fff;
eef833d6 514 padding: 0 15px 0 10px;
5ecdfcd0
TC
515}
516
517#article aside .chip i {
518 color: #fff;
519}
520
521/* ==========================================================================
522 6 = Media queries
523 ========================================================================== */
524
525@media only screen and (max-width: 992px) {
526 header,
527 main,
528 footer {
529 padding-left: 0;
530 }
c146f694 531
5ecdfcd0
TC
532 nav,
533 main,
534 footer {
535 padding-left: 0;
536 }
c146f694 537
5ecdfcd0
TC
538 .pagination {
539 width: auto;
1d4d9aaf 540 }
c146f694 541
5ecdfcd0
TC
542 .reader-mode {
543 width: 240px !important;
544 }
c146f694 545
5ecdfcd0
TC
546 .reader-mode span {
547 opacity: 1;
548 }
c146f694 549
5ecdfcd0
TC
550 .tabs {
551 display: inline-block;
552 height: auto;
553 }
c146f694 554
5ecdfcd0
TC
555 .tab {
556 min-width: 100%;
557 }
c146f694 558
5ecdfcd0
TC
559 .indicator {
560 display: none;
561 }
c146f694 562
1d4d9aaf
TC
563 .pagination li.prev,
564 .pagination li.next {
5ecdfcd0
TC
565 width: auto;
566 }
567}
568
569@media only screen and (min-width: 400px) {
570 .nav-panel-buttom {
571 float: right;
572 }
573}
574
575@media only screen and (min-width: 993px) and (max-width: 1180px) {
576 .row .col.l1 {
577 width: 25%;
578 margin-left: 0;
579 }
c146f694 580
5ecdfcd0
TC
581 .row .col.l2 {
582 width: 33.33333%;
583 margin-left: 0;
584 }
c146f694 585
5ecdfcd0
TC
586 .row .col.l3 {
587 width: 41.66667%;
588 margin-left: 0;
589 }
c146f694 590
5ecdfcd0
TC
591 .row .col.l4 {
592 width: 50%;
593 margin-left: 0;
594 }
c146f694 595
5ecdfcd0
TC
596 .row .col.l5 {
597 width: 58.33333%;
598 margin-left: 0;
599 }
c146f694 600
5ecdfcd0
TC
601 .row .col.l6 {
602 width: 66.66667%;
603 margin-left: 0;
604 }
c146f694 605
5ecdfcd0
TC
606 .row .col.l7 {
607 width: 75%;
608 margin-left: 0;
609 }
c146f694 610
5ecdfcd0
TC
611 .row .col.l8 {
612 width: 83.33333%;
613 margin-left: 0;
614 }
c146f694 615
5ecdfcd0
TC
616 .row .col.l9 {
617 width: 91.66667%;
618 margin-left: 0;
619 }
c146f694 620
5ecdfcd0
TC
621 .row .col.l10 {
622 width: 100%;
623 margin-left: 0;
624 }
625}
626
627@media only screen and (max-width: 350px) {
628 .nb-results {
629 display: none;
630 }
631}
632
633/* ==========================================================================
634 7 = Font
635 ========================================================================== */
636
637.icon-google-plus2::before {
638 content: "\ea89";
639}
640
641.icon-facebook2::before {
642 content: "\ea8d";
643}
644
645.icon-twitter::before {
646 content: "\ea91";
647}
648
649.icon-apple::before {
650 content: "\eabf";
651}
652
653.icon-android::before {
654 content: "\eac1";
655}
656
657.icon-chrome::before {
658 content: "\eae5";
659}
660
661.icon-firefox::before {
662 content: "\eae6";
663}
664
8e06720f 665.icon-link::before {
c146f694 666 content: "\e9cb";
8e06720f
NL
667}
668
5ecdfcd0
TC
669footer [class^="icon-"],
670footer [class*=" icon-"] {
671 font-size: 2em;
672 transition: text-shadow 0.2s ease;
673 padding-right: 10px;
674}
675
1d4d9aaf
TC
676footer [class^="icon-"]:hover,
677footer [class*=" icon-"]:hover {
5ecdfcd0
TC
678 text-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
679}
680
681/* ==========================================================================
682 8 = Others
683 ========================================================================== */
684
685/* force height on non-input field in the settings page */
686div.settings div.input-field div,
687div.settings div.input-field ul {
688 margin-top: 40px;
689}
690
691/* but avoid to kill all file input */
692div.settings div.file-field div {
693 margin-top: inherit;
694}
b1e0a586
NL
695
696.input-field label.active {
c146f694 697 font-size: 1rem;
b1e0a586 698}