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