Skip to content

Commit f1494c6

Browse files
committed
1 parent 2396d5e commit f1494c6

File tree

6 files changed

+10
-20
lines changed

6 files changed

+10
-20
lines changed

dist/css/demo.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* dropify v0.2.1 - Override your input files with style.
44
* https://github.com/JeremyFagis/dropify
55
*
6-
* (c) 2016 - Jeremy FAGIS <[email protected]> (http://fagis.fr)
6+
* (c) 2017 - Jeremy FAGIS <[email protected]> (http://fagis.fr)
77
* =============================================================
88
*/
99

dist/css/dropify.css

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* dropify v0.2.1 - Override your input files with style.
44
* https://github.com/JeremyFagis/dropify
55
*
6-
* (c) 2016 - Jeremy FAGIS <[email protected]> (http://fagis.fr)
6+
* (c) 2017 - Jeremy FAGIS <[email protected]> (http://fagis.fr)
77
* =============================================================
88
*/
99

@@ -15,7 +15,7 @@
1515
font-weight: normal;
1616
font-style: normal; }
1717

18-
[class^="dropify-font-"]:before, [class*=" dropify-font-"]:before, .dropify-font:before, .dropify-wrapper .dropify-message span.file-icon:before, .dropify-wrapper .dropify-preview .dropify-infos .dropify-infos-inner p.dropify-filename span.file-icon:before {
18+
[class^="dropify-font-"]:before, [class*=" dropify-font-"]:before, .dropify-font:before, .dropify-wrapper .dropify-message span.file-icon:before {
1919
font-family: "dropify";
2020
font-style: normal;
2121
font-weight: normal;
@@ -208,8 +208,6 @@
208208
text-align: center;
209209
line-height: 25px;
210210
font-weight: bold; }
211-
.dropify-wrapper .dropify-preview .dropify-infos .dropify-infos-inner p.dropify-filename span.file-icon {
212-
margin-right: 2px; }
213211
.dropify-wrapper .dropify-preview .dropify-infos .dropify-infos-inner p.dropify-infos-message {
214212
margin-top: 15px;
215213
padding-top: 15px;

dist/js/dropify.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* dropify v0.2.1 - Override your input files with style.
44
* https://github.com/JeremyFagis/dropify
55
*
6-
* (c) 2016 - Jeremy FAGIS <[email protected]> (http://fagis.fr)
6+
* (c) 2017 - Jeremy FAGIS <[email protected]> (http://fagis.fr)
77
* =============================================================
88
*/
99

@@ -49,7 +49,7 @@ function Dropify(element, options) {
4949
'default': 'Drag and drop a file here or click',
5050
'replace': 'Drag and drop or click to replace',
5151
'remove': 'Remove',
52-
'error': 'Ooops, something wrong appended.'
52+
'error': 'Ooops, something wrong happended.'
5353
},
5454
error: {
5555
'fileSize': 'The file size is too big ({{ value }} max).',
@@ -65,7 +65,7 @@ function Dropify(element, options) {
6565
loader: '<div class="dropify-loader"></div>',
6666
message: '<div class="dropify-message"><span class="file-icon" /> <p>{{ default }}</p></div>',
6767
preview: '<div class="dropify-preview"><span class="dropify-render"></span><div class="dropify-infos"><div class="dropify-infos-inner"><p class="dropify-infos-message">{{ replace }}</p></div></div></div>',
68-
filename: '<p class="dropify-filename"><span class="file-icon"></span> <span class="dropify-filename-inner"></span></p>',
68+
filename: '<p class="dropify-filename"><span class="dropify-filename-inner"></span></p>',
6969
clearButton: '<button type="button" class="dropify-clear">{{ remove }}</button>',
7070
errorLine: '<p class="dropify-error">{{ error }}</p>',
7171
errorsContainer: '<div class="dropify-errors-container"><ul></ul></div>'

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
"gulp-autoprefixer": "^3.1.0",
2222
"gulp-header": "^1.7.1",
2323
"gulp-load-plugins": "^1.2.0",
24-
"gulp-minify-css": "1.2.3",
24+
"gulp-minify-css": "1.2.4",
2525
"gulp-plumber": "^1.0.1",
26-
"gulp-sass": "^2.1.1",
27-
"gulp-uglify": "^1.5.1",
26+
"gulp-sass": "^3.1.0",
27+
"gulp-uglify": "^2.1.0",
2828
"gulp-util": "^3.0.7",
2929
"gulp-umd": "^0.2.0",
3030
"gulp-wrap-js": "^0.4.1",

src/js/dropify.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function Dropify(element, options) {
4747
loader: '<div class="dropify-loader"></div>',
4848
message: '<div class="dropify-message"><span class="file-icon" /> <p>{{ default }}</p></div>',
4949
preview: '<div class="dropify-preview"><span class="dropify-render"></span><div class="dropify-infos"><div class="dropify-infos-inner"><p class="dropify-infos-message">{{ replace }}</p></div></div></div>',
50-
filename: '<p class="dropify-filename"><span class="file-icon"></span> <span class="dropify-filename-inner"></span></p>',
50+
filename: '<p class="dropify-filename"><span class="dropify-filename-inner"></span></p>',
5151
clearButton: '<button type="button" class="dropify-clear">{{ remove }}</button>',
5252
errorLine: '<p class="dropify-error">{{ error }}</p>',
5353
errorsContainer: '<div class="dropify-errors-container"><ul></ul></div>'

src/sass/dropify.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -241,14 +241,6 @@ $dropify-font-path: "../fonts" !default;
241241
line-height: 25px;
242242
font-weight: bold;
243243

244-
&.dropify-filename {
245-
span.file-icon {
246-
@extend .dropify-font;
247-
@extend .dropify-font-empty;
248-
margin-right: 2px;
249-
}
250-
}
251-
252244
&.dropify-infos-message {
253245
margin-top: 15px;
254246
padding-top: 15px;

0 commit comments

Comments
 (0)