]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/videos/+video-edit/video-add.component.scss
Support drag and drop for video upload and torrent file import
[github/Chocobozzz/PeerTube.git] / client / src / app / videos / +video-edit / video-add.component.scss
index 9d068afde465f002d7db048f84e0f3368520d440..c20467d9b31fd302fe5c8570547a977d60e0b12f 100644 (file)
@@ -40,14 +40,19 @@ $border-color: #EAEAEA;
 
 ::ng-deep .upload-video-container {
   border: $border-width $border-type $border-color;
-  border-top: none;
+  border-top: transparent;
 
   background-color: var(--submenuColor);
-  border-radius: 3px;
+  border-bottom-left-radius: 3px;
+  border-bottom-right-radius: 3px;
   width: 100%;
   min-height: 440px;
   padding-bottom: 20px;
   display: flex;
   justify-content: center;
   align-items: center;
+
+  &.dragover {
+    border: 3px dashed var(--mainColor);
+  }
 }