X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2FResources%2Fstatic%2Fthemes%2Fmaterial%2Fcss%2Fmain.css;h=b165d45e0b6344594ca11f4634e0e73feeb12353;hb=8a9604aafe8b8c6ddde4e1be78189af5238588fb;hp=397622bdaaa711690b5ace4fcf5821d7b54029d6;hpb=8c3c69fb9c8df3f78fe41ecc4349e11f5d5affdc;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/Resources/static/themes/material/css/main.css b/app/Resources/static/themes/material/css/main.css index 397622bd..b165d45e 100755 --- a/app/Resources/static/themes/material/css/main.css +++ b/app/Resources/static/themes/material/css/main.css @@ -62,8 +62,8 @@ font-feature-settings: 'liga'; } -[class^="icon-"], -[class*=" icon-"] { +[class^="icon-"]::before, +[class*=" icon-"]::before { font-family: icomoon; speak: none; font-style: normal; @@ -71,12 +71,69 @@ font-variant: normal; text-transform: none; line-height: 1; + background-size: 24px; + + /* Enable Ligatures ================ */ + letter-spacing: 0; + -webkit-font-feature-settings: "liga"; + -moz-font-feature-settings: "liga=1"; + -moz-font-feature-settings: "liga"; + -ms-font-feature-settings: "liga" 1; + -o-font-feature-settings: "liga"; + font-feature-settings: "liga"; /* Better Font Rendering =========== */ -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } +.icon-image { + background-size: 16px; + background-repeat: no-repeat; + padding-right: 1em !important; + padding-left: 1em !important; +} + +.icon-eye::before { + content: "\e9ce"; +} + +.icon-no-eye::before { + content: "\e9d1"; +} + +.icon-calendar::before { + content: "\e953"; +} + +.icon-mail::before { + content: "\ea86"; +} + +.icon-time::before { + content: "\e952"; +} + +/* Carrot (http://carrot.org) */ +.icon-image--carrot { + background-image: url("../../_global/img/icons/carrot-icon--black.png"); +} + +/* Diaspora */ +.icon-image--diaspora { + background-image: url("../../_global/img/icons/diaspora-icon--black.png"); +} + +/* Unmark.it */ +.icon-image--unmark { + background-image: url("../../_global/img/icons/unmark-icon--black.png"); +} + +/* Shaarli */ +.icon-image--shaarli { + background-image: url("../../_global/img/icons/shaarli.png"); +} + body { display: flex; min-height: 100vh; @@ -308,6 +365,10 @@ span.numberItems { float: right; } +nav ul a:hover { + background-color: initial; +} + /* ========================================================================== * 3 = Filters slider * ========================================================================== */ @@ -362,9 +423,10 @@ main ul.row { max-width: 50%; } -.card .card-entry-labels li { +.card .card-entry-labels li, +.card-tag-labels li { margin: 10px 10px 10px auto; - padding: 5px 12px 5px 16px; + padding: 5px 12px 5px 16px !important; background-color: rgba(0, 151, 167, 0.85); border-radius: 0 3px 3px 0; color: #fff; @@ -393,6 +455,16 @@ main ul.row { white-space: nowrap; } +.card-entry-tags a, +.card-entry-labels a, +.card-tag-labels a, +.card-entry-labels-hidden a, +#list .chip a { + text-decoration: none; + font-weight: normal; + color: #fff; +} + .card .card-content .estimatedTime { margin-bottom: 10px; } @@ -416,8 +488,9 @@ main ul.row { color: #fff; } -.quickstart .card .card-action a, .quickstart .card .card-action a:hover { - color: #fff !important; +.quickstart .card .card-action a, +.quickstart .card .card-action a:hover { + color: #fff !important; } .settings .div_tabs { @@ -458,7 +531,7 @@ main ul.row { } #article > header > h1 { - font-size: 2em; + font-size: 1.6em; } .reader-mode { @@ -539,6 +612,18 @@ main ul.row { width: auto; } + #article { + padding: 15px; + max-width: 35em; + margin-left: auto; + margin-right: auto; + font-size: 18px; + } + + #article > header > h1 { + font-size: 1.33em; + } + .reader-mode { width: 240px !important; } @@ -643,7 +728,7 @@ main ul.row { } .icon-twitter::before { - content: "\ea91"; + content: "\ea96"; } .icon-apple::before { @@ -696,3 +781,7 @@ div.settings div.file-field div { .input-field label.active { font-size: 1rem; } + +nav .input-field input { + margin: 0; +}