Permalink
Browse files

Updated file field mask to support IE7

  • Loading branch information...
1 parent 0a3c0ab commit 7e0fc8b7108e5542d9beff8591286b95982138dc @ntreadway ntreadway committed Aug 18, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −1 file-field-mask/file-field-mask.css
  2. +1 −0 file-field-mask/file-field-mask.scss
@@ -5,6 +5,6 @@ Date: Wed June 1 2011*/
ol { list-style-type: none; }
ol li.file { width: 100%; height: 50px; }
ol li.file label { float: left; line-height: 15px; margin: 10px; }
-ol li.file input[type=file] { height: 35px; font-size: 20px; position: relative; text-align: left; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); opacity: 0; z-index: 2; }
+ol li.file input[type=file] { height: 35px; font-size: 20px; position: relative; text-align: left; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0); filter: alpha(opacity=0); opacity: 0; z-index: 2; }
ol li.file #fake-file-field { background: url(../images/file-field-mask.png) no-repeat; position: absolute; left: 95px; top: 50px; height: 50px; font-size: 12px; width: 390px; z-index: 1; }
ol li.file #fake-file-field .input { height: 50px; left: 10px; overflow: hidden; position: relative; top: 5px; width: 280px; }
@@ -23,6 +23,7 @@ ol {
text-align: left;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
+ filter:alpha(opacity=0);
opacity: 0;
z-index: 2;}

0 comments on commit 7e0fc8b

Please sign in to comment.