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