Cachet/app/assets/sass/partials/_sidebar.scss

76 lines
1.5 KiB
SCSS
Raw Normal View History

body.dashboard {
.sidebar {
display: table-cell;
vertical-align: top;
2014-12-04 16:57:37 +00:00
width: $sidebar-normal-width;
background: $sidebar-background-color;
2014-12-29 10:15:25 -06:00
@include box-shadow($sidebar-border-shadow);
position: relative;
z-index: 100;
2014-12-04 23:27:40 +00:00
.sidebar-inner {
position: relative;
.profile {
padding: 20px;
margin-bottom: 20px;
.avatar {
width: 70px;
img {
border-radius: 50%;
width: 60px;
}
}
.profile {
color: $sidebar-text-color;
}
}
2014-12-29 10:15:25 -06:00
.quick-add-incident {
@extend text-center;
padding: 10px;
}
ul {
clear: both;
margin: 0;
padding: 0;
list-style: none;
li {
2014-12-29 10:15:25 -06:00
font-size: $sidebar-text-size;
&:last-child {
border-bottom: $sidebar-border-color;
}
&.active {
background: lighten($sidebar-background-color, 10%);
a {
color: $sidebar-text-active-color;
}
}
a {
display: block;
padding: 15px;
border-top: $sidebar-border-color;
color: $sidebar-text-color;
i {
2014-12-29 10:15:25 -06:00
font-size: 18px;
min-width: 17px;
text-align: center;
position: relative;
top: 1px;
}
&:hover {
text-decoration: none;
}
}
&.sub-nav-item {
a {
padding-left: 40px;
}
}
2014-12-04 23:27:40 +00:00
}
}
}
}
2014-12-04 23:27:40 +00:00
}