aboutsummaryrefslogtreecommitdiffhomepage
path: root/app/Resources/static/themes/material/css/main.css
diff options
context:
space:
mode:
Diffstat (limited to 'app/Resources/static/themes/material/css/main.css')
-rwxr-xr-xapp/Resources/static/themes/material/css/main.css165
1 files changed, 151 insertions, 14 deletions
diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css
index 408fe14c..f43e6042 100755
--- a/app/Resources/static/themes/material/css/main.css
+++ b/app/Resources/static/themes/material/css/main.css
@@ -150,6 +150,11 @@
150 background-image: url("../../_global/img/icons/diaspora-icon--black.png"); 150 background-image: url("../../_global/img/icons/diaspora-icon--black.png");
151} 151}
152 152
153/* Unmark.it */
154.icon-image--unmark {
155 background-image: url("../../_global/img/icons/unmark-icon--black.png");
156}
157
153/* Shaarli */ 158/* Shaarli */
154.icon-image--shaarli { 159.icon-image--shaarli {
155 background-image: url("../../_global/img/icons/shaarli.png"); 160 background-image: url("../../_global/img/icons/shaarli.png");
@@ -159,7 +164,7 @@ body {
159 display: flex; 164 display: flex;
160 min-height: 100vh; 165 min-height: 100vh;
161 flex-direction: column; 166 flex-direction: column;
162 background: #f0f0f0; 167 background: #fafafa;
163} 168}
164 169
165body.login main { 170body.login main {
@@ -189,7 +194,6 @@ main,
189 194
190.results { 195.results {
191 height: 1em; 196 height: 1em;
192 line-height: 30px;
193} 197}
194 198
195.results .nb-results, 199.results .nb-results,
@@ -198,6 +202,14 @@ main,
198 margin-bottom: 0; 202 margin-bottom: 0;
199} 203}
200 204
205.results .nb-results {
206 display: inline-flex;
207}
208
209.results a {
210 color: #444;
211}
212
201.pagination { 213.pagination {
202 float: right; 214 float: right;
203} 215}
@@ -271,6 +283,16 @@ nav input {
271 color: #aaa; 283 color: #aaa;
272} 284}
273 285
286nav {
287 height: auto;
288}
289
290.nav-wrapper {
291 display: flex;
292 flex-wrap: wrap;
293 justify-content: space-between;
294}
295
274.nav-wrapper .button-collapse { 296.nav-wrapper .button-collapse {
275 padding: 0 15px; 297 padding: 0 15px;
276} 298}
@@ -279,8 +301,10 @@ nav input {
279 display: none; 301 display: none;
280} 302}
281 303
282.nav-panels { 304.nav-panel-buttom {
283 overflow: hidden; 305 display: flex;
306 flex-grow: 1;
307 justify-content: flex-end;
284} 308}
285 309
286.nav-panel-buttom li { 310.nav-panel-buttom li {
@@ -317,11 +341,13 @@ nav input {
317 color: #444; 341 color: #444;
318} 342}
319 343
320.input-field.nav-panel-add label { 344.input-field.nav-panel-add label,
345.input-field.nav-panel-search label {
321 left: 1rem; 346 left: 1rem;
322} 347}
323 348
324.input-field.nav-panel-add .close { 349.input-field.nav-panel-add .close,
350.input-field.nav-panel-search .close {
325 position: absolute; 351 position: absolute;
326 top: 0; 352 top: 0;
327 right: 1rem; 353 right: 1rem;
@@ -340,8 +366,10 @@ nav input {
340} 366}
341 367
342.input-field.nav-panel-add, 368.input-field.nav-panel-add,
343.input-field.nav-panel-add form { 369.input-field.nav-panel-add form,
344 height: 100%; 370.input-field.nav-panel-search,
371.input-field.nav-panel-search form {
372 flex-grow: 1;
345} 373}
346 374
347/* ========================================================================== 375/* ==========================================================================
@@ -411,7 +439,6 @@ nav ul a:hover {
411.side-nav.fixed.right-aligned { 439.side-nav.fixed.right-aligned {
412 right: -250px; 440 right: -250px;
413 left: auto !important; 441 left: auto !important;
414 overflow-y: visible;
415} 442}
416 443
417#filters div.with-checkbox { 444#filters div.with-checkbox {
@@ -535,6 +562,18 @@ a.original {
535 line-height: 24px; 562 line-height: 24px;
536} 563}
537 564
565.card .card-action ul.tools li a.tool {
566 margin-right: 5px !important;
567}
568
569.card-stacked:hover ul.tools-list {
570 display: block;
571}
572
573.card-stacked ul.tools-list {
574 display: none;
575}
576
538.card .card-action a { 577.card .card-action a {
539 color: #fff; 578 color: #fff;
540 margin: 0; 579 margin: 0;
@@ -587,7 +626,55 @@ a.original {
587#article { 626#article {
588 font-size: 20px; 627 font-size: 20px;
589 margin: 0 auto; 628 margin: 0 auto;
590 max-width: 40em; 629 max-width: 45em;
630}
631
632#article article {
633 color: #424242;
634 font-size: 18px;
635 line-height: 1.7em;
636}
637
638#article article h1,
639#article article h2,
640#article article h3,
641#article article h4,
642#article article h5,
643#article article h6 {
644 color: #212121;
645}
646
647#article article h1 strong,
648#article article h2 strong,
649#article article h3 strong,
650#article article h4 strong,
651#article article h5 strong,
652#article article h6 strong {
653 font-weight: 500;
654}
655
656#article article h6 {
657 font-size: 1.2rem;
658}
659
660#article article h5 {
661 font-size: 1.6rem;
662}
663
664#article article h4 {
665 font-size: 1.9rem;
666}
667
668#article article h3 {
669 font-size: 2.2rem;
670}
671
672#article article h2 {
673 font-size: 2.5rem;
674}
675
676#article article h1 {
677 font-size: 2.7rem;
591} 678}
592 679
593#article img, 680#article img,
@@ -596,6 +683,46 @@ a.original {
596 height: auto; 683 height: auto;
597} 684}
598 685
686#article article a {
687 border-bottom: 1px dotted #03a9f4;
688 text-decoration: none;
689}
690
691#article article a:hover {
692 border-bottom-style: solid;
693}
694
695#article article ul {
696 padding-left: 30px;
697}
698
699#article article ul,
700#article article ul li {
701 list-style-type: disc;
702}
703
704#article article blockquote {
705 font-style: italic;
706}
707
708#article article strong {
709 font-weight: bold;
710}
711
712#article article pre {
713 box-sizing: border-box;
714 margin: 0 0 1.75em;
715 border: #e3f2fd 1px solid;
716 width: 100%;
717 padding: 10px;
718 font-family: monospace;
719 font-size: 0.8em;
720 white-space: pre;
721 overflow: auto;
722 background: #f5f5f5;
723 border-radius: 3px;
724}
725
599#article > header > h1 { 726#article > header > h1 {
600 font-size: 2em; 727 font-size: 2em;
601 margin: 2.1rem 0 0.68rem; 728 margin: 2.1rem 0 0.68rem;
@@ -691,6 +818,14 @@ article aside .tools li {
691 width: auto; 818 width: auto;
692 } 819 }
693 820
821 .nav-panels .action {
822 padding-right: 0.75rem;
823 }
824
825 .nav-panel-buttom {
826 justify-content: space-around;
827 }
828
694 #article { 829 #article {
695 max-width: 35em; 830 max-width: 35em;
696 margin-left: auto; 831 margin-left: auto;
@@ -727,11 +862,13 @@ article aside .tools li {
727 .pagination li.next { 862 .pagination li.next {
728 width: auto; 863 width: auto;
729 } 864 }
730}
731 865
732@media only screen and (min-width: 400px) { 866 .drag-target + .drag-target {
733 .nav-panel-buttom { 867 height: 50%;
734 float: right; 868 }
869
870 .drag-target + .drag-target + .drag-target {
871 top: 50%;
735 } 872 }
736} 873}
737 874