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
{
250 #page-mod-quiz-view #page
.quizattemptsummary td p
{
254 #page-mod-quiz-view table
.quizattemptsummary tr
.bestrow td
{
255 border-color: #bce8f1;
256 background-color: #d9edf7;
259 table
.quizattemptsummary
.noreviewmessage
{
263 #page-mod-quiz-view .generaltable
.quizattemptsummary
{
268 #page-mod-quiz-view .generalbox
#feedback
{
272 padding-bottom: 15px;
275 #page-mod-quiz-view .generalbox
#feedback h2
{
279 #page-mod-quiz-view .generalbox
#feedback h3
{
283 #page-mod-quiz-view .generalbox
#feedback
.overriddennotice
{
288 .quizstartbuttondiv
.quizsecuremoderequired input
,
289 .quizstartbuttondiv.quizsecuremoderequired button {
293 .jsenabled
.quizstartbuttondiv
.quizsecuremoderequired input
,
294 .jsenabled .quizstartbuttondiv.quizsecuremoderequired button {
298 .quizattempt #mod_quiz_preflight_form {
302 #mod_quiz_preflight_form .femptylabel
.fitemtitle
{
306 .moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup {
309 .moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-wrap {
313 .moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-bd {
317 /* Standard Moodle rule that needs to be more specific here. */
318 .moodle-dialogue-bd #mod_quiz_preflight_form fieldset.hidden {
323 body
.path-mod-quiz
.gradedattempt
,
324 body
.path-mod-quiz table tbody tr
.gradedattempt
> td
{
325 border-color: #bce8f1;
326 background-color: #d9edf7;
336 #page-mod-quiz-view .quizattemptcounts
{
342 /** Mod quiz summary **/
343 #page-mod-quiz-summary #content
{
347 #page-mod-quiz-summary .questionflag
{
348 vertical-align: text-bottom
;
351 #page-mod-quiz-summary #quiz-timer
{
356 #page-mod-quiz-summary .submitbtns
{
360 #page-mod-quiz-edit .section
.activity
.actions
.version-selection
{
366 .quiz-secure-window * {
371 /** Mod quiz review **/
372 table
.quizreviewsummary
{
376 table
.quizreviewsummary th
.cell
{
377 padding: 1px 0.5em 1px 1em;
384 table
.quizreviewsummary td
.cell
{
385 padding: 1px 1em 1px 0.5em;
390 /** Mod quiz make comment or override grade popup. **/
391 #page-mod-quiz-comment .mform
{
395 #page-mod-quiz-comment .mform fieldset
{
400 #page-mod-quiz-comment .que
{
404 /** Mod quiz report **/
405 #page-mod-quiz-report h2
.main
{
409 #page-mod-quiz-report div#commands
,
410 #page-mod-quiz-report .controls
{
414 #page-mod-quiz-report .dubious
{
415 background-color: #fcc;
418 #page-mod-quiz-report .highlight
{
419 border: 1px solid
#bce8f1;
420 background-color: #d9edf7;
423 #page-mod-quiz-report .negcovar
{
424 border: medium solid pink
;
427 #page-mod-quiz-report .toggleincludeauto
{
431 #page-mod-quiz-report .gradetheselink
{
435 #page-mod-quiz-report .mform fieldset
.fgroup span label
{
439 #page-mod-quiz-report table th
{
443 #page-mod-quiz-report table#attempts td
,
444 #page-mod-quiz-report table
.quizresponseanalysis td
{
445 word-wrap: break-word
;
449 #page-mod-quiz-report table
.titlesleft td
.c0
{
453 #page-mod-quiz-report table
.numcol
{
455 vertical-align: middle
;
458 #page-mod-quiz-report table#attempts
{
464 #page-mod-quiz-report table#attempts
.header
,
465 #page-mod-quiz-report table#attempts
.cell
{
469 #page-mod-quiz-report table#attempts
.header
.commands
{
473 #page-mod-quiz-report table#attempts
.picture
{
477 #page-mod-quiz-report table#attempts td
{
478 border-left-width: 1px;
479 border-right-width: 1px;
480 border-left-style: solid
;
481 border-right-style: solid
;
482 vertical-align: middle
;
485 #page-mod-quiz-report table#attempts
.header
{
489 #page-mod-quiz-report table#attempts
.picture
{
493 #page-mod-quiz-report table#attempts
.grades span
.que
,
494 #page-mod-quiz-report table#attempts span
.avgcell
{
498 #page-mod-quiz-report table#attempts span
.que
.requiresgrading
{
502 #page-mod-quiz-report table#attempts
.questionflag
{
503 vertical-align: text-bottom
;
507 #page-mod-quiz-report .graph
.flexible-wrap
{
512 #page-mod-quiz-report #cachingnotice
{
517 #page-mod-quiz-report #cachingnotice
.singlebutton
{
521 #page-mod-quiz-report .bold
.reviewlink
{
525 #page-mod-quiz-report tr
.lastrowforattempt
{
526 border-bottom: lightgrey solid
0.2em;
529 #page-mod-quiz-report tr
.quiz_statistics-summaryrow td
.cell
{
535 /** Mod quiz edit **/
536 #page-mod-quiz-edit .statusdisplay
{
537 background-color: #ffc;
543 #page-mod-quiz-edit .statusdisplay p
{
547 #page-mod-quiz-edit .mod_quiz-edit-top-controls
{
550 #page-mod-quiz-edit .mod_quiz-edit-action-buttons
{
555 @media (max-width: 576px) {
556 #page-mod-quiz-edit .maxgrade
{
557 margin-bottom: 0.6em;
559 #page-mod-quiz-edit .maxgrade
.form-control
{
560 display: inline-block
;
561 vertical-align: middle
;
564 #page-mod-quiz-edit .maxgrade label
{
567 #page-mod-quiz-edit .maxgrade input
[type
="submit"] {
571 #page-mod-quiz-edit li
.activity
> div
,
572 #page-mod-quiz-edit li
.pagenumber
{
576 #page-mod-quiz-edit ul
.section li
.pagenumber:first-child
.add-menu-outer
.menu
> :last-child
,
577 #page-mod-quiz-edit .last-add-menu
.add-menu-outer
.menu
> :last-child
{
581 #page-mod-quiz-edit .last-add-menu
{
587 #page-mod-quiz-edit .add-menu-outer
{
592 #page-mod-quiz-edit .slotnumber
{
593 background-color: #d3d3d3;
597 display: inline-block
;
600 #page-mod-quiz-edit .section-heading
{
606 #page-mod-quiz-edit .section-heading
.instancesectioncontainer
{
611 #page-mod-quiz-edit .section-heading
.instancesectioncontainer h3
{
616 #page-mod-quiz-edit .section-heading
.editing_section
,
617 #page-mod-quiz-edit .section-heading
.editing_delete
{
621 #page-mod-quiz-edit .section-heading
.sectioninstance
{
625 #page-mod-quiz-edit .section-heading
.instancesection
{
628 display: inline-block
;
629 text-overflow: ellipsis
;
631 vertical-align: bottom
;
634 #page-mod-quiz-edit .section-heading form
{
641 #page-mod-quiz-edit .section-heading form input
{
647 #page-mod-quiz-edit .section-heading
.instanceshufflequestions
{
649 margin: 0.3em 20px 0 0;
652 .instanceshufflequestions [type="checkbox"] {
653 vertical-align: middle
;
657 #page-mod-quiz-edit ul
.section
{
662 #page-mod-quiz-edit ul
.slots
{
667 #page-mod-quiz-edit ul
.slots li
.section
{
671 #page-mod-quiz-edit ul
.slots li
.section
.content
{
672 background-color: #fafafa;
676 #page-mod-quiz-edit ul
.slots li
.section
{
682 #page-mod-quiz-edit ul
.slots li
.section li
.activity
{
689 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.page
{
690 background: transparent
;
693 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.page h4
{
699 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmarkcontainer
{
705 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmarkcontainer
.editicon
{
709 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmarkcontainer
.infoitem
{
710 background: transparent
;
713 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmarkcontainer form
{
717 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
{
718 display: inline-block
;
722 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.page_split_join_wrapper
{
728 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_0
{
732 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_1
{
736 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_2
{
740 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_3
{
744 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_4
{
748 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_5
{
752 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_6
{
756 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_7
{
760 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.edit_icon
,
761 #page-mod-quiz-edit ul
.slots li
.section li
.activity a
.preview
,
762 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.editing_delete
,
763 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.editing_maxmark
{
767 #page-mod-quiz-edit ul
.slots li
.section
.only-has-one-slot li
.activity
.editing_move
,
768 #page-mod-quiz-edit ul
.slots li
.section
.only-has-one-slot li
.activity
.editing_delete
{
772 #page-mod-quiz-edit ul
.slots
.only-one-section li
.section
.only-has-one-slot li
.activity
.editing_delete
{
776 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.question_dependency_wrapper
{
782 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.question_dependency_wrapper
.question_dependency_cannot_depend
{
786 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.question_dependency_wrapper
.currentlink
,
787 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.question_dependency_wrapper
.cm-edit-action
{
793 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.activityinstance
{
800 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.mod-indent-outer
{
805 #page-mod-quiz-edit ul
.slots
.activityinstance form
{
809 #page-mod-quiz-edit span
.editinstructions
{
813 #page-mod-quiz-edit ul
.slots
.activityinstance span
.instancename
{
816 text-overflow: ellipsis
;
818 display: inline-block
;
822 #page-mod-quiz-edit ul
.slots
.activityinstance span
.instancename img
{
826 #page-mod-quiz-edit #categoryquestions
.questionname
,
827 #page-mod-quiz-edit ul
.slots li
.activity div
.activityinstance
.questionname
{
831 text-overflow: ellipsis
;
835 #page-mod-quiz-edit ul
.slots li
.activity div
.activityinstance
.questiontext
{
839 #page-mod-quiz-edit .section
.activity
.editing_move
{
845 #page-mod-quiz-edit ul
.slots li
.activity div
.activityinstance
.mod_quiz_random_qbank_link
{
848 text-overflow: ellipsis
;
850 margin-left: 0.25rem;
853 #page-mod-quiz-edit ul
.slots
.activityinstance img
.activityicon
{
859 #page-mod-quiz-edit .section
.activity
.actions
{
866 #page-mod-quiz-edit .mod_quiz_edit_forms
{
870 #categoryquestions .header
{
877 #categoryquestions .header
.checkbox
{
878 vertical-align: bottom
;
881 #categoryquestions .header
.qtype
{
885 #categoryquestions th
.sorters
{
890 #categoryquestions td
.modifiername
,
891 #categoryquestions td
.creatorname
,
892 #categoryquestions td
.questionlastused
{
896 #categoryquestions td
.modifiername span
.date
,
897 #categoryquestions td
.creatorname span
.date
{
902 table#categoryquestions
{
908 #categoryquestions .iconcol
{
914 #categoryquestions .checkbox
{
920 #categoryquestions .editmenu
{
924 #categoryquestions .qtype
{
928 #categoryquestions .qtype
{
933 #categoryquestions .questiontext
{
939 text-overflow: ellipsis
;
942 #categoryquestions .questionname
{
949 #categoryquestions .questiontext p
{
953 #page-mod-quiz-edit table#categoryquestions td
,
954 #page-mod-quiz-edit table#categoryquestions th
{
959 .mod_quiz_qbank_dialogue {
964 .mod_quiz_qbank_dialogue.moodle-dialogue-fullscreen {
968 .mod_quiz_qbank_dialogue .questionbankloading {
980 .mod_quiz_qbank_dialogue #advancedsearch label {
984 .quizquestionlistcontrols {
992 .path-mod-quiz .gradingdetails {
996 #page-mod-quiz-edit div#repaginatedialog
.mform
{
1001 #page-mod-quiz-edit div
.container div
.generalbox
{
1009 #page-mod-quiz-edit .paging
{
1012 padding: 0.1em 0.3em;
1014 background-color: #ddd;
1017 #page-mod-quiz-edit #page-footer
{
1022 #page-mod-quiz-edit .categoryinfofield
{
1026 #page-mod-quiz-edit .categorynamefield
{
1030 #page-mod-quiz-edit .questionsortoptions
{
1031 background-color: #ddd;
1034 #page-mod-quiz-edit div
.questionbank
.categorysortopotionscontainer
{
1039 #page-mod-quiz-edit div
.questionbank
.categoryquestionscontainer
,
1040 .questionbank
.categorysortopotionscontainer
,
1041 .questionbank
.categorypagingbarcontainer
,
1042 .questionbank .categoryselectallcontainer {
1043 background-color: #fff;
1046 /* Bulk edit actions */
1048 #page-mod-quiz-edit .btn-group
.selectmultiplecommand
,
1049 #page-mod-quiz-edit .selectmultiplecommandbuttons
,
1050 #page-mod-quiz-edit .select-multiple-checkbox
{
1054 #page-mod-quiz-edit.select-multiple
.selectmultiplecommand
,
1055 #page-mod-quiz-edit.select-multiple
.selectmultiplecommandbuttons
,
1056 #page-mod-quiz-edit.select-multiple
.select-multiple-checkbox
{
1057 display: inline-block
;
1060 #page-mod-quiz-edit.select-multiple input
.select-multiple-checkbox
[type
="checkbox"] {
1064 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section
.activity
.editing_move
,
1065 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section
.activity
.commands
{
1069 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section
.page_split_join_wrapper
{
1073 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section
.activity
.actions
.editing_delete
,
1074 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section
.activity
.actions
.editing_maxmark
{
1078 #page-mod-quiz-edit.select-multiple#page-mod-quiz-edit
.maxgrade
,
1079 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.last-add-menu
{
1083 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section-heading a
,
1084 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section-heading form
,
1085 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section-heading
.instanceshufflequestions
{
1089 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.edit-toolbar
.mb-1
{
1093 #page-mod-quiz-edit.select-multiple#page-mod-quiz-edit ul
.slots li
.section li
.activity
.mod-indent-outer
{
1097 #page-mod-quiz-edit .section
.summary
.iconsmall
,
1098 #page-mod-quiz-edit .section
.activity
.iconsmall
{
1102 /* Base theme needs extra support. */
1103 #page-mod-quiz-edit ul
.slots li
.section ul
.section
{
1107 @media (max-width: 576px) {
1108 #page-mod-quiz-edit ul
.slots li
.section li
.activity
{
1111 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.activityinstance
{
1116 align-items: center
;
1122 /** Print formatting for attempt and review pages **/
1125 #page-mod-quiz-attempt header
.navbar
,
1126 #page-mod-quiz-review header
.navbar
{
1130 #page-mod-quiz-attempt #dock
,
1131 #page-mod-quiz-review #dock
{
1135 #page-mod-quiz-attempt #page #page-header h1
,
1136 #page-mod-quiz-review #page #page-header h1
{
1140 #page-mod-quiz-attempt #region-main
,
1141 #page-mod-quiz-review #region-main
{
1145 #page-mod-quiz-attempt #block-region-side-pre
,
1146 #page-mod-quiz-attempt #block-region-side-post
,
1147 #page-mod-quiz-review #block-region-side-pre
,
1148 #page-mod-quiz-review #block-region-side-post
{
1152 #page-mod-quiz-attempt #page-footer
,
1153 #page-mod-quiz-review #page-footer
{
1157 #page-mod-quiz-attempt .editquestion
,
1158 #page-mod-quiz-review .editquestion
,
1159 #page-mod-quiz-attempt .questionflag
,
1160 #page-mod-quiz-review .questionflag
{
1164 #page-mod-quiz-attempt .submitbtns
,
1165 #page-mod-quiz-review .submitbtns
{
1169 #page-mod-quiz-review .que
.commentlink
{
1173 #page-mod-quiz-attempt .que
,
1174 #page-mod-quiz-review .que
{
1175 page-break-inside: avoid
;