]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Resources/public/themes/material/css/main.css
Merge pull request #2330 from pmichelazzo/master
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / public / themes / material / css / main.css
CommitLineData
53e12188
AD
1/* ==========================================================================
2 Sommaire
3
4 0 = Common
5 1 = Nav
6 2 = Side-nav
83aaf841
JB
7 3 = Filters slider
8 4 = Cards
53e12188 9 5 = Article
53e12188 10 6 = Media queries
ba873ae6
AD
11 7 = Font
12 8 = Others
53e12188
AD
13
14 ========================================================================== */
15
16
17/* ==========================================================================
18 0 = Common
19 ========================================================================== */
20
ba873ae6
AD
21@font-face {
22 font-family: 'icomoon';
23 src:url('../font/icomoon/icomoon.eot?yw303w');
24 src:url('../font/icomoon/icomoon.eot?yw303w#iefix') format('embedded-opentype'),
25 url('../font/icomoon/icomoon.ttf?yw303w') format('truetype'),
26 url('../font/icomoon/icomoon.woff?yw303w') format('woff'),
27 url('../font/icomoon/icomoon.svg?yw303w#icomoon') format('svg');
28 font-weight: normal;
29 font-style: normal;
30}
31
32[class^="icon-"], [class*=" icon-"] {
33 font-family: 'icomoon';
34 speak: none;
35 font-style: normal;
36 font-weight: normal;
37 font-variant: normal;
38 text-transform: none;
39 line-height: 1;
40
41 /* Better Font Rendering =========== */
42 -webkit-font-smoothing: antialiased;
43 -moz-osx-font-smoothing: grayscale;
44}
45
53e12188
AD
46body {
47 display: flex;
48 min-height: 100vh;
49 flex-direction: column;
50 background: #f0f0f0;
51}
52
e0d18880
NL
53body.login main {
54 padding: 0;
5aba43d9 55 min-height: 100vh;
e0d18880
NL
56}
57
53e12188
AD
58.border-bottom {
59 border-bottom: 1px solid #DDD;
60}
61
62nav, main, footer {
63 padding-left: 240px;
64}
65
c26a3edc
AD
66main, #content, .valign-wrapper {
67 height: 100%;
68}
69
53e12188
AD
70#main {
71 flex: 1 0 auto;
72}
73
74.results {
75 height: 1em;
76 line-height: 30px;
77}
78
79.results .nb-results, .results .pagination {
80 margin: 15px;
81 margin-bottom: 0;
82}
83
624a7c6d
NL
84.pagination {
85 float: right;
86}
87
88.pagination ul {
89 margin: 0 !important;
90}
91
d75a9fa3
AD
92.pagination li {
93 padding: 0;
94}
95
96.pagination a {
97 padding: 0px 10px;
98 height: 30px;
99 display: block;
100}
101
624a7c6d
NL
102.pagination li.active span {
103 padding: 0px 10px;
104 height: 30px;
105 display: block;
106 color: #fff;
107}
108
63995be5
NL
109.pagination .disabled {
110 margin-right: 10px;
111 margin-left: 10px;
112}
113
53e12188
AD
114.page-footer .footer-copyright p {
115 display: inline;
116}
117
118.hidden {
119 display: none;
120}
121
727b39a9
AD
122.picker__date-display {
123 display: none;
124}
125
ba873ae6
AD
126footer.page-footer {
127 margin-top: 10px;
128 padding-top: 10px;
129}
130
131footer .row {
132 margin-bottom: 10px;
133}
134
53e12188
AD
135/* ==========================================================================
136 1 = Nav
137 ========================================================================== */
138
06fdfd02
AD
139nav input {
140 color: #aaa;
141}
142
53e12188
AD
143.nav-wrapper .button-collapse {
144 padding: 0px 15px;
145}
146
147.nav-input {
148 display: none;
149}
150
151.nav-panels {
342f0cc5 152 overflow: hidden;
53e12188
AD
153}
154
155.nav-panel-buttom li {
156 max-height: 64px;
157}
158
768303a5
AD
159.nav-panels {
160 transition: background 0.2s ease;
161}
162
946d6a51
AD
163.nav-panel-add .mdi-content-add,
164.nav-panel-search .mdi-action-search,
165.nav-panels .mdi-navigation-close {
768303a5
AD
166 color: #444 !important;
167}
168
0e765068
AD
169.nav-panels .action {
170 padding-left: 0.75rem;
171 font-size: 2.1rem;
172 white-space: nowrap;
173}
174
8ba913d8 175.nav-panels .input-field input {
06fdfd02
AD
176 display: block;
177 line-height: inherit;
178 padding-left: 4rem !important;
179 width: calc(100% - 8rem);
180}
181
8ba913d8 182.nav-panels .input-field input:focus {
06fdfd02
AD
183 background-color: #fff;
184 border: 0;
185 box-shadow: none;
186 color: #444;
187}
188
189.input-field.nav-panel-add label {
190 left: 1rem;
191}
192
193.input-field.nav-panel-add .mdi-navigation-close {
194 position: absolute;
195 top: 0;
196 right: 1rem;
197 color: transparent;
198 cursor: pointer;
199 font-size: 2rem;
200 transition: .3s color;
201}
202
392f4a26
AD
203#button_filters {
204 display: none;
205}
10b2411c
NL
206#button_export {
207 display: none;
208}
392f4a26 209
ceebf13f
AD
210.input-field.nav-panel-add, .input-field.nav-panel-add form {
211 height: 100%;
212}
213
53e12188
AD
214/* ==========================================================================
215 2 = Side-nav
216 ========================================================================== */
217
218.side-nav.fixed a {
219 font-size: 13px;
220 line-height: 44px;
221 height: 44px;
222}
223
224.bold > a {
225 font-weight: bold;
226}
227
228.side-nav > li.logo {
229 line-height: 0;
230 text-align: center;
231}
232
233#main .logo a {
234 height: 100pt;
235}
236
237#main .logo img {
238 height: 100pt;
239 width: 100pt;
240}
241
c26a3edc
AD
242#main .logo:hover {
243 background: transparent;
244}
245
53e12188
AD
246.side-nav li {
247 padding: 0px;
248}
249
250.side-nav a {
251 margin: 0px 1rem;
252}
253
392f4a26
AD
254/* ==========================================================================
255 * 3 = Filters slider
256 * ========================================================================== */
257
258#filters button {
259 padding: 0px;
260 width: 100%;
261}
262
d75a9fa3
AD
263.side-nav.fixed.right-aligned {
264 right: -250px;
265 left: auto !important;
727b39a9 266 overflow-y: visible;
d75a9fa3
AD
267}
268
db96045a
JB
269#filters div.with-checkbox {
270 height: 3rem;
271 margin-top: 0px;
272}
273
53e12188 274/* ==========================================================================
83aaf841 275 4 = Cards
53e12188
AD
276 ========================================================================== */
277
278main #content {
279 padding: 0px 0.5rem;
280}
281
282main ul.row {
283 padding: 0px 0.75rem;
284}
285
451bad02 286.data .card .card-body {
342f0cc5
AD
287 height: 22em;
288 overflow: hidden;
53e12188
AD
289}
290
291.card .card-content .card-title {
292 line-height: 32px;
e32aea53
AD
293 max-height: 64px;
294 display: block;
295}
296
297.card .card-content i.right, .card .card-reveal i.right {
298 margin-left: 0;
53e12188
AD
299}
300
301.card .card-content .estimatedTime {
302 margin-bottom: 10px;
303}
304
305.card .card-action .original {
306 line-height: 24px;
307}
308
309.card .card-action ul.links {
310 margin: 0;
311 font-size: 24px;
312 line-height: 24px;
313}
314
9948d899 315.card .card-action a {
ec3ce598 316 color: #ffffff;
9948d899
AD
317 margin: 0;
318}
319
ec3ce598
NL
320.card .card-action a:hover {
321 color: #ffffff;
322}
323
9948d899
AD
324.settings .div_tabs {
325 padding-bottom: 15px;
53e12188
AD
326}
327
b17874a7
AD
328.card.sw {
329 max-width: 370px;
330 margin-left: auto;
331 margin-right: auto;
332}
333
451bad02
AD
334.mdi-card-close:before {
335 content: "\e8aa";
336}
337
338.card .card-image {
339 height: 14em;
340}
341
342.card .card-image .preview {
343 height: 14em;
344 background-size: cover;
345 background-repeat: no-repeat;
346 background-position: 50%;
347}
348
53e12188 349/* ==========================================================================
83aaf841 350 5 = Article
53e12188
AD
351 ========================================================================== */
352
353#article {
354 font-size: 20px;
355 margin: 0px auto;
b69fc062 356 max-width: 40em;
53e12188
AD
357}
358
f64472e9
S
359#article img,
360#article figure {
e8d80262
TC
361 max-width: 100%;
362 height: auto;
363}
364
53e12188
AD
365.reader-mode {
366 width: 95px !important;
367 transition: width 0.2s ease;
368}
369
370.reader-mode:hover {
371 width: 240px !important;
372}
373
6fd3d82c
AD
374.reader-mode .collapsible-body {
375 height: 0;
376 overflow: hidden;
377}
378
379.reader-mode:hover .collapsible-body {
380 height: auto;
381}
382
53e12188
AD
383.reader-mode span {
384 opacity: 0;
385 transition: opacity 0.2s ease;
386}
387
388.reader-mode:hover span {
389 opacity: 1;
390}
391
fcb3faf1
AD
392.progress {
393 position:fixed;
394 top:0px;
395 width: 100%;
396 height: 3px;
397 margin: 0;
398 z-index: 9999;
399}
a754db33
NL
400
401#article aside .link {
402 color: #000;
403 font-size: 0.6em;
404 text-decoration: none;
405}
406
407#article aside #list {
408 float: right;
409 margin-right: 15px;
410}
411
68e9dcf6 412#article aside .chip {
a754db33 413 background-color: #039be5;
68e9dcf6 414 color: #ffffff;
a754db33
NL
415}
416
a7c7de4e
AD
417#article aside .chip i {
418 color: #ffffff;
419}
420
53e12188
AD
421/* ==========================================================================
422 6 = Media queries
423 ========================================================================== */
424
425 @media only screen and (max-width : 992px) {
426 header, main, footer {
427 padding-left: 0;
428 }
b17874a7
AD
429 nav, main, footer {
430 padding-left: 0;
431 }
432 .pagination {
433 width: auto;
434 }
435 .reader-mode {
436 width: 240px !important;
437 }
438 .reader-mode span {
439 opacity: 1;
440 }
2cc7de1e
TC
441
442 .tabs {
443 display: inline-block;
444 height: auto;
445 }
446 .tab {
447 min-width: 100%;
448 }
449 .indicator {
450 display: none;
451 }
e7cd089f
NL
452 .pagination li.prev, .pagination li.next {
453 width: auto;
454 }
53e12188 455 }
9948d899 456
dcb6bd7a
TC
457@media only screen and (min-width : 400px) {
458 .nav-panel-buttom {
459 float: right;
460 }
461}
462
9948d899
AD
463@media only screen and (min-width : 993px) and (max-width : 1180px) {
464 .row .col.l1 {
465 width: 25%;
466 margin-left: 0; }
467 .row .col.l2 {
468 width: 33.33333%;
469 margin-left: 0; }
470 .row .col.l3 {
471 width: 41.66667%;
472 margin-left: 0; }
473 .row .col.l4 {
474 width: 50%;
475 margin-left: 0; }
476 .row .col.l5 {
477 width: 58.33333%;
478 margin-left: 0; }
479 .row .col.l6 {
480 width: 66.66667%;
481 margin-left: 0; }
482 .row .col.l7 {
483 width: 75%;
484 margin-left: 0; }
485 .row .col.l8 {
486 width: 83.33333%;
487 margin-left: 0; }
488 .row .col.l9 {
489 width: 91.66667%;
490 margin-left: 0; }
491 .row .col.l10 {
492 width: 100%;
493 margin-left: 0; }
494}
495
9948d899
AD
496@media only screen and (max-width : 350px) {
497 .nb-results {
498 display: none;
499 }
b69fc062 500}
ba873ae6
AD
501
502/* ==========================================================================
503 7 = Font
504 ========================================================================== */
505
506.icon-google-plus2:before {
507 content: "\e800";
508}
509.icon-facebook2:before {
510 content: "\e801";
511}
512.icon-twitter:before {
513 content: "\e802";
514}
515.icon-apple:before {
516 content: "\e803";
517}
518.icon-android:before {
519 content: "\e804";
520}
521.icon-chrome:before {
522 content: "\e805";
523}
524.icon-firefox:before {
525 content: "\e806";
526}
527
528footer [class^="icon-"], footer [class*=" icon-"] {
529 font-size: 2em;
530 transition: text-shadow 0.2s ease;
531 padding-right: 10px;
532}
533
534footer [class^="icon-"]:hover, footer [class*=" icon-"]:hover {
535 text-shadow: 0 0 10px rgba(0,0,0,0.3);
536}
537
538
83aaf841 539/* ==========================================================================
ba873ae6 540 8 = Others
83aaf841
JB
541 ========================================================================== */
542
dc1c2deb
JB
543/* force height on non-input field in the settings page */
544div.settings div.input-field div, div.settings div.input-field ul {
83aaf841 545 margin-top: 40px;
7019c7cf
JB
546}
547/* but avoid to kill all file input */
548div.settings div.file-field div {
549 margin-top: inherit;
550}