Skip to content

Commit

Permalink
Merge pull request django-cms#623 from divio/feature/drag-and-drop-wi…
Browse files Browse the repository at this point in the history
…dget-upload

drag and drop widget upload
  • Loading branch information
lory87 committed Dec 8, 2015
2 parents 09e30b1 + f4e9465 commit 17fc308
Show file tree
Hide file tree
Showing 14 changed files with 684 additions and 87 deletions.
1 change: 1 addition & 0 deletions filer/private/sass/layout/_all.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
@import "old";
@import "main";
@import "modal";
@import "drag-and-drop";
36 changes: 36 additions & 0 deletions filer/private/sass/layout/_drag-and-drop.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
.dropzone {
border-radius: $border-radius-base;
border: solid 1px $gray-lighter;
background-color: $gray-lightest;
&.dz-drag-hover {
border: solid 1px $color-primary !important;
}
.dz-message {
color: $gray;
float: right;
width: 85%;
margin: 40px 0 0;
}
.icon {
color: $gray;
margin-right: 10px;
}
.fileUpload {
position: relative;
overflow: hidden;
margin: 40px 0 0;
&.fileUpload-btn {
@include button-variant($btn-action-color, $btn-action-bgcolor, $btn-action-border, true);
}
}
.fileUpload input.upload {
position: absolute;
top: 0;
right: 0;
margin: 0;
padding: 0;
font-size: 20px;
cursor: pointer;
opacity: 0;
}
}
1 change: 1 addition & 0 deletions filer/private/sass/libs/_all.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

@import "bootstrap.custom.min";
@import "font-awesome.min";
@import "dropzone";
Loading

0 comments on commit 17fc308

Please sign in to comment.