From: tjhunt Date: Wed, 26 Nov 2008 04:03:45 +0000 (+0000) Subject: quiz editing: MDL-17396 Quiz tab icons broken in IE X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=cc2c4572b1ff9dd0173a3035d85693c963e53b9b;p=moodle.git 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. --- diff --git a/theme/standard/styles_ie6.css b/theme/standard/styles_ie6.css index b70aad7085..6ff585e375 100755 --- a/theme/standard/styles_ie6.css +++ b/theme/standard/styles_ie6.css @@ -78,10 +78,12 @@ form.mform textarea { /*ie6 shows this as an arrow if this is not specified*/ cursor: pointer; } -#mod-quiz-edit div.tabtree a span img.iconsmall{ - display:none; +.mod-quiz div.tabtree a span img.iconsmall { + margin: 0; + vertical-align: baseline; + position: relative; + top: 1px; } - #mod-quiz-edit div.question div.content .questiontext,#categoryquestions .questiontext{ width:50%; } diff --git a/theme/standard/styles_ie7.css b/theme/standard/styles_ie7.css index 0dc3376f92..9b85a45d36 100755 --- a/theme/standard/styles_ie7.css +++ b/theme/standard/styles_ie7.css @@ -59,3 +59,9 @@ form.mform .fcheckbox input { #mod-quiz-review #middle-column { height: 1%; } +.mod-quiz div.tabtree a span img.iconsmall { + margin: 0; + vertical-align: baseline; + position: relative; + top: 2px; +} diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index c09b1fd94e..f9949f631a 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -4411,6 +4411,9 @@ table.quizreviewsummary td.cell { display: block; margin: 0.5em 0; } +.mod-quiz div.tabtree a span img.iconsmall { + vertical-align: baseline; +} #mod-quiz-edit div.sideblock{ float:right; width:30%;