153 lines
2.1 KiB
SCSS
Executable File
153 lines
2.1 KiB
SCSS
Executable File
|
|
.playback-controls {
|
|
position: fixed;
|
|
z-index: 99;
|
|
bottom: 0;
|
|
right: 0;
|
|
left: 0;
|
|
height: 40px;
|
|
background: $white;
|
|
color: $black;
|
|
border-top: 1px solid $light_grey;
|
|
|
|
.current-track {
|
|
@include animate();
|
|
cursor: pointer;
|
|
position: absolute;
|
|
bottom: 41px;
|
|
width: 220px;
|
|
font-size: 14px;
|
|
color: $black;
|
|
text-decoration: none;
|
|
|
|
.thumbnail {
|
|
float: left;
|
|
margin: 12px;
|
|
}
|
|
|
|
.title {
|
|
padding-top: 20px;
|
|
@include one_line_text;
|
|
}
|
|
|
|
.artist-sentence {
|
|
opacity: 0.5;
|
|
display: block;
|
|
@include one_line_text;
|
|
|
|
.artist {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
border-bottom: 1px dotted transparent;
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
background: $light_grey;
|
|
}
|
|
}
|
|
|
|
.control {
|
|
@include animate();
|
|
font-size: 12px;
|
|
color: $mid_grey;
|
|
cursor: pointer;
|
|
padding: 8px;
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
|
|
&.play {
|
|
font-size: 24px;
|
|
margin-top: -6px;
|
|
}
|
|
|
|
&.active {
|
|
color: $turquoise;
|
|
}
|
|
|
|
&:hover {
|
|
color: $dark_grey;
|
|
}
|
|
}
|
|
|
|
section {
|
|
position: absolute;
|
|
top: 6px;
|
|
|
|
&.playback {
|
|
left: 20px;
|
|
width: 120px;
|
|
text-align: center;
|
|
}
|
|
|
|
&.progress {
|
|
top: 7px;
|
|
left: 140px;
|
|
right: 280px;
|
|
padding-left: 20px;
|
|
padding-right: 20px;
|
|
color: $mid_grey;
|
|
|
|
.slider {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 50px;
|
|
right: 50px;
|
|
}
|
|
|
|
.current {
|
|
font-size: 11px;
|
|
position: absolute;
|
|
top: 6px;
|
|
left: 0;
|
|
width: 45px;
|
|
text-align: right;
|
|
}
|
|
|
|
.total {
|
|
font-size: 11px;
|
|
position: absolute;
|
|
top: 6px;
|
|
right: 0;
|
|
width: 45px;
|
|
}
|
|
}
|
|
|
|
&.settings {
|
|
right: 170px;
|
|
width: 120px;
|
|
text-align: center;
|
|
}
|
|
|
|
&.volume {
|
|
top: 7px;
|
|
right: 20px;
|
|
width: 150px;
|
|
|
|
.modal-trigger {
|
|
display: none;
|
|
}
|
|
|
|
.control {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
|
|
.slider-wrapper {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
left: 30px;
|
|
}
|
|
|
|
.muted {
|
|
.slider .progress {
|
|
background: $mid_grey;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|