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