Files
Iris/src/scss/components/_sidebar.scss

121 lines
1.7 KiB
SCSS
Raw Normal View History

aside{
position: fixed;
top: 0;
left: 0;
bottom: 0;
z-index: 96;
width: 220px;
2016-10-24 21:26:01 +13:00
overflow: hidden;
2017-06-18 05:47:36 +12:00
background: $off_white;
color: $darkest_grey;
2016-11-21 21:46:53 +13:00
2016-11-22 11:10:30 +13:00
.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;
2016-11-21 21:46:53 +13:00
.sidebar-open & {
left: 0px;
}
.liner {
bottom: 0 !important;
}
.thumbnail {
display: none;
}
2016-11-21 21:46:53 +13:00
}
2016-11-22 11:10:30 +13:00
@include responsive( null, null, $bp_shallow ){
2016-11-22 11:10:30 +13:00
.liner {
bottom: 60px;
}
}
2017-06-16 15:40:39 +12:00
.thumbnail {
position: absolute;
top: -30px;
right: -30px;
bottom: -30px;
left: -30px;
height: auto;
width: auto;
max-width: none;
z-index: 1;
opacity: 0.2;
.image {
@include blur();
padding-bottom: 0;
height: 100%;
}
}
nav {
z-index: 2;
position: relative;
2016-11-07 21:21:15 +13:00
padding-top: 8px;
2017-06-18 05:47:36 +12:00
font-family: "Overpass";
a {
2017-06-18 05:47:36 +12:00
font-size: 15px;
color: $black;
text-decoration: none;
display: block;
2017-06-18 05:47:36 +12:00
padding: 4px 18px 4px 14px;
border-left: 4px solid transparent;
2017-06-18 05:47:36 +12:00
font-weight: 600;
2016-10-24 21:26:01 +13:00
.icon {
height: 14px;
padding-right: 8px;
vertical-align: top;
2017-06-18 05:47:36 +12:00
margin-top: 1px;
2016-10-24 21:26:01 +13:00
}
&.active {
2017-06-16 20:05:32 +12:00
color: $turquoise;
}
&[disabled] {
opacity: 0.3;
cursor: not-allowed;
}
&:hover:not([disabled]) {
2017-06-16 20:05:32 +12:00
color: $secondary_grey;
}
}
section {
padding: 10px 0;
title {
display: block;
2017-06-18 05:47:36 +12:00
padding: 0 18px 2px 14px;
font-size: 10px;
text-transform: uppercase;
opacity: 0.5;
2017-06-16 20:05:32 +12:00
color: $mid_grey;
}
}
}
@include responsive( $bp_medium ){
}
}