84 lines
1.4 KiB
SCSS
84 lines
1.4 KiB
SCSS
.ex-admin-nav {
|
|
background-color: white;
|
|
width: var(--ex-nav-width);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
transition: width 0.2s ease;
|
|
|
|
&_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;
|
|
margin-left: 16px;
|
|
transition: opacity 0.1s ease;
|
|
}
|
|
|
|
&-icon {
|
|
position: absolute;
|
|
left: calc((var(--ex-nav-width) / 2) - 8px);
|
|
right: 0;
|
|
}
|
|
}
|
|
|
|
&_expanded &--menu-item {
|
|
&-title {
|
|
//width: calc(100% - (32px + 24px));
|
|
opacity: 1;
|
|
}
|
|
|
|
&-icon {
|
|
}
|
|
}
|
|
|
|
@media screen and (min-width: 1000px) {
|
|
&--toggle {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|