2016-03-23 05:26:27 +00:00
|
|
|
@import '../constants/dimensions';
|
|
|
|
@import '../constants/colors';
|
|
|
|
|
|
|
|
.sidebar {
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
.pane__body {
|
|
|
|
overflow-y: auto;
|
|
|
|
width: $sidebar-width;
|
2016-04-04 07:15:30 +00:00
|
|
|
height: 100%;
|
2016-03-23 05:26:27 +00:00
|
|
|
}
|
|
|
|
|
2016-04-04 07:15:30 +00:00
|
|
|
.pane__header,
|
|
|
|
.pane__body {
|
2016-03-23 05:26:27 +00:00
|
|
|
border-left: 0;
|
|
|
|
}
|
|
|
|
|
2016-04-04 07:15:30 +00:00
|
|
|
.sidebar__item__row {
|
|
|
|
width: 100%;
|
|
|
|
text-align: left;
|
|
|
|
box-sizing: border-box;
|
|
|
|
height: $line-height-sm;
|
|
|
|
line-height: $line-height-sm;
|
|
|
|
color: inherit;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background: $hl-xxs;
|
2016-03-23 17:15:19 +00:00
|
|
|
}
|
|
|
|
|
2016-04-04 07:15:30 +00:00
|
|
|
& > button {
|
2016-03-23 17:15:19 +00:00
|
|
|
padding: 0 $padding-md;
|
2016-04-04 07:15:30 +00:00
|
|
|
color: inherit;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar__item__btn {
|
|
|
|
display: none;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
bottom: 0;
|
|
|
|
color: $hl-xl;
|
|
|
|
|
|
|
|
& > button,
|
|
|
|
& > .dropdown > button {
|
|
|
|
padding: 0 $padding-sm;
|
|
|
|
height: 100%;
|
|
|
|
color: inherit;
|
2016-03-23 17:15:19 +00:00
|
|
|
|
|
|
|
&:hover {
|
2016-04-04 07:15:30 +00:00
|
|
|
color: $font-dark-bg;
|
2016-03-23 17:15:19 +00:00
|
|
|
}
|
2016-04-04 07:15:30 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.sidebar__item {
|
|
|
|
color: $hl;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 100%;
|
|
|
|
position: relative;
|
2016-03-23 17:15:19 +00:00
|
|
|
|
2016-04-04 07:15:30 +00:00
|
|
|
&.sidebar__item--active {
|
|
|
|
color: $font-dark-bg;
|
|
|
|
|
|
|
|
.tag {
|
|
|
|
opacity: 1;
|
2016-03-23 17:15:19 +00:00
|
|
|
}
|
2016-03-23 05:26:27 +00:00
|
|
|
}
|
|
|
|
|
2016-04-04 07:15:30 +00:00
|
|
|
&.sidebar__item--right-menu {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2016-03-23 05:26:27 +00:00
|
|
|
|
2016-04-04 07:15:30 +00:00
|
|
|
&:hover .sidebar__item__btn {
|
|
|
|
display: block;
|
2016-03-23 05:26:27 +00:00
|
|
|
}
|
|
|
|
|
2016-04-04 07:15:30 +00:00
|
|
|
&.sidebar__item--bordered {
|
|
|
|
border-top: 1px solid $hl-xs;
|
2016-04-04 01:05:34 +00:00
|
|
|
}
|
2016-04-04 07:15:30 +00:00
|
|
|
|
|
|
|
.tag {
|
|
|
|
opacity: $faint-opacity;
|
2016-03-23 05:26:27 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-04-04 07:15:30 +00:00
|
|
|
ul ul .sidebar__item__row > button {
|
|
|
|
padding-left: $padding-sm * 3 !important;
|
2016-03-23 05:26:27 +00:00
|
|
|
}
|
|
|
|
}
|