Files
Iris/src/scss/components/_sidebar.scss
2017-06-16 09:37:40 +12:00

101 lines
1.5 KiB
SCSS
Executable File

aside{
position: fixed;
top: 0;
left: 0;
bottom: 0;
z-index: 96;
width: 220px;
overflow: hidden;
border-right: 1px solid $light_grey;
.liner {
overflow-y: auto;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
box-sizing: border-box;
z-index: 2;
}
@include responsive( $bp_medium ){
width: 220px;
left: -220px;
position: fixed;
z-index: 98;
.sidebar-open & {
left: 0px;
}
.liner {
bottom: 0 !important;
}
.thumbnail {
display: none;
}
}
@include responsive( null, null, $bp_shallow ){
.liner {
bottom: 60px;
}
}
nav {
z-index: 2;
position: relative;
padding-top: 8px;
a {
font-size: 16px;
color: $black;
text-decoration: none;
display: block;
padding: 6px 18px 6px 6px;
border-left: 4px solid transparent;
font-family: "Raleway";
font-weight: 700;
.icon {
height: 14px;
padding-right: 8px;
vertical-align: top;
margin-top: 4px;
}
&.active {
color: $turquoise;
}
&[disabled] {
opacity: 0.3;
cursor: not-allowed;
}
&:hover:not([disabled]) {
color: $secondary_grey;
}
}
section {
padding: 10px 0;
title {
display: block;
padding: 0 18px 2px 6px;
font-size: 11px;
text-transform: uppercase;
opacity: 0.5;
color: $mid_grey;
}
}
}
@include responsive( $bp_medium ){
}
}