]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-thumbnail/video-thumbnail.component.scss
Fix scroll check in infinite scroller directive
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-thumbnail / video-thumbnail.component.scss
index feff78a87899b71b966bd48e2f8144e5714df482..4f53ffaf6abdc907669b7f0bf684c9adc3606758 100644 (file)
@@ -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;
     &.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 {
+    font-weight: $font-semibold;
+    color: #fff;
+
+    &:not(.live-ended) {
+      background-color: rgba(224, 8, 8, 0.7);
+    }
+  }
+
   .video-thumbnail-actions-overlay {
     position: absolute;
     display: flex;