X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Finclude%2F_miniature.scss;h=95b7592251315edd6938fef559f2f5738f3f460b;hb=e2f01c47e08d26a30ad47068d195b3d21d0df8a1;hp=25a024aaca2a007a2cd9926e2a681374f1439c2d;hpb=15e9d5ca39e0b792f61453fbf3885a0fc446afa7;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/include/_miniature.scss b/client/src/sass/include/_miniature.scss index 25a024aac..95b759225 100644 --- a/client/src/sass/include/_miniature.scss +++ b/client/src/sass/include/_miniature.scss @@ -28,15 +28,15 @@ $play-overlay-transition: 0.2s ease; $play-overlay-height: 26px; $play-overlay-width: 18px; -@mixin miniature-thumbnail($width: $video-thumbnail-width, $height: $video-thumbnail-height) { +@mixin miniature-thumbnail { @include disable-outline; display: inline-block; position: relative; border-radius: 3px; overflow: hidden; - width: $width; - height: $height; + width: $video-thumbnail-width; + height: $video-thumbnail-height; background-color: #ececec; transition: filter $play-overlay-transition; @@ -97,6 +97,13 @@ $play-overlay-width: 18px; } } +@mixin thumbnail-size-component ($width, $height) { + /deep/ .video-thumbnail { + width: $width; + height: $height; + } +} + @mixin static-thumbnail-overlay { display: inline-block; background-color: rgba(0, 0, 0, 0.7);