]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/video/video-thumbnail.component.scss
Merge branch 'release/2.2.0' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / video-thumbnail.component.scss
index c13105e94e570dc365e584d39523c2391786b131..5fca916f03a6d0ab8b2621d47726d96ef7d6f33f 100644 (file)
@@ -19,6 +19,7 @@
   }
 
   .video-thumbnail-watch-later-overlay,
+  .video-thumbnail-label-overlay,
   .video-thumbnail-duration-overlay {
     @include static-thumbnail-overlay;
 
     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;