2018-12-19 00:44:53 -05:00
|
|
|
@mixin placeholder {
|
2019-01-08 11:58:05 -05:00
|
|
|
animation: pulse 2s infinite ease-in-out;
|
2019-11-22 16:13:00 -05:00
|
|
|
background-color: var(--color-placeholder-background);
|
2019-05-07 21:29:30 -04:00
|
|
|
border-radius: var(--card-radius);
|
2018-12-19 00:44:53 -05:00
|
|
|
}
|
2019-05-07 21:29:30 -04:00
|
|
|
|
|
|
|
@mixin mediaThumbHoverZoom {
|
2019-07-21 17:31:22 -04:00
|
|
|
.media__thumb,
|
|
|
|
img {
|
2019-05-07 21:29:30 -04:00
|
|
|
transition: all 0.2s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2019-07-21 17:31:22 -04:00
|
|
|
.media__thumb,
|
|
|
|
img {
|
2019-05-07 21:29:30 -04:00
|
|
|
transform: scale(1.05);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-05-28 13:07:04 -04:00
|
|
|
|
|
|
|
@mixin handleClaimTileGifThumbnail($width) {
|
2020-05-28 15:09:21 -04:00
|
|
|
.ff-canvas,
|
|
|
|
.freezeframe-img {
|
|
|
|
height: calc(#{$width} * (9 / 16)) !important;
|
|
|
|
width: $width;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin handleClaimListGifThumbnail($width) {
|
2020-05-28 13:07:04 -04:00
|
|
|
.ff-canvas,
|
|
|
|
.freezeframe-img {
|
|
|
|
height: calc(#{$width} * (9 / 16)) !important;
|
|
|
|
width: $width;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@mixin handleChannelGif($size) {
|
|
|
|
height: $size;
|
|
|
|
width: $size;
|
|
|
|
|
|
|
|
.ff-canvas,
|
|
|
|
.freezeframe-img {
|
|
|
|
border-radius: var(--border-radius);
|
|
|
|
height: $size !important;
|
|
|
|
width: $size !important;
|
|
|
|
}
|
|
|
|
}
|