From f8f76d96c83cd9369d422d0e09886cb77d4d6eb1 Mon Sep 17 00:00:00 2001 From: tjhunt Date: Thu, 4 Sep 2008 07:11:45 +0000 Subject: [PATCH] MDL-15653 Indicate the current state of the question in the navigation panel. --- theme/standard/styles_color.css | 28 ++++++++++++++++++++++++++-- theme/standard/styles_layout.css | 5 +---- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/theme/standard/styles_color.css b/theme/standard/styles_color.css index be5ff678a4..0e420390a6 100644 --- a/theme/standard/styles_color.css +++ b/theme/standard/styles_color.css @@ -1055,13 +1055,37 @@ table.quizreviewsummary td.cell { #quiznavigation .qnbutton { color: #00f; border-color: gray; - background-color: white; + background-color: #ddd; } #quiznavigation .qnbutton:hover { color: #f00; } #quiznavigation .qnbutton.thispage { - background-color: #eee; + border-color: black; +} +#quiznavigation .qnbutton.open { + background-color: white; +} +#quiznavigation .qnbutton.flagged { + background-image: url(pix/flaggedquestionnav.png); +} +#quiznavigation .qnbutton.correct.flagged { + background-image: url(pix/flaggedcorrectquestionnav.png); +} +#quiznavigation .qnbutton.partiallycorrect.flagged { + background-image: url(pix/flaggedpartialquestionnav.png); +} +#quiznavigation .qnbutton.incorrect.flagged { + background-image: url(pix/flaggedincorrectquestionnav.png); +} +#quiznavigation .qnbutton.correct { + background-image: url(pix/correctquestionnav.png); +} +#quiznavigation .qnbutton.partiallycorrect { + background-image: url(pix/partialquestionnav.png); +} +#quiznavigation .qnbutton.incorrect { + background-image: url(pix/incorrectquestionnav.png); } /*** diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index fc5f136a5b..3fe64efc50 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -4167,15 +4167,12 @@ table.quizreviewsummary td.cell { margin: 0.3em 0.3em 0.3em 0; padding: 0; border: 1px solid gray; - background: white no-repeat top right; + background: #eee no-repeat top right; text-align: center; vertical-align: middle; cursor: pointer; white-space: normal; } -#quiznavigation .qnbutton.flagged { - background-image: url(pix/flaggedquestionnav.png); -} #quiznavigation .othernav { clear: both; } -- 2.39.5