]> git.immae.eu Git - github/wallabag/wallabag.git/blame - src/Wallabag/CoreBundle/Resources/public/themes/material/css/main.css
Merge pull request #1797 from wallabag/v2-fix-adding-entry-API
[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
e8d80262
TC
342#article img {
343 max-width: 100%;
344 height: auto;
345}
346
53e12188
AD
347.reader-mode {
348 width: 95px !important;
349 transition: width 0.2s ease;
350}
351
352.reader-mode:hover {
353 width: 240px !important;
354}
355
6fd3d82c
AD
356.reader-mode .collapsible-body {
357 height: 0;
358 overflow: hidden;
359}
360
361.reader-mode:hover .collapsible-body {
362 height: auto;
363}
364
53e12188
AD
365.reader-mode span {
366 opacity: 0;
367 transition: opacity 0.2s ease;
368}
369
370.reader-mode:hover span {
371 opacity: 1;
372}
373
fcb3faf1
AD
374.progress {
375 position:fixed;
376 top:0px;
377 width: 100%;
378 height: 3px;
379 margin: 0;
380 z-index: 9999;
381}
a754db33
NL
382
383#article aside .link {
384 color: #000;
385 font-size: 0.6em;
386 text-decoration: none;
387}
388
389#article aside #list {
390 float: right;
391 margin-right: 15px;
392}
393
68e9dcf6 394#article aside .chip {
a754db33 395 background-color: #039be5;
68e9dcf6 396 color: #ffffff;
a754db33
NL
397}
398
a7c7de4e
AD
399#article aside .chip i {
400 color: #ffffff;
401}
402
53e12188
AD
403/* ==========================================================================
404 6 = Media queries
405 ========================================================================== */
406
407 @media only screen and (max-width : 992px) {
408 header, main, footer {
409 padding-left: 0;
410 }
b17874a7
AD
411 nav, main, footer {
412 padding-left: 0;
413 }
414 .pagination {
415 width: auto;
416 }
417 .reader-mode {
418 width: 240px !important;
419 }
420 .reader-mode span {
421 opacity: 1;
422 }
53e12188 423 }
9948d899 424
dcb6bd7a
TC
425@media only screen and (min-width : 400px) {
426 .nav-panel-buttom {
427 float: right;
428 }
429}
430
9948d899
AD
431@media only screen and (min-width : 993px) and (max-width : 1180px) {
432 .row .col.l1 {
433 width: 25%;
434 margin-left: 0; }
435 .row .col.l2 {
436 width: 33.33333%;
437 margin-left: 0; }
438 .row .col.l3 {
439 width: 41.66667%;
440 margin-left: 0; }
441 .row .col.l4 {
442 width: 50%;
443 margin-left: 0; }
444 .row .col.l5 {
445 width: 58.33333%;
446 margin-left: 0; }
447 .row .col.l6 {
448 width: 66.66667%;
449 margin-left: 0; }
450 .row .col.l7 {
451 width: 75%;
452 margin-left: 0; }
453 .row .col.l8 {
454 width: 83.33333%;
455 margin-left: 0; }
456 .row .col.l9 {
457 width: 91.66667%;
458 margin-left: 0; }
459 .row .col.l10 {
460 width: 100%;
461 margin-left: 0; }
462}
463
9948d899
AD
464@media only screen and (max-width : 350px) {
465 .nb-results {
466 display: none;
467 }
b69fc062 468}
ba873ae6
AD
469
470/* ==========================================================================
471 7 = Font
472 ========================================================================== */
473
474.icon-google-plus2:before {
475 content: "\e800";
476}
477.icon-facebook2:before {
478 content: "\e801";
479}
480.icon-twitter:before {
481 content: "\e802";
482}
483.icon-apple:before {
484 content: "\e803";
485}
486.icon-android:before {
487 content: "\e804";
488}
489.icon-chrome:before {
490 content: "\e805";
491}
492.icon-firefox:before {
493 content: "\e806";
494}
495
496footer [class^="icon-"], footer [class*=" icon-"] {
497 font-size: 2em;
498 transition: text-shadow 0.2s ease;
499 padding-right: 10px;
500}
501
502footer [class^="icon-"]:hover, footer [class*=" icon-"]:hover {
503 text-shadow: 0 0 10px rgba(0,0,0,0.3);
504}
505
506
83aaf841 507/* ==========================================================================
ba873ae6 508 8 = Others
83aaf841
JB
509 ========================================================================== */
510
dc1c2deb
JB
511/* force height on non-input field in the settings page */
512div.settings div.input-field div, div.settings div.input-field ul {
83aaf841 513 margin-top: 40px;
7019c7cf
JB
514}
515/* but avoid to kill all file input */
516div.settings div.file-field div {
517 margin-top: inherit;
518}