2018-06-15 22:49:25 +03:00
|
|
|
@import "../utils/base";
|
2018-07-20 23:14:17 +03:00
|
|
|
@import "../utils/mixins/border-radius";
|
2018-06-15 22:49:25 +03:00
|
|
|
|
|
|
|
.aside-menu {
|
|
|
|
position: fixed !important;
|
|
|
|
top: $headerHeight;
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
z-index: 1000;
|
|
|
|
display: block;
|
2018-07-20 23:20:58 +03:00
|
|
|
padding: 30px 20px 20px;
|
2018-06-15 22:49:25 +03:00
|
|
|
overflow-x: hidden;
|
|
|
|
overflow-y: auto;
|
|
|
|
background-color: #f7f7f7;
|
|
|
|
border-right: 1px solid #eee;
|
|
|
|
}
|
2018-07-18 21:01:56 +03:00
|
|
|
|
|
|
|
.aside-menu__nav {
|
2018-07-20 23:20:58 +03:00
|
|
|
@media(min-width: $smMin) {
|
|
|
|
height: 100%;
|
|
|
|
}
|
2018-07-18 21:01:56 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.aside-menu__item {
|
|
|
|
padding: 10px 20px;
|
|
|
|
margin: 0 -15px;
|
|
|
|
text-decoration: none !important;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
.aside-menu__item:hover {
|
|
|
|
background-color: $lightHoverColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aside-menu__item--selected {
|
|
|
|
color: #fff;
|
|
|
|
background-color: $mainColor;
|
|
|
|
}
|
|
|
|
.aside-menu__item--selected:hover {
|
|
|
|
color: #fff;
|
|
|
|
background-color: $mainColor;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aside-menu__item--divider {
|
|
|
|
border-bottom: 1px solid #eee;
|
|
|
|
margin: 20px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.aside-menu__item--danger {
|
|
|
|
color: $dangerColor;
|
2018-07-20 23:14:17 +03:00
|
|
|
margin: 0;
|
2018-07-20 23:20:58 +03:00
|
|
|
margin-top: auto;
|
2018-07-20 23:14:17 +03:00
|
|
|
@include border-radius(4px);
|
2018-07-18 21:01:56 +03:00
|
|
|
}
|
|
|
|
.aside-menu__item--danger:hover {
|
|
|
|
color: #fff;
|
|
|
|
background-color: $dangerColor;
|
|
|
|
}
|
2018-07-18 21:32:19 +03:00
|
|
|
|
|
|
|
.aside-menu__item-text {
|
|
|
|
margin-left: 8px;
|
|
|
|
}
|