2018-04-03 14:16:57 +00:00
|
|
|
.is-sidebar {
|
|
|
|
border-right: $base-border;
|
|
|
|
display: flex;
|
2018-10-21 19:19:34 +00:00
|
|
|
flex: 1 1 auto;
|
2018-04-03 14:16:57 +00:00
|
|
|
margin: 0.75rem 0.75rem 0.75rem 0;
|
|
|
|
padding: 0 0 0 0.75rem;
|
|
|
|
|
|
|
|
@include until($tablet) {
|
|
|
|
background-color: $white;
|
|
|
|
bottom: 0;
|
|
|
|
left: -1.5rem;
|
|
|
|
margin: 0;
|
2018-10-21 19:19:34 +00:00
|
|
|
max-width: $drawer-width;
|
|
|
|
padding: $spacing-m 0 0;
|
2018-04-03 14:16:57 +00:00
|
|
|
position: absolute;
|
|
|
|
right: $size-2;
|
|
|
|
transform: translateX(-100%);
|
|
|
|
transition: transform $speed;
|
2018-10-21 19:19:34 +00:00
|
|
|
top: 0;
|
2018-04-03 14:16:57 +00:00
|
|
|
z-index: 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-active {
|
|
|
|
@include until($tablet) {
|
|
|
|
transform: translateX(0);
|
|
|
|
}
|
2018-10-21 19:19:34 +00:00
|
|
|
|
|
|
|
.menu-toggle {
|
|
|
|
left: auto;
|
|
|
|
right: $size-10;
|
|
|
|
}
|
2018-04-03 14:16:57 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.menu-toggle {
|
|
|
|
color: $blue;
|
|
|
|
cursor: pointer;
|
|
|
|
display: none;
|
2018-10-21 19:19:34 +00:00
|
|
|
margin-left: $size-10;
|
|
|
|
left: 100%;
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
2018-04-03 14:16:57 +00:00
|
|
|
|
|
|
|
@include until($tablet) {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
min-width: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu {
|
2018-10-21 19:19:34 +00:00
|
|
|
flex: 1 1 auto;
|
2018-04-03 14:16:57 +00:00
|
|
|
padding-top: 5.25rem;
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
@include until($tablet) {
|
|
|
|
padding-top: $size-6;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-label {
|
2018-07-06 00:06:34 +00:00
|
|
|
color: $grey-light;
|
2018-10-21 19:19:34 +00:00
|
|
|
font-weight: $font-weight-bold;
|
2018-04-03 14:16:57 +00:00
|
|
|
font-size: $size-small;
|
|
|
|
line-height: 1;
|
|
|
|
margin-bottom: $size-8;
|
|
|
|
padding-left: $size-5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-list {
|
|
|
|
border-top: $base-border;
|
|
|
|
padding: $size-9 0;
|
|
|
|
|
2018-10-21 19:19:34 +00:00
|
|
|
@include until($tablet) {
|
|
|
|
padding-top: $size-4;
|
|
|
|
}
|
|
|
|
|
2018-04-03 14:16:57 +00:00
|
|
|
a {
|
|
|
|
color: $grey-dark;
|
|
|
|
padding-left: $size-5;
|
|
|
|
transition: 250ms border-width;
|
|
|
|
|
|
|
|
&.is-active {
|
|
|
|
border-right: 4px solid $blue;
|
|
|
|
}
|
|
|
|
}
|
2018-08-15 19:41:43 +00:00
|
|
|
|
|
|
|
.tag {
|
2018-08-15 19:55:20 +00:00
|
|
|
@include from($fullhd) {
|
|
|
|
float: right;
|
|
|
|
}
|
2018-08-15 19:41:43 +00:00
|
|
|
}
|
2018-04-03 14:16:57 +00:00
|
|
|
}
|
|
|
|
}
|