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