1 /** Bits that can appear on any page. */
2 .path-mod-quiz .statedetails {
7 /** Attempt and review pages **/
8 #page-mod-quiz-attempt #page
.controls
,
9 #page-mod-quiz-summary #page
.controls
,
10 #page-mod-quiz-review #page
.controls
{
15 #page-mod-quiz-attempt .submitbtns
,
16 #page-mod-quiz-review .submitbtns
{
20 #page-mod-quiz-attempt .submitbtns
.mod_quiz-next-nav
,
21 #page-mod-quiz-review .submitbtns
.mod_quiz-next-nav
{
25 .path-mod-quiz .mod_quiz-redo_question_button {
29 .path-mod-quiz input[type="submit"].mod_quiz-redo_question_button {
34 #page-mod-quiz-attempt .mod_quiz-blocked_question_warning
.que
.formulation
,
35 #page-mod-quiz-review .mod_quiz-blocked_question_warning
.que
.formulation
{
37 border: 1px solid
#dcdcdc;
40 #page-mod-quiz-attempt #connection-ok
,
41 #page-mod-quiz-attempt #connection-error
{
47 border-radius: 0 0 10px 10px;
48 box-shadow: 5px 5px 20px 0 #666;
53 #page-mod-quiz-attempt #connection-error
{
54 background-color: #fcc;
57 #page-mod-quiz-attempt #connection-ok
{
58 background-color: #cfb;
63 /** Mod quiz attempt **/
64 .generalbox#passwordbox {
65 /* Should probably match .generalbox#intro above */
75 /* Question navigation block. */
85 .jsenabled #quiznojswarning {
89 .path-mod-quiz #user-picture {
93 .path-mod-quiz #user-picture img {
96 vertical-align: bottom
;
99 .path-mod-quiz #mod_quiz_navblock h3.mod_quiz-section-heading {
105 .path-mod-quiz #mod_quiz_navblock h3.mod_quiz-section-heading:first-child {
109 .path-mod-quiz .qnbutton {
116 margin: 0.3em 0.3em 0.3em 0;
118 border: 1px solid
#bbb;
123 text-decoration: none
;
126 .path-mod-quiz
.qnbutton:visited:hover
,
127 .path-mod-quiz .qnbutton:link:hover {
128 text-decoration: underline
;
131 .path-mod-quiz
.qnbutton
.trafficlight
,
132 .path-mod-quiz .qnbutton .thispageholder {
141 .path-mod-quiz .qnbutton.thispage {
145 .path-mod-quiz .qnbutton.thispage .thispageholder {
146 border: 1px solid
#666;
149 .path-mod-quiz .qnbutton.flagged .trafficlight {
150 background: url
([[pix:quiz|navflagged
]]) no-repeat top right
;
153 .path-mod-quiz
.qnbutton
.blocked
,
154 .path-mod-quiz
.qnbutton
.notyetanswered
,
155 .path-mod-quiz
.qnbutton
.requiresgrading
,
156 .path-mod-quiz .qnbutton.invalidanswer {
157 background-color: white
;
160 .path-mod-quiz .qnbutton.correct {
161 background-color: #cfc;
164 .path-mod-quiz .qnbutton.correct .trafficlight {
165 border-bottom: 3px solid
#080;
168 .path-mod-quiz .qnbutton.partiallycorrect {
169 background-color: #ffa;
172 .path-mod-quiz
.qnbutton
.notanswered
,
173 .path-mod-quiz .qnbutton.incorrect {
174 background-color: #fcc;
177 .path-mod-quiz .qnbutton.blocked {
181 .path-mod-quiz
.qnbutton
.notanswered
.trafficlight
,
182 .path-mod-quiz .qnbutton.incorrect .trafficlight {
183 border-top: 3px solid
#800;
186 .path-mod-quiz .othernav {
191 .path-mod-quiz
.othernav a
,
192 .path-mod-quiz .othernav input {
197 #mod_quiz_navblock.nav-disabled
> * {
199 pointer-events: none
;
204 #page-mod-quiz-mod #id_reviewoptionshdr
.fitem
{
209 #page-mod-quiz-mod #id_reviewoptionshdr fieldset
.fgroup
{
215 #page-mod-quiz-mod #id_reviewoptionshdr
.fitem
{
221 #page-mod-quiz-mod #id_reviewoptionshdr
.fitemtitle
{
229 #page-mod-quiz-mod #id_reviewoptionshdr fieldset
.fgroup
{
234 #page-mod-quiz-mod #id_reviewoptionshdr fieldset
.fgroup
> span
{
240 #page-mod-quiz-mod #id_reviewoptionshdr fieldset
.fgroup span label
{
244 /** Mod quiz view **/
245 #page-mod-quiz-view .quizinfo
,
246 #page-mod-quiz-view #page
.quizgradefeedback
,
247 #page-mod-quiz-view #page
.quizattempt
{
251 #page-mod-quiz-view #page
.quizattemptsummary td p
{
255 #page-mod-quiz-view table
.quizattemptsummary tr
.bestrow td
{
256 border-color: #bce8f1;
257 background-color: #d9edf7;
260 table
.quizattemptsummary
.noreviewmessage
{
264 #page-mod-quiz-view .generaltable
.quizattemptsummary
{
269 #page-mod-quiz-view .generalbox
#feedback
{
273 padding-bottom: 15px;
276 #page-mod-quiz-view .generalbox
#feedback h2
{
280 #page-mod-quiz-view .generalbox
#feedback h3
{
284 #page-mod-quiz-view .generalbox
#feedback
.overriddennotice
{
289 .quizstartbuttondiv
.quizsecuremoderequired input
,
290 .quizstartbuttondiv.quizsecuremoderequired button {
294 .jsenabled
.quizstartbuttondiv
.quizsecuremoderequired input
,
295 .jsenabled .quizstartbuttondiv.quizsecuremoderequired button {
299 .quizattempt #mod_quiz_preflight_form {
303 #mod_quiz_preflight_form .femptylabel
.fitemtitle
{
307 .moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup {
310 .moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-wrap {
314 .moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-bd {
318 /* Standard Moodle rule that needs to be more specific here. */
319 .moodle-dialogue-bd #mod_quiz_preflight_form fieldset.hidden {
324 body
.path-mod-quiz
.gradedattempt
,
325 body
.path-mod-quiz table tbody tr
.gradedattempt
> td
{
326 border-color: #bce8f1;
327 background-color: #d9edf7;
337 #page-mod-quiz-view .quizattemptcounts
{
343 /** Mod quiz summary **/
344 #page-mod-quiz-summary #content
{
348 #page-mod-quiz-summary .questionflag
{
349 vertical-align: text-bottom
;
352 #page-mod-quiz-summary #quiz-timer
{
357 #page-mod-quiz-summary .submitbtns
{
362 .quiz-secure-window * {
367 /** Mod quiz review **/
368 table
.quizreviewsummary
{
372 table
.quizreviewsummary th
.cell
{
373 padding: 1px 0.5em 1px 1em;
380 table
.quizreviewsummary td
.cell
{
381 padding: 1px 1em 1px 0.5em;
386 /** Mod quiz make comment or override grade popup. **/
387 #page-mod-quiz-comment .mform
{
391 #page-mod-quiz-comment .mform fieldset
{
395 #page-mod-quiz-comment .que
{
399 /** Mod quiz report **/
400 #page-mod-quiz-report h2
.main
{
404 #page-mod-quiz-report div#commands
,
405 #page-mod-quiz-report .controls
{
409 #page-mod-quiz-report .dubious
{
410 background-color: #fcc;
413 #page-mod-quiz-report .highlight
{
414 border: 1px solid
#bce8f1;
415 background-color: #d9edf7;
418 #page-mod-quiz-report .negcovar
{
419 border: medium solid pink
;
422 #page-mod-quiz-report .toggleincludeauto
{
426 #page-mod-quiz-report .gradetheselink
{
430 #page-mod-quiz-report .mform fieldset
.fgroup span label
{
434 #page-mod-quiz-report table th
{
438 #page-mod-quiz-report table#attempts td
,
439 #page-mod-quiz-report table
.quizresponseanalysis td
{
440 word-wrap: break-word
;
444 #page-mod-quiz-report table
.titlesleft td
.c0
{
448 #page-mod-quiz-report table
.numcol
{
450 vertical-align: middle
;
453 #page-mod-quiz-report table#attempts
{
459 #page-mod-quiz-report table#attempts
.header
,
460 #page-mod-quiz-report table#attempts
.cell
{
464 #page-mod-quiz-report table#attempts
.header
.commands
{
468 #page-mod-quiz-report table#attempts
.picture
{
472 #page-mod-quiz-report table#attempts td
{
473 border-left-width: 1px;
474 border-right-width: 1px;
475 border-left-style: solid
;
476 border-right-style: solid
;
477 vertical-align: middle
;
480 #page-mod-quiz-report table#attempts
.header
{
484 #page-mod-quiz-report table#attempts
.picture
{
488 #page-mod-quiz-report table#attempts
.grades span
.que
,
489 #page-mod-quiz-report table#attempts span
.avgcell
{
493 #page-mod-quiz-report table#attempts span
.que
.requiresgrading
{
497 #page-mod-quiz-report table#attempts
.questionflag
{
498 vertical-align: text-bottom
;
502 #page-mod-quiz-report .graph
.flexible-wrap
{
507 #page-mod-quiz-report #cachingnotice
{
512 #page-mod-quiz-report #cachingnotice
.singlebutton
{
516 #page-mod-quiz-report .bold
.reviewlink
{
520 #page-mod-quiz-report tr
.lastrowforattempt
{
521 border-bottom: lightgrey solid
0.2em;
524 #page-mod-quiz-report tr
.quiz_statistics-summaryrow td
.cell
{
530 /** Mod quiz edit **/
531 #page-mod-quiz-edit .statusdisplay
{
532 background-color: #ffc;
538 #page-mod-quiz-edit .statusdisplay p
{
542 #page-mod-quiz-edit .mod_quiz-edit-top-controls
{
545 #page-mod-quiz-edit .mod_quiz-edit-action-buttons
{
550 @media (max-width: 576px) {
551 #page-mod-quiz-edit .maxgrade
{
552 margin-bottom: 0.6em;
554 #page-mod-quiz-edit .maxgrade
.form-control
{
555 display: inline-block
;
556 vertical-align: middle
;
559 #page-mod-quiz-edit .maxgrade label
{
562 #page-mod-quiz-edit .maxgrade input
[type
="submit"] {
566 #page-mod-quiz-edit li
.activity
> div
,
567 #page-mod-quiz-edit li
.pagenumber
{
571 #page-mod-quiz-edit ul
.section li
.pagenumber:first-child
.add-menu-outer
.menu
> :last-child
,
572 #page-mod-quiz-edit .last-add-menu
.add-menu-outer
.menu
> :last-child
{
576 #page-mod-quiz-edit .last-add-menu
{
582 #page-mod-quiz-edit .add-menu-outer
{
587 #page-mod-quiz-edit .slotnumber
{
588 background-color: #d3d3d3;
592 display: inline-block
;
595 #page-mod-quiz-edit .section-heading
{
601 #page-mod-quiz-edit .section-heading
.instancesectioncontainer
{
606 #page-mod-quiz-edit .section-heading
.instancesectioncontainer h3
{
611 #page-mod-quiz-edit .section-heading
.editing_section
,
612 #page-mod-quiz-edit .section-heading
.editing_delete
{
616 #page-mod-quiz-edit .section-heading
.sectioninstance
{
620 #page-mod-quiz-edit .section-heading
.instancesection
{
623 display: inline-block
;
624 text-overflow: ellipsis
;
626 vertical-align: bottom
;
629 #page-mod-quiz-edit .section-heading form
{
636 #page-mod-quiz-edit .section-heading form input
{
642 #page-mod-quiz-edit .section-heading
.instanceshufflequestions
{
644 margin: 0.3em 20px 0 0;
647 .instanceshufflequestions [type="checkbox"] {
648 vertical-align: middle
;
652 #page-mod-quiz-edit ul
.section
{
657 #page-mod-quiz-edit ul
.slots
{
662 #page-mod-quiz-edit ul
.slots li
.section
{
666 #page-mod-quiz-edit ul
.slots li
.section
.content
{
667 background-color: #fafafa;
671 #page-mod-quiz-edit ul
.slots li
.section
{
677 #page-mod-quiz-edit ul
.slots li
.section li
.activity
{
684 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.page
{
685 background: transparent
;
688 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.page h4
{
694 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmarkcontainer
{
700 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmarkcontainer
.editicon
{
704 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmarkcontainer
.infoitem
{
705 background: transparent
;
708 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmarkcontainer form
{
712 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
{
713 display: inline-block
;
717 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.page_split_join_wrapper
{
723 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_0
{
727 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_1
{
731 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_2
{
735 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_3
{
739 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_4
{
743 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_5
{
747 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_6
{
751 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_7
{
755 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.edit_icon
,
756 #page-mod-quiz-edit ul
.slots li
.section li
.activity a
.preview
,
757 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.editing_delete
,
758 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.editing_maxmark
{
762 #page-mod-quiz-edit ul
.slots li
.section
.only-has-one-slot li
.activity
.editing_move
,
763 #page-mod-quiz-edit ul
.slots li
.section
.only-has-one-slot li
.activity
.editing_delete
{
767 #page-mod-quiz-edit ul
.slots
.only-one-section li
.section
.only-has-one-slot li
.activity
.editing_delete
{
771 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.question_dependency_wrapper
{
777 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.question_dependency_wrapper
.question_dependency_cannot_depend
{
781 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.question_dependency_wrapper
.currentlink
,
782 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.question_dependency_wrapper
.cm-edit-action
{
788 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.activityinstance
{
794 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.mod-indent-outer
{
799 #page-mod-quiz-edit ul
.slots
.activityinstance form
{
803 #page-mod-quiz-edit span
.editinstructions
{
807 #page-mod-quiz-edit ul
.slots
.activityinstance span
.instancename
{
810 text-overflow: ellipsis
;
812 display: inline-block
;
816 #page-mod-quiz-edit ul
.slots
.activityinstance span
.instancename img
{
820 #page-mod-quiz-edit #categoryquestions
.questionname
,
821 #page-mod-quiz-edit ul
.slots li
.activity div
.activityinstance
.questionname
{
825 text-overflow: ellipsis
;
829 #page-mod-quiz-edit ul
.slots li
.activity div
.activityinstance
.questiontext
{
833 #page-mod-quiz-edit .section
.activity
.editing_move
{
839 #page-mod-quiz-edit ul
.slots li
.activity div
.activityinstance
.mod_quiz_random_qbank_link
{
842 text-overflow: ellipsis
;
844 margin-left: 0.25rem;
847 #page-mod-quiz-edit ul
.slots
.activityinstance img
.activityicon
{
853 #page-mod-quiz-edit .section
.activity
.actions
{
860 #page-mod-quiz-edit .mod_quiz_edit_forms
{
864 #categoryquestions .header
{
871 #categoryquestions .header
.checkbox
{
872 vertical-align: bottom
;
875 #categoryquestions .header
.qtype
{
879 #categoryquestions th
.sorters
{
884 #categoryquestions td
.modifiername
,
885 #categoryquestions td
.creatorname
{
889 #categoryquestions td
.modifiername span
.date
,
890 #categoryquestions td
.creatorname span
.date
{
895 table#categoryquestions
{
900 #categoryquestions .iconcol
{
906 #categoryquestions .checkbox
{
912 #categoryquestions .editmenu
{
916 #categoryquestions .qtype
{
920 #categoryquestions .qtype
{
925 #categoryquestions .questiontext
{
931 text-overflow: ellipsis
;
934 #categoryquestions .questionname
{
941 #categoryquestions .questiontext p
{
945 #page-mod-quiz-edit table#categoryquestions td
,
946 #page-mod-quiz-edit table#categoryquestions th
{
951 .mod_quiz_qbank_dialogue {
956 .mod_quiz_qbank_dialogue.moodle-dialogue-fullscreen {
960 .mod_quiz_qbank_dialogue .questionbankloading {
972 .mod_quiz_qbank_dialogue #advancedsearch label {
976 .modulespecificbuttonscontainer {
978 padding-right: 0.3em;
981 .questionbankformforpopup .modulespecificbuttonscontainer {
986 .quizquestionlistcontrols {
994 .path-mod-quiz .gradingdetails {
998 #page-mod-quiz-edit div#repaginatedialog
.mform
{
1003 #page-mod-quiz-edit div
.container div
.generalbox
{
1011 #page-mod-quiz-edit .paging
{
1014 padding: 0.1em 0.3em;
1016 background-color: #ddd;
1019 #page-mod-quiz-edit #page-footer
{
1024 #page-mod-quiz-edit .categoryinfofield
{
1028 #page-mod-quiz-edit .categorynamefield
{
1032 #page-mod-quiz-edit .questionsortoptions
{
1033 background-color: #ddd;
1036 #page-mod-quiz-edit div
.questionbank
.categorysortopotionscontainer
{
1041 #page-mod-quiz-edit div
.questionbank
.categoryquestionscontainer
,
1042 .questionbank
.categorysortopotionscontainer
,
1043 .questionbank
.categorypagingbarcontainer
,
1044 .questionbank .categoryselectallcontainer {
1045 background-color: #fff;
1048 /* Bulk edit actions */
1050 #page-mod-quiz-edit .btn-group
.selectmultiplecommand
,
1051 #page-mod-quiz-edit .selectmultiplecommandbuttons
,
1052 #page-mod-quiz-edit .select-multiple-checkbox
{
1056 #page-mod-quiz-edit.select-multiple
.selectmultiplecommand
,
1057 #page-mod-quiz-edit.select-multiple
.selectmultiplecommandbuttons
,
1058 #page-mod-quiz-edit.select-multiple
.select-multiple-checkbox
{
1059 display: inline-block
;
1062 #page-mod-quiz-edit.select-multiple input
.select-multiple-checkbox
[type
="checkbox"] {
1066 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section
.activity
.editing_move
,
1067 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section
.activity
.commands
{
1071 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section
.page_split_join_wrapper
{
1075 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section
.activity
.actions
.editing_delete
,
1076 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section
.activity
.actions
.editing_maxmark
{
1080 #page-mod-quiz-edit.select-multiple#page-mod-quiz-edit
.maxgrade
,
1081 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.last-add-menu
{
1085 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section-heading a
,
1086 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section-heading form
,
1087 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section-heading
.instanceshufflequestions
{
1091 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.edit-toolbar
.mb-1
{
1095 #page-mod-quiz-edit.select-multiple#page-mod-quiz-edit ul
.slots li
.section li
.activity
.mod-indent-outer
{
1099 #page-mod-quiz-edit .section
.summary
.iconsmall
,
1100 #page-mod-quiz-edit .section
.activity
.iconsmall
{
1104 /* Base theme needs extra support. */
1105 #page-mod-quiz-edit ul
.slots li
.section ul
.section
{
1109 @media (max-width: 576px) {
1110 #page-mod-quiz-edit ul
.slots li
.section li
.activity
{
1113 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.activityinstance
{
1118 align-items: center
;
1124 /** Print formatting for attempt and review pages **/
1127 #page-mod-quiz-attempt header
.navbar
,
1128 #page-mod-quiz-review header
.navbar
{
1132 #page-mod-quiz-attempt #dock
,
1133 #page-mod-quiz-review #dock
{
1137 #page-mod-quiz-attempt #page #page-header h1
,
1138 #page-mod-quiz-review #page #page-header h1
{
1142 #page-mod-quiz-attempt #region-main
,
1143 #page-mod-quiz-review #region-main
{
1147 #page-mod-quiz-attempt #block-region-side-pre
,
1148 #page-mod-quiz-attempt #block-region-side-post
,
1149 #page-mod-quiz-review #block-region-side-pre
,
1150 #page-mod-quiz-review #block-region-side-post
{
1154 #page-mod-quiz-attempt #page-footer
,
1155 #page-mod-quiz-review #page-footer
{
1159 #page-mod-quiz-attempt .editquestion
,
1160 #page-mod-quiz-review .editquestion
,
1161 #page-mod-quiz-attempt .questionflag
,
1162 #page-mod-quiz-review .questionflag
{
1166 #page-mod-quiz-attempt .submitbtns
,
1167 #page-mod-quiz-review .submitbtns
{
1171 #page-mod-quiz-review .que
.commentlink
{
1175 #page-mod-quiz-attempt .que
,
1176 #page-mod-quiz-review .que
{
1177 page-break-inside: avoid
;