Refactoring Featured Playlists for multi-source support

This commit is contained in:
James Barnsley
2022-06-18 16:49:12 +12:00
parent b84c7c3b75
commit 238d63a6ec
15 changed files with 454 additions and 455 deletions

View File

@ -18,7 +18,8 @@
&__thumbnail {
@include animate();
max-width: 100%;
z-index: unset;
&__image {
transform: scale(0.98);
}
@ -38,38 +39,12 @@
padding-right: 6px;
}
}
&:hover {
.thumbnail {
&__image {
transform: scale(1.01);
&--glow {
/*@include blur(20px);*/
transform: rotateX(6deg);
}
}
}
}
&:active,
&:focus {
.thumbnail {
&__image {
@include noanimate();
-moz-transform: scale(0.98);
-webkit-transform: scale(0.98);
transform: scale(0.98);
}
}
}
}
&--tile {
.grid__item {
&--tile {
position: relative;
&__name {
.grid__item__name {
position: absolute;
bottom: 15%;
left: 0;
@ -95,9 +70,32 @@
}
@include responsive(null, $bp_wide) {
.grid__item {
&__name {
font-size: 16px;
.grid__item__name {
font-size: 16px;
}
}
&:hover {
.thumbnail {
&__image {
transform: scale(1.01);
&--glow {
/*@include blur(20px);*/
transform: rotateX(6deg);
}
}
}
}
&:active,
&:focus {
.thumbnail {
&__image {
@include noanimate();
-moz-transform: scale(0.98);
-webkit-transform: scale(0.98);
transform: scale(0.98);
}
}
}