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