]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component.scss
fix reactive file upload button
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account-video-playlists / my-account-video-playlist-elements.component.scss
index 4ac89d08f4ebb74d18c1e1090c1fc8aaf410ab1a..3f2c345d2592c9aaa660bd8dd2a56e426765b988 100644 (file)
@@ -2,97 +2,19 @@
 @import '_mixins';
 @import '_miniature';
 
-.video, .cdk-drag-preview {
-  display: flex;
-  align-items: center;
-  background-color: var(--mainBackgroundColor);
-  cursor: pointer;
-  padding: 10px;
-  border-bottom: 1px solid $separator-border-color;
-
-  &:hover {
-    background-color: rgba(0, 0, 0, 0.05);
-
-    .more {
-      display: block;
-    }
-  }
-
-  .position {
-    font-weight: $font-semibold;
-    margin-right: 10px;
-    color: $grey-foreground-color;
-    min-width: 20px;
-  }
-
-  my-video-thumbnail {
-    display: flex; // Avoids an issue with line-height that adds space below the element
-    margin-right: 10px;
-
-    /deep/ .video-thumbnail {
-      @include miniature-thumbnail(130px, 72px);
-    }
-  }
-
-  .video-info {
-    display: flex;
-    flex-direction: column;
-
-    a {
-      @include disable-default-a-behaviour;
-
-      color: var(--mainForegroundColor);
-    }
-
-    .video-info-name {
-      font-size: 18px;
-      font-weight: $font-semibold;
-    }
-
-    .video-info-account, .video-info-timestamp {
-      color: $grey-foreground-color;
-    }
-  }
-
-  .more {
-    justify-self: flex-end;
-    margin-left: auto;
-    cursor: pointer;
-    display: none;
-
-    &.show {
-      display: block;
-    }
-
-    .icon-more {
-      @include apply-svg-color($grey-foreground-color);
-
-      &::after {
-        border: none;
-      }
-    }
-
-    .dropdown-item {
-      @include dropdown-with-icon-item;
-    }
-
-    .timestamp-options {
-      padding-top: 0;
-      padding-left: 35px;
-      margin-bottom: 15px;
+.playlist-info {
+  background-color: pvar(--submenuColor);
+  margin-left: -15px;
+  margin-top: -$sub-menu-margin-bottom;
 
-      > div {
-        display: flex;
-        align-items: center;
-      }
+  padding: $sub-menu-margin-bottom 0 -15px 0;
 
-      input {
-        @include peertube-button;
-        @include orange-button;
+  display: flex;
+  justify-content: center;
 
-        margin-top: 10px;
-      }
-    }
+  /* fix ellipsis dots background color */
+  ::ng-deep .miniature-name::after {
+    background-color: pvar(--submenuColor) !important;
   }
 }
 
 .videos.cdk-drop-list-dragging .video:not(.cdk-drag-placeholder) {
   transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
 }
+
+@media screen and (max-width: $small-view) {
+  .playlist-info {
+    margin-top: -$sub-menu-margin-bottom-small-view;
+  }
+}
+
+@media not all and (hover: hover) and (pointer: fine) {
+  .video {
+    .more {
+      opacity: 1;
+    }
+  }
+}