]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-moderation/moderation.scss
Refactoring margin and padding mixins
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-moderation / moderation.scss
index c9f0d0c422e0d1fdea47264c58c17eaf8f8aede5..7c1e308cfb3072aba5ad43e619e0272692a3dc2a 100644 (file)
@@ -1,15 +1,22 @@
-@import 'variables';
-@import 'mixins';
-@import 'miniature';
+@use 'sass:math';
+@use '_mixins' as *;
+@use '_variables' as *;
+@use '_miniature' as *;
 
 .moderation-expanded {
   font-size: 90%;
+  display: flex;
+  flex-wrap: wrap;
+  justify-content: space-between;
 
   .moderation-expanded-label {
+    @include margin-right(5px);
+
     font-weight: $font-semibold;
     display: inline-block;
     vertical-align: top;
-    text-align: right;
+    text-align: end;
+    min-width: 100px;
   }
 
   .moderation-expanded-text {
     word-wrap: break-word;
 
     ::ng-deep p:last-child {
-      margin-bottom: 0px !important;
+      margin-bottom: 0 !important;
     }
   }
-}
 
-.screenratio {
-  div {
-    @include miniature-thumbnail;
+  .right {
+    width: 50%;
+    max-width: 500px;
+  }
 
-    display: inline-flex;
-    justify-content: center;
-    align-items: center;
-    color: pvar(--inputPlaceholderColor);
+  @media screen and (max-width: $primeng-breakpoint) {
+    .right {
+      width: 100%;
+    }
   }
+}
 
-  @include large-screen-ratio($selector: 'div, ::ng-deep iframe') {
-    width: 100% !important;
-    height: 100% !important;
-    left: 0;
-  };
+my-action-dropdown.show {
+  ::ng-deep .dropdown-root {
+    display: block !important;
+  }
 }
 
-.input-group {
-  @include peertube-input-group(300px);
+.table-comment-link,
+.table-account-link {
+  @include disable-outline;
 
-  .dropdown-toggle::after {
-    margin-left: 0;
+  color: var(--mainForegroundColor);
+
+  ::ng-deep p:last-child {
+    margin: 0;
   }
 }
 
-.chip {
-  @include chip;
+.table-account-link {
+  display: flex;
+  flex-direction: column;
 }
 
-.caption {
-  justify-content: flex-end;
-
-  input {
-    @include peertube-input-text(250px);
-    flex-grow: 1;
-  }
+my-abuse-details {
+  width: 100%;
 }
 
-my-action-dropdown.show {
-  ::ng-deep .dropdown-root {
-    display: block !important;
+@media screen and (max-width: $primeng-breakpoint) {
+  .abuse-messages {
+    justify-content: flex-start !important;
   }
 }