You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
612 B
34 lines
612 B
.sidebarContainer {
|
|
flex: 0 0 $sidebarWidth;
|
|
overflow: hidden;
|
|
width: $sidebarWidth;
|
|
background-color: $sidebarBackgroundColor;
|
|
transition: transform 300ms ease-in-out;
|
|
transform: translateX(0);
|
|
}
|
|
|
|
.sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
background-color: $sidebarBackgroundColor;
|
|
color: $white;
|
|
}
|
|
|
|
@media only screen and (max-width: $breakpointSmall) {
|
|
.sidebarContainer {
|
|
position: fixed;
|
|
top: 0;
|
|
z-index: 2;
|
|
height: 100vh;
|
|
}
|
|
|
|
.sidebar {
|
|
position: fixed;
|
|
z-index: 2;
|
|
overflow-y: auto;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
}
|