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