]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+my-library/my-ownership/my-ownership.component.scss
Replace all glyphicon icons
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-library / my-ownership / my-ownership.component.scss
index 7cac9c9f3a6425961f159c616c8e4f285b30a173..a8450ff1b6bd1df3ebb659d30709c2a2e1b3ab46 100644 (file)
@@ -1,27 +1,24 @@
-@import 'miniature';
-@import 'mixins';
+@use 'sass:math';
+@use '_miniature' as *;
+@use '_mixins' as *;
 
 .chip {
   @include chip;
 }
 
-.badge {
-  @include table-badge;
-}
-
 .video-table-video {
   display: inline-flex;
 
   .video-table-video-image {
-    @include miniature-thumbnail;
-
     $image-height: 45px;
 
+    @include miniature-thumbnail;
+    @include margin-right(0.5rem);
+
     height: $image-height;
-    width: #{(16/9) * $image-height};
-    margin-right: 0.5rem;
+    width: #{math.div(16, 9) * $image-height};
     border-radius: 2px;
-    border: none;
+    border: 0;
     background: transparent;
     display: inline-flex;
     justify-content: center;
     color: pvar(--mainForegroundColor);
     line-height: 1rem;
 
-    div .glyphicon {
-      font-size: 80%;
-      color: gray;
-      margin-left: 0.1rem;
-    }
-
     div + div {
       font-size: 80%;
     }