MDL-68840 mod_quiz: random question in question list css fix
[moodle.git] / mod / quiz / styles.css
CommitLineData
2de9be52
TH
1/** Bits that can appear on any page. */
2.path-mod-quiz .statedetails {
3 display: block;
4 font-size: 0.7em;
5}
6
a1eb3a44 7/** Attempt and review pages **/
90723839
SH
8#page-mod-quiz-attempt #page .controls,
9#page-mod-quiz-summary #page .controls,
c04ed8d5
TH
10#page-mod-quiz-review #page .controls {
11 text-align: center;
12 margin: 8px auto;
13}
90723839 14
a1eb3a44 15#page-mod-quiz-attempt .submitbtns,
c04ed8d5
TH
16#page-mod-quiz-review .submitbtns {
17 clear: left;
18 text-align: left;
19 padding-top: 1.5em;
20}
a1eb3a44 21
c67ab86f
TH
22#page-mod-quiz-attempt .submitbtns .mod_quiz-next-nav,
23#page-mod-quiz-review .submitbtns .mod_quiz-next-nav {
24 float: right;
25}
c67ab86f 26
5e63b335
TH
27.path-mod-quiz .mod_quiz-redo_question_button {
28 margin: 0;
29}
bc33e9bd 30
5e63b335
TH
31.path-mod-quiz input[type="submit"].mod_quiz-redo_question_button {
32 padding: 2px 0.8em;
33 font-size: 1em;
1700bd4d
K
34}
35
441d284a
TH
36#page-mod-quiz-attempt .mod_quiz-blocked_question_warning .que .formulation,
37#page-mod-quiz-review .mod_quiz-blocked_question_warning .que .formulation {
38 background: #eee;
39 border: 1px solid #dcdcdc;
40}
41
52b612f0
TH
42#page-mod-quiz-attempt #connection-ok,
43#page-mod-quiz-attempt #connection-error {
44 position: fixed;
45 top: 0;
46 width: 80%;
47 left: 10%;
48 color: #555;
49 border-radius: 0 0 10px 10px;
aea8eaec 50 box-shadow: 5px 5px 20px 0 #666;
52b612f0
TH
51 padding: 1em 1em 0;
52 z-index: 10000;
53}
54
55#page-mod-quiz-attempt #connection-error {
56 background-color: #fcc;
57}
bc33e9bd 58
52b612f0
TH
59#page-mod-quiz-attempt #connection-ok {
60 background-color: #cfb;
61 width: 60%;
62 left: 20%;
63}
64
9b40c540 65/** Mod quiz attempt **/
c04ed8d5
TH
66.generalbox#passwordbox {
67 /* Should probably match .generalbox#intro above */
68 width: 70%;
69 margin-left: auto;
70 margin-right: auto;
71}
bc33e9bd 72
c04ed8d5
TH
73#passwordform {
74 margin: 1em 0;
75}
9b40c540 76
a1eb3a44 77/* Question navigation block. */
c04ed8d5
TH
78#quiznojswarning {
79 color: red;
80}
bc33e9bd 81
c04ed8d5
TH
82#quiznojswarning {
83 font-size: 0.7em;
84 line-height: 1.1;
85}
bc33e9bd 86
c04ed8d5
TH
87.jsenabled #quiznojswarning {
88 display: none;
89}
a1eb3a44 90
c04ed8d5
TH
91.path-mod-quiz #user-picture {
92 margin: 0.5em 0;
93}
bc33e9bd 94
c04ed8d5
TH
95.path-mod-quiz #user-picture img {
96 width: auto;
97 height: auto;
370ee378 98 vertical-align: bottom;
c04ed8d5 99}
a1eb3a44 100
5d949702
K
101.path-mod-quiz #mod_quiz_navblock h3.mod_quiz-section-heading {
102 padding: 0.7em 0 0;
103 margin: 0;
104 clear: both;
105}
bc33e9bd 106
5d949702
K
107.path-mod-quiz #mod_quiz_navblock h3.mod_quiz-section-heading:first-child {
108 padding-top: 0;
109}
110
c04ed8d5
TH
111.path-mod-quiz .qnbutton {
112 display: block;
113 position: relative;
114 float: left;
115 width: 1.5em;
116 height: 1.5em;
117 overflow: hidden;
118 margin: 0.3em 0.3em 0.3em 0;
119 padding: 0;
120 border: 1px solid #bbb;
121 background: #ddd;
122 text-align: center;
de2fec2e 123 line-height: 1.5em;
c04ed8d5
TH
124 font-weight: bold;
125 text-decoration: none;
126}
bc33e9bd 127
377ce993
TH
128.path-mod-quiz .qnbutton:visited:hover,
129.path-mod-quiz .qnbutton:link:hover {
130 text-decoration: underline;
131}
132
a1eb3a44 133.path-mod-quiz .qnbutton .trafficlight,
c04ed8d5
TH
134.path-mod-quiz .qnbutton .thispageholder {
135 display: block;
136 position: absolute;
137 top: 0;
138 bottom: 0;
139 left: 0;
140 right: 0;
141}
a1eb3a44 142
c04ed8d5
TH
143.path-mod-quiz .qnbutton.thispage {
144 border-color: #666;
145}
bc33e9bd 146
c04ed8d5
TH
147.path-mod-quiz .qnbutton.thispage .thispageholder {
148 border: 1px solid #666;
149}
a1eb3a44 150
c04ed8d5 151.path-mod-quiz .qnbutton.flagged .trafficlight {
aa81e358 152 background: url([[pix:quiz|navflagged]]) no-repeat top right;
c04ed8d5 153}
a1eb3a44 154
377ce993 155.path-mod-quiz .qnbutton.blocked,
a1eb3a44
TH
156.path-mod-quiz .qnbutton.notyetanswered,
157.path-mod-quiz .qnbutton.requiresgrading,
c04ed8d5
TH
158.path-mod-quiz .qnbutton.invalidanswer {
159 background-color: white;
160}
bc33e9bd 161
c04ed8d5
TH
162.path-mod-quiz .qnbutton.correct {
163 background-color: #cfc;
164}
bc33e9bd 165
c04ed8d5
TH
166.path-mod-quiz .qnbutton.correct .trafficlight {
167 border-bottom: 3px solid #080;
168}
bc33e9bd 169
c04ed8d5
TH
170.path-mod-quiz .qnbutton.partiallycorrect {
171 background-color: #ffa;
172}
bc33e9bd 173
a1eb3a44 174.path-mod-quiz .qnbutton.notanswered,
c04ed8d5
TH
175.path-mod-quiz .qnbutton.incorrect {
176 background-color: #fcc;
177}
bc33e9bd 178
377ce993
TH
179.path-mod-quiz .qnbutton.blocked {
180 color: #999;
181}
bc33e9bd 182
a1eb3a44 183.path-mod-quiz .qnbutton.notanswered .trafficlight,
c04ed8d5
TH
184.path-mod-quiz .qnbutton.incorrect .trafficlight {
185 border-top: 3px solid #800;
186}
a1eb3a44 187
c04ed8d5
TH
188.path-mod-quiz .othernav {
189 clear: both;
190 margin: 0.5em 0;
191}
bc33e9bd 192
a1eb3a44 193.path-mod-quiz .othernav a,
c04ed8d5
TH
194.path-mod-quiz .othernav input {
195 display: block;
196 margin: 0.5em 0;
197}
a1eb3a44
TH
198
199/* Countdown timer. */
c04ed8d5
TH
200#quiz-timer {
201 display: none;
202 margin-top: 1em;
203}
bc33e9bd 204
c04ed8d5
TH
205#quiz-time-left {
206 font-weight: bold;
207}
bc33e9bd 208
c04ed8d5 209#quiz-timer.timeleft15 {
aea8eaec 210 background: #fff;
c04ed8d5 211}
bc33e9bd 212
c04ed8d5 213#quiz-timer.timeleft14 {
aea8eaec 214 background: #fee;
c04ed8d5 215}
bc33e9bd 216
c04ed8d5 217#quiz-timer.timeleft13 {
aea8eaec 218 background: #fdd;
c04ed8d5 219}
bc33e9bd 220
c04ed8d5 221#quiz-timer.timeleft12 {
aea8eaec 222 background: #fcc;
c04ed8d5 223}
bc33e9bd 224
c04ed8d5 225#quiz-timer.timeleft11 {
aea8eaec 226 background: #fbb;
c04ed8d5 227}
bc33e9bd 228
c04ed8d5 229#quiz-timer.timeleft10 {
aea8eaec 230 background: #faa;
c04ed8d5 231}
bc33e9bd 232
c04ed8d5 233#quiz-timer.timeleft9 {
aea8eaec 234 background: #f99;
c04ed8d5 235}
bc33e9bd 236
c04ed8d5 237#quiz-timer.timeleft8 {
aea8eaec 238 background: #f88;
c04ed8d5 239}
bc33e9bd 240
c04ed8d5 241#quiz-timer.timeleft7 {
aea8eaec 242 background: #f77;
c04ed8d5 243}
bc33e9bd 244
c04ed8d5 245#quiz-timer.timeleft6 {
aea8eaec 246 background: #f66;
c04ed8d5 247}
bc33e9bd 248
c04ed8d5 249#quiz-timer.timeleft5 {
aea8eaec 250 background: #f55;
c04ed8d5 251}
bc33e9bd 252
c04ed8d5 253#quiz-timer.timeleft4 {
aea8eaec 254 background: #f44;
c04ed8d5 255}
bc33e9bd 256
c04ed8d5 257#quiz-timer.timeleft3 {
aea8eaec 258 background: #f33;
c04ed8d5 259}
bc33e9bd 260
c04ed8d5 261#quiz-timer.timeleft2 {
aea8eaec 262 background: #f22;
c04ed8d5 263}
bc33e9bd 264
c04ed8d5 265#quiz-timer.timeleft1 {
aea8eaec 266 background: #f11;
c04ed8d5 267}
bc33e9bd 268
c04ed8d5 269#quiz-timer.timeleft0 {
aea8eaec 270 background: #f00;
c04ed8d5 271}
a1eb3a44
TH
272
273/** mod quiz mod **/
a7a031a4 274#page-mod-quiz-mod #id_reviewoptionshdr .fitem {
c04ed8d5
TH
275 width: 23%;
276 margin-left: 10px;
277}
bc33e9bd 278
a7a031a4 279#page-mod-quiz-mod #id_reviewoptionshdr fieldset.fgroup {
c04ed8d5
TH
280 width: 100%;
281 text-align: left;
282 margin-left: 0;
283}
bc33e9bd 284
a7a031a4 285#page-mod-quiz-mod #id_reviewoptionshdr .fitem {
c04ed8d5
TH
286 float: left;
287 width: 23%;
288 clear: none;
289}
ce74dcc3 290
a7a031a4 291#page-mod-quiz-mod #id_reviewoptionshdr .fitemtitle {
c04ed8d5
TH
292 width: 100%;
293 font-weight: bold;
294 text-align: left;
295 height: 2.5em;
296 margin-left: 0;
297}
ce74dcc3 298
a7a031a4 299#page-mod-quiz-mod #id_reviewoptionshdr fieldset.fgroup {
c04ed8d5
TH
300 clear: left;
301 margin: 0 0 1em;
302}
bc33e9bd 303
a7a031a4 304#page-mod-quiz-mod #id_reviewoptionshdr fieldset.fgroup > span {
c04ed8d5
TH
305 float: left;
306 clear: left;
307 line-height: 1.7;
308}
bc33e9bd 309
ad6a1455
TH
310#page-mod-quiz-mod #id_reviewoptionshdr fieldset.fgroup span label {
311 margin-left: 0.4em;
c04ed8d5 312}
7a25d398 313
90723839
SH
314/** Mod quiz view **/
315#page-mod-quiz-view .quizinfo,
316#page-mod-quiz-view #page .quizgradefeedback,
c04ed8d5
TH
317#page-mod-quiz-view #page .quizattempt {
318 text-align: center;
319}
bc33e9bd 320
c04ed8d5
TH
321#page-mod-quiz-view #page .quizattemptsummary td p {
322 margin-top: 0;
323}
bc33e9bd 324
afbe4592
TH
325#page-mod-quiz-view table.quizattemptsummary tr.bestrow td {
326 border-color: #bce8f1;
327 background-color: #d9edf7;
c04ed8d5 328}
bc33e9bd 329
c04ed8d5
TH
330table.quizattemptsummary .noreviewmessage {
331 color: gray;
332}
bc33e9bd 333
c04ed8d5
TH
334#page-mod-quiz-view .generaltable.quizattemptsummary {
335 margin-left: auto;
336 margin-right: auto;
337}
bc33e9bd 338
c04ed8d5
TH
339#page-mod-quiz-view .generalbox#feedback {
340 width: 70%;
341 margin-left: auto;
342 margin-right: auto;
343 padding-bottom: 15px;
344}
bc33e9bd 345
c04ed8d5
TH
346#page-mod-quiz-view .generalbox#feedback h2 {
347 margin: 0;
348}
bc33e9bd 349
c04ed8d5
TH
350#page-mod-quiz-view .generalbox#feedback h3 {
351 text-align: left;
352}
bc33e9bd 353
c04ed8d5
TH
354#page-mod-quiz-view .generalbox#feedback .overriddennotice {
355 text-align: center;
356 font-size: 0.7em;
357}
bc33e9bd 358
65c52e05
DW
359.quizstartbuttondiv.quizsecuremoderequired input,
360.quizstartbuttondiv.quizsecuremoderequired button {
c04ed8d5
TH
361 display: none;
362}
bc33e9bd 363
65c52e05
DW
364.jsenabled .quizstartbuttondiv.quizsecuremoderequired input,
365.jsenabled .quizstartbuttondiv.quizsecuremoderequired button {
c04ed8d5
TH
366 display: inline;
367}
bc33e9bd 368
1f0f4131
TH
369.quizattempt #mod_quiz_preflight_form {
370 display: none;
371}
372
373#mod_quiz_preflight_form .femptylabel .fitemtitle {
374 display: none;
375}
bc33e9bd 376
1f0f4131
TH
377.moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup {
378 width: 600px;
379}
bc33e9bd 380
1f0f4131
TH
381.moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-wrap {
382 overflow: hidden;
383}
bc33e9bd 384
1f0f4131
TH
385.moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-bd {
386 padding: 0;
387}
bc33e9bd 388
1f0f4131
TH
389.moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-bd #mod_quiz_preflight_form legend {
390 padding: 0 10px;
391 margin: 0;
392 border: 0 none;
393}
bc33e9bd 394
1f0f4131
TH
395.moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-bd #mod_quiz_preflight_form .fitem {
396 margin-left: 10px;
397}
bc33e9bd 398
1f0f4131
TH
399.moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-bd #mod_quiz_preflight_form #fgroup_id_buttonar {
400 padding: 10px 0 0;
401 margin: 0;
402}
bc33e9bd 403
1f0f4131
TH
404.moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-content .moodle-dialogue-ft {
405 margin: 0;
406}
407/* Standard Moodle rule that needs to be more specific here. */
408.moodle-dialogue-bd #mod_quiz_preflight_form fieldset.hidden {
409 display: inherit;
410 visibility: inherit;
411}
90723839 412
afbe4592
TH
413body.path-mod-quiz .gradedattempt,
414body.path-mod-quiz table tbody tr.gradedattempt > td {
415 border-color: #bce8f1;
416 background-color: #d9edf7;
c04ed8d5 417}
a1eb3a44 418
c04ed8d5
TH
419.quizattemptcounts {
420 clear: left;
421 text-align: center;
bc33e9bd
DP
422 display: inline;
423 margin-left: 20%;
c544ee92 424}
bc33e9bd 425
ed7844b5 426#page-mod-quiz-view .quizattemptcounts {
c544ee92 427 display: block;
428 margin-left: 0;
429 margin-right: 0;
c04ed8d5 430}
e1a2d0d9 431
9b40c540 432/** Mod quiz summary **/
c04ed8d5
TH
433#page-mod-quiz-summary #content {
434 text-align: center;
435}
bc33e9bd 436
c04ed8d5
TH
437#page-mod-quiz-summary .questionflag {
438 vertical-align: text-bottom;
439}
bc33e9bd 440
c04ed8d5
TH
441#page-mod-quiz-summary #quiz-timer {
442 text-align: center;
443 margin-top: 1em;
444}
bc33e9bd 445
c04ed8d5
TH
446#page-mod-quiz-summary .submitbtns {
447 margin-top: 1.5em;
448}
bc33e9bd 449
ff065f96 450@media print {
c04ed8d5 451 .quiz-secure-window * {
f549e4b7 452 display: none;
c04ed8d5 453 }
ff065f96
TH
454}
455
90723839 456/** Mod quiz review **/
c04ed8d5
TH
457table.quizreviewsummary {
458 width: 100%;
459}
bc33e9bd 460
c04ed8d5
TH
461table.quizreviewsummary th.cell {
462 padding: 1px 0.5em 1px 1em;
463 font-weight: bold;
464 text-align: right;
465 width: 10em;
466 background: #f0f0f0;
467}
bc33e9bd 468
c04ed8d5
TH
469table.quizreviewsummary td.cell {
470 padding: 1px 1em 1px 0.5em;
471 text-align: left;
472 background: #fafafa;
473}
a1eb3a44
TH
474
475/** Mod quiz make comment or override grade popup. **/
c04ed8d5
TH
476#page-mod-quiz-comment .mform {
477 width: 100%;
478}
bc33e9bd 479
c04ed8d5
TH
480#page-mod-quiz-comment .mform fieldset {
481 margin: 0;
482}
bc33e9bd 483
c04ed8d5
TH
484#page-mod-quiz-comment .que {
485 margin: 0;
486}
90723839
SH
487
488/** Mod quiz report **/
c04ed8d5
TH
489#page-mod-quiz-report h2.main {
490 clear: both;
491}
bc33e9bd 492
90723839 493#page-mod-quiz-report div#commands,
c04ed8d5
TH
494#page-mod-quiz-report .controls {
495 text-align: center;
496}
bc33e9bd 497
c04ed8d5
TH
498#page-mod-quiz-report .dubious {
499 background-color: #fcc;
500}
bc33e9bd 501
c04ed8d5 502#page-mod-quiz-report .highlight {
afbe4592
TH
503 border: 1px solid #bce8f1;
504 background-color: #d9edf7;
c04ed8d5 505}
bc33e9bd 506
c04ed8d5 507#page-mod-quiz-report .negcovar {
bc33e9bd 508 border: medium solid pink;
c04ed8d5 509}
bc33e9bd 510
c04ed8d5
TH
511#page-mod-quiz-report .toggleincludeauto {
512 text-align: center;
513}
bc33e9bd 514
c04ed8d5
TH
515#page-mod-quiz-report .gradetheselink {
516 font-size: 0.8em;
517}
bc33e9bd 518
6f885844
TH
519#page-mod-quiz-report .mform fieldset.fgroup span label {
520 margin-right: 14px;
c04ed8d5 521}
bc33e9bd 522
8dbcbe21
TH
523#page-mod-quiz-report table th {
524 white-space: normal;
525}
bc33e9bd 526
8dbcbe21
TH
527#page-mod-quiz-report table#attempts td,
528#page-mod-quiz-report table.quizresponseanalysis td {
529 word-wrap: break-word;
530 max-width: 20em;
531}
bc33e9bd 532
c04ed8d5
TH
533#page-mod-quiz-report table.titlesleft td.c0 {
534 font-weight: bold;
535}
bc33e9bd 536
c04ed8d5
TH
537#page-mod-quiz-report table .numcol {
538 text-align: center;
bc33e9bd 539 vertical-align: middle;
c04ed8d5
TH
540}
541
542#page-mod-quiz-report table#attempts {
543 clear: both;
544 width: 80%;
545 margin: 0.2em auto;
546}
bc33e9bd 547
90723839 548#page-mod-quiz-report table#attempts .header,
c04ed8d5
TH
549#page-mod-quiz-report table#attempts .cell {
550 padding: 4px;
551}
bc33e9bd 552
c04ed8d5
TH
553#page-mod-quiz-report table#attempts .header .commands {
554 display: inline;
555}
bc33e9bd 556
c04ed8d5
TH
557#page-mod-quiz-report table#attempts .picture {
558 width: 40px;
559}
bc33e9bd 560
c04ed8d5
TH
561#page-mod-quiz-report table#attempts td {
562 border-left-width: 1px;
563 border-right-width: 1px;
564 border-left-style: solid;
565 border-right-style: solid;
566 vertical-align: middle;
567}
bc33e9bd 568
c04ed8d5
TH
569#page-mod-quiz-report table#attempts .header {
570 text-align: left;
571}
bc33e9bd 572
c04ed8d5 573#page-mod-quiz-report table#attempts .picture {
f549e4b7 574 text-align: center;
c04ed8d5 575}
bc33e9bd 576
a1eb3a44 577#page-mod-quiz-report table#attempts.grades span.que,
c04ed8d5
TH
578#page-mod-quiz-report table#attempts span.avgcell {
579 white-space: nowrap;
580}
bc33e9bd 581
c04ed8d5
TH
582#page-mod-quiz-report table#attempts span.que .requiresgrading {
583 white-space: normal;
584}
bc33e9bd 585
c04ed8d5
TH
586#page-mod-quiz-report table#attempts .questionflag {
587 vertical-align: text-bottom;
588 padding-left: 6px;
589}
a1eb3a44 590
c04ed8d5
TH
591#page-mod-quiz-report .graph.flexible-wrap {
592 text-align: center;
593 overflow: auto;
594}
a1eb3a44 595
c04ed8d5
TH
596#page-mod-quiz-report #cachingnotice {
597 margin-bottom: 1em;
598 padding: 0.2em;
599}
bc33e9bd 600
c04ed8d5
TH
601#page-mod-quiz-report #cachingnotice .singlebutton {
602 margin: 0.5em 0 0;
603}
bc33e9bd 604
c04ed8d5
TH
605#page-mod-quiz-report .bold .reviewlink {
606 font-weight: normal;
607}
90723839 608
99caa248
JP
609#page-mod-quiz-report tr.lastrowforattempt {
610 border-bottom: lightgrey solid 0.2em;
611}
612
62b6e6f2
SL
613#page-mod-quiz-report tr.quiz_statistics-summaryrow td.cell {
614 padding-top: 1px;
615 padding-bottom: 1px;
616 border-top: none;
617}
618
90723839 619/** Mod quiz edit **/
e1a2d0d9
CC
620#page-mod-quiz-edit .statusbar {
621 margin: 0.6em 0.4em;
c04ed8d5 622}
bc33e9bd 623
c04ed8d5
TH
624#page-mod-quiz-edit .statusdisplay {
625 background-color: #ffc;
626 clear: both;
441d284a
TH
627 margin: 0.3em 0;
628 padding: 1px 10px;
ad6a1455 629}
bc33e9bd 630
c04ed8d5 631#page-mod-quiz-edit .statusdisplay p {
441d284a 632 margin: 4px 0;
c04ed8d5 633}
bc33e9bd 634
f37cffb6
CC
635#page-mod-quiz-edit .mod_quiz-edit-top-controls {
636 position: relative;
637}
638#page-mod-quiz-edit .mod_quiz-edit-action-buttons {
639 display: block;
640 min-height: 2.85em;
641}
642
92bc86e4
BB
643@media (min-width: 576px) {
644 #page-mod-quiz-edit .maxgrade,
645 #page-mod-quiz-edit .totalpoints {
646 position: absolute;
647 right: 0;
648 margin: -2.85em 0 0;
649 padding: .2em;
650 }
c04ed8d5 651}
bc33e9bd 652
92bc86e4
BB
653@media (max-width: 576px) {
654 #page-mod-quiz-edit .maxgrade {
655 margin-bottom: 0.6em;
656 }
657 #page-mod-quiz-edit .maxgrade .form-control {
658 display: inline-block;
659 vertical-align: middle;
660 }
661}
441d284a
TH
662#page-mod-quiz-edit .maxgrade label {
663 display: inline;
664}
f37cffb6
CC
665#page-mod-quiz-edit .maxgrade input[type="submit"] {
666 margin: 0;
667}
e1a2d0d9
CC
668
669#page-mod-quiz-edit li.activity > div,
670#page-mod-quiz-edit li.pagenumber {
c04ed8d5
TH
671 position: relative;
672}
c04ed8d5 673
ce37a8cc 674#page-mod-quiz-edit ul.section li.pagenumber:first-child .add-menu-outer .menu > :last-child,
11f2cec1 675#page-mod-quiz-edit .last-add-menu .add-menu-outer .menu > :last-child {
5d949702
K
676 display: none;
677}
678
e1a2d0d9
CC
679#page-mod-quiz-edit .last-add-menu {
680 position: relative;
681 height: 1.5em;
441d284a 682 margin: 0 20px;
c04ed8d5 683}
bc33e9bd 684
e1a2d0d9
CC
685#page-mod-quiz-edit .add-menu-outer {
686 position: absolute;
e1a2d0d9 687 right: 0;
c04ed8d5 688}
262105fa 689
e1a2d0d9 690#page-mod-quiz-edit .slotnumber {
bc33e9bd 691 background-color: #d3d3d3;
e1a2d0d9 692 text-align: center;
ad6a1455 693 margin: 0.1em 0.5em;
e1a2d0d9 694 min-width: 2em;
c04ed8d5 695 display: inline-block;
c04ed8d5
TH
696}
697
5d949702 698#page-mod-quiz-edit .section-heading {
5d949702
K
699 margin-left: 20px;
700 margin-bottom: 0;
701 height: 40px;
702}
bc33e9bd 703
5d949702 704#page-mod-quiz-edit .section-heading .instancesectioncontainer {
d4bca909 705 font-size: 24px;
5d949702
K
706 display: inline;
707}
bc33e9bd 708
5d949702
K
709#page-mod-quiz-edit .section-heading .instancesectioncontainer h3 {
710 display: inline;
711 color: #999;
712}
bc33e9bd 713
5d949702
K
714#page-mod-quiz-edit .section-heading .editing_section,
715#page-mod-quiz-edit .section-heading .editing_delete {
716 margin-left: 10px;
717}
bc33e9bd 718
5d949702
K
719#page-mod-quiz-edit .section-heading .sectioninstance {
720 position: relative;
721}
bc33e9bd 722
7308acff
TH
723#page-mod-quiz-edit .section-heading .instancesection {
724 white-space: nowrap;
725 max-width: 72%;
726 display: inline-block;
727 text-overflow: ellipsis;
728 overflow: hidden;
729 vertical-align: bottom;
730}
bc33e9bd 731
5d949702
K
732#page-mod-quiz-edit .section-heading form {
733 display: inline;
734 position: relative;
735 top: 3px;
736 left: -7px;
737}
bc33e9bd 738
5d949702
K
739#page-mod-quiz-edit .section-heading form input {
740 font-size: 24px;
741 font-weight: bold;
742 width: 50%;
743}
744
745#page-mod-quiz-edit .section-heading .instanceshufflequestions {
746 float: right;
747 margin: 0.3em 20px 0 0;
748}
749
aa6b85d2
MM
750.instanceshufflequestions [type="checkbox"] {
751 vertical-align: middle;
752 margin-right: .5rem;
753}
754
441d284a
TH
755#page-mod-quiz-edit ul.section {
756 margin: 0;
757 padding: 0 20px;
758}
bc33e9bd 759
5d949702
K
760#page-mod-quiz-edit ul.slots {
761 margin: 0;
92bc86e4 762 padding: 0;
5d949702 763}
bc33e9bd 764
e1a2d0d9
CC
765#page-mod-quiz-edit ul.slots li.section {
766 border: 0;
c04ed8d5 767}
bc33e9bd 768
e1a2d0d9 769#page-mod-quiz-edit ul.slots li.section .content {
bc33e9bd 770 background-color: #fafafa;
5d949702 771 padding: 1px 0;
c04ed8d5 772}
bc33e9bd 773
e1a2d0d9
CC
774#page-mod-quiz-edit ul.slots li.section {
775 list-style: none;
441d284a 776 margin: 0;
ad6a1455 777 padding: 0;
c04ed8d5 778}
bc33e9bd 779
e1a2d0d9 780#page-mod-quiz-edit ul.slots li.section li.activity {
bc33e9bd 781 background: #e6e6e6;
441d284a 782 margin: 3px 0;
ad6a1455 783 padding: 0.2em;
92bc86e4 784 position: relative;
c04ed8d5 785}
bc33e9bd 786
e1a2d0d9
CC
787#page-mod-quiz-edit ul.slots li.section li.activity.page {
788 background: transparent;
c04ed8d5 789}
bc33e9bd 790
5d949702
K
791#page-mod-quiz-edit ul.slots li.section li.activity.page h4 {
792 display: inline;
793 font-weight: normal;
794 font-size: 1em;
795}
e1a2d0d9
CC
796
797#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer {
798 background: white;
ad6a1455
TH
799 padding: 0.2em;
800 margin: 0.4em;
c04ed8d5 801}
bc33e9bd 802
97ef7ea2
TH
803#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer .editicon {
804 width: 13px;
805}
bc33e9bd 806
97ef7ea2
TH
807#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer.infoitem {
808 background: transparent;
809}
bc33e9bd 810
e1a2d0d9 811#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer form {
c04ed8d5 812 display: inline;
c04ed8d5 813}
bc33e9bd 814
e1a2d0d9
CC
815#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark {
816 display: inline-block;
817 text-align: right;
c04ed8d5 818}
bc33e9bd 819
e1a2d0d9
CC
820#page-mod-quiz-edit ul.slots li.section li.activity .page_split_join_wrapper {
821 position: absolute;
e1a2d0d9 822 left: -20px;
92bc86e4 823 bottom: -11px;
c04ed8d5 824}
bc33e9bd 825
e1a2d0d9
CC
826#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_0 {
827 min-width: 1.3em;
c04ed8d5 828}
bc33e9bd 829
e1a2d0d9
CC
830#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_1 {
831 min-width: 2em;
c04ed8d5 832}
bc33e9bd 833
e1a2d0d9
CC
834#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_2 {
835 min-width: 2.6em;
c04ed8d5 836}
bc33e9bd 837
e1a2d0d9
CC
838#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_3 {
839 min-width: 3.2em;
c04ed8d5 840}
bc33e9bd 841
e1a2d0d9
CC
842#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_4 {
843 min-width: 3.7em;
c04ed8d5 844}
bc33e9bd 845
e1a2d0d9
CC
846#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_5 {
847 min-width: 4.3em;
c04ed8d5 848}
bc33e9bd 849
e1a2d0d9
CC
850#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_6 {
851 min-width: 4.8em;
c04ed8d5 852}
bc33e9bd 853
e1a2d0d9
CC
854#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_7 {
855 min-width: 5.45em;
c04ed8d5 856}
90723839 857
e1a2d0d9
CC
858#page-mod-quiz-edit ul.slots li.section li.activity .edit_icon,
859#page-mod-quiz-edit ul.slots li.section li.activity a.preview,
860#page-mod-quiz-edit ul.slots li.section li.activity .editing_delete,
861#page-mod-quiz-edit ul.slots li.section li.activity .editing_maxmark {
ad6a1455 862 margin: 0 2px;
c04ed8d5 863}
bc33e9bd 864
5d949702
K
865#page-mod-quiz-edit ul.slots li.section.only-has-one-slot li.activity .editing_move,
866#page-mod-quiz-edit ul.slots li.section.only-has-one-slot li.activity .editing_delete {
867 visibility: hidden;
868}
bc33e9bd 869
6d19eb4b
TH
870#page-mod-quiz-edit ul.slots.only-one-section li.section.only-has-one-slot li.activity .editing_delete {
871 visibility: visible;
872}
a1eb3a44 873
441d284a
TH
874#page-mod-quiz-edit ul.slots li.section li.activity .question_dependency_wrapper {
875 position: absolute;
876 top: 0;
877 right: 0;
878}
bc33e9bd 879
441d284a
TH
880#page-mod-quiz-edit ul.slots li.section li.activity .question_dependency_wrapper.question_dependency_cannot_depend {
881 display: none;
882}
883
884#page-mod-quiz-edit ul.slots li.section li.activity .question_dependency_wrapper .currentlink,
885#page-mod-quiz-edit ul.slots li.section li.activity .question_dependency_wrapper .cm-edit-action {
886 position: relative;
887 left: 20px;
888 top: -1em;
889}
f7785e42 890
e1a2d0d9 891#page-mod-quiz-edit ul.slots li.section li.activity .activityinstance {
94fd778d
BB
892 display: flex;
893 flex: 1 1 auto;
e1a2d0d9 894 min-height: 1.7em;
c04ed8d5 895}
ad6a1455 896
f37cffb6 897#page-mod-quiz-edit ul.slots li.section li.activity .mod-indent-outer {
94fd778d 898 display: flex;
f37cffb6
CC
899 padding-left: 22px;
900}
901
e1a2d0d9 902#page-mod-quiz-edit ul.slots .activityinstance form {
c04ed8d5
TH
903 display: inline;
904}
bc33e9bd 905
e1a2d0d9
CC
906#page-mod-quiz-edit span.editinstructions {
907 right: 0;
c04ed8d5 908}
a1eb3a44 909
e1a2d0d9
CC
910#page-mod-quiz-edit ul.slots .activityinstance span.instancename {
911 overflow-x: hidden;
912 white-space: nowrap;
913 text-overflow: ellipsis;
914 overflow: hidden;
e1a2d0d9
CC
915 display: inline-block;
916 height: 20px;
c04ed8d5 917}
a1eb3a44 918
e1a2d0d9 919#page-mod-quiz-edit ul.slots .activityinstance span.instancename img {
ad6a1455 920 margin: 0 0.2em;
c04ed8d5 921}
bc33e9bd 922
8aa5e0cf 923#page-mod-quiz-edit #categoryquestions .questionname,
e1a2d0d9 924#page-mod-quiz-edit ul.slots li.activity div.activityinstance .questionname {
bc33e9bd 925 font-weight: bold;
e1a2d0d9 926 color: #555;
94fd778d
BB
927 overflow: hidden;
928 text-overflow: ellipsis;
929 white-space: nowrap;
c04ed8d5 930}
bc33e9bd 931
e1a2d0d9
CC
932#page-mod-quiz-edit ul.slots li.activity div.activityinstance .questiontext {
933 color: #555;
934}
bc33e9bd 935
bea19e0d
SL
936#page-mod-quiz-edit .section .activity .editing_move {
937 position: absolute;
938 left: 0;
939 top: 0;
940}
941
e1a2d0d9
CC
942#page-mod-quiz-edit ul.slots li.activity div.activityinstance .mod_quiz_random_qbank_link {
943 font-size: 0.8em;
94fd778d
BB
944 overflow: hidden;
945 text-overflow: ellipsis;
946 white-space: nowrap;
947 margin-left: 0.25rem;
c04ed8d5 948}
a1eb3a44 949
e1a2d0d9 950#page-mod-quiz-edit ul.slots .activityinstance img.activityicon {
87174e0a 951 float: inherit;
ad6a1455
TH
952 margin: .2em 0 0;
953 padding: 0;
954}
a1eb3a44 955
e1a2d0d9 956#page-mod-quiz-edit .section .activity .actions {
94fd778d 957 position: inherit;
e1a2d0d9
CC
958 white-space: nowrap;
959 background: #e6e6e6;
ad6a1455 960 padding: 0.1em 0;
c04ed8d5 961}
a1eb3a44 962
e1a2d0d9 963#page-mod-quiz-edit .mod_quiz_edit_forms {
c04ed8d5
TH
964 display: none;
965}
e1a2d0d9
CC
966
967#categoryquestions > tbody > tr:nth-of-type(even) {
968 background: #e4e4e4;
c04ed8d5 969}
bc33e9bd 970
22b8fe5e 971#categoryquestions > tbody > tr.highlight {
aea8eaec 972 background-color: #afa;
c04ed8d5 973}
bc33e9bd 974
e1a2d0d9
CC
975#categoryquestions .header {
976 text-align: center;
977 padding: 0 2px;
978 border: 0 none;
55c75f91
LB
979 vertical-align: top;
980}
981
982#categoryquestions .header.checkbox {
983 vertical-align: bottom;
c04ed8d5 984}
bc33e9bd 985
19b1afd1
LB
986#categoryquestions .header.qtype {
987 white-space: nowrap;
988}
989
61cc1e64 990#categoryquestions th .sorters {
e1a2d0d9
CC
991 font-weight: normal;
992 font-size: 0.8em;
810920b1 993}
bc33e9bd 994
810920b1
MN
995#categoryquestions td.modifiername,
996#categoryquestions td.creatorname {
997 line-height: 1em;
998}
bc33e9bd 999
810920b1
MN
1000#categoryquestions td.modifiername span.date,
1001#categoryquestions td.creatorname span.date {
1002 font-weight: normal;
1003 font-size: 0.8em;
c04ed8d5 1004}
bc33e9bd 1005
e1a2d0d9
CC
1006table#categoryquestions {
1007 width: 100%;
e1a2d0d9 1008 table-layout: fixed;
c04ed8d5 1009}
bc33e9bd 1010
e1a2d0d9
CC
1011#categoryquestions .iconcol {
1012 width: 15px;
1013 text-align: center;
1014 padding: 0;
c04ed8d5 1015}
bc33e9bd 1016
e1a2d0d9
CC
1017#categoryquestions .checkbox {
1018 width: 19px;
c04ed8d5 1019 text-align: center;
e1a2d0d9 1020 padding: 0;
c04ed8d5 1021}
bc33e9bd 1022
701ae1eb
TH
1023#categoryquestions .editmenu {
1024 width: 5em;
1025}
1026
e1a2d0d9
CC
1027#categoryquestions .qtype {
1028 text-align: center;
c04ed8d5 1029}
bc33e9bd 1030
e1a2d0d9
CC
1031#categoryquestions .qtype {
1032 width: 28px;
1033 padding: 0;
c04ed8d5 1034}
bc33e9bd 1035
e1a2d0d9
CC
1036#categoryquestions .questiontext {
1037 position: relative;
1038 zoom: 1;
1039 padding-left: 0.3em;
1040 overflow: hidden;
1041 white-space: nowrap;
1042 text-overflow: ellipsis;
c04ed8d5 1043}
bc33e9bd 1044
e1a2d0d9
CC
1045#categoryquestions .questionname {
1046 white-space: nowrap;
1047 overflow: hidden;
1048 zoom: 1;
1049 position: relative;
c04ed8d5 1050}
bc33e9bd 1051
e1a2d0d9
CC
1052#categoryquestions .questiontext p {
1053 margin: 0;
c04ed8d5 1054}
e1a2d0d9
CC
1055
1056#page-mod-quiz-edit table#categoryquestions td,
1057#page-mod-quiz-edit table#categoryquestions th {
1058 overflow: hidden;
1059 white-space: nowrap;
c04ed8d5 1060}
bc33e9bd 1061
e1a2d0d9
CC
1062.mod_quiz_qbank_dialogue {
1063 width: 80%;
1064 min-height: 200px;
c04ed8d5 1065}
bc33e9bd 1066
e1a2d0d9
CC
1067.mod_quiz_qbank_dialogue.moodle-dialogue-fullscreen {
1068 width: 100%;
c04ed8d5 1069}
bc33e9bd 1070
e1a2d0d9 1071.mod_quiz_qbank_dialogue .questionbankloading {
c04ed8d5 1072 position: absolute;
e1a2d0d9
CC
1073 top: 30px;
1074 bottom: 0;
1075 left: 0;
1076 right: 0;
1077 background: #fff;
1078 text-align: center;
1079 opacity: 0.5;
1080 padding-top: 50px;
c04ed8d5 1081}
bc33e9bd 1082
3a1bc53b
TH
1083.mod_quiz_qbank_dialogue #advancedsearch label {
1084 font-size: 100%;
1085}
e1a2d0d9
CC
1086
1087.modulespecificbuttonscontainer {
1088 padding-left: 0.3em;
1089 padding-right: 0.3em;
c04ed8d5 1090}
e1a2d0d9 1091
57f4e960
LB
1092.questionbankformforpopup .modulespecificbuttonscontainer {
1093 padding-top: 10px;
1094 padding-left: 0;
1095}
1096
e1a2d0d9
CC
1097.quizquestionlistcontrols {
1098 text-align: center;
c04ed8d5 1099}
90723839 1100
e1a2d0d9
CC
1101.categoryinfo {
1102 padding: 0.3em;
c04ed8d5 1103}
e1a2d0d9
CC
1104
1105.path-mod-quiz .gradingdetails {
1106 font-size: small;
c04ed8d5 1107}
3784454b 1108
c04ed8d5
TH
1109#page-mod-quiz-edit div#repaginatedialog .mform {
1110 margin-left: auto;
1111 margin-right: auto;
1112}
bc33e9bd 1113
c04ed8d5
TH
1114#page-mod-quiz-edit div.container div.generalbox {
1115 position: relative;
1116 display: block;
1117 border: 0 none;
1118 margin: 0;
1119 padding: 0;
1120}
90723839 1121
c04ed8d5
TH
1122#page-mod-quiz-edit .paging {
1123 margin-top: 0;
1124 margin-bottom: 0;
ad6a1455 1125 padding: 0.1em 0.3em;
c04ed8d5
TH
1126 display: block;
1127 background-color: #ddd;
1128}
90723839 1129
c04ed8d5
TH
1130#page-mod-quiz-edit #page-footer {
1131 clear: both;
1132 padding-top: 1em;
1133}
90723839 1134
c04ed8d5
TH
1135#page-mod-quiz-edit .categoryinfofield {
1136 font-style: italic;
1137}
bc33e9bd 1138
c04ed8d5
TH
1139#page-mod-quiz-edit .categorynamefield {
1140 font-weight: bold;
1141}
bc33e9bd 1142
c04ed8d5
TH
1143#page-mod-quiz-edit .questionsortoptions {
1144 background-color: #ddd;
1145}
1146
c04ed8d5
TH
1147#page-mod-quiz-edit div.questionbank .categorysortopotionscontainer {
1148 padding-top: 0.5em;
1149 margin-top: 0.3em;
1150}
bc33e9bd 1151
90723839
SH
1152#page-mod-quiz-edit div.questionbank .categoryquestionscontainer,
1153.questionbank .categorysortopotionscontainer,
1154.questionbank .categorypagingbarcontainer,
c04ed8d5 1155.questionbank .categoryselectallcontainer {
bc33e9bd 1156 background-color: #fff;
c04ed8d5 1157}
77dca4d0 1158
5d803e53
LB
1159/* Bulk edit actions */
1160
f3432e03 1161#page-mod-quiz-edit .btn-group.selectmultiplecommand,
62e72577 1162#page-mod-quiz-edit .selectmultiplecommandbuttons,
f3432e03 1163#page-mod-quiz-edit .select-multiple-checkbox {
5d803e53
LB
1164 display: none;
1165}
1166
f37cffb6
CC
1167#page-mod-quiz-edit.select-multiple .selectmultiplecommand,
1168#page-mod-quiz-edit.select-multiple .selectmultiplecommandbuttons,
1169#page-mod-quiz-edit.select-multiple .select-multiple-checkbox {
62e72577 1170 display: inline-block;
f37cffb6
CC
1171}
1172
1173#page-mod-quiz-edit.select-multiple input.select-multiple-checkbox[type="checkbox"] {
5d803e53
LB
1174 display: inline;
1175}
1176
f37cffb6
CC
1177#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section .activity .editing_move,
1178#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section .activity .commands {
5d803e53
LB
1179 display: none;
1180}
1181
f37cffb6 1182#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section .page_split_join_wrapper {
5d803e53
LB
1183 display: none;
1184}
1185
f37cffb6
CC
1186#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section .activity .actions .editing_delete,
1187#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section .activity .actions .editing_maxmark {
5d803e53
LB
1188 display: none;
1189}
1190
f37cffb6
CC
1191#page-mod-quiz-edit.select-multiple#page-mod-quiz-edit .maxgrade,
1192#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .last-add-menu {
5d803e53
LB
1193 display: none;
1194}
1195
aa6a8b98 1196#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section-heading a,
f37cffb6 1197#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section-heading form,
aa6a8b98 1198#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section-heading .instanceshufflequestions {
5d803e53
LB
1199 display: none;
1200}
1201
5cac5fa4 1202#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .edit-toolbar .mb-1 {
5d803e53
LB
1203 display: none;
1204}
1205
f37cffb6 1206#page-mod-quiz-edit.select-multiple#page-mod-quiz-edit ul.slots li.section li.activity .mod-indent-outer {
5d803e53
LB
1207 padding-left: 3px;
1208}
1209
f3432e03
DW
1210#page-mod-quiz-edit .section .summary .iconsmall,
1211#page-mod-quiz-edit .section .activity .iconsmall {
5d803e53
LB
1212 float: left;
1213}
1214
77dca4d0
CC
1215/* Base theme needs extra support. */
1216#page-mod-quiz-edit ul.slots li.section ul.section {
1217 list-style: none;
1218}
52b0a551 1219
92bc86e4
BB
1220@media (max-width: 576px) {
1221 #page-mod-quiz-edit ul.slots li.section li.activity {
1222 padding-top: 30px;
1223 }
1224 #page-mod-quiz-edit ul.slots li.section li.activity .activityinstance {
1225 top: -30px;
1226 left: 0;
94fd778d
BB
1227 padding-right: 0;
1228 overflow: hidden;
1229 align-items: center;
1230 position: absolute;
92bc86e4
BB
1231 width: 100%;
1232 }
1233}
1234
52b0a551
HB
1235/** Print formatting for attempt and review pages **/
1236
1237@media print {
52b0a551
HB
1238 #page-mod-quiz-attempt header.navbar,
1239 #page-mod-quiz-review header.navbar {
1240 display: none;
1241 }
1242
1243 #page-mod-quiz-attempt #dock,
1244 #page-mod-quiz-review #dock {
1245 display: none;
1246 }
1247
1248 #page-mod-quiz-attempt #page #page-header h1,
1249 #page-mod-quiz-review #page #page-header h1 {
1250 display: none;
1251 }
1252
1253 #page-mod-quiz-attempt #region-main,
1254 #page-mod-quiz-review #region-main {
1255 width: 100%;
1256 }
1257
1258 #page-mod-quiz-attempt #block-region-side-pre,
1259 #page-mod-quiz-attempt #block-region-side-post,
1260 #page-mod-quiz-review #block-region-side-pre,
1261 #page-mod-quiz-review #block-region-side-post {
1262 display: none;
1263 }
1264
1265 #page-mod-quiz-attempt #page-footer,
1266 #page-mod-quiz-review #page-footer {
1267 display: none;
1268 }
1269
1270 #page-mod-quiz-attempt .editquestion,
1271 #page-mod-quiz-review .editquestion,
1272 #page-mod-quiz-attempt .questionflag,
1273 #page-mod-quiz-review .questionflag {
1274 display: none;
1275 }
1276
1277 #page-mod-quiz-attempt .submitbtns,
1278 #page-mod-quiz-review .submitbtns {
1279 display: none;
1280 }
1281
1282 #page-mod-quiz-review .que .commentlink {
1283 display: none;
1284 }
1285
1286 #page-mod-quiz-attempt .que,
1287 #page-mod-quiz-review .que {
1288 page-break-inside: avoid;
1289 }
1290}