From: Rigel Kent Date: Sun, 8 Dec 2019 19:35:52 +0000 (+0100) Subject: miniature duration visibility and overlay background opacity X-Git-Tag: v2.1.0-rc.1~242 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=41f8f6207a25b75c69120cabe9b0571ac055f2ec;p=oweals%2Fpeertube.git miniature duration visibility and overlay background opacity --- diff --git a/client/src/app/shared/video/video-thumbnail.component.scss b/client/src/app/shared/video/video-thumbnail.component.scss index 469b659e9..e48629778 100644 --- a/client/src/app/shared/video/video-thumbnail.component.scss +++ b/client/src/app/shared/video/video-thumbnail.component.scss @@ -28,5 +28,6 @@ border-radius: 3px; font-size: 12px; font-weight: $font-bold; + z-index: 1; } } diff --git a/client/src/sass/include/_miniature.scss b/client/src/sass/include/_miniature.scss index 4a1780b3f..b0e07d61a 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;