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

108 lines
1.6 KiB
SCSS
Raw Normal View History

aside{
position: fixed;
top: 0;
left: 0;
bottom: 0;
z-index: 96;
2017-07-26 15:24:18 +12:00
width: 220px;
2016-10-24 21:26:01 +13:00
overflow: hidden;
background: $darkest_grey;
border-right: 1px solid lighten($dark_grey, 2%);
2017-07-23 10:15:02 +12:00
color: $white;
2017-07-26 15:24:18 +12:00
box-sizing: border-box;
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: 120px;
2016-11-22 11:10:30 +13:00
box-sizing: border-box;
z-index: 2;
overflow-y: auto;
2017-06-16 15:40:39 +12:00
}
nav {
z-index: 2;
position: relative;
padding-top: 20px;
line-height: 1em;
a {
2017-06-20 19:55:47 +12:00
@include gradient_overlay(3px);
2017-07-24 06:03:09 +12:00
font-family: "Overpass";
font-weight: 500;
font-size: 14px;
2017-07-23 10:15:02 +12:00
color: $white;
text-decoration: none;
display: block;
padding: 9px 10px 5px;
margin: 0 16px;
border-radius: 3px;
line-height: 18px;
2016-10-24 21:26:01 +13:00
.icon {
2017-07-23 10:15:02 +12:00
@include invert();
2016-10-24 21:26:01 +13:00
height: 14px;
padding-right: 12px;
2016-10-24 21:26:01 +13:00
vertical-align: top;
margin-top: 0;
2016-10-24 21:26:01 +13:00
}
&.active {
background: $turquoise;
color: $white;
2017-06-19 08:02:24 +12:00
&:before {
opacity: 0.15;
}
}
&[disabled] {
opacity: 0.3;
cursor: not-allowed;
}
&:hover:not([disabled]){
&:before {
opacity: 0.15;
}
}
}
section {
2017-06-20 19:55:47 +12:00
padding-bottom: 25px;
title {
display: block;
2017-06-19 16:53:27 +12:00
padding: 0 26px 5px 26px;
2017-06-18 05:47:36 +12:00
font-size: 10px;
text-transform: uppercase;
opacity: 0.5;
2017-06-16 20:05:32 +12:00
color: $mid_grey;
}
}
}
@include responsive( $bp_medium ){
width: 220px;
left: -220px;
padding-bottom: 0;
position: fixed;
z-index: 100;
.sidebar-open & {
left: 0px;
}
.liner {
bottom: 0 !important;
}
.thumbnail {
display: none;
}
}
}