Skip to content

Commit 76ca40b

Browse files
committed
Updated file input styles. Fixes blueimp#2635
1 parent 7419b47 commit 76ca40b

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

css/jquery.fileupload-noscript.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset 'UTF-8';
22
/*
3-
* jQuery File Upload Plugin NoScript CSS 1.0.0
3+
* jQuery File Upload Plugin NoScript CSS 1.2.0
44
* https://github.com/blueimp/jQuery-File-Upload
55
*
66
* Copyright 2013, Sebastian Tschan
@@ -14,7 +14,6 @@
1414
position: static;
1515
opacity: 1;
1616
filter: none;
17-
transform: none;
1817
font-size: inherit;
1918
direction: inherit;
2019
}

css/jquery.fileupload.css

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset 'UTF-8';
22
/*
3-
* jQuery File Upload Plugin CSS 1.1.0
3+
* jQuery File Upload Plugin CSS 1.2.0
44
* https://github.com/blueimp/jQuery-File-Upload
55
*
66
* Copyright 2013, Sebastian Tschan
@@ -20,10 +20,15 @@
2020
right: 0;
2121
margin: 0;
2222
opacity: 0;
23-
filter: alpha(opacity=0);
24-
transform: translate(-300px, 0) scale(4);
25-
font-size: 60px;
26-
width: 100%;
23+
-ms-filter: 'alpha(opacity=0)';
24+
font-size: 200px;
2725
direction: ltr;
2826
cursor: pointer;
2927
}
28+
29+
/* IE7 fixes */
30+
*+html .fileinput-button input {
31+
filter: alpha(opacity=0);
32+
font-size: 100%;
33+
height: 100%;
34+
}

0 commit comments

Comments
 (0)