2016-08-10 21:36:11 +02:00
|
|
|
/**
|
|
|
|
* Album component style.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/** Variables */
|
2016-07-31 12:18:46 +02:00
|
|
|
$rowMarginTop: 30px;
|
|
|
|
$rowMarginBottom: 10px;
|
2016-08-10 21:36:11 +02:00
|
|
|
$artMarginBottom: 10px;
|
2016-07-31 12:18:46 +02:00
|
|
|
|
2016-08-10 21:36:11 +02:00
|
|
|
/* Style for an album row */
|
2016-07-29 23:57:21 +02:00
|
|
|
.row {
|
2016-07-31 12:18:46 +02:00
|
|
|
margin-top: $rowMarginTop;
|
2016-07-29 23:57:21 +02:00
|
|
|
}
|
|
|
|
|
2016-08-10 21:36:11 +02:00
|
|
|
/* Style for album arts */
|
2016-07-29 23:57:21 +02:00
|
|
|
.art {
|
2016-08-10 21:36:11 +02:00
|
|
|
display: inline-block;
|
|
|
|
margin-bottom: $artMarginBottom;
|
|
|
|
width: 75%;
|
|
|
|
height: auto;
|
|
|
|
|
|
|
|
/* doiuse-disable viewport-units */
|
|
|
|
|
|
|
|
max-width: 25vw;
|
|
|
|
|
|
|
|
/* doiuse-enable viewport-units */
|
2016-07-29 23:57:21 +02:00
|
|
|
}
|
|
|
|
|
2016-08-03 15:44:29 +02:00
|
|
|
.art:hover {
|
2016-08-10 21:36:11 +02:00
|
|
|
transform: scale(1.1);
|
2016-08-03 15:44:29 +02:00
|
|
|
}
|
|
|
|
|
2016-08-10 21:36:11 +02:00
|
|
|
/* Play button is based on the one in Songs list. */
|
2016-08-03 15:44:29 +02:00
|
|
|
.play {
|
|
|
|
composes: play from "./Songs.scss";
|
|
|
|
}
|
|
|
|
|
2016-08-11 22:01:47 +02:00
|
|
|
/* Play next button is based on the one in Songs list. */
|
|
|
|
.playNext {
|
|
|
|
composes: playNext from "./Songs.scss";
|
|
|
|
}
|
|
|
|
|
2016-07-29 23:57:21 +02:00
|
|
|
@media (max-width: 767px) {
|
|
|
|
.nameRow h2 {
|
|
|
|
margin-top: 0;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.artRow p,
|
|
|
|
.artRow img {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.nameRow,
|
|
|
|
.artRow {
|
|
|
|
float: none;
|
|
|
|
display: inline-block;
|
|
|
|
vertical-align: middle;
|
2016-07-31 12:18:46 +02:00
|
|
|
margin-bottom: $rowMarginBottom;
|
2016-07-29 23:57:21 +02:00
|
|
|
}
|
2016-07-30 01:05:25 +02:00
|
|
|
|
|
|
|
.songs {
|
2016-07-31 12:18:46 +02:00
|
|
|
composes: songs from "./Songs.scss";
|
2016-07-30 01:05:25 +02:00
|
|
|
}
|
2016-07-29 23:57:21 +02:00
|
|
|
}
|