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 .autosave_info {
195 .path-mod-quiz
.othernav a
,
196 .path-mod-quiz .othernav input {
201 #mod_quiz_navblock.nav-disabled
> * {
203 pointer-events: none
;
208 #page-mod-quiz-mod #id_reviewoptionshdr
.fitem
{
213 #page-mod-quiz-mod #id_reviewoptionshdr fieldset
.fgroup
{
219 #page-mod-quiz-mod #id_reviewoptionshdr
.fitem
{
225 #page-mod-quiz-mod #id_reviewoptionshdr
.fitemtitle
{
233 #page-mod-quiz-mod #id_reviewoptionshdr fieldset
.fgroup
{
238 #page-mod-quiz-mod #id_reviewoptionshdr fieldset
.fgroup
> span
{
244 #page-mod-quiz-mod #id_reviewoptionshdr fieldset
.fgroup span label
{
248 /** Mod quiz view **/
249 #page-mod-quiz-view .quizinfo
,
250 #page-mod-quiz-view #page
.quizgradefeedback
{
254 #page-mod-quiz-view .generalbox
#feedback
.overriddennotice
{
259 .quizstartbuttondiv
.quizsecuremoderequired input
,
260 .quizstartbuttondiv.quizsecuremoderequired button {
264 .jsenabled
.quizstartbuttondiv
.quizsecuremoderequired input
,
265 .jsenabled .quizstartbuttondiv.quizsecuremoderequired button {
269 .quizattempt #mod_quiz_preflight_form {
273 #mod_quiz_preflight_form .femptylabel
.fitemtitle
{
277 .moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup {
280 .moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-wrap {
284 .moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-bd {
288 /* Standard Moodle rule that needs to be more specific here. */
289 .moodle-dialogue-bd #mod_quiz_preflight_form fieldset.hidden {
294 body
.path-mod-quiz
.gradedattempt
,
295 body
.path-mod-quiz table tbody tr
.gradedattempt
> td
,
296 body
.path-mod-quiz table tbody tr
.gradedattempt
> td
.sticky-column
{
297 border-color: #bce8f1;
298 background-color: #d9edf7;
301 /** Mod quiz summary **/
302 #page-mod-quiz-summary #content
{
306 #page-mod-quiz-summary .questionflag
{
307 vertical-align: text-bottom
;
310 #page-mod-quiz-summary #quiz-timer
{
315 #page-mod-quiz-summary .submitbtns
{
319 #page-mod-quiz-edit .section
.activity
.actions
.version-selection
{
325 .quiz-secure-window * {
330 /** Mod quiz review **/
331 table
.quizreviewsummary
{
335 table
.quizreviewsummary th
.cell
{
336 padding: 1px 0.5em 1px 1em;
343 table
.quizreviewsummary td
.cell
{
344 padding: 1px 1em 1px 0.5em;
349 /** Mod quiz make comment or override grade popup. **/
350 #page-mod-quiz-comment .mform
{
354 #page-mod-quiz-comment .mform fieldset
{
359 #page-mod-quiz-comment .que
{
363 /** Mod quiz report **/
364 #page-mod-quiz-report h2
.main
{
368 #page-mod-quiz-report .controls
{
372 #page-mod-quiz-report .dubious
{
373 background-color: #fcc;
376 #page-mod-quiz-report .highlight
{
377 border: 1px solid
#bce8f1;
378 background-color: #d9edf7;
381 #page-mod-quiz-report .negcovar
{
382 border: medium solid pink
;
385 #page-mod-quiz-report .gradetheselink
{
389 #page-mod-quiz-report .mform fieldset
.fgroup span label
{
393 #page-mod-quiz-report table th
{
397 #page-mod-quiz-report table#attempts td
,
398 #page-mod-quiz-report table
.quizresponseanalysis td
{
399 word-wrap: break-word
;
403 #page-mod-quiz-report table
.titlesleft td
.c0
{
407 #page-mod-quiz-report table
.numcol
{
409 vertical-align: middle
;
412 #page-mod-quiz-report table#attempts
{
417 #page-mod-quiz-report table#attempts
.header
,
418 #page-mod-quiz-report table#attempts
.cell
{
422 #page-mod-quiz-report table#attempts
.header
.commands
{
426 #page-mod-quiz-report table#attempts
.picture
{
430 #page-mod-quiz-report table#attempts td
{
431 border-left-width: 1px;
432 border-right-width: 1px;
433 border-left-style: solid
;
434 border-right-style: solid
;
435 vertical-align: middle
;
438 #page-mod-quiz-report table#attempts
.header
{
442 #page-mod-quiz-report table#attempts
.picture
{
446 #page-mod-quiz-report table#attempts
.grades span
.que
,
447 #page-mod-quiz-report table#attempts span
.avgcell
{
451 #page-mod-quiz-report table#attempts span
.que
.requiresgrading
{
455 #page-mod-quiz-report table#attempts
.questionflag
{
456 vertical-align: text-bottom
;
460 #page-mod-quiz-report .graph
.flexible-wrap
{
465 #page-mod-quiz-report #cachingnotice
{
470 #page-mod-quiz-report #cachingnotice
.singlebutton
{
474 #page-mod-quiz-report .bold
.reviewlink
{
478 #page-mod-quiz-report tr
.lastrowforattempt
{
479 border-bottom: lightgrey solid
0.2em;
482 #page-mod-quiz-report tr
.quiz_statistics-summaryrow td
.cell
{
488 /** Mod quiz edit **/
489 #page-mod-quiz-edit .statusdisplay
{
490 background-color: #ffc;
496 #page-mod-quiz-edit .statusdisplay p
{
500 #page-mod-quiz-edit .mod_quiz-edit-top-controls
{
503 #page-mod-quiz-edit .mod_quiz-edit-action-buttons
{
508 @media (max-width: 576px) {
509 #page-mod-quiz-edit .maxgrade
{
510 margin-bottom: 0.6em;
512 #page-mod-quiz-edit .maxgrade
.form-control
{
513 display: inline-block
;
514 vertical-align: middle
;
517 #page-mod-quiz-edit .maxgrade label
{
520 #page-mod-quiz-edit .maxgrade input
[type
="submit"] {
524 #page-mod-quiz-edit li
.activity
> div
,
525 #page-mod-quiz-edit li
.pagenumber
{
529 #page-mod-quiz-edit ul
.section li
.pagenumber:first-child
.add-menu-outer
.menu
> :last-child
,
530 #page-mod-quiz-edit .last-add-menu
.add-menu-outer
.menu
> :last-child
{
534 #page-mod-quiz-edit .last-add-menu
{
540 #page-mod-quiz-edit .add-menu-outer
{
545 #page-mod-quiz-edit .slotnumber
{
549 display: inline-block
;
551 #page-mod-quiz-edit li
.section
.slotnumber
.unshuffled
{
552 display: inline-block
;
554 #page-mod-quiz-edit li
.section
.slotnumber
.shuffled
{
557 #page-mod-quiz-edit li
.section
.shuffled
.slotnumber
.unshuffled
{
560 #page-mod-quiz-edit li
.section
.shuffled
.slotnumber
.shuffled
{
561 display: inline-block
;
564 #page-mod-quiz-edit .section-heading
{
570 #page-mod-quiz-edit .section-heading
.instancesectioncontainer
{
575 #page-mod-quiz-edit .section-heading
.instancesectioncontainer h3
{
580 #page-mod-quiz-edit .section-heading
.editing_section
,
581 #page-mod-quiz-edit .section-heading
.editing_delete
{
585 #page-mod-quiz-edit .section-heading
.sectioninstance
{
589 #page-mod-quiz-edit .section-heading
.instancesection
{
592 display: inline-block
;
593 text-overflow: ellipsis
;
595 vertical-align: bottom
;
598 #page-mod-quiz-edit .section-heading form
{
605 #page-mod-quiz-edit .section-heading form input
{
611 #page-mod-quiz-edit .section-heading
.instanceshufflequestions
{
613 margin: 0.3em 20px 0 0;
616 .instanceshufflequestions [type="checkbox"] {
617 vertical-align: middle
;
621 #page-mod-quiz-edit ul
.section
{
626 #page-mod-quiz-edit ul
.slots
{
631 #page-mod-quiz-edit ul
.slots li
.section
{
635 #page-mod-quiz-edit ul
.slots li
.section
.content
{
636 background-color: #fafafa;
640 #page-mod-quiz-edit ul
.slots li
.section
{
646 #page-mod-quiz-edit ul
.slots li
.section li
.activity
{
653 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.page
{
654 background: transparent
;
657 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.page h4
{
663 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmarkcontainer
{
665 padding: 0.5em 0 0.5em 0.1em;
669 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmarkcontainer
.editicon
{
673 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmarkcontainer
.infoitem
{
674 background: transparent
;
677 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmarkcontainer form
{
681 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
{
682 display: inline-block
;
686 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.page_split_join_wrapper
{
692 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_0
{
696 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_1
{
700 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_2
{
704 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_3
{
708 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_4
{
712 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_5
{
716 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_6
{
720 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.instancemaxmark
.decimalplaces_7
{
724 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.edit_icon
,
725 #page-mod-quiz-edit ul
.slots li
.section li
.activity a
.preview
,
726 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.editing_delete
,
727 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.editing_maxmark
{
731 #page-mod-quiz-edit ul
.slots li
.section
.only-has-one-slot li
.activity
.editing_move
,
732 #page-mod-quiz-edit ul
.slots li
.section
.only-has-one-slot li
.activity
.editing_delete
{
736 #page-mod-quiz-edit ul
.slots
.only-one-section li
.section
.only-has-one-slot li
.activity
.editing_delete
{
740 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.question_dependency_wrapper
{
746 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.question_dependency_wrapper
.question_dependency_cannot_depend
{
750 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.activityinstance
{
757 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.mod-indent-outer
{
762 #page-mod-quiz-edit ul
.slots
.activityinstance form
{
766 #page-mod-quiz-edit span
.editinstructions
{
770 #page-mod-quiz-edit ul
.slots
.activityinstance span
.instancename
{
774 text-overflow: ellipsis
;
775 display: inline-block
;
779 #page-mod-quiz-edit ul
.slots
.activityinstance span
.instancename img
{
783 #page-mod-quiz-edit .question-bank-table
.questionname
,
784 #page-mod-quiz-edit ul
.slots li
.activity div
.activityinstance
.questionname
{
788 text-overflow: ellipsis
;
792 #page-mod-quiz-edit ul
.slots li
.activity div
.activityinstance
.questiontext
{
796 #page-mod-quiz-edit .section
.activity
.editing_move
{
802 #page-mod-quiz-edit ul
.slots li
.activity div
.activityinstance
.mod_quiz_random_qbank_link
{
805 text-overflow: ellipsis
;
807 margin-left: 0.25rem;
810 #page-mod-quiz-edit ul
.slots
.activityinstance img
.activityicon
{
816 #page-mod-quiz-edit .section
.activity
.actions
{
823 #page-mod-quiz-edit .mod_quiz_edit_forms
{
827 #page-mod-quiz-edit .question-bank-table
{
831 #page-mod-quiz-edit .question-bank-table
.header
{
839 #page-mod-quiz-edit .question-bank-table
.header
.checkbox
{
840 vertical-align: bottom
;
844 #page-mod-quiz-edit .question-bank-table
.header
.qtype
.sorters
{
848 #page-mod-quiz-edit .question-bank-table th
.sorters
{
853 #page-mod-quiz-edit .question-bank-table td
.modifiername
,
854 #page-mod-quiz-edit .question-bank-table td
.creatorname
,
855 #page-mod-quiz-edit .question-bank-table td
.questionlastused
{
859 #page-mod-quiz-edit .question-bank-table td
.modifiername span
.date
,
860 #page-mod-quiz-edit .question-bank-table td
.creatorname span
.date
{
865 #page-mod-quiz-edit table
.question-bank-table
{
868 border-collapse: separate
;
872 #page-mod-quiz-edit .question-bank-table
.iconcol
{
877 #page-mod-quiz-edit .question-bank-table
.iconcol
.icon
{
881 #page-mod-quiz-edit .question-bank-table
.checkbox
{
887 #page-mod-quiz-edit .question-bank-table
.editmenu
{
891 #page-mod-quiz-edit .question-bank-table
.qtype
{
895 #page-mod-quiz-edit .question-bank-table
.qtype
{
900 #page-mod-quiz-edit .question-bank-table
.questionnametext
{
904 #page-mod-quiz-edit .question-bank-table
.questiontext
{
910 text-overflow: ellipsis
;
913 #page-mod-quiz-edit .question-bank-table
.questionname
{
920 #page-mod-quiz-edit .question-bank-table
.questiontext p
{
924 #page-mod-quiz-edit table
.question-bank-table td
,
925 #page-mod-quiz-edit table
.question-bank-table th
{
930 .mod_quiz_qbank_dialogue {
935 .mod_quiz_qbank_dialogue.moodle-dialogue-fullscreen {
939 .mod_quiz_qbank_dialogue .questionbankloading {
951 .mod_quiz_qbank_dialogue #advancedsearch label {
955 .quizquestionlistcontrols {
963 .path-mod-quiz .gradingdetails {
967 #page-mod-quiz-edit div#repaginatedialog
.mform
{
972 #page-mod-quiz-edit div
.container div
.generalbox
{
980 #page-mod-quiz-edit .paging
{
983 padding: 0.1em 0.3em;
985 background-color: #ddd;
988 #page-mod-quiz-edit #page-footer
{
993 #page-mod-quiz-edit .categoryinfofield
{
997 #page-mod-quiz-edit .categorynamefield
{
1001 #page-mod-quiz-edit .questionsortoptions
{
1002 background-color: #ddd;
1005 #page-mod-quiz-edit div
.questionbank
.categorysortopotionscontainer
{
1010 #page-mod-quiz-edit div
.questionbank
.categoryquestionscontainer
,
1011 .questionbank
.categorysortopotionscontainer
,
1012 .questionbank
.categorypagingbarcontainer
,
1013 .questionbank .categoryselectallcontainer {
1014 background-color: #fff;
1017 /* Bulk edit actions */
1019 #page-mod-quiz-edit .btn-group
.selectmultiplecommand
,
1020 #page-mod-quiz-edit .selectmultiplecommandbuttons
,
1021 #page-mod-quiz-edit .select-multiple-checkbox
{
1025 #page-mod-quiz-edit.select-multiple
.selectmultiplecommand
,
1026 #page-mod-quiz-edit.select-multiple
.selectmultiplecommandbuttons
,
1027 #page-mod-quiz-edit.select-multiple
.select-multiple-checkbox
{
1028 display: inline-block
;
1031 #page-mod-quiz-edit.select-multiple input
.select-multiple-checkbox
[type
="checkbox"] {
1035 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section
.activity
.editing_move
,
1036 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section
.activity
.commands
{
1040 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section
.page_split_join_wrapper
{
1044 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section
.activity
.actions
.editing_delete
,
1045 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section
.activity
.actions
.editing_maxmark
{
1049 #page-mod-quiz-edit.select-multiple#page-mod-quiz-edit
.maxgrade
,
1050 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.last-add-menu
{
1054 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section-heading a
,
1055 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section-heading form
,
1056 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.section-heading
.instanceshufflequestions
{
1060 #page-mod-quiz-edit.select-multiple
.mod-quiz-edit-content
.edit-toolbar
.mb-1
{
1064 #page-mod-quiz-edit.select-multiple#page-mod-quiz-edit ul
.slots li
.section li
.activity
.mod-indent-outer
{
1068 #page-mod-quiz-edit .section
.summary
.iconsmall
,
1069 #page-mod-quiz-edit .section
.activity
.iconsmall
{
1073 /* Base theme needs extra support. */
1074 #page-mod-quiz-edit ul
.slots li
.section ul
.section
{
1078 #page-mod-quiz-edit .inplaceeditable
{
1079 box-sizing: border-box
;
1080 background: #fdfdfe;
1081 display: inline-block
;
1083 padding: 0.5em 0 0.5em 0.1em;
1085 #page-mod-quiz-edit .inplaceeditable
.inplaceeditingon input
{
1087 vertical-align: middle
;
1089 #page-mod-quiz-edit .inplaceeditable-text
{
1093 #page-mod-quiz-edit .inplaceeditable
.quickeditlink
{
1094 color: var
(--primary
);
1095 text-decoration: none
;
1096 background-color: transparent
;
1100 #page-mod-quiz-edit .quickeditlink
.aalink
{
1101 color: var
(--primary
);
1106 #page-mod-quiz-edit .quickedition
{
1107 color: var
(--primary
);
1112 #page-mod-quiz-edit .quickedition
.visibleifjs
{
1115 #page-mod-quiz-edit .quickeditlink
{
1119 @media (max-width: 576px) {
1120 #page-mod-quiz-edit ul
.slots li
.section li
.activity
{
1123 #page-mod-quiz-edit ul
.slots li
.section li
.activity
.activityinstance
{
1128 align-items: center
;
1134 /** Print formatting for attempt and review pages **/
1137 #page-mod-quiz-attempt header
.navbar
,
1138 #page-mod-quiz-review header
.navbar
{
1142 #page-mod-quiz-attempt #dock
,
1143 #page-mod-quiz-review #dock
{
1147 #page-mod-quiz-attempt #page #page-header h1
,
1148 #page-mod-quiz-review #page #page-header h1
{
1152 #page-mod-quiz-attempt #region-main
,
1153 #page-mod-quiz-review #region-main
{
1157 #page-mod-quiz-attempt #block-region-side-pre
,
1158 #page-mod-quiz-attempt #block-region-side-post
,
1159 #page-mod-quiz-review #block-region-side-pre
,
1160 #page-mod-quiz-review #block-region-side-post
{
1164 #page-mod-quiz-attempt #page-footer
,
1165 #page-mod-quiz-review #page-footer
{
1169 #page-mod-quiz-attempt .editquestion
,
1170 #page-mod-quiz-review .editquestion
,
1171 #page-mod-quiz-attempt .questionflag
,
1172 #page-mod-quiz-review .questionflag
{
1176 #page-mod-quiz-attempt .submitbtns
,
1177 #page-mod-quiz-review .submitbtns
{
1181 #page-mod-quiz-review .que
.commentlink
{
1185 #page-mod-quiz-attempt .que
,
1186 #page-mod-quiz-review .que
{
1187 page-break-inside: avoid
;