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