MDL-60750 mod_quiz: only apply form css rules on clean theme
[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
90723839 617/** Mod quiz edit **/
e1a2d0d9
CC
618#page-mod-quiz-edit .statusbar {
619 margin: 0.6em 0.4em;
c04ed8d5 620}
bc33e9bd 621
c04ed8d5
TH
622#page-mod-quiz-edit .statusdisplay {
623 background-color: #ffc;
624 clear: both;
441d284a
TH
625 margin: 0.3em 0;
626 padding: 1px 10px;
ad6a1455 627}
bc33e9bd 628
c04ed8d5 629#page-mod-quiz-edit .statusdisplay p {
441d284a 630 margin: 4px 0;
c04ed8d5 631}
bc33e9bd 632
f37cffb6
CC
633#page-mod-quiz-edit .mod_quiz-edit-top-controls {
634 position: relative;
635}
636#page-mod-quiz-edit .mod_quiz-edit-action-buttons {
637 display: block;
638 min-height: 2.85em;
639}
640
e1a2d0d9
CC
641#page-mod-quiz-edit .maxgrade,
642#page-mod-quiz-edit .totalpoints {
f37cffb6
CC
643 position: absolute;
644 right: 0;
acf543c4 645 margin: -2.85em 0 0;
e1a2d0d9 646 padding: .2em;
c04ed8d5 647}
bc33e9bd 648
441d284a
TH
649#page-mod-quiz-edit .maxgrade label {
650 display: inline;
651}
f37cffb6
CC
652#page-mod-quiz-edit .maxgrade input[type="submit"] {
653 margin: 0;
654}
e1a2d0d9
CC
655
656#page-mod-quiz-edit li.activity > div,
657#page-mod-quiz-edit li.pagenumber {
c04ed8d5
TH
658 position: relative;
659}
c04ed8d5 660
adbe0fcb
FM
661#page-mod-quiz-edit ul.section li.pagenumber:first-child .add-menu-outer .menu > :first-child,
662#page-mod-quiz-edit .last-add-menu .add-menu-outer .menu > :first-child {
5d949702
K
663 display: none;
664}
665
e1a2d0d9
CC
666#page-mod-quiz-edit .last-add-menu {
667 position: relative;
668 height: 1.5em;
441d284a 669 margin: 0 20px;
c04ed8d5 670}
bc33e9bd 671
e1a2d0d9
CC
672#page-mod-quiz-edit .add-menu-outer {
673 position: absolute;
e1a2d0d9 674 right: 0;
c04ed8d5 675}
262105fa 676
e1a2d0d9 677#page-mod-quiz-edit .slotnumber {
bc33e9bd 678 background-color: #d3d3d3;
e1a2d0d9 679 text-align: center;
ad6a1455 680 margin: 0.1em 0.5em;
e1a2d0d9 681 min-width: 2em;
c04ed8d5 682 display: inline-block;
c04ed8d5
TH
683}
684
5d949702
K
685#page-mod-quiz-edit .section-heading {
686 font-size: 24px;
687 margin-left: 20px;
688 margin-bottom: 0;
689 height: 40px;
690}
bc33e9bd 691
5d949702
K
692#page-mod-quiz-edit .section-heading .instancesectioncontainer {
693 display: inline;
694}
bc33e9bd 695
5d949702
K
696#page-mod-quiz-edit .section-heading .instancesectioncontainer h3 {
697 display: inline;
698 color: #999;
699}
bc33e9bd 700
5d949702
K
701#page-mod-quiz-edit .section-heading .editing_section,
702#page-mod-quiz-edit .section-heading .editing_delete {
703 margin-left: 10px;
704}
bc33e9bd 705
5d949702
K
706#page-mod-quiz-edit .section-heading .sectioninstance {
707 position: relative;
708}
bc33e9bd 709
7308acff
TH
710#page-mod-quiz-edit .section-heading .instancesection {
711 white-space: nowrap;
712 max-width: 72%;
713 display: inline-block;
714 text-overflow: ellipsis;
715 overflow: hidden;
716 vertical-align: bottom;
717}
bc33e9bd 718
5d949702
K
719#page-mod-quiz-edit .section-heading form {
720 display: inline;
721 position: relative;
722 top: 3px;
723 left: -7px;
724}
bc33e9bd 725
5d949702
K
726#page-mod-quiz-edit .section-heading form input {
727 font-size: 24px;
728 font-weight: bold;
729 width: 50%;
730}
731
732#page-mod-quiz-edit .section-heading .instanceshufflequestions {
733 float: right;
734 margin: 0.3em 20px 0 0;
735}
736
441d284a
TH
737#page-mod-quiz-edit ul.section {
738 margin: 0;
739 padding: 0 20px;
740}
bc33e9bd 741
5d949702
K
742#page-mod-quiz-edit ul.slots {
743 margin: 0;
744}
bc33e9bd 745
e1a2d0d9
CC
746#page-mod-quiz-edit ul.slots li.section {
747 border: 0;
c04ed8d5 748}
bc33e9bd 749
e1a2d0d9 750#page-mod-quiz-edit ul.slots li.section .content {
bc33e9bd 751 background-color: #fafafa;
5d949702 752 padding: 1px 0;
c04ed8d5 753}
bc33e9bd 754
e1a2d0d9
CC
755#page-mod-quiz-edit ul.slots li.section {
756 list-style: none;
441d284a 757 margin: 0;
ad6a1455 758 padding: 0;
c04ed8d5 759}
bc33e9bd 760
e1a2d0d9 761#page-mod-quiz-edit ul.slots li.section li.activity {
bc33e9bd 762 background: #e6e6e6;
441d284a 763 margin: 3px 0;
ad6a1455 764 padding: 0.2em;
c04ed8d5 765}
bc33e9bd 766
e1a2d0d9
CC
767#page-mod-quiz-edit ul.slots li.section li.activity.page {
768 background: transparent;
c04ed8d5 769}
bc33e9bd 770
5d949702
K
771#page-mod-quiz-edit ul.slots li.section li.activity.page h4 {
772 display: inline;
773 font-weight: normal;
774 font-size: 1em;
775}
e1a2d0d9
CC
776
777#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer {
778 background: white;
ad6a1455
TH
779 padding: 0.2em;
780 margin: 0.4em;
c04ed8d5 781}
bc33e9bd 782
97ef7ea2
TH
783#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer .editicon {
784 width: 13px;
785}
bc33e9bd 786
97ef7ea2
TH
787#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer.infoitem {
788 background: transparent;
789}
bc33e9bd 790
e1a2d0d9 791#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer form {
c04ed8d5 792 display: inline;
c04ed8d5 793}
bc33e9bd 794
e1a2d0d9
CC
795#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer form input {
796 margin: 0;
c04ed8d5 797 padding: 0.2em;
e1a2d0d9 798 height: 1em;
c04ed8d5
TH
799}
800
e1a2d0d9
CC
801#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark {
802 display: inline-block;
803 text-align: right;
c04ed8d5 804}
bc33e9bd 805
e1a2d0d9
CC
806#page-mod-quiz-edit ul.slots li.section li.activity .page_split_join_wrapper {
807 position: absolute;
c04ed8d5 808}
bc33e9bd 809
e1a2d0d9 810#page-mod-quiz-edit ul.slots li.section li.activity .page_split_join {
c04ed8d5 811 position: relative;
e1a2d0d9
CC
812 left: -20px;
813 top: -7px;
c04ed8d5 814}
bc33e9bd 815
e1a2d0d9
CC
816#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_0 {
817 min-width: 1.3em;
c04ed8d5 818}
bc33e9bd 819
e1a2d0d9
CC
820#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_1 {
821 min-width: 2em;
c04ed8d5 822}
bc33e9bd 823
e1a2d0d9
CC
824#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_2 {
825 min-width: 2.6em;
c04ed8d5 826}
bc33e9bd 827
e1a2d0d9
CC
828#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_3 {
829 min-width: 3.2em;
c04ed8d5 830}
bc33e9bd 831
e1a2d0d9
CC
832#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_4 {
833 min-width: 3.7em;
c04ed8d5 834}
bc33e9bd 835
e1a2d0d9
CC
836#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_5 {
837 min-width: 4.3em;
c04ed8d5 838}
bc33e9bd 839
e1a2d0d9
CC
840#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_6 {
841 min-width: 4.8em;
c04ed8d5 842}
bc33e9bd 843
e1a2d0d9
CC
844#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_7 {
845 min-width: 5.45em;
c04ed8d5 846}
90723839 847
e1a2d0d9
CC
848#page-mod-quiz-edit ul.slots li.section li.activity .edit_icon,
849#page-mod-quiz-edit ul.slots li.section li.activity a.preview,
850#page-mod-quiz-edit ul.slots li.section li.activity .editing_delete,
851#page-mod-quiz-edit ul.slots li.section li.activity .editing_maxmark {
ad6a1455 852 margin: 0 2px;
c04ed8d5 853}
bc33e9bd 854
5d949702
K
855#page-mod-quiz-edit ul.slots li.section.only-has-one-slot li.activity .editing_move,
856#page-mod-quiz-edit ul.slots li.section.only-has-one-slot li.activity .editing_delete {
857 visibility: hidden;
858}
bc33e9bd 859
6d19eb4b
TH
860#page-mod-quiz-edit ul.slots.only-one-section li.section.only-has-one-slot li.activity .editing_delete {
861 visibility: visible;
862}
a1eb3a44 863
441d284a
TH
864#page-mod-quiz-edit ul.slots li.section li.activity .question_dependency_wrapper {
865 position: absolute;
866 top: 0;
867 right: 0;
868}
bc33e9bd 869
441d284a
TH
870#page-mod-quiz-edit ul.slots li.section li.activity .question_dependency_wrapper.question_dependency_cannot_depend {
871 display: none;
872}
873
874#page-mod-quiz-edit ul.slots li.section li.activity .question_dependency_wrapper .currentlink,
875#page-mod-quiz-edit ul.slots li.section li.activity .question_dependency_wrapper .cm-edit-action {
876 position: relative;
877 left: 20px;
878 top: -1em;
879}
f7785e42 880
e1a2d0d9 881#page-mod-quiz-edit ul.slots li.section li.activity .activityinstance {
c04ed8d5 882 display: block;
e1a2d0d9
CC
883 min-height: 1.7em;
884 position: absolute;
885 top: 0;
886 left: 5em;
887 width: 100%;
c04ed8d5 888}
ad6a1455 889
f37cffb6
CC
890#page-mod-quiz-edit ul.slots li.section li.activity .mod-indent-outer {
891 padding-left: 22px;
892}
893
e1a2d0d9 894#page-mod-quiz-edit ul.slots .activityinstance form {
c04ed8d5
TH
895 display: inline;
896}
bc33e9bd 897
e1a2d0d9
CC
898#page-mod-quiz-edit span.editinstructions {
899 right: 0;
c04ed8d5 900}
a1eb3a44 901
e1a2d0d9
CC
902#page-mod-quiz-edit ul.slots .activityinstance span.instancename {
903 overflow-x: hidden;
904 white-space: nowrap;
905 text-overflow: ellipsis;
906 overflow: hidden;
e1a2d0d9
CC
907 width: 70%;
908 display: inline-block;
909 height: 20px;
c04ed8d5 910}
a1eb3a44 911
e1a2d0d9 912#page-mod-quiz-edit ul.slots .activityinstance span.instancename img {
ad6a1455 913 margin: 0 0.2em;
c04ed8d5 914}
bc33e9bd 915
8aa5e0cf 916#page-mod-quiz-edit #categoryquestions .questionname,
e1a2d0d9 917#page-mod-quiz-edit ul.slots li.activity div.activityinstance .questionname {
bc33e9bd 918 font-weight: bold;
e1a2d0d9 919 color: #555;
c04ed8d5 920}
bc33e9bd 921
e1a2d0d9
CC
922#page-mod-quiz-edit ul.slots li.activity div.activityinstance .questiontext {
923 color: #555;
924}
bc33e9bd 925
bea19e0d
SL
926#page-mod-quiz-edit .section .activity .editing_move {
927 position: absolute;
928 left: 0;
929 top: 0;
930}
931
e1a2d0d9
CC
932#page-mod-quiz-edit ul.slots li.activity div.activityinstance .mod_quiz_random_qbank_link {
933 font-size: 0.8em;
c04ed8d5 934}
a1eb3a44 935
e1a2d0d9
CC
936#page-mod-quiz-edit ul.slots .activityinstance img.activityicon {
937 float: left;
ad6a1455
TH
938 margin: .2em 0 0;
939 padding: 0;
940}
a1eb3a44 941
e1a2d0d9
CC
942#page-mod-quiz-edit .section .activity .actions {
943 white-space: nowrap;
944 background: #e6e6e6;
ad6a1455 945 padding: 0.1em 0;
c04ed8d5 946}
a1eb3a44 947
e1a2d0d9 948#page-mod-quiz-edit .mod_quiz_edit_forms {
c04ed8d5
TH
949 display: none;
950}
e1a2d0d9
CC
951
952#categoryquestions > tbody > tr:nth-of-type(even) {
953 background: #e4e4e4;
c04ed8d5 954}
bc33e9bd 955
e1a2d0d9 956#categoryquestions > tbody > tr:nth-of-type(even).highlight {
aea8eaec 957 background-color: #afa;
c04ed8d5 958}
bc33e9bd 959
e1a2d0d9
CC
960#categoryquestions .header {
961 text-align: center;
962 padding: 0 2px;
963 border: 0 none;
c04ed8d5 964}
bc33e9bd 965
e1a2d0d9
CC
966#categoryquestions th.modifiername .sorters,
967#categoryquestions th.creatorname .sorters {
968 font-weight: normal;
969 font-size: 0.8em;
810920b1 970}
bc33e9bd 971
810920b1
MN
972#categoryquestions td.modifiername,
973#categoryquestions td.creatorname {
974 line-height: 1em;
975}
bc33e9bd 976
810920b1
MN
977#categoryquestions td.modifiername span.date,
978#categoryquestions td.creatorname span.date {
979 font-weight: normal;
980 font-size: 0.8em;
c04ed8d5 981}
bc33e9bd 982
e1a2d0d9
CC
983table#categoryquestions {
984 width: 100%;
985 overflow: hidden;
986 table-layout: fixed;
c04ed8d5 987}
bc33e9bd 988
e1a2d0d9
CC
989#categoryquestions .iconcol {
990 width: 15px;
991 text-align: center;
992 padding: 0;
c04ed8d5 993}
bc33e9bd 994
e1a2d0d9
CC
995#categoryquestions .checkbox {
996 width: 19px;
c04ed8d5 997 text-align: center;
e1a2d0d9 998 padding: 0;
c04ed8d5 999}
bc33e9bd 1000
e1a2d0d9
CC
1001#categoryquestions .qtype {
1002 text-align: center;
c04ed8d5 1003}
bc33e9bd 1004
e1a2d0d9
CC
1005#categoryquestions .qtype {
1006 width: 28px;
1007 padding: 0;
c04ed8d5 1008}
bc33e9bd 1009
e1a2d0d9
CC
1010#categoryquestions .questiontext {
1011 position: relative;
1012 zoom: 1;
1013 padding-left: 0.3em;
1014 overflow: hidden;
1015 white-space: nowrap;
1016 text-overflow: ellipsis;
c04ed8d5 1017}
bc33e9bd 1018
e1a2d0d9
CC
1019#categoryquestions .questionname {
1020 white-space: nowrap;
1021 overflow: hidden;
1022 zoom: 1;
1023 position: relative;
c04ed8d5 1024}
bc33e9bd 1025
e1a2d0d9
CC
1026#categoryquestions .questiontext p {
1027 margin: 0;
c04ed8d5 1028}
e1a2d0d9
CC
1029
1030#page-mod-quiz-edit table#categoryquestions td,
1031#page-mod-quiz-edit table#categoryquestions th {
1032 overflow: hidden;
1033 white-space: nowrap;
c04ed8d5 1034}
bc33e9bd 1035
e1a2d0d9
CC
1036.mod_quiz_qbank_dialogue {
1037 width: 80%;
1038 min-height: 200px;
c04ed8d5 1039}
bc33e9bd 1040
e1a2d0d9
CC
1041.mod_quiz_qbank_dialogue.moodle-dialogue-fullscreen {
1042 width: 100%;
c04ed8d5 1043}
bc33e9bd 1044
e1a2d0d9 1045.mod_quiz_qbank_dialogue .questionbankloading {
c04ed8d5 1046 position: absolute;
e1a2d0d9
CC
1047 top: 30px;
1048 bottom: 0;
1049 left: 0;
1050 right: 0;
1051 background: #fff;
1052 text-align: center;
1053 opacity: 0.5;
1054 padding-top: 50px;
c04ed8d5 1055}
bc33e9bd 1056
3a1bc53b
TH
1057.mod_quiz_qbank_dialogue #advancedsearch label {
1058 font-size: 100%;
1059}
e1a2d0d9
CC
1060
1061.modulespecificbuttonscontainer {
1062 padding-left: 0.3em;
1063 padding-right: 0.3em;
c04ed8d5 1064}
e1a2d0d9 1065
57f4e960
LB
1066.questionbankformforpopup .modulespecificbuttonscontainer {
1067 padding-top: 10px;
1068 padding-left: 0;
1069}
1070
e1a2d0d9
CC
1071.quizquestionlistcontrols {
1072 text-align: center;
c04ed8d5 1073}
90723839 1074
e1a2d0d9
CC
1075.categoryinfo {
1076 padding: 0.3em;
c04ed8d5 1077}
e1a2d0d9
CC
1078
1079.path-mod-quiz .gradingdetails {
1080 font-size: small;
c04ed8d5 1081}
3784454b 1082
c04ed8d5
TH
1083#page-mod-quiz-edit div#repaginatedialog .mform {
1084 margin-left: auto;
1085 margin-right: auto;
1086}
bc33e9bd 1087
c04ed8d5
TH
1088#page-mod-quiz-edit div.container div.generalbox {
1089 position: relative;
1090 display: block;
1091 border: 0 none;
1092 margin: 0;
1093 padding: 0;
1094}
90723839 1095
c04ed8d5
TH
1096#page-mod-quiz-edit .paging {
1097 margin-top: 0;
1098 margin-bottom: 0;
ad6a1455 1099 padding: 0.1em 0.3em;
c04ed8d5
TH
1100 display: block;
1101 background-color: #ddd;
1102}
90723839 1103
c04ed8d5
TH
1104#page-mod-quiz-edit #page-footer {
1105 clear: both;
1106 padding-top: 1em;
1107}
90723839 1108
c04ed8d5
TH
1109#page-mod-quiz-edit .categoryinfofield {
1110 font-style: italic;
1111}
bc33e9bd 1112
c04ed8d5
TH
1113#page-mod-quiz-edit .categorynamefield {
1114 font-weight: bold;
1115}
bc33e9bd 1116
c04ed8d5
TH
1117#page-mod-quiz-edit .questionsortoptions {
1118 background-color: #ddd;
1119}
1120
c04ed8d5
TH
1121#page-mod-quiz-edit div.questionbank .categorysortopotionscontainer {
1122 padding-top: 0.5em;
1123 margin-top: 0.3em;
1124}
bc33e9bd 1125
90723839
SH
1126#page-mod-quiz-edit div.questionbank .categoryquestionscontainer,
1127.questionbank .categorysortopotionscontainer,
1128.questionbank .categorypagingbarcontainer,
c04ed8d5 1129.questionbank .categoryselectallcontainer {
bc33e9bd 1130 background-color: #fff;
c04ed8d5 1131}
77dca4d0 1132
5d803e53
LB
1133/* Bulk edit actions */
1134
f3432e03 1135#page-mod-quiz-edit .selectmultiplecommandbuttons {
5d803e53
LB
1136 margin: 0.6em 0.4em;
1137}
1138
f3432e03
DW
1139#page-mod-quiz-edit .btn-group.selectmultiplecommand,
1140#page-mod-quiz-edit .btn-group.selectmultiplecommandbuttons,
1141#page-mod-quiz-edit .select-multiple-checkbox {
5d803e53
LB
1142 display: none;
1143}
1144
f37cffb6
CC
1145#page-mod-quiz-edit.select-multiple .selectmultiplecommand,
1146#page-mod-quiz-edit.select-multiple .selectmultiplecommandbuttons,
1147#page-mod-quiz-edit.select-multiple .select-multiple-checkbox {
5d803e53
LB
1148 display: inherit;
1149}
1150
f37cffb6
CC
1151#page-mod-quiz-edit.select-multiple .selectmultiplecommandbuttons .separator {
1152 position: relative;
1153 float: left;
1154 padding: .5rem 0;
1155}
1156
1157#page-mod-quiz-edit #questionselectall {
1158 padding-right: .1rem;
1159}
1160
1161#page-mod-quiz-edit #questiondeselectall {
1162 padding-left: .1rem;
1163}
1164
1165#page-mod-quiz-edit.select-multiple input.select-multiple-checkbox[type="checkbox"] {
5d803e53
LB
1166 display: inline;
1167}
1168
f37cffb6
CC
1169#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section .activity .editing_move,
1170#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section .activity .commands {
5d803e53
LB
1171 display: none;
1172}
1173
f37cffb6 1174#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section .page_split_join_wrapper {
5d803e53
LB
1175 display: none;
1176}
1177
f37cffb6
CC
1178#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section .activity .actions .editing_delete,
1179#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section .activity .actions .editing_maxmark {
5d803e53
LB
1180 display: none;
1181}
1182
f37cffb6
CC
1183#page-mod-quiz-edit.select-multiple#page-mod-quiz-edit .maxgrade,
1184#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .last-add-menu {
5d803e53
LB
1185 display: none;
1186}
1187
f37cffb6
CC
1188#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section-heading,
1189#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section-heading form,
1190#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section-heading .instancesectioncontainer,
1191#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section-heading .instanceshufflequestions,
1192#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section-heading .instancesectioncontainer h3 {
5d803e53
LB
1193 display: none;
1194}
1195
f37cffb6 1196#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .edit-toolbar .m-b-1 {
5d803e53
LB
1197 display: none;
1198}
1199
f37cffb6 1200#page-mod-quiz-edit.select-multiple#page-mod-quiz-edit ul.slots li.section li.activity .mod-indent-outer {
5d803e53
LB
1201 padding-left: 3px;
1202}
1203
f3432e03
DW
1204#page-mod-quiz-edit .section .summary .iconsmall,
1205#page-mod-quiz-edit .section .activity .iconsmall {
5d803e53
LB
1206 float: left;
1207}
1208
77dca4d0
CC
1209/* Base theme needs extra support. */
1210#page-mod-quiz-edit ul.slots li.section ul.section {
1211 list-style: none;
1212}
52b0a551
HB
1213
1214/** Print formatting for attempt and review pages **/
1215
1216@media print {
52b0a551
HB
1217 #page-mod-quiz-attempt header.navbar,
1218 #page-mod-quiz-review header.navbar {
1219 display: none;
1220 }
1221
1222 #page-mod-quiz-attempt #dock,
1223 #page-mod-quiz-review #dock {
1224 display: none;
1225 }
1226
1227 #page-mod-quiz-attempt #page #page-header h1,
1228 #page-mod-quiz-review #page #page-header h1 {
1229 display: none;
1230 }
1231
1232 #page-mod-quiz-attempt #region-main,
1233 #page-mod-quiz-review #region-main {
1234 width: 100%;
1235 }
1236
1237 #page-mod-quiz-attempt #block-region-side-pre,
1238 #page-mod-quiz-attempt #block-region-side-post,
1239 #page-mod-quiz-review #block-region-side-pre,
1240 #page-mod-quiz-review #block-region-side-post {
1241 display: none;
1242 }
1243
1244 #page-mod-quiz-attempt #page-footer,
1245 #page-mod-quiz-review #page-footer {
1246 display: none;
1247 }
1248
1249 #page-mod-quiz-attempt .editquestion,
1250 #page-mod-quiz-review .editquestion,
1251 #page-mod-quiz-attempt .questionflag,
1252 #page-mod-quiz-review .questionflag {
1253 display: none;
1254 }
1255
1256 #page-mod-quiz-attempt .submitbtns,
1257 #page-mod-quiz-review .submitbtns {
1258 display: none;
1259 }
1260
1261 #page-mod-quiz-review .que .commentlink {
1262 display: none;
1263 }
1264
1265 #page-mod-quiz-attempt .que,
1266 #page-mod-quiz-review .que {
1267 page-break-inside: avoid;
1268 }
1269}