X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-thumbnail%2Fvideo-thumbnail.component.scss;h=1b6151c895aede764610a6ee1228305b12897832;hb=da0310f821b039fea1fcbf8aea49e1d2279ba98e;hp=feff78a87899b71b966bd48e2f8144e5714df482;hpb=b5b687550d8ef8beafdf706e45d6556fb5f4c876;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared-thumbnail/video-thumbnail.component.scss b/client/src/app/shared/shared-thumbnail/video-thumbnail.component.scss index feff78a87..1b6151c89 100644 --- a/client/src/app/shared/shared-thumbnail/video-thumbnail.component.scss +++ b/client/src/app/shared/shared-thumbnail/video-thumbnail.component.scss @@ -20,7 +20,8 @@ .video-thumbnail-watch-later-overlay, .video-thumbnail-label-overlay, - .video-thumbnail-duration-overlay { + .video-thumbnail-duration-overlay, + .video-thumbnail-live-overlay { @include static-thumbnail-overlay; border-radius: 3px; @@ -41,13 +42,20 @@ &.danger { background-color: red; } } - .video-thumbnail-duration-overlay { + .video-thumbnail-duration-overlay, + .video-thumbnail-live-overlay { position: absolute; padding: 0 3px; right: 5px; bottom: 5px; } + .video-thumbnail-live-overlay { + background-color: rgba(224, 8, 8, 0.7); + color: #fff; + font-weight: $font-semibold; + } + .video-thumbnail-actions-overlay { position: absolute; display: flex;