]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/video/abstract-video-list.scss
Fix npm run dev script
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / abstract-video-list.scss
index 91091a5bb23916c0bdac1cdcd3a56d22b69d0542..3c7a4b1fcb9492726a9863097966efc0a13bd94b 100644 (file)
@@ -1,48 +1,52 @@
 @import '_mixins';
+@import '_miniature';
+
+.videos-header {
+  display: flex;
+  justify-content: space-between;
+  height: 80px;
+  align-items: baseline;
+
+  .title-page.title-page-single {
+    display: flex;
+
+    my-feed {
+      display: inline-block;
+      top: 1px;
+      margin-left: 5px;
+      width: max-content;
+    }
+  }
 
-.videos {
-  text-align: center;
+  .action-block {
+    a button {
+      @include peertube-button;
+      @include grey-button;
+      @include button-with-icon(18px, 3px, -1px);
+    }
+  }
 
-  my-video-miniature {
-    text-align: left;
+  .moderation-block {
+    display: flex;
+    flex-grow: 1;
+    justify-content: flex-end;
+    align-items: center;
   }
 }
 
-.title-page.title-page-single {
-  margin-right: 5px;
-}
+.date-title {
+  font-size: 16px;
+  font-weight: $font-semibold;
+  margin-bottom: 20px;
+  margin-top: -10px;
+  padding-top: 20px;
 
-my-video-feed {
-  display: inline-block;
+  &:not(:first-child) {
+    border-top: 1px solid $separator-border-color;
+  }
 }
 
-@media screen and (max-width: 500px) {
-  .videos {
-    text-align: center;
-
-    /deep/ .video-miniature {
-      padding-right: 0;
-      height: auto;
-      width: 100%;
-      margin-bottom: 20px;
-
-      .video-miniature-information {
-        width: 100% !important;
-
-        span {
-          width: 100%;
-        }
-      }
-
-      .video-thumbnail {
-        width: 100%;
-        height: auto;
-
-        img {
-          width: 100%;
-          height: auto;
-        }
-      }
-    }
-  }
+.margin-content {
+  @include adapt-margin-content-width;
 }
+