forked from django-cms/django-filer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request django-cms#623 from divio/feature/drag-and-drop-wi…
…dget-upload drag and drop widget upload
- Loading branch information
Showing
14 changed files
with
684 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ | |
@import "old"; | ||
@import "main"; | ||
@import "modal"; | ||
@import "drag-and-drop"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
|
||
@import "bootstrap.custom.min"; | ||
@import "font-awesome.min"; | ||
@import "dropzone"; |
Oops, something went wrong.