wallabag/app/Resources/static/themes/material/css/nav.scss
2020-01-21 12:00:21 +01:00

143 lines
2.1 KiB
SCSS

/* ==========================================================================
Nav
========================================================================== */
nav {
height: auto;
line-height: initial;
}
nav {
input {
color: #aaa;
}
ul a:hover {
background-color: initial;
}
}
.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;
}
.nav-panel-item .material-icons {
height: 46px;
line-height: 46px;
}
.nav-input {
display: none;
}
.nav-panel-buttom {
display: flex;
flex-grow: 1;
justify-content: flex-end;
}
.nav-panel-item .add,
.nav-panel-item .search,
.nav-panels .close {
color: #444 !important;
}
.nav-panels {
transition: background 0.2s ease;
.action {
margin: 0;
font-size: 2.1rem;
}
.input-field input {
display: block;
line-height: inherit;
height: 3rem;
}
.input-field input:focus {
background-color: #fff;
border: 0;
box-shadow: none;
color: #444;
}
}
.nav-panel-top {
display: flex;
align-items: center;
}
.input-field {
&.nav-panel-item label {
left: 1rem;
}
&.nav-panel-item .close {
color: transparent;
cursor: pointer;
font-size: 2rem;
transition: 0.3s color;
}
&.nav-panel-item {
display: flex;
flex: 1;
flex-wrap: nowrap;
align-items: center;
}
&.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;
}
#button_export {
display: none;
}
.entry-nav-top--sticky {
position: sticky;
top: 0;
}
@media (min-width: 993px) {
.button-collapse {
display: none;
}
}