Skip to content
Snippets Groups Projects
Commit a4ae33e9 authored by Florian Gnaegi - frentix GmbH's avatar Florian Gnaegi - frentix GmbH
Browse files

OO-557 fix issue in IE7 with file upload button that can't be clicked

parent 65ad2969
No related branches found
No related tags found
No related merge requests found
...@@ -365,14 +365,40 @@ table.b_choice { ...@@ -365,14 +365,40 @@ table.b_choice {
div.b_fileinput { div.b_fileinput {
position: relative; position: relative;
div.b_fileinput_fakechooser { div.b_fileinput_fakechooser {
position: absolute; top: 0px; left: 0px; z-index: 1; display: inline; white-space: nowrap; position: relative;
a { margin-left: 5px; } top: 0px;
left: 0px;
z-index: 1;
display: inline;
white-space: nowrap;
a {
margin-left: 5px;
}
}
span.b_fileinput_maxsize {
/* same as mall icon left */
padding: 1px 0 1px 1em;
font-style: italic;
min-height: 16px;
vertical-align: middle;
} }
span.b_fileinput_maxsize { padding: 1px 0 1px 1em; font-style: italic; min-height: 16px; vertical-align: middle;} /* same as mall icon left */ input.b_fileinput_realchooser {
input.b_fileinput_realchooser { position: relative; top: 0; left: 0; z-index: 2; @include o-opacity(0);} position: absolute;
div.b_button_group { text-align: left; padding-left: 0; margin-left: 0;} top: 0;
left: 0;
height: 1.8em;
z-index: 2;
@include o-opacity(0); /* this is the magic: visually don't show the input element, but nevertheless catch click events */
}
div.b_button_group {
text-align: left;
padding-left: 0;
margin-left: 0;
}
}
.b_fileinput_icon {
background-image: url(../openolat/images/drive.png);
} }
.b_fileinput_icon { background-image: url(../openolat/images/drive.png); }
/* PROGRESSBAR */ /* PROGRESSBAR */
......
source diff could not be displayed: it is too large. Options to address this: view the blob.
source diff could not be displayed: it is too large. Options to address this: view the blob.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment