insomnia/app/css/components/sidebar.scss

34 lines
548 B
SCSS
Raw Normal View History

2016-03-16 05:49:42 +00:00
@import '../constants/dimensions';
@import '../constants/colors';
#sidebar {
2016-03-18 21:31:45 +00:00
height: 100%;
2016-03-16 05:49:42 +00:00
2016-03-21 05:47:49 +00:00
.pane__body {
overflow-y: auto;
}
2016-03-22 18:20:05 +00:00
.pane__header, .pane__body {
border-left: 0;
}
2016-03-16 05:49:42 +00:00
a {
box-sizing: border-box;
display: block;
}
2016-03-16 20:02:47 +00:00
ul.sidebar-items {
width: $sidebar-width;
2016-03-18 00:36:00 +00:00
li.sidebar-item > a {
2016-03-16 23:34:25 +00:00
color: darken($font-dark-bg, 40%);
padding: $sidebar-item-padding;
border-left: 4px solid transparent;
2016-03-16 05:49:42 +00:00
}
}
2016-03-18 00:36:00 +00:00
.sidebar-items li.sidebar-item.active > a {
2016-03-16 05:49:42 +00:00
border-left-color: $bg-primary;
}
}