From 62eacb420945020d354037c5d5cdf2885529f52a Mon Sep 17 00:00:00 2001 From: Rigel Kent Date: Sat, 11 Apr 2020 14:47:13 +0200 Subject: Place private/unlisted labels in thumbnail instead of miniature --- client/src/app/shared/video/video-thumbnail.component.scss | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'client/src/app/shared/video/video-thumbnail.component.scss') diff --git a/client/src/app/shared/video/video-thumbnail.component.scss b/client/src/app/shared/video/video-thumbnail.component.scss index c13105e94..5fca916f0 100644 --- a/client/src/app/shared/video/video-thumbnail.component.scss +++ b/client/src/app/shared/video/video-thumbnail.component.scss @@ -19,6 +19,7 @@ } .video-thumbnail-watch-later-overlay, + .video-thumbnail-label-overlay, .video-thumbnail-duration-overlay { @include static-thumbnail-overlay; @@ -28,6 +29,16 @@ z-index: z(miniature); } + .video-thumbnail-label-overlay { + position: absolute; + padding: 0 5px; + left: 5px; + top: 5px; + + &.warning { background-color: orange; } + &.danger { background-color: red; } + } + .video-thumbnail-duration-overlay { position: absolute; padding: 0 5px; -- cgit v1.2.3