wallabag/assets/material/css/nav.scss

195 lines
2.8 KiB
SCSS
Raw Normal View History

/* ==========================================================================
Nav
========================================================================== */
nav {
height: auto;
2017-12-07 23:46:29 +01:00
line-height: initial;
}
2017-12-07 23:46:29 +01:00
nav {
input {
color: #aaa;
}
ul a:hover {
background-color: initial;
}
}
.nav-panel-item .button-collapse {
margin-left: 0;
margin-right: 0.5rem;
2020-11-24 21:59:06 +01:00
padding-left: 0.5rem;
padding-right: 0.5rem;
height: auto;
line-height: 1;
background-color: transparent;
border: none;
}
.nav-panel-item {
display: flex;
2017-12-07 23:46:29 +01:00
padding: 0.6rem 0.4rem 0.6rem 0.75rem;
flex-wrap: wrap;
justify-content: space-between;
2017-12-07 23:46:29 +01:00
align-items: center;
2020-11-24 21:59:06 +01:00
a {
padding: 10px 15px;
}
}
.nav-panel-item .material-icons {
2020-11-24 21:59:06 +01:00
height: auto;
line-height: 1;
2017-12-07 23:46:29 +01:00
}
.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 {
2017-12-07 23:46:29 +01:00
margin: 0;
font-size: 2.1rem;
}
.input-field input {
display: block;
2023-08-22 23:04:39 +02:00
font-size: 1.2rem;
line-height: inherit;
height: 3rem;
}
.input-field input:focus {
border: 0;
box-shadow: none;
color: #444;
}
2023-08-22 23:04:39 +02:00
/* materializecss override */
.input-field.input-field input {
margin-bottom: 0;
border-bottom: none;
}
.input-field.input-field input:focus {
border-bottom: none;
box-shadow: initial;
}
}
2017-12-07 23:46:29 +01:00
.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;
}
}
2020-11-08 15:04:29 +01:00
.nav-panel-add,
.nav-panel-search {
background-color: white;
}
.nav-form-button {
padding: 0;
background-color: transparent;
border: none;
&:focus {
background-color: inherit;
}
}
.nav-form-button,
.nav-panel-item .close {
margin: 0 1%;
}
2023-06-06 22:53:56 +02:00
.button-filters {
display: none;
}
2023-06-06 22:53:56 +02:00
.button-export {
display: none;
}
.entry-nav-top--sticky {
position: sticky;
top: 0;
}
.dropdown-content {
2021-01-22 13:27:09 +01:00
width: 100%;
2020-11-24 21:59:06 +01:00
li {
min-height: auto;
2021-01-22 13:27:09 +01:00
padding-right: 15px;
}
li > a {
2020-11-24 21:59:06 +01:00
display: flex;
padding: 14px 10px;
align-items: center;
white-space: initial;
}
}
2021-01-22 13:27:09 +01:00
@media (min-width: 993px) {
.toggle-add-url-container {
flex-grow: 1;
}
.toggle-add-url {
display: flex;
width: 100%;
justify-content: end;
}
2021-01-22 13:27:09 +01:00
.button-collapse {
display: none;
}
.dropdown-content {
min-width: 300px;
width: initial;
}
}