Phyks (Lucas Verney)
fffe9c4cd3
Major code review, cleaning the code and adding a lot of comments. Also implements a separate store to keep entities with a reference count and garbage collection. This closes #15. Known issues at the moment are: * Webplayer is no longer working, it has to be refactored. * AlbumPage is to be implemented.
60 lines
646 B
SCSS
60 lines
646 B
SCSS
/**
|
|
* Styles for the WebPlayer component.
|
|
*/
|
|
|
|
/** Variables */
|
|
$controlsMarginTop: 10px;
|
|
|
|
.webplayer {
|
|
margin-top: 1em;
|
|
}
|
|
|
|
.art {
|
|
opacity: 0.75;
|
|
position: absolute;
|
|
z-index: -10;
|
|
}
|
|
|
|
.artRow {
|
|
min-height: 200px;
|
|
}
|
|
|
|
/**
|
|
* Controls
|
|
*/
|
|
|
|
.controls {
|
|
margin-top: $controlsMarginTop;
|
|
}
|
|
|
|
.btn {
|
|
background: transparent;
|
|
border: none;
|
|
opacity: 0.4;
|
|
}
|
|
|
|
.btn:hover,
|
|
.btn:active,
|
|
.btn:focus {
|
|
opacity: 1;
|
|
outline: none;
|
|
}
|
|
|
|
.prevBtn,
|
|
.playPauseBtn,
|
|
.nextBtn,
|
|
.volumeBtn,
|
|
.repeatBtn,
|
|
.randomBtn,
|
|
.playlistBtn {
|
|
composes: btn;
|
|
}
|
|
|
|
.playPauseBtn {
|
|
font-size: $font-size-h2;
|
|
}
|
|
|
|
.active {
|
|
color: $blue;
|
|
}
|