]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15653 Indicate question state in quiz naviggation buttons - prepartiory work...
authortjhunt <tjhunt>
Thu, 4 Sep 2008 04:55:32 +0000 (04:55 +0000)
committertjhunt <tjhunt>
Thu, 4 Sep 2008 04:55:32 +0000 (04:55 +0000)
theme/standard/styles_color.css
theme/standard/styles_fonts.css
theme/standard/styles_ie6.css
theme/standard/styles_ie7.css
theme/standard/styles_layout.css
theme/standard/styles_moz.css

index d4f540ac0a3bde5f4444d52731a7189624301e25..be5ff678a4031e46abdd497e1178a5c79387d2ee 100644 (file)
@@ -1052,6 +1052,18 @@ table.quizreviewsummary td.cell {
     background:yellow;
 }
 
+#quiznavigation .qnbutton {
+  color: #00f;
+  border-color: gray;
+  background-color: white;
+}
+#quiznavigation .qnbutton:hover {
+  color: #f00;
+}
+#quiznavigation .qnbutton.thispage {
+  background-color: #eee;
+}
+
 /***
  *** Modules: Resource
  ***/
index dc1e6f0967231d635edc3be3ad62d01848f02f63..bf479050903ff2adb60ca40e389fc222a511b5fb 100644 (file)
@@ -997,6 +997,15 @@ body#mod-forum-index .generalbox .cell {
  *** Modules: Quiz
  ***/
 
+#quiznavigation .qnbutton {
+  font: inherit;
+  line-height: 1.5em;
+  font-weight: bold;
+}
+#quiznavigation .qnbutton:hover {
+  text-decoration: underline;
+}
+
 /***
  *** Modules: Resource
  ***/
index 4be04d2883fa4ad40486ea8b2eed19087c759c1e..95a0de063dc0d526d3ae96fc48d58ffd5360de58 100755 (executable)
@@ -66,4 +66,6 @@ form.mform textarea {
 #course-view li.activity {
   height:0;
 }
-
+#mod-quiz-review #middle-column {
+  height: 1%;
+}
index 096b1f41fdf377f8d03929e502281043612db3f3..0dc3376f92de204cb2ee55dcbdb22363237d0085 100755 (executable)
@@ -56,3 +56,6 @@ form.mform textarea {
 form.mform .fcheckbox input {
   margin-left: -3px;
 }
+#mod-quiz-review #middle-column {
+  height: 1%;
+}
index 1a5207ae04cadf86d71123dadb30f2919dada98a..fc5f136a5bf314afaa9c21212142527cb40a5981 100644 (file)
@@ -1235,6 +1235,7 @@ a.skip:focus, a.skip:active {
 .skip-block-to, #maincontent {
   display: block;
   height: 1px;
+  overflow: hidden;
 }
 
 .sideblock {
@@ -3920,6 +3921,9 @@ body#mod-forum-search .introcontent {
 #mod-quiz-summary .submitbtns {
   margin-top: 1.5em;
 }
+#mod-quiz-summary #content {
+  text-align: center;
+}
 #mod-quiz-summary .questionflag {
   width: 16px;
   height: 16px;
@@ -4150,29 +4154,27 @@ table.quizreviewsummary td.cell {
   text-align: center;
   margin: 6px 0;
 }
-
+#mod-quiz-attempt #left-column,
+#mod-quiz-review #left-column {
+  padding-top: 1px;
+}
 #quiznavigation .qnbutton {
+  display: block;
   float: left;
   width: 1.5em;
   height: 1.5em;
+  overflow: hidden;
   margin: 0.3em 0.3em 0.3em 0;
-  border: 1px solid grey;
-  background: white;
-  font-weight: bold;
+  padding: 0;
+  border: 1px solid gray;
+  background: white no-repeat top right;
   text-align: center;
   vertical-align: middle;
-}
-#quiznavigation .qnbutton:hover {
-  background: silver;
-  text-decoration: underline;
-}
-#quiznavigation .qnbutton.thispage {
-  background: #eee;
+  cursor: pointer;
+  white-space: normal;
 }
 #quiznavigation .qnbutton.flagged {
-  background-repeat: no-repeat;
   background-image: url(pix/flaggedquestionnav.png);
-  background-position: top right;
 }
 #quiznavigation .othernav {
   clear: both;
index b0ffa599c96af91ff8a5fa56fb75bd33798382e3..5b609f6ddb84aff870d26276f74ccb8e01842fc9 100644 (file)
@@ -339,3 +339,11 @@ body#course-user .section {
   -moz-border-radius-bottomright:15px;
 }
 
+
+/***
+ *** Modules: Quiz
+ ***/
+
+#quiznavigation .qnbutton {
+  -moz-box-sizing: content-box;
+}