X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fsass%2Finclude%2F_miniature.scss;h=c937a0f72c3fc7e44f559d0afcb91311efcd8518;hb=36f772fd8f1fb26cd5fe6f50332e4f44fc2c4e03;hp=4a1780b3f8ecbcc6cc9151b69da36f4392c13332;hpb=25266908666d4d465e1c8ec90135eaa00c91732e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/sass/include/_miniature.scss b/client/src/sass/include/_miniature.scss index 4a1780b3f..c937a0f72 100644 --- a/client/src/sass/include/_miniature.scss +++ b/client/src/sass/include/_miniature.scss @@ -45,7 +45,7 @@ $play-overlay-width: 18px; width: inherit; height: inherit; opacity: 0; - background-color: rgba(0, 0, 0, 0.7); + background-color: rgba(0, 0, 0, 0.3); &, .icon { transition: all $play-overlay-transition; @@ -80,7 +80,8 @@ $play-overlay-width: 18px; } &.focus-visible { - box-shadow: 0 0 0 2px var(--mainColor); + box-shadow: #{$focus-box-shadow-form} var(--mainColorLightest); + outline: none; } img { @@ -126,9 +127,9 @@ $play-overlay-width: 18px; } .video-thumbnail { - margin: 0 -15px 10px -15px; - width: 100vw; - height: calc(100vw / #{$video-thumbnail-ratio}); + margin-bottom: 10px; + width: 100%; + height: calc(100% / #{$video-thumbnail-ratio}); border-radius: 0; img { @@ -240,7 +241,7 @@ $play-overlay-width: 18px; width: $video-miniature-width * 2; } - @media screen and (max-width: 500px) { + @media screen and (max-width: $mobile-view) { width: auto; margin: 0 !important;