]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-thumbnail/video-thumbnail.component.scss
Add thumbnail info if live
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-thumbnail / video-thumbnail.component.scss
index feff78a87899b71b966bd48e2f8144e5714df482..1b6151c895aede764610a6ee1228305b12897832 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 {
+    background-color: rgba(224, 8, 8, 0.7);
+    color: #fff;
+    font-weight: $font-semibold;
+  }
+
   .video-thumbnail-actions-overlay {
     position: absolute;
     display: flex;