X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=app%2FResources%2Fstatic%2Fthemes%2Fmaterial%2Fcss%2Fnav.scss;fp=app%2FResources%2Fstatic%2Fthemes%2Fmaterial%2Fcss%2Fnav.scss;h=147f163fd27674b126a25e34b61516a56b98c194;hb=fd637b9a5af28d432f775297ff19ba3f779d55b2;hp=99a048b055e8242363e93b3cf179e4afa6b89182;hpb=99e8c2785b9fc0cd9cc8674cb297a13a1035238f;p=github%2Fwallabag%2Fwallabag.git diff --git a/app/Resources/static/themes/material/css/nav.scss b/app/Resources/static/themes/material/css/nav.scss index 99a048b0..147f163f 100644 --- a/app/Resources/static/themes/material/css/nav.scss +++ b/app/Resources/static/themes/material/css/nav.scss @@ -2,8 +2,7 @@ /* ========================================================================== Nav ========================================================================== */ -nav, -.nav-wrapper { +nav { height: auto; line-height: initial; } @@ -18,25 +17,25 @@ nav { } } -.nav-wrapper { +.nav-panel-item .button-collapse { + margin-left: 0; + margin-right: 0.5rem; + padding: 0 0.5rem; + height: auto; + line-height: 1; + background-color: transparent; + border: none; +} + +.nav-panel-item { display: flex; padding: 0.6rem 0.4rem 0.6rem 0.75rem; flex-wrap: wrap; justify-content: space-between; align-items: center; - - .button-collapse { - margin-left: 0; - margin-right: 0.5rem; - padding: 0 0.5rem; - height: auto; - line-height: 1; - background-color: transparent; - border: none; - } } -nav .nav-wrapper i { +.nav-panel-item .material-icons { height: 46px; line-height: 46px; } @@ -51,8 +50,8 @@ nav .nav-wrapper i { justify-content: flex-end; } -.nav-panel-add .add, -.nav-panel-search .search, +.nav-panel-item .add, +.nav-panel-item .search, .nav-panels .close { color: #444 !important; } @@ -68,9 +67,7 @@ nav .nav-wrapper i { .input-field input { display: block; line-height: inherit; - padding-left: 4rem !important; - width: calc(100% - 8rem); - height: 4.1rem; + height: 3rem; } .input-field input:focus { @@ -87,36 +84,45 @@ nav .nav-wrapper i { } .input-field { - &.nav-panel-add label, - &.nav-panel-search label { + &.nav-panel-item label { left: 1rem; } - &.nav-panel-add .close, - &.nav-panel-search .close { - position: absolute; - top: 0; - right: 1rem; + &.nav-panel-item .close { color: transparent; cursor: pointer; font-size: 2rem; transition: 0.3s color; } - &.nav-panel-add, - &.nav-panel-add form, - &.nav-panel-search, - &.nav-panel-search form { + &.nav-panel-item { display: flex; flex: 1; + flex-wrap: nowrap; + align-items: center; } - &.nav-panel-add form.disabled, - &.nav-panel-add form.disabled input { + &.nav-panel-add.disabled, + &.nav-panel-add.disabled input { background-color: whitesmoke; } } +.nav-form-button { + padding: 0; + background-color: transparent; + border: none; + + &:focus { + background-color: inherit; + } +} + +.nav-form-button, +.nav-panel-item .close { + margin: 0 1%; +} + #button_filters { display: none; }