81 lines
1.3 KiB
SCSS
81 lines
1.3 KiB
SCSS
.ex-edit-nav {
|
|
background-color: white;
|
|
width: var(--ex-nav-width);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
|
|
.icon {
|
|
height: 1.5rem;
|
|
width: 1.5rem;
|
|
}
|
|
|
|
&_expanded {
|
|
width: 300px;
|
|
max-width: 80vw;
|
|
}
|
|
|
|
&--menu {
|
|
display: flex;
|
|
flex-direction: column;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
flex-grow: 1;
|
|
border-right: 1px solid var(--grey-2);
|
|
|
|
&-spacer {
|
|
flex-grow: 1;
|
|
}
|
|
}
|
|
|
|
&--menu-item {
|
|
&-action {
|
|
position: relative;
|
|
width: 100%;
|
|
height: var(--ex-nav-width);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
color: var(--fg);
|
|
background-color: var(--bg);
|
|
font-weight: bold;
|
|
border: 0;
|
|
cursor: pointer;
|
|
padding: 12px;
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
color: var(--bg);
|
|
background-color: var(--interact);
|
|
}
|
|
}
|
|
|
|
&-title {
|
|
opacity: 0.001;
|
|
height: auto;
|
|
width: calc(100% - 60px);
|
|
overflow: hidden;
|
|
margin: 0px;
|
|
}
|
|
}
|
|
|
|
&_expanded &--menu-item {
|
|
&-action {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
&-title {
|
|
opacity: 1;
|
|
margin-left: 16px;
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1000px) {
|
|
&--toggle {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|