]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-thumbnail/video-thumbnail.component.scss
Refactor horizontal margins
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-thumbnail / video-thumbnail.component.scss
index feff78a87899b71b966bd48e2f8144e5714df482..2b723a15aaec1fefecc4e701fc5ae074e3775705 100644 (file)
 
   .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;
     font-size: 12px;
     font-weight: $font-semibold;
-    line-height: 1.2;
+    line-height: 1.1;
     z-index: z(miniature);
   }
 
     &.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;