]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+search/search.component.scss
Add ability for client to create server logs
[github/Chocobozzz/PeerTube.git] / client / src / app / +search / search.component.scss
index a8002ba886ba0d6ab14f207bfbb9ebc1def22550..11d95df6ac0424e0314bce0ab0186d2ed7f3e053 100644 (file)
@@ -1,9 +1,10 @@
-@import '_variables';
-@import '_mixins';
+@use 'sass:math';
+@use '_variables' as *;
+@use '_mixins' as *;
 
 @mixin build-channel-img-size ($video-img-width) {
   $image-size: min(130px, $video-img-width);
-  $margin-size: ($video-img-width - $image-size) / 2; // So we have the same width than the video miniature
+  $margin-size: math.div(($video-img-width - $image-size), 2); // So we have the same width than the video miniature
 
   @include actor-avatar-size($image-size);
 
   padding: 40px;
 }
 
+.alert-danger {
+  margin-top: 10px;
+}
+
 .results-header {
-  font-size: 16px;
   padding-bottom: 20px;
   margin-bottom: 30px;
   border-bottom: 1px solid #DADADA;
 
       .icon.icon-filter {
         @include icon(20px);
+        @include margin-right(5px);
 
         position: relative;
         top: -1px;
-        margin-right: 5px;
         background-image: url('../../assets/images/feather/filter.svg');
       }
     }
   max-width: 800px;
 }
 
-.video-channel my-actor-avatar {
-  @include build-channel-img-size($video-thumbnail-width);
-}
-
 .video-channel-info {
   flex-grow: 1;
   margin: 0 10px;
 }
 
 .video-channel-name {
+  @include margin-left(5px);
+
   font-size: $video-miniature-row-info-font-size;
   color: pvar(--greyForegroundColor);
-  margin-left: 5px;
 }
 
 // Use the same breakpoints than in video-miniature