X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2Fpublic%2Fcss%2Fmain.css;h=eb33f042e66092d22212e3a2dc814a9d05701f87;hb=d30262154a9f335d1ef9260dfae55bfa007a6e8f;hp=bf7e667ec1b940e2e443eea04a02716c4eabb7e3;hpb=b69fc0628ad8bf9aa9d4ae94da5f6c3eab1677db;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css index bf7e667e..eb33f042 100755 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/public/css/main.css @@ -4,13 +4,11 @@ 0 = Common 1 = Nav 2 = Side-nav - - 2 = Layout - 3 = Pictos - 4 = Messages + 3 = Filters slider + 4 = Cards 5 = Article - 6 = Media queries + 7 = Others ========================================================================== */ @@ -26,6 +24,20 @@ body { background: #f0f0f0; } +#warning_message { + position: fixed; + background-color: #ff6347; + z-index: 1000; + bottom: 0; + left: 0; + width: 100%; + color: #000; +} + +#warning_message a { + color: #555; +} + .border-bottom { border-bottom: 1px solid #DDD; } @@ -48,6 +60,16 @@ nav, main, footer { margin-bottom: 0; } +.pagination li { + padding: 0; +} + +.pagination a { + padding: 0px 10px; + height: 30px; + display: block; +} + .page-footer .footer-copyright p { display: inline; } @@ -56,10 +78,18 @@ nav, main, footer { display: none; } +.picker__date-display { + display: none; +} + /* ========================================================================== 1 = Nav ========================================================================== */ +nav input { + color: #aaa; +} + .nav-wrapper .button-collapse { padding: 0px 15px; } @@ -96,6 +126,38 @@ nav, main, footer { white-space: nowrap; } +.nav-panels .input-field input { + display: block; + line-height: inherit; + padding-left: 4rem !important; + width: calc(100% - 8rem); +} + +.nav-panels .input-field input:focus { + background-color: #fff; + border: 0; + box-shadow: none; + color: #444; +} + +.input-field.nav-panel-add label { + left: 1rem; +} + +.input-field.nav-panel-add .mdi-navigation-close { + position: absolute; + top: 0; + right: 1rem; + color: transparent; + cursor: pointer; + font-size: 2rem; + transition: .3s color; +} + +#button_filters { + display: none; +} + /* ========================================================================== 2 = Side-nav ========================================================================== */ @@ -133,7 +195,27 @@ nav, main, footer { } /* ========================================================================== - 3 = Cards + * 3 = Filters slider + * ========================================================================== */ + +#filters button { + padding: 0px; + width: 100%; +} + +.side-nav.fixed.right-aligned { + right: -250px; + left: auto !important; + overflow-y: visible; +} + +#filters div.with-checkbox { + height: 3rem; + margin-top: 0px; +} + +/* ========================================================================== + 4 = Cards ========================================================================== */ main #content { @@ -144,7 +226,7 @@ main ul.row { padding: 0px 0.75rem; } -.data .card .card-content { +.data .card .card-body { height: 22em; overflow: hidden; } @@ -168,9 +250,14 @@ main ul.row { } .card .card-action a { + color: #ffffff; margin: 0; } +.card .card-action a:hover { + color: #ffffff; +} + .settings .div_tabs { padding-bottom: 15px; } @@ -181,8 +268,23 @@ main ul.row { margin-right: auto; } +.mdi-card-close:before { + content: "\e8aa"; +} + +.card .card-image { + height: 14em; +} + +.card .card-image .preview { + height: 14em; + background-size: cover; + background-repeat: no-repeat; + background-position: 50%; +} + /* ========================================================================== - 4 = Article + 5 = Article ========================================================================== */ #article { @@ -200,6 +302,15 @@ main ul.row { width: 240px !important; } +.reader-mode .collapsible-body { + height: 0; + overflow: hidden; +} + +.reader-mode:hover .collapsible-body { + height: auto; +} + .reader-mode span { opacity: 0; transition: opacity 0.2s ease; @@ -209,6 +320,38 @@ main ul.row { opacity: 1; } +.progress { + position:fixed; + top:0px; + width: 100%; + height: 3px; + margin: 0; + z-index: 9999; +} + +#article aside .link { + color: #000; + font-size: 0.6em; + text-decoration: none; +} + +#article aside #list { + float: right; + margin-right: 15px; +} + +#article aside span a { + background-color: #039be5; + color: #fff; + border-radius: 3px; + float: left; + font-size: 0.6em; + margin-left: 0.5em; + margin-bottom: 0.5em; + padding: 4px; + text-decoration: none; +} + /* ========================================================================== 6 = Media queries ========================================================================== */ @@ -269,3 +412,11 @@ main ul.row { display: none; } } +/* ========================================================================== + 7 = Others + ========================================================================== */ + +/* force height on non-input field in the settings page */ +div.settings div.input-field div, div.settings div.input-field ul { + margin-top: 40px; +}