MDL-57431 mod_quiz: Quiz editing help icon 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
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#mod_quiz_preflight_form .femptylabel .felement {
382 margin: 0;
383 padding: 0;
384}
385
386.moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup {
387 width: 600px;
388}
bc33e9bd 389
1f0f4131
TH
390.moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-wrap {
391 overflow: hidden;
392}
bc33e9bd 393
1f0f4131
TH
394.moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-bd {
395 padding: 0;
396}
bc33e9bd 397
1f0f4131
TH
398.moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-bd #mod_quiz_preflight_form legend {
399 padding: 0 10px;
400 margin: 0;
401 border: 0 none;
402}
bc33e9bd 403
1f0f4131
TH
404.moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-bd #mod_quiz_preflight_form .fitem {
405 margin-left: 10px;
406}
bc33e9bd 407
1f0f4131
TH
408.moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-bd #mod_quiz_preflight_form #fgroup_id_buttonar {
409 padding: 10px 0 0;
410 margin: 0;
411}
bc33e9bd 412
1f0f4131
TH
413.moodle-dialogue-base .moodle-dialogue.mod_quiz_preflight_popup .moodle-dialogue-content .moodle-dialogue-ft {
414 margin: 0;
415}
416/* Standard Moodle rule that needs to be more specific here. */
417.moodle-dialogue-bd #mod_quiz_preflight_form fieldset.hidden {
418 display: inherit;
419 visibility: inherit;
420}
90723839 421
afbe4592
TH
422body.path-mod-quiz .gradedattempt,
423body.path-mod-quiz table tbody tr.gradedattempt > td {
424 border-color: #bce8f1;
425 background-color: #d9edf7;
c04ed8d5 426}
a1eb3a44 427
c04ed8d5
TH
428.quizattemptcounts {
429 clear: left;
430 text-align: center;
bc33e9bd
DP
431 display: inline;
432 margin-left: 20%;
c544ee92 433}
bc33e9bd 434
ed7844b5 435#page-mod-quiz-view .quizattemptcounts {
c544ee92 436 display: block;
437 margin-left: 0;
438 margin-right: 0;
c04ed8d5 439}
e1a2d0d9 440
9b40c540 441/** Mod quiz summary **/
c04ed8d5
TH
442#page-mod-quiz-summary #content {
443 text-align: center;
444}
bc33e9bd 445
c04ed8d5
TH
446#page-mod-quiz-summary .questionflag {
447 vertical-align: text-bottom;
448}
bc33e9bd 449
c04ed8d5
TH
450#page-mod-quiz-summary #quiz-timer {
451 text-align: center;
452 margin-top: 1em;
453}
bc33e9bd 454
c04ed8d5
TH
455#page-mod-quiz-summary .submitbtns {
456 margin-top: 1.5em;
457}
bc33e9bd 458
ff065f96 459@media print {
c04ed8d5 460 .quiz-secure-window * {
f549e4b7 461 display: none;
c04ed8d5 462 }
ff065f96
TH
463}
464
90723839 465/** Mod quiz review **/
c04ed8d5
TH
466table.quizreviewsummary {
467 width: 100%;
468}
bc33e9bd 469
c04ed8d5
TH
470table.quizreviewsummary th.cell {
471 padding: 1px 0.5em 1px 1em;
472 font-weight: bold;
473 text-align: right;
474 width: 10em;
475 background: #f0f0f0;
476}
bc33e9bd 477
c04ed8d5
TH
478table.quizreviewsummary td.cell {
479 padding: 1px 1em 1px 0.5em;
480 text-align: left;
481 background: #fafafa;
482}
a1eb3a44
TH
483
484/** Mod quiz make comment or override grade popup. **/
c04ed8d5
TH
485#page-mod-quiz-comment .mform {
486 width: 100%;
487}
bc33e9bd 488
c04ed8d5
TH
489#page-mod-quiz-comment .mform fieldset {
490 margin: 0;
491}
bc33e9bd 492
c04ed8d5
TH
493#page-mod-quiz-comment .que {
494 margin: 0;
495}
90723839
SH
496
497/** Mod quiz report **/
c04ed8d5
TH
498#page-mod-quiz-report h2.main {
499 clear: both;
500}
bc33e9bd 501
90723839 502#page-mod-quiz-report div#commands,
c04ed8d5
TH
503#page-mod-quiz-report .controls {
504 text-align: center;
505}
bc33e9bd 506
c04ed8d5
TH
507#page-mod-quiz-report .dubious {
508 background-color: #fcc;
509}
bc33e9bd 510
c04ed8d5 511#page-mod-quiz-report .highlight {
afbe4592
TH
512 border: 1px solid #bce8f1;
513 background-color: #d9edf7;
c04ed8d5 514}
bc33e9bd 515
c04ed8d5 516#page-mod-quiz-report .negcovar {
bc33e9bd 517 border: medium solid pink;
c04ed8d5 518}
bc33e9bd 519
c04ed8d5
TH
520#page-mod-quiz-report .toggleincludeauto {
521 text-align: center;
522}
bc33e9bd 523
c04ed8d5
TH
524#page-mod-quiz-report .gradetheselink {
525 font-size: 0.8em;
526}
bc33e9bd 527
6f885844
TH
528#page-mod-quiz-report .mform fieldset.fgroup span label {
529 margin-right: 14px;
c04ed8d5 530}
bc33e9bd 531
8dbcbe21
TH
532#page-mod-quiz-report table th {
533 white-space: normal;
534}
bc33e9bd 535
8dbcbe21
TH
536#page-mod-quiz-report table#attempts td,
537#page-mod-quiz-report table.quizresponseanalysis td {
538 word-wrap: break-word;
539 max-width: 20em;
540}
bc33e9bd 541
c04ed8d5
TH
542#page-mod-quiz-report table.titlesleft td.c0 {
543 font-weight: bold;
544}
bc33e9bd 545
c04ed8d5
TH
546#page-mod-quiz-report table .numcol {
547 text-align: center;
bc33e9bd 548 vertical-align: middle;
c04ed8d5
TH
549}
550
551#page-mod-quiz-report table#attempts {
552 clear: both;
553 width: 80%;
554 margin: 0.2em auto;
555}
bc33e9bd 556
90723839 557#page-mod-quiz-report table#attempts .header,
c04ed8d5
TH
558#page-mod-quiz-report table#attempts .cell {
559 padding: 4px;
560}
bc33e9bd 561
c04ed8d5
TH
562#page-mod-quiz-report table#attempts .header .commands {
563 display: inline;
564}
bc33e9bd 565
c04ed8d5
TH
566#page-mod-quiz-report table#attempts .picture {
567 width: 40px;
568}
bc33e9bd 569
c04ed8d5
TH
570#page-mod-quiz-report table#attempts td {
571 border-left-width: 1px;
572 border-right-width: 1px;
573 border-left-style: solid;
574 border-right-style: solid;
575 vertical-align: middle;
576}
bc33e9bd 577
c04ed8d5
TH
578#page-mod-quiz-report table#attempts .header {
579 text-align: left;
580}
bc33e9bd 581
c04ed8d5 582#page-mod-quiz-report table#attempts .picture {
f549e4b7 583 text-align: center;
c04ed8d5 584}
bc33e9bd 585
a1eb3a44 586#page-mod-quiz-report table#attempts.grades span.que,
c04ed8d5
TH
587#page-mod-quiz-report table#attempts span.avgcell {
588 white-space: nowrap;
589}
bc33e9bd 590
c04ed8d5
TH
591#page-mod-quiz-report table#attempts span.que .requiresgrading {
592 white-space: normal;
593}
bc33e9bd 594
c04ed8d5
TH
595#page-mod-quiz-report table#attempts .questionflag {
596 vertical-align: text-bottom;
597 padding-left: 6px;
598}
a1eb3a44 599
c04ed8d5
TH
600#page-mod-quiz-report .graph.flexible-wrap {
601 text-align: center;
602 overflow: auto;
603}
a1eb3a44 604
c04ed8d5
TH
605#page-mod-quiz-report #cachingnotice {
606 margin-bottom: 1em;
607 padding: 0.2em;
608}
bc33e9bd 609
c04ed8d5
TH
610#page-mod-quiz-report #cachingnotice .singlebutton {
611 margin: 0.5em 0 0;
612}
bc33e9bd 613
c04ed8d5
TH
614#page-mod-quiz-report .bold .reviewlink {
615 font-weight: normal;
616}
90723839 617
99caa248
JP
618#page-mod-quiz-report tr.lastrowforattempt {
619 border-bottom: lightgrey solid 0.2em;
620}
621
90723839 622/** Mod quiz edit **/
e1a2d0d9
CC
623#page-mod-quiz-edit .statusbar {
624 margin: 0.6em 0.4em;
c04ed8d5 625}
bc33e9bd 626
c04ed8d5
TH
627#page-mod-quiz-edit .statusdisplay {
628 background-color: #ffc;
629 clear: both;
441d284a
TH
630 margin: 0.3em 0;
631 padding: 1px 10px;
ad6a1455 632}
bc33e9bd 633
c04ed8d5 634#page-mod-quiz-edit .statusdisplay p {
441d284a 635 margin: 4px 0;
c04ed8d5 636}
bc33e9bd 637
f37cffb6
CC
638#page-mod-quiz-edit .mod_quiz-edit-top-controls {
639 position: relative;
640}
641#page-mod-quiz-edit .mod_quiz-edit-action-buttons {
642 display: block;
643 min-height: 2.85em;
644}
645
e1a2d0d9
CC
646#page-mod-quiz-edit .maxgrade,
647#page-mod-quiz-edit .totalpoints {
f37cffb6
CC
648 position: absolute;
649 right: 0;
acf543c4 650 margin: -2.85em 0 0;
e1a2d0d9 651 padding: .2em;
c04ed8d5 652}
bc33e9bd 653
441d284a
TH
654#page-mod-quiz-edit .maxgrade label {
655 display: inline;
656}
f37cffb6
CC
657#page-mod-quiz-edit .maxgrade input[type="submit"] {
658 margin: 0;
659}
e1a2d0d9
CC
660
661#page-mod-quiz-edit li.activity > div,
662#page-mod-quiz-edit li.pagenumber {
c04ed8d5
TH
663 position: relative;
664}
c04ed8d5 665
adbe0fcb
FM
666#page-mod-quiz-edit ul.section li.pagenumber:first-child .add-menu-outer .menu > :first-child,
667#page-mod-quiz-edit .last-add-menu .add-menu-outer .menu > :first-child {
5d949702
K
668 display: none;
669}
670
e1a2d0d9
CC
671#page-mod-quiz-edit .last-add-menu {
672 position: relative;
673 height: 1.5em;
441d284a 674 margin: 0 20px;
c04ed8d5 675}
bc33e9bd 676
e1a2d0d9
CC
677#page-mod-quiz-edit .add-menu-outer {
678 position: absolute;
e1a2d0d9 679 right: 0;
c04ed8d5 680}
262105fa 681
e1a2d0d9 682#page-mod-quiz-edit .slotnumber {
bc33e9bd 683 background-color: #d3d3d3;
e1a2d0d9 684 text-align: center;
ad6a1455 685 margin: 0.1em 0.5em;
e1a2d0d9 686 min-width: 2em;
c04ed8d5 687 display: inline-block;
c04ed8d5
TH
688}
689
5d949702
K
690#page-mod-quiz-edit .section-heading {
691 font-size: 24px;
692 margin-left: 20px;
693 margin-bottom: 0;
694 height: 40px;
695}
bc33e9bd 696
5d949702
K
697#page-mod-quiz-edit .section-heading .instancesectioncontainer {
698 display: inline;
699}
bc33e9bd 700
5d949702
K
701#page-mod-quiz-edit .section-heading .instancesectioncontainer h3 {
702 display: inline;
703 color: #999;
704}
bc33e9bd 705
5d949702
K
706#page-mod-quiz-edit .section-heading .editing_section,
707#page-mod-quiz-edit .section-heading .editing_delete {
708 margin-left: 10px;
709}
bc33e9bd 710
5d949702
K
711#page-mod-quiz-edit .section-heading .sectioninstance {
712 position: relative;
713}
bc33e9bd 714
7308acff
TH
715#page-mod-quiz-edit .section-heading .instancesection {
716 white-space: nowrap;
717 max-width: 72%;
718 display: inline-block;
719 text-overflow: ellipsis;
720 overflow: hidden;
721 vertical-align: bottom;
722}
bc33e9bd 723
5d949702
K
724#page-mod-quiz-edit .section-heading form {
725 display: inline;
726 position: relative;
727 top: 3px;
728 left: -7px;
729}
bc33e9bd 730
5d949702
K
731#page-mod-quiz-edit .section-heading form input {
732 font-size: 24px;
733 font-weight: bold;
734 width: 50%;
735}
736
737#page-mod-quiz-edit .section-heading .instanceshufflequestions {
738 float: right;
739 margin: 0.3em 20px 0 0;
740}
741
aa6b85d2
MM
742.instanceshufflequestions [type="checkbox"] {
743 vertical-align: middle;
744 margin-right: .5rem;
745}
746
441d284a
TH
747#page-mod-quiz-edit ul.section {
748 margin: 0;
749 padding: 0 20px;
750}
bc33e9bd 751
5d949702
K
752#page-mod-quiz-edit ul.slots {
753 margin: 0;
754}
bc33e9bd 755
e1a2d0d9
CC
756#page-mod-quiz-edit ul.slots li.section {
757 border: 0;
c04ed8d5 758}
bc33e9bd 759
e1a2d0d9 760#page-mod-quiz-edit ul.slots li.section .content {
bc33e9bd 761 background-color: #fafafa;
5d949702 762 padding: 1px 0;
c04ed8d5 763}
bc33e9bd 764
e1a2d0d9
CC
765#page-mod-quiz-edit ul.slots li.section {
766 list-style: none;
441d284a 767 margin: 0;
ad6a1455 768 padding: 0;
c04ed8d5 769}
bc33e9bd 770
e1a2d0d9 771#page-mod-quiz-edit ul.slots li.section li.activity {
bc33e9bd 772 background: #e6e6e6;
441d284a 773 margin: 3px 0;
ad6a1455 774 padding: 0.2em;
c04ed8d5 775}
bc33e9bd 776
e1a2d0d9
CC
777#page-mod-quiz-edit ul.slots li.section li.activity.page {
778 background: transparent;
c04ed8d5 779}
bc33e9bd 780
5d949702
K
781#page-mod-quiz-edit ul.slots li.section li.activity.page h4 {
782 display: inline;
783 font-weight: normal;
784 font-size: 1em;
785}
e1a2d0d9
CC
786
787#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer {
788 background: white;
ad6a1455
TH
789 padding: 0.2em;
790 margin: 0.4em;
c04ed8d5 791}
bc33e9bd 792
97ef7ea2
TH
793#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer .editicon {
794 width: 13px;
795}
bc33e9bd 796
97ef7ea2
TH
797#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer.infoitem {
798 background: transparent;
799}
bc33e9bd 800
e1a2d0d9 801#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer form {
c04ed8d5 802 display: inline;
c04ed8d5 803}
bc33e9bd 804
e1a2d0d9
CC
805#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer form input {
806 margin: 0;
c04ed8d5 807 padding: 0.2em;
e1a2d0d9 808 height: 1em;
c04ed8d5
TH
809}
810
e1a2d0d9
CC
811#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark {
812 display: inline-block;
813 text-align: right;
c04ed8d5 814}
bc33e9bd 815
e1a2d0d9
CC
816#page-mod-quiz-edit ul.slots li.section li.activity .page_split_join_wrapper {
817 position: absolute;
c04ed8d5 818}
bc33e9bd 819
e1a2d0d9 820#page-mod-quiz-edit ul.slots li.section li.activity .page_split_join {
c04ed8d5 821 position: relative;
e1a2d0d9
CC
822 left: -20px;
823 top: -7px;
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 {
c04ed8d5 892 display: block;
e1a2d0d9
CC
893 min-height: 1.7em;
894 position: absolute;
895 top: 0;
896 left: 5em;
897 width: 100%;
c04ed8d5 898}
ad6a1455 899
f37cffb6
CC
900#page-mod-quiz-edit ul.slots li.section li.activity .mod-indent-outer {
901 padding-left: 22px;
902}
903
e1a2d0d9 904#page-mod-quiz-edit ul.slots .activityinstance form {
c04ed8d5
TH
905 display: inline;
906}
bc33e9bd 907
e1a2d0d9
CC
908#page-mod-quiz-edit span.editinstructions {
909 right: 0;
c04ed8d5 910}
a1eb3a44 911
e1a2d0d9
CC
912#page-mod-quiz-edit ul.slots .activityinstance span.instancename {
913 overflow-x: hidden;
914 white-space: nowrap;
915 text-overflow: ellipsis;
916 overflow: hidden;
e1a2d0d9
CC
917 width: 70%;
918 display: inline-block;
919 height: 20px;
c04ed8d5 920}
a1eb3a44 921
e1a2d0d9 922#page-mod-quiz-edit ul.slots .activityinstance span.instancename img {
ad6a1455 923 margin: 0 0.2em;
c04ed8d5 924}
bc33e9bd 925
8aa5e0cf 926#page-mod-quiz-edit #categoryquestions .questionname,
e1a2d0d9 927#page-mod-quiz-edit ul.slots li.activity div.activityinstance .questionname {
bc33e9bd 928 font-weight: bold;
e1a2d0d9 929 color: #555;
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;
c04ed8d5 944}
a1eb3a44 945
e1a2d0d9
CC
946#page-mod-quiz-edit ul.slots .activityinstance img.activityicon {
947 float: left;
ad6a1455
TH
948 margin: .2em 0 0;
949 padding: 0;
950}
a1eb3a44 951
e1a2d0d9
CC
952#page-mod-quiz-edit .section .activity .actions {
953 white-space: nowrap;
954 background: #e6e6e6;
ad6a1455 955 padding: 0.1em 0;
c04ed8d5 956}
a1eb3a44 957
e1a2d0d9 958#page-mod-quiz-edit .mod_quiz_edit_forms {
c04ed8d5
TH
959 display: none;
960}
e1a2d0d9
CC
961
962#categoryquestions > tbody > tr:nth-of-type(even) {
963 background: #e4e4e4;
c04ed8d5 964}
bc33e9bd 965
e1a2d0d9 966#categoryquestions > tbody > tr:nth-of-type(even).highlight {
aea8eaec 967 background-color: #afa;
c04ed8d5 968}
bc33e9bd 969
e1a2d0d9
CC
970#categoryquestions .header {
971 text-align: center;
972 padding: 0 2px;
973 border: 0 none;
c04ed8d5 974}
bc33e9bd 975
e1a2d0d9
CC
976#categoryquestions th.modifiername .sorters,
977#categoryquestions th.creatorname .sorters {
978 font-weight: normal;
979 font-size: 0.8em;
810920b1 980}
bc33e9bd 981
810920b1
MN
982#categoryquestions td.modifiername,
983#categoryquestions td.creatorname {
984 line-height: 1em;
985}
bc33e9bd 986
810920b1
MN
987#categoryquestions td.modifiername span.date,
988#categoryquestions td.creatorname span.date {
989 font-weight: normal;
990 font-size: 0.8em;
c04ed8d5 991}
bc33e9bd 992
e1a2d0d9
CC
993table#categoryquestions {
994 width: 100%;
995 overflow: hidden;
996 table-layout: fixed;
c04ed8d5 997}
bc33e9bd 998
e1a2d0d9
CC
999#categoryquestions .iconcol {
1000 width: 15px;
1001 text-align: center;
1002 padding: 0;
c04ed8d5 1003}
bc33e9bd 1004
e1a2d0d9
CC
1005#categoryquestions .checkbox {
1006 width: 19px;
c04ed8d5 1007 text-align: center;
e1a2d0d9 1008 padding: 0;
c04ed8d5 1009}
bc33e9bd 1010
e1a2d0d9
CC
1011#categoryquestions .qtype {
1012 text-align: center;
c04ed8d5 1013}
bc33e9bd 1014
e1a2d0d9
CC
1015#categoryquestions .qtype {
1016 width: 28px;
1017 padding: 0;
c04ed8d5 1018}
bc33e9bd 1019
e1a2d0d9
CC
1020#categoryquestions .questiontext {
1021 position: relative;
1022 zoom: 1;
1023 padding-left: 0.3em;
1024 overflow: hidden;
1025 white-space: nowrap;
1026 text-overflow: ellipsis;
c04ed8d5 1027}
bc33e9bd 1028
e1a2d0d9
CC
1029#categoryquestions .questionname {
1030 white-space: nowrap;
1031 overflow: hidden;
1032 zoom: 1;
1033 position: relative;
c04ed8d5 1034}
bc33e9bd 1035
e1a2d0d9
CC
1036#categoryquestions .questiontext p {
1037 margin: 0;
c04ed8d5 1038}
e1a2d0d9
CC
1039
1040#page-mod-quiz-edit table#categoryquestions td,
1041#page-mod-quiz-edit table#categoryquestions th {
1042 overflow: hidden;
1043 white-space: nowrap;
c04ed8d5 1044}
bc33e9bd 1045
e1a2d0d9
CC
1046.mod_quiz_qbank_dialogue {
1047 width: 80%;
1048 min-height: 200px;
c04ed8d5 1049}
bc33e9bd 1050
e1a2d0d9
CC
1051.mod_quiz_qbank_dialogue.moodle-dialogue-fullscreen {
1052 width: 100%;
c04ed8d5 1053}
bc33e9bd 1054
e1a2d0d9 1055.mod_quiz_qbank_dialogue .questionbankloading {
c04ed8d5 1056 position: absolute;
e1a2d0d9
CC
1057 top: 30px;
1058 bottom: 0;
1059 left: 0;
1060 right: 0;
1061 background: #fff;
1062 text-align: center;
1063 opacity: 0.5;
1064 padding-top: 50px;
c04ed8d5 1065}
bc33e9bd 1066
3a1bc53b
TH
1067.mod_quiz_qbank_dialogue #advancedsearch label {
1068 font-size: 100%;
1069}
e1a2d0d9
CC
1070
1071.modulespecificbuttonscontainer {
1072 padding-left: 0.3em;
1073 padding-right: 0.3em;
c04ed8d5 1074}
e1a2d0d9 1075
57f4e960
LB
1076.questionbankformforpopup .modulespecificbuttonscontainer {
1077 padding-top: 10px;
1078 padding-left: 0;
1079}
1080
e1a2d0d9
CC
1081.quizquestionlistcontrols {
1082 text-align: center;
c04ed8d5 1083}
90723839 1084
e1a2d0d9
CC
1085.categoryinfo {
1086 padding: 0.3em;
c04ed8d5 1087}
e1a2d0d9
CC
1088
1089.path-mod-quiz .gradingdetails {
1090 font-size: small;
c04ed8d5 1091}
3784454b 1092
c04ed8d5
TH
1093#page-mod-quiz-edit div#repaginatedialog .mform {
1094 margin-left: auto;
1095 margin-right: auto;
1096}
bc33e9bd 1097
c04ed8d5
TH
1098#page-mod-quiz-edit div.container div.generalbox {
1099 position: relative;
1100 display: block;
1101 border: 0 none;
1102 margin: 0;
1103 padding: 0;
1104}
90723839 1105
c04ed8d5
TH
1106#page-mod-quiz-edit .paging {
1107 margin-top: 0;
1108 margin-bottom: 0;
ad6a1455 1109 padding: 0.1em 0.3em;
c04ed8d5
TH
1110 display: block;
1111 background-color: #ddd;
1112}
90723839 1113
c04ed8d5
TH
1114#page-mod-quiz-edit #page-footer {
1115 clear: both;
1116 padding-top: 1em;
1117}
90723839 1118
c04ed8d5
TH
1119#page-mod-quiz-edit .categoryinfofield {
1120 font-style: italic;
1121}
bc33e9bd 1122
c04ed8d5
TH
1123#page-mod-quiz-edit .categorynamefield {
1124 font-weight: bold;
1125}
bc33e9bd 1126
c04ed8d5
TH
1127#page-mod-quiz-edit .questionsortoptions {
1128 background-color: #ddd;
1129}
1130
c04ed8d5
TH
1131#page-mod-quiz-edit div.questionbank .categorysortopotionscontainer {
1132 padding-top: 0.5em;
1133 margin-top: 0.3em;
1134}
bc33e9bd 1135
90723839
SH
1136#page-mod-quiz-edit div.questionbank .categoryquestionscontainer,
1137.questionbank .categorysortopotionscontainer,
1138.questionbank .categorypagingbarcontainer,
c04ed8d5 1139.questionbank .categoryselectallcontainer {
bc33e9bd 1140 background-color: #fff;
c04ed8d5 1141}
77dca4d0 1142
5d803e53
LB
1143/* Bulk edit actions */
1144
f3432e03 1145#page-mod-quiz-edit .selectmultiplecommandbuttons {
5d803e53
LB
1146 margin: 0.6em 0.4em;
1147}
1148
f3432e03
DW
1149#page-mod-quiz-edit .btn-group.selectmultiplecommand,
1150#page-mod-quiz-edit .btn-group.selectmultiplecommandbuttons,
1151#page-mod-quiz-edit .select-multiple-checkbox {
5d803e53
LB
1152 display: none;
1153}
1154
f37cffb6
CC
1155#page-mod-quiz-edit.select-multiple .selectmultiplecommand,
1156#page-mod-quiz-edit.select-multiple .selectmultiplecommandbuttons,
1157#page-mod-quiz-edit.select-multiple .select-multiple-checkbox {
5d803e53
LB
1158 display: inherit;
1159}
1160
f37cffb6
CC
1161#page-mod-quiz-edit.select-multiple .selectmultiplecommandbuttons .separator {
1162 position: relative;
1163 float: left;
1164 padding: .5rem 0;
1165}
1166
1167#page-mod-quiz-edit #questionselectall {
1168 padding-right: .1rem;
1169}
1170
1171#page-mod-quiz-edit #questiondeselectall {
1172 padding-left: .1rem;
1173}
1174
1175#page-mod-quiz-edit.select-multiple input.select-multiple-checkbox[type="checkbox"] {
5d803e53
LB
1176 display: inline;
1177}
1178
f37cffb6
CC
1179#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section .activity .editing_move,
1180#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section .activity .commands {
5d803e53
LB
1181 display: none;
1182}
1183
f37cffb6 1184#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section .page_split_join_wrapper {
5d803e53
LB
1185 display: none;
1186}
1187
f37cffb6
CC
1188#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section .activity .actions .editing_delete,
1189#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section .activity .actions .editing_maxmark {
5d803e53
LB
1190 display: none;
1191}
1192
f37cffb6
CC
1193#page-mod-quiz-edit.select-multiple#page-mod-quiz-edit .maxgrade,
1194#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .last-add-menu {
5d803e53
LB
1195 display: none;
1196}
1197
f37cffb6
CC
1198#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section-heading,
1199#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section-heading form,
1200#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section-heading .instancesectioncontainer,
1201#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section-heading .instanceshufflequestions,
1202#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .section-heading .instancesectioncontainer h3 {
5d803e53
LB
1203 display: none;
1204}
1205
f37cffb6 1206#page-mod-quiz-edit.select-multiple .mod-quiz-edit-content .edit-toolbar .m-b-1 {
5d803e53
LB
1207 display: none;
1208}
1209
f37cffb6 1210#page-mod-quiz-edit.select-multiple#page-mod-quiz-edit ul.slots li.section li.activity .mod-indent-outer {
5d803e53
LB
1211 padding-left: 3px;
1212}
1213
f3432e03
DW
1214#page-mod-quiz-edit .section .summary .iconsmall,
1215#page-mod-quiz-edit .section .activity .iconsmall {
5d803e53
LB
1216 float: left;
1217}
1218
77dca4d0
CC
1219/* Base theme needs extra support. */
1220#page-mod-quiz-edit ul.slots li.section ul.section {
1221 list-style: none;
1222}
52b0a551
HB
1223
1224/** Print formatting for attempt and review pages **/
1225
1226@media print {
52b0a551
HB
1227 #page-mod-quiz-attempt header.navbar,
1228 #page-mod-quiz-review header.navbar {
1229 display: none;
1230 }
1231
1232 #page-mod-quiz-attempt #dock,
1233 #page-mod-quiz-review #dock {
1234 display: none;
1235 }
1236
1237 #page-mod-quiz-attempt #page #page-header h1,
1238 #page-mod-quiz-review #page #page-header h1 {
1239 display: none;
1240 }
1241
1242 #page-mod-quiz-attempt #region-main,
1243 #page-mod-quiz-review #region-main {
1244 width: 100%;
1245 }
1246
1247 #page-mod-quiz-attempt #block-region-side-pre,
1248 #page-mod-quiz-attempt #block-region-side-post,
1249 #page-mod-quiz-review #block-region-side-pre,
1250 #page-mod-quiz-review #block-region-side-post {
1251 display: none;
1252 }
1253
1254 #page-mod-quiz-attempt #page-footer,
1255 #page-mod-quiz-review #page-footer {
1256 display: none;
1257 }
1258
1259 #page-mod-quiz-attempt .editquestion,
1260 #page-mod-quiz-review .editquestion,
1261 #page-mod-quiz-attempt .questionflag,
1262 #page-mod-quiz-review .questionflag {
1263 display: none;
1264 }
1265
1266 #page-mod-quiz-attempt .submitbtns,
1267 #page-mod-quiz-review .submitbtns {
1268 display: none;
1269 }
1270
1271 #page-mod-quiz-review .que .commentlink {
1272 display: none;
1273 }
1274
1275 #page-mod-quiz-attempt .que,
1276 #page-mod-quiz-review .que {
1277 page-break-inside: avoid;
1278 }
1279}