]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-moderation/moderation.scss
Add video-playlist-element.created hook (#4196)
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-moderation / moderation.scss
index c9f0d0c422e0d1fdea47264c58c17eaf8f8aede5..7c6dc9b7206e1da5e776ebc65a1d3af60d307519 100644 (file)
@@ -9,7 +9,7 @@
     font-weight: $font-semibold;
     display: inline-block;
     vertical-align: top;
-    text-align: right;
+    text-align: end;
   }
 
   .moderation-expanded-text {
     word-wrap: break-word;
 
     ::ng-deep p:last-child {
-      margin-bottom: 0px !important;
+      margin-bottom: 0 !important;
     }
   }
 }
 
 .screenratio {
+  @include block-ratio($selector: 'div, ::ng-deep iframe') {
+    width: 100% !important;
+    height: 100% !important;
+    left: 0;
+  };
+
   div {
     @include miniature-thumbnail;
 
     align-items: center;
     color: pvar(--inputPlaceholderColor);
   }
-
-  @include large-screen-ratio($selector: 'div, ::ng-deep iframe') {
-    width: 100% !important;
-    height: 100% !important;
-    left: 0;
-  };
 }
 
-.input-group {
-  @include peertube-input-group(300px);
+.chip {
+  @include chip;
+}
 
-  .dropdown-toggle::after {
-    margin-left: 0;
+my-action-dropdown.show {
+  ::ng-deep .dropdown-root {
+    display: block !important;
   }
 }
 
-.chip {
-  @include chip;
+.table-video-link {
+  @include disable-outline;
+
+  position: relative;
+  top: 3px;
 }
 
-.caption {
-  justify-content: flex-end;
+.table-comment-link,
+.table-account-link {
+  @include disable-outline;
+
+  color: var(--mainForegroundColor);
 
-  input {
-    @include peertube-input-text(250px);
-    flex-grow: 1;
+  ::ng-deep p:last-child {
+    margin: 0;
   }
 }
 
-my-action-dropdown.show {
-  ::ng-deep .dropdown-root {
-    display: block !important;
+.table-account-link {
+  display: flex;
+  flex-direction: column;
+}
+
+.table-video {
+  display: inline-flex;
+
+  .table-video-image {
+    $image-height: 45px;
+
+    @include miniature-thumbnail;
+    @include margin-right(0.5rem);
+
+    height: $image-height;
+    width: #{(16/9) * $image-height};
+    border-radius: 2px;
+    border: 0;
+    background: transparent;
+    display: inline-flex;
+    justify-content: center;
+    position: relative;
+
+    img {
+      height: 100%;
+      width: 100%;
+      border-radius: 2px;
+    }
+
+    span {
+      color: pvar(--inputPlaceholderColor);
+    }
+
+    .table-video-image-label {
+      @include static-thumbnail-overlay;
+      position: absolute;
+      border-radius: 3px;
+      font-size: 10px;
+      padding: 0 3px;
+      line-height: 1.3;
+      bottom: 2px;
+      right: 2px;
+    }
+  }
+
+  .table-video-text {
+    display: inline-flex;
+    flex-direction: column;
+    justify-content: center;
+    font-size: 90%;
+    color: pvar(--mainForegroundColor);
+    line-height: 1rem;
+
+    div .glyphicon {
+      @include margin-left(0.1rem);
+
+      font-size: 80%;
+      color: #808080;
+    }
+
+    div + div {
+      color: var(--greyForegroundColor);
+      font-size: 11px;
+    }
   }
 }