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

107 lines
1.6 KiB
SCSS
Raw Normal View History

aside{
position: fixed;
top: 0;
left: 0;
bottom: 0;
2016-11-22 11:10:30 +13:00
z-index: 95;
2016-10-25 14:09:53 +13:00
background: #111111;
width: 200px;
2016-10-24 21:26:01 +13:00
overflow: hidden;
2016-10-25 14:09:53 +13:00
box-shadow: inset -20px 0px 30px -20px rgba(0, 0, 0, 0.5);
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 ){
2016-11-28 07:27:30 +13:00
width: 50vw;
left: -50vw;
2016-11-21 21:46:53 +13:00
.sidebar-open & {
left: 0px;
}
}
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;
}
}
2016-10-25 14:09:53 +13:00
2016-10-24 21:26:01 +13:00
.thumbnail {
position: absolute;
2016-10-27 10:02:12 +13:00
top: -30px;
right: -30px;
bottom: -30px;
left: -30px;
2016-10-25 17:01:37 +13:00
height: auto;
width: auto;
max-width: none;
z-index: 1;
2016-10-25 17:01:37 +13:00
opacity: 0.2;
.image {
2016-10-27 10:02:12 +13:00
@include blur();
2016-10-25 17:01:37 +13:00
padding-bottom: 0;
height: 100%;
}
2016-10-24 21:26:01 +13:00
}
nav {
z-index: 2;
position: relative;
2016-11-07 21:21:15 +13:00
padding-top: 8px;
a {
font-size: 16px;
color: #FFFFFF;
text-decoration: none;
display: block;
padding: 6px 18px 6px 14px;
border-left: 4px solid transparent;
2016-10-24 21:26:01 +13:00
.icon {
height: 14px;
padding-right: 8px;
vertical-align: top;
margin-top: 4px;
}
&.active {
border-color: $turquoise;
2016-10-25 14:09:53 +13:00
background: rgba( 0, 0, 0, 0.5 );
}
&[disabled] {
opacity: 0.3;
cursor: not-allowed;
}
&:hover:not([disabled]) {
2016-10-25 14:09:53 +13:00
background: rgba( 255, 255, 255, 0.1 );
}
}
section {
padding: 10px 0;
title {
display: block;
padding: 0 18px 2px;
font-size: 11px;
text-transform: uppercase;
opacity: 0.5;
color: #FFFFFF;
}
}
}
}