quiz: MDL-19891 fix that quiz navigation block that was broken by the blocks changes.

Sadly it now requries JavaScript again, at least for best operation.
This commit is contained in:
tjhunt 2009-07-23 09:20:33 +00:00
parent 75003899ae
commit d18675a8d7
9 changed files with 331 additions and 133 deletions

View file

@ -1174,7 +1174,9 @@ table.quizreviewsummary td.cell {
#quiznavigation .qnbutton.incorrect {
background-color: #fcc;
}
#quiznojswarning {
color: red;
}
#mod-quiz-report .dubious{
background-color: #fcc;
}

View file

@ -4377,8 +4377,12 @@ body.jsenabled .jshidewhenenabled {
height: 16px;
vertical-align: middle;
}
#mod-quiz-attempt #quiz-timer {
display: none;
#mod-quiz-attempt #quiz-timer,
#mod-quiz-summary #quiz-timer {
display: none; /* Revealed by JavaScript if applicable */
}
#mod-quiz-summary #quiz-timer {
margin-top: 1em;
}
#mod-quiz-attempt #quiz-time-left {
font-weight: bold;
@ -4612,13 +4616,20 @@ table.quizreviewsummary td.cell {
float: left;
}
#quiznavigation .othernav {
clear: both;
clear: both;
}
#quiznavigation .othernav a,
#quiznavigation .othernav input {
display: block;
margin: 0.5em 0;
}
#quiznojswarning {
font-size: 0.7em;
line-height: 1.1;
}
.jsenabled #quiznojswarning {
display: none;
}
.mod-quiz div.tabtree a span img.iconsmall {
vertical-align: baseline;
}