Skip to content

Commit 0d16ed9

Browse files
committed
Apply file upload style fixes to IE < 8.
1 parent 76ca40b commit 0d16ed9

File tree

4 files changed

+16
-14
lines changed

4 files changed

+16
-14
lines changed

css/demo.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset "UTF-8";
22
/*
3-
* jQuery File Upload Demo CSS 1.0.2
3+
* jQuery File Upload Demo CSS 1.1.0
44
* https://github.com/blueimp/jQuery-File-Upload
55
*
66
* Copyright 2013, Sebastian Tschan
@@ -14,7 +14,7 @@ body {
1414
max-width: 750px;
1515
margin: 0 auto;
1616
padding: 1em;
17-
font-family: 'Lucida Grande', 'Lucida Sans Unicode', Arial, sans-serif;
17+
font-family: "Lucida Grande", "Lucida Sans Unicode", Arial, sans-serif;
1818
font-size: 1em;
1919
line-height: 1.4em;
2020
background: #222;
@@ -62,6 +62,6 @@ table {
6262
display: inline-block;
6363
}
6464
.navigation li:not(:first-child):before {
65-
content: '| ';
65+
content: "| ";
6666
}
6767
}

css/jquery.fileupload-noscript.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@charset 'UTF-8';
1+
@charset "UTF-8";
22
/*
33
* jQuery File Upload Plugin NoScript CSS 1.2.0
44
* https://github.com/blueimp/jQuery-File-Upload

css/jquery.fileupload-ui.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@charset 'UTF-8';
1+
@charset "UTF-8";
22
/*
33
* jQuery File Upload UI Plugin CSS 8.8.5
44
* https://github.com/blueimp/jQuery-File-Upload
@@ -16,14 +16,14 @@
1616
}
1717
.progress-animated .progress-bar,
1818
.progress-animated .bar {
19-
background: url('../img/progressbar.gif') !important;
19+
background: url("../img/progressbar.gif") !important;
2020
filter: none;
2121
}
2222
.fileupload-loading {
2323
float: right;
2424
width: 32px;
2525
height: 32px;
26-
background: url('../img/loading.gif') center no-repeat;
26+
background: url("../img/loading.gif") center no-repeat;
2727
background-size: contain;
2828
display: none;
2929
}

css/jquery.fileupload.css

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
@charset 'UTF-8';
1+
@charset "UTF-8";
22
/*
3-
* jQuery File Upload Plugin CSS 1.2.0
3+
* jQuery File Upload Plugin CSS 1.3.0
44
* https://github.com/blueimp/jQuery-File-Upload
55
*
66
* Copyright 2013, Sebastian Tschan
@@ -26,9 +26,11 @@
2626
cursor: pointer;
2727
}
2828

29-
/* IE7 fixes */
30-
*+html .fileinput-button input {
31-
filter: alpha(opacity=0);
32-
font-size: 100%;
33-
height: 100%;
29+
/* Fixes for IE < 8 */
30+
@media screen\9 {
31+
.fileinput-button input {
32+
filter: alpha(opacity=0);
33+
font-size: 100%;
34+
height: 100%;
35+
}
3436
}

0 commit comments

Comments
 (0)