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

118 lines
1.8 KiB
SCSS
Raw Normal View History

aside{
position: fixed;
top: 0;
left: 0;
bottom: 0;
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-10-24 21:26:01 +13:00
.thumbnail {
position: absolute;
top: 0;
height: 100%;
z-index: -1;
opacity: 0.1;
}
nav {
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 );
}
&:hover {
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;
}
}
}
.player {
2016-10-24 21:26:01 +13:00
position: absolute;
bottom: 0;
left: 0;
right: 0;
padding: 14px;
.track-in-focus {
font-size: 16px;
text-transform: uppercase;
text-align: center;
color: #FFFFFF;
.title {
2016-10-25 14:09:53 +13:00
@include one_line_text;
}
.artist-list {
opacity: 0.5;
2016-10-24 21:26:01 +13:00
display: block;
2016-10-25 14:09:53 +13:00
@include one_line_text;
.artist a {
color: inherit;
text-decoration: none;
border-bottom: 1px dotted transparent;
&:hover {
border-color: #FFFFFF !important;
}
}
}
}
2016-10-24 21:26:01 +13:00
.controls {
text-align: center;
a {
color: #FFFFFF;
cursor: pointer;
font-size: 14px;
padding: 8px;
display: inline-block;
opacity: 0.8;
&.active {
color: $turquoise;
}
&:hover {
opacity: 1.0;
}
}
}
}
}