moodle/theme/standard/styles_ie7.css
tjhunt cc2c4572b1 quiz editing: MDL-17396 Quiz tab icons broken in IE
Well, that was a stunningly creating IE layout bug, and I have no idea why this work-around works. (The margin 0 and vertical-align are the essentail bits, the other two rules just make it look nicer.)

Also tweaked the layout in Firefox to position the icons a bit more nicely.
2008-11-26 04:03:45 +00:00

68 lines
959 B
CSS
Executable File

/*
* These styles are ONLY included for IE 7 (via meta.php)
*/
.tabrow0 li {
margin-left: 0;
}
.tabrow0 li.first {
margin-right: -4px;
}
.tabrow0 li.onerow {
margin-right: 0;
}
.tabrow0 a {
display: inline-block;
padding: 8px 0 0.35em 13px;
line-height: 1.5em;
}
.tabrow0 a span {
padding: 10px 1em 10px 0;
}
.tabrow0 div,
.tabrow0 ul {
top: 2.6em;
padding: 0.2em 0;
}
.tabrow0 div.empty {
margin-right: 0;
}
.sideblock {
overflow: hidden;
}
.sideblock .content {
word-wrap: break-word;
}
/*fix for misalignment of text fields in ie */
form.mform input[type=text],
form.mform input[type=file],
form.mform input[type=password] {
margin-left: -10px;
}
form.mform textarea {
margin-left: -10px;
}
form.mform .fcheckbox input {
margin-left: -3px;
}
#mod-quiz-review #middle-column {
height: 1%;
}
.mod-quiz div.tabtree a span img.iconsmall {
margin: 0;
vertical-align: baseline;
position: relative;
top: 2px;
}