51 lines
796 B
SCSS
51 lines
796 B
SCSS
#wrapper {
|
|
display: flex;
|
|
}
|
|
|
|
.sidebar {
|
|
display: flex;
|
|
flex-direction: column;
|
|
flex-shrink: 0;
|
|
|
|
min-height: 100vh;
|
|
width: 240px;
|
|
padding: 0.25rem 0.75rem;
|
|
|
|
background-color: $white;
|
|
|
|
.sidebar-brand {
|
|
margin: 0.75rem 1rem;
|
|
font-size: 1.125rem;
|
|
text-decoration: none;
|
|
|
|
&:hover {
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
|
|
.sidebar-header {
|
|
margin: 1rem 1rem 0.25rem;
|
|
color: $secondary;
|
|
font-weight: bold;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
.sidebar-link {
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 0.5rem;
|
|
color: $secondary;
|
|
text-decoration: none;
|
|
|
|
&.active {
|
|
color: $primary;
|
|
background-color: $primary-50;
|
|
}
|
|
|
|
&:hover {
|
|
color: $gray-800;
|
|
background-color: $gray-200;
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|