66 lines
936 B
SCSS
66 lines
936 B
SCSS
.menu, .menu-open .menu {
|
|
height: 100%;
|
|
position: absolute;
|
|
left: 0;
|
|
overflow-y: auto;
|
|
width: 300px;
|
|
color: #364149;
|
|
background: #eee;
|
|
border-right: 1px solid rgba(0, 0, 0, 0.07);
|
|
transition: 0.5s;
|
|
|
|
ul {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
|
|
a {
|
|
display: block;
|
|
color: #364149;
|
|
text-overflow: ellipsis;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-decoration: none;
|
|
padding: 10px 15px;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
li.active > a {
|
|
color: #008cff;
|
|
text-decoration: none;
|
|
}
|
|
|
|
ul {
|
|
padding-left: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.menu-closed .menu {
|
|
width: 0;
|
|
}
|
|
|
|
@include max-screen(600px) {
|
|
.menu {
|
|
width: 0;
|
|
}
|
|
|
|
.menu-close-icon {
|
|
display: block;
|
|
padding:1ex;
|
|
font-size: 1.5em;
|
|
float:right;
|
|
|
|
}
|
|
}
|
|
|
|
@include min-screen(600px) {
|
|
|
|
.menu-close-icon {
|
|
display: none;
|
|
}
|
|
}
|