]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/video/abstract-video-list.scss
Make video-add-nav tabs scrollable on small devices (#2677)
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / video / abstract-video-list.scss
index 52797bc6cf2e1261fe96842aae47038de8a8e78a..9bc05015f79330176a0f7ef2be522d19c2bf00e1 100644 (file)
@@ -1,7 +1,57 @@
-.videos {
-  text-align: center;
+@import '_mixins';
+@import '_miniature';
 
-  my-video-miniature {
-    text-align: left;
+.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;
+      opacity: 0;
+      transition: ease-in .2s opacity;
+    }
+    &:hover my-feed {
+      opacity: 1;
+    }
+  }
+
+  .action-block {
+    a button {
+      @include peertube-button;
+      @include grey-button;
+      @include button-with-icon(18px, 3px, -1px);
+    }
+  }
+
+  .moderation-block {
+    display: flex;
+    flex-grow: 1;
+    justify-content: flex-end;
+    align-items: center;
   }
 }
+
+.date-title {
+  font-size: 16px;
+  font-weight: $font-semibold;
+  margin-bottom: 20px;
+  margin-top: -10px;
+  padding-top: 20px;
+
+  &:not(:first-child) {
+    border-top: 1px solid $separator-border-color;
+  }
+}
+
+.margin-content {
+  @include adapt-margin-content-width;
+}
+