weekly release 2.8dev
[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}
a1eb3a44 233
90723839 234#page-mod-quiz-edit div.question div.content .questiontext,
c04ed8d5 235#categoryquestions .questiontext {
c04ed8d5
TH
236 text-overflow: ellipsis;
237 position: relative;
238 zoom: 1;
239 padding-left: 0.3em;
240 max-width: 40%;
241 overflow: hidden;
242 white-space: nowrap;
243 text-overflow: ellipsis;
244}
90723839
SH
245
246#page-mod-quiz-edit div.question div.content .questionname,
c04ed8d5
TH
247#categoryquestions .questionname {
248 white-space: nowrap;
249 overflow: hidden;
250 zoom: 1;
251 position: relative;
252 max-width: 20%;
253}
90723839
SH
254
255#page-mod-quiz-edit div.editq div.question div.content .singlequestion a .questionname,
c04ed8d5
TH
256div.editq div.question div.content .singlequestion a .questiontext {
257 text-decoration: underline;
258}
90723839 259
c04ed8d5
TH
260#page-mod-quiz-edit.ie6 div.question div.content .questiontext {
261 width: 50%;
262}
263#page-mod-quiz-edit.ie6 div.question div.content .questionname {
264 width: 20%;
265}
90723839 266
a7a031a4 267#page-mod-quiz-mod #id_reviewoptionshdr .fitem {
c04ed8d5
TH
268 float: left;
269 width: 23%;
270 clear: none;
271}
ce74dcc3 272
a7a031a4 273#page-mod-quiz-mod #id_reviewoptionshdr .fitemtitle {
c04ed8d5
TH
274 width: 100%;
275 font-weight: bold;
276 text-align: left;
277 height: 2.5em;
278 margin-left: 0;
279}
ce74dcc3 280
a7a031a4 281#page-mod-quiz-mod #id_reviewoptionshdr fieldset.fgroup {
c04ed8d5
TH
282 clear: left;
283 margin: 0 0 1em;
284}
a7a031a4 285#page-mod-quiz-mod #id_reviewoptionshdr fieldset.fgroup > span {
c04ed8d5
TH
286 float: left;
287 clear: left;
288 line-height: 1.7;
289}
a7a031a4 290#page-mod-quiz-mod #id_reviewoptionshdr fieldset.fgroup span label {
c04ed8d5
TH
291 margin-left: 0.4em;
292}
ce74dcc3 293
a7a031a4 294#page-mod-quiz-mod.dir-rtl #id_reviewoptionshdr .fitem {
c04ed8d5
TH
295 float: right;
296}
a7a031a4 297#page-mod-quiz-mod.dir-rtl #id_reviewoptionshdr fieldset.fgroup span {
c04ed8d5
TH
298 float: right;
299 clear: right;
300}
a7a031a4 301#page-mod-quiz-mod.dir-rtl #id_reviewoptionshdr .fitemtitle {
c04ed8d5
TH
302 text-align: right;
303}
7a25d398 304
90723839
SH
305/** Mod quiz view **/
306#page-mod-quiz-view .quizinfo,
307#page-mod-quiz-view #page .quizgradefeedback,
c04ed8d5
TH
308#page-mod-quiz-view #page .quizattempt {
309 text-align: center;
310}
311#page-mod-quiz-view #page .quizattemptsummary td p {
312 margin-top: 0;
313}
afbe4592
TH
314#page-mod-quiz-view table.quizattemptsummary tr.bestrow td {
315 border-color: #bce8f1;
316 background-color: #d9edf7;
c04ed8d5
TH
317}
318table.quizattemptsummary .noreviewmessage {
319 color: gray;
320}
321#page-mod-quiz-view .generaltable.quizattemptsummary {
322 margin-left: auto;
323 margin-right: auto;
324}
325#page-mod-quiz-view .generalbox#feedback {
326 width: 70%;
327 margin-left: auto;
328 margin-right: auto;
329 padding-bottom: 15px;
330}
331#page-mod-quiz-view .generalbox#feedback h2 {
332 margin: 0;
333}
334#page-mod-quiz-view .generalbox#feedback h3 {
335 text-align: left;
336}
337#page-mod-quiz-view.dir-rtl .generalbox#feedback h3 {
338 text-align: center;
339}
340#page-mod-quiz-view .generalbox#feedback .overriddennotice {
341 text-align: center;
342 font-size: 0.7em;
343}
344.quizstartbuttondiv.quizsecuremoderequired input {
345 display: none;
346}
347.jsenabled .quizstartbuttondiv.quizsecuremoderequired input {
348 display: inline;
349}
90723839 350
afbe4592
TH
351body.path-mod-quiz .gradedattempt,
352body.path-mod-quiz table tbody tr.gradedattempt > td {
353 border-color: #bce8f1;
354 background-color: #d9edf7;
c04ed8d5 355}
a1eb3a44 356
c04ed8d5
TH
357.quizattemptcounts {
358 clear: left;
359 text-align: center;
c544ee92 360 display:inline;
361 margin-left:20%;
362}
363.dir-rtl .quizattemptcounts {
364 margin-left:0;
365 margin-right: 20%;
366}
367#page-mod-quiz-view .quizattemptcounts,
368.dir-rtl #page-mod-quiz-view .quizattemptcounts {
369 display: block;
370 margin-left: 0;
371 margin-right: 0;
c04ed8d5 372}
9b40c540 373/** Mod quiz summary **/
c04ed8d5
TH
374#page-mod-quiz-summary #content {
375 text-align: center;
376}
377#page-mod-quiz-summary .questionflag {
378 vertical-align: text-bottom;
379}
380#page-mod-quiz-summary #quiz-timer {
381 text-align: center;
382 margin-top: 1em;
383}
384#page-mod-quiz-summary .submitbtns {
385 margin-top: 1.5em;
386}
ff065f96 387@media print {
c04ed8d5
TH
388 .quiz-secure-window * {
389 display: none !important;
390 }
ff065f96
TH
391}
392
90723839 393/** Mod quiz review **/
c04ed8d5
TH
394table.quizreviewsummary {
395 width: 100%;
396}
397table.quizreviewsummary th.cell {
398 padding: 1px 0.5em 1px 1em;
399 font-weight: bold;
400 text-align: right;
401 width: 10em;
402 background: #f0f0f0;
403}
404table.quizreviewsummary td.cell {
405 padding: 1px 1em 1px 0.5em;
406 text-align: left;
407 background: #fafafa;
408}
409.dir-rtl table.quizreviewsummary td.cell {
410 text-align: right;
411}
a1eb3a44
TH
412
413/** Mod quiz make comment or override grade popup. **/
c04ed8d5
TH
414#page-mod-quiz-comment .mform {
415 width: 100%;
416}
417#page-mod-quiz-comment .mform fieldset {
418 margin: 0;
419}
420#page-mod-quiz-comment .que {
421 margin: 0;
422}
90723839
SH
423
424/** Mod quiz report **/
c04ed8d5
TH
425#page-mod-quiz-report h2.main {
426 clear: both;
427}
90723839 428#page-mod-quiz-report div#commands,
c04ed8d5
TH
429#page-mod-quiz-report .controls {
430 text-align: center;
431}
432#page-mod-quiz-report .dubious {
433 background-color: #fcc;
434}
435#page-mod-quiz-report .highlight {
afbe4592
TH
436 border: 1px solid #bce8f1;
437 background-color: #d9edf7;
c04ed8d5
TH
438}
439#page-mod-quiz-report .negcovar {
440 border : medium solid pink;
441}
442#page-mod-quiz-report .toggleincludeauto {
443 text-align: center;
444}
445#page-mod-quiz-report .gradetheselink {
446 font-size: 0.8em;
447}
6f885844
TH
448#page-mod-quiz-report .mform fieldset.fgroup span label {
449 margin-right: 14px;
c04ed8d5 450}
8dbcbe21
TH
451#page-mod-quiz-report table th {
452 white-space: normal;
453}
454#page-mod-quiz-report table#attempts td,
455#page-mod-quiz-report table.quizresponseanalysis td {
456 word-wrap: break-word;
457 max-width: 20em;
458}
c04ed8d5
TH
459#page-mod-quiz-report table.titlesleft td.c0 {
460 font-weight: bold;
461}
462#page-mod-quiz-report table .numcol {
463 text-align: center;
464 vertical-align : middle !important;
465}
466
467#page-mod-quiz-report table#attempts {
468 clear: both;
469 width: 80%;
470 margin: 0.2em auto;
471}
90723839 472#page-mod-quiz-report table#attempts .header,
c04ed8d5
TH
473#page-mod-quiz-report table#attempts .cell {
474 padding: 4px;
475}
476#page-mod-quiz-report table#attempts .header .commands {
477 display: inline;
478}
479#page-mod-quiz-report table#attempts .picture {
480 width: 40px;
481}
482#page-mod-quiz-report table#attempts td {
483 border-left-width: 1px;
484 border-right-width: 1px;
485 border-left-style: solid;
486 border-right-style: solid;
487 vertical-align: middle;
488}
489#page-mod-quiz-report table#attempts .header {
490 text-align: left;
491}
492#page-mod-quiz-report table#attempts .picture {
493 text-align: center !important;
494}
a1eb3a44 495#page-mod-quiz-report table#attempts.grades span.que,
c04ed8d5
TH
496#page-mod-quiz-report table#attempts span.avgcell {
497 white-space: nowrap;
498}
499#page-mod-quiz-report table#attempts span.que .requiresgrading {
500 white-space: normal;
501}
502#page-mod-quiz-report table#attempts .questionflag {
503 vertical-align: text-bottom;
504 padding-left: 6px;
505}
506.dir-rtl#page-mod-quiz-report table#attempts .questionflag {
507 padding-right: 6px;
508 padding-left: 0;
509}
a1eb3a44 510
c04ed8d5
TH
511#page-mod-quiz-report .graph.flexible-wrap {
512 text-align: center;
513 overflow: auto;
514}
a1eb3a44 515
c04ed8d5
TH
516#page-mod-quiz-report #cachingnotice {
517 margin-bottom: 1em;
518 padding: 0.2em;
519}
520#page-mod-quiz-report #cachingnotice .singlebutton {
521 margin: 0.5em 0 0;
522}
523#page-mod-quiz-report .bold .reviewlink {
524 font-weight: normal;
525}
90723839 526
99caa248
JP
527#page-mod-quiz-report tr.lastrowforattempt {
528 border-bottom: lightgrey solid 0.2em;
529}
530
90723839 531/** Mod quiz edit **/
c04ed8d5
TH
532#page-mod-quiz-edit h2.main {
533 display: inline;
534 padding-right: 1em;
535 clear: left;
536}
90723839 537
6b216432 538#categoryquestions > tbody > tr:nth-of-type(even) {
c04ed8d5
TH
539 background: #e4e4e4;
540}
6b216432 541#categoryquestions > tbody > tr:nth-of-type(even).highlight {
c04ed8d5
TH
542 background-color: #AAFFAA;
543}
544#categoryquestions .header {
545 text-align: center;
546 padding: 0 2px;
547 border: 0 none;
548}
a1eb3a44 549#categoryquestions th.modifiername .sorters,
c04ed8d5
TH
550#categoryquestions th.creatorname .sorters {
551 font-weight: normal;
552 font-size: 0.8em;
553}
554table#categoryquestions {
555 width: 100%;
556 overflow: hidden;
557 table-layout: fixed;
558}
559#categoryquestions .iconcol {
560 width: 15px;
561 text-align: center;
562 padding: 0;
563}
564#categoryquestions .checkbox {
565 width: 19px;
566 text-align: center;
567 padding: 0;
568}
569#categoryquestions .qtype {
570 text-align: center;
571}
572#categoryquestions .qtype {
573 width: 28px;
574 padding: 0;
575}
576#categoryquestions .questiontext p {
577 margin: 0;
578}
579
580#page-mod-quiz-edit div.quizcontents {
581 float: left;
582 width: 70%;
583 display: block;
584 clear: left;
585}
586#page-mod-quiz-edit div.quizwhenbankcollapsed {
587 width: 100%;
588}
589#page-mod-quiz-edit div.quizpage {
590 display: block;
591 clear: both;
592 width: 100%;
593}
594#page-mod-quiz-edit div.quizpage span.pagetitle {
595 margin-top: 0.3em;
596 float: left;
597 display: block;
598 color: #006;
599}
600#page-mod-quiz-edit div.quizpage .pagecontent {
601 margin-top: 0.3em;
602 display: block;
603 float: left;
604 position: relative;
605 margin-left: 0.3em;
90f9e30b 606 margin-right: 0.3em;
c04ed8d5
TH
607 margin-bottom: 0.2em;
608 border-left: thin solid #777;
609 line-height: 1.3em;
c04ed8d5 610 border-radius: 0.6em;
ca6fa121
TH
611 border-bottom-left-radius: 0;
612 border-top-left-radius: 0;
c04ed8d5
TH
613 width: 88%;
614 padding: 0.15em 0 0.3em;
615 background-color: #d6d6d6;
616}
617#page-mod-quiz-edit div.quizpage .pagecontent .pagestatus {
ca6fa121
TH
618 border-bottom-right-radius: 0.3em;
619 border-top-right-radius: 0.3em;
c04ed8d5
TH
620 margin: 0.3em;
621 padding: 0.1em 0.1em 0.1em 0.3em;
622 background-color: #eee;
623 font-weight: bold;
624}
625#page-mod-quiz-edit div.quizpage .pagecontent form#addquestion {
626 background-color: #fff;
627}
628#page-mod-quiz-edit div.quizpage .pagecontent form.randomquestionform div {
629 /* it is a mystery why this has to be inline-table but otherwise the layout gets screwed, even if it is "inline" */display: inline-table;
630}
631#page-mod-quiz-edit div.quizpage .pagecontent form.randomquestionform div input {
632 display: inline;
633}
634
635#page-mod-quiz-edit .addpage {
636 clear: both;
637 padding-top: 0.3em;
638 float: right;
639 margin-right: 2em;
640}
641#page-mod-quiz-edit .statusdisplay {
642 background-color: #ffc;
643 clear: both;
644 margin: 0.3em 1em 0.3em 0;
645 padding: 1px ;
646 /* Stop margin collapse. */
647}
648#page-mod-quiz-edit .statusdisplay p {
649 margin: 0.4em;
650}
651
652#page-mod-quiz-edit div.reorder .reordercontrols {
653 clear: both;
654 padding-right: 1em;
655 margin-top: 0.5em;
656 padding-top: 0.5em;
657 padding-bottom: 0.5em
658}
659#page-mod-quiz-edit div.reorder .reordercontrols .moveselectedonpage {
660 clear: right;
661 float: right;
662 padding: 0.5em 0.3em;
663 text-align: right;
664}
90723839 665#page-mod-quiz-edit div.reorder .reordercontrols .addnewpagesafterselected,
c04ed8d5
TH
666#page-mod-quiz-edit .repaginatecommand {
667 float: right;
668 clear: right;
669 padding-right: 1em;
670}
671#page-mod-quiz-edit div.reorder .reordercontrols .deleteselected {
672 float: right;
673 margin-right: 1em;
674}
675#page-mod-quiz-edit div.reorder div.question {
676 padding-top: 0.2em;
677}
678#page-mod-quiz-edit div.reorder div.question div.qnum {
679 width: 2.9em;
680 padding-top: 0.1em;
681}
682#page-mod-quiz-edit .reorder div.question div.content {
683 width: 87%;
684 float: left;
685 position: relative;
c04ed8d5 686 border-radius: 0.3em;
ca6fa121
TH
687 border-bottom-left-radius: 0;
688 border-top-left-radius: 0;
c04ed8d5
TH
689 line-height: 1.2em;
690 padding: 0.1em;
691 background-color: #F9F9F9;
692}
693#page-mod-quiz-edit .reorder .questioncontentcontainer .quiz_randomquestion {
694 position: relative;
695}
696#page-mod-quiz-edit .reorder div.question div.content div.quiz_randomquestion {
697 line-height: 1em;
698}
699
700#page-mod-quiz-edit .reorder .questioncontentcontainer {
c04ed8d5
TH
701 overflow: hidden;
702 white-space: nowrap;
703}
704#page-mod-quiz-edit .reorder .questioncontentcontainer .randomquestioncategory {
705 overflow: hidden;
706 white-space: nowrap;
707 display: inline;
708 float: none;
709}
710#page-mod-quiz-edit .reorder .questioncontentcontainer .randomquestioncategory label {
711 max-width: 25%;
712 overflow: hidden;
713 padding-left: 0.3em;
714 white-space: nowrap;
715 display: inline-block;
716}
717#page-mod-quiz-edit .reorder .questioncontentcontainer .randomquestionfromcategory label {
718 overflow: hidden;
719 white-space: nowrap;
720 display: inline-block;
721}
90723839 722#page-mod-quiz-edit .reorder .questioncontentcontainer .randomquestionfromcategory,
c04ed8d5
TH
723#page-mod-quiz-edit .reorder div.question div.content .questionpreview {
724 display: inline;
725 float: none;
726}
727
728#page-mod-quiz-edit .reorder fieldset {
729 display: inline;
730}
731#page-mod-quiz-edit div.reorder div.question div.qnum {
732 text-align: right;
733 font-size: 1em;
734}
735
736#page-mod-quiz-edit .questioncontentcontainer div.randomquestionqlist {
737 padding-left: 0.2em;
738 padding-right: 0.2em;
739 clear: both;
740 margin: 0.5em;
741 margin-top: 0.8em;
742}
743#page-mod-quiz-edit .questioncontentcontainer div.randomquestionqlist .totalquestionsinrandomqcategory {
744 overflow: auto;
745 white-space: normal;
746}
747#page-mod-quiz-edit .questioncontentcontainer div.randomquestionqlist ul {
748 list-style-type: none;
749 margin: 0;
750 padding: 0;
751}
752#page-mod-quiz-edit .questioncontentcontainer div.randomquestionqlist ul li {
753 clear: left;
754 width: 100%;
755 overflow: hidden;
756 white-space: nowrap;
757}
758#page-mod-quiz-edit .questioncontentcontainer div.randomquestionqlist ul li img {
759 padding-right: 0.3em;
760}
761#page-mod-quiz-edit .questioncontentcontainer div.randomquestionqlist ul li span {
762 display: inline;
763}
764#page-mod-quiz-edit .questioncontentcontainer a {
765 text-decoration: underline;
766}
767#page-mod-quiz-edit .questioncontentcontainer div.singlequestion a {
768 text-decoration: underline;
769}
770#page-mod-quiz-edit .questioncontentcontainer .randomquestioncategory {
771 font-weight: bold;
772}
773
774#page-mod-quiz-edit div.question {
775 clear: left;
776 width: 100%;
777}
778#page-mod-quiz-edit div.question div.qnum {
779 display: block;
780 float: left;
781 width: 1.4em;
782 padding-right: 0.3em;
783 padding-left: 0;
c04ed8d5
TH
784 text-align: right;
785 color: #333;
786}
787#page-mod-quiz-edit div.question div.questioncontainer {
788 background-color: #ffc;
789}
790#page-mod-quiz-edit div.editq div.question div.content {
791 width: 87%;
792 float: left;
793 position: relative;
c04ed8d5 794 border-radius: 0.6em;
ca6fa121
TH
795 border-bottom-left-radius: 0;
796 border-top-left-radius: 0;
c04ed8d5
TH
797 line-height: 1.4em;
798 padding: 0.5em;
799}
800#page-mod-quiz-edit div.question div.content div.points {
801 top: 0.5em;
802 border-left: 0.4em solid #FFF;
803 width: 8.5em;
804 padding: 0.2em;
805 line-height: 1em;
806 max-width: 30%;
807 position: absolute;
808 right: 60px;
c04ed8d5 809 border-radius: 0.2em;
ca6fa121
TH
810 border-bottom-left-radius: 0;
811 border-top-left-radius: 0;
c04ed8d5
TH
812 display: block;
813 margin: 0;
814 background-color: #ddf;
815}
816#page-mod-quiz-edit div.question div.content div.points input {
817 width: 2em;
818 padding: 0;
819}
820#page-mod-quiz-edit div.question div.content div.points input.pointssubmitbutton {
821 width: auto;
822}
823#page-mod-quiz-edit div.question div.content div.qorder {
824 line-height: 1em;
825 max-width: 30%;
826 position: absolute;
bed27b30 827 right: 60px;
c04ed8d5 828 border-radius: 0.2em;
ca6fa121
TH
829 border-bottom-left-radius: 0;
830 border-top-left-radius: 0;
c04ed8d5
TH
831 display: block;
832 margin: 0;
833 background-color: #ddf;
834}
835#page-mod-quiz-edit div.question div.content .editicon {
836 width: 15px;
837}
90723839 838#page-mod-quiz-edit div.question div.content .singlequestion .questionname,
c04ed8d5
TH
839#page-mod-quiz-edit div.question div.content .singlequestion .questiontext {
840 display: inline-block;
841}
842#page-mod-quiz-edit div.question div.content .singlequestion .questionpreview {
843 background-color: #eee;
844}
845#page-mod-quiz-edit div.question div.content .questiontype {
846 display: block;
847 clear: left;
848 float: left;
849}
850#page-mod-quiz-edit.dir-rtl div.question div.content .questiontype {
851 clear: right;
852 float: right;
853}
854#page-mod-quiz-edit div.question div.content .questionpreview {
855 display: block;
856 float: left;
857 margin-left: 0.3em;
858 padding-left: 0.2em;
859 padding-right: 0.2em;
860}
861#page-mod-quiz-edit div.question div.content .questionpreview a {
862 background-color: #eee;
863}
864#page-mod-quiz-edit div.question div.content div.quiz_randomquestion .questionpreview {
865 display: inline;
866 float: none;
867}
868#page-mod-quiz-edit div.question div.content div.questioncontrols {
869 float: right;
870 width: 55px;
871 position: absolute;
872 right: 0.3em;
873 top: 0;
c04ed8d5
TH
874 display: block;
875 padding: 0.2em;
876 background-color: #F9F9F9;
877 text-align: right;
878}
879#page-mod-quiz-edit div.question div.content div.questioncontrols img.upwithoutdown {
880 padding-right: 12px;
881 display: inline;
882}
883#page-mod-quiz-edit div.question div.content .questiontext {
884 font-weight: bold;
885}
886#page-mod-quiz-edit div.question div.content .questiontype {
887 font-style: italic;
888}
889
890#page-mod-quiz-edit .editq div.question div.qnum {
891 padding-top: 0.2em;
892}
893#page-mod-quiz-edit .editq div.question {
894 padding-top: 0.3em;
895}
896#page-mod-quiz-edit .editq div.questioncontentcontainer div.singlequestion img {
897 float: left;
898 padding-top: 0.3em;
899 padding-right: 0.3em;
900}
901#page-mod-quiz-edit .editq div.question div.content {
902 background-color: #F9F9F9;
903}
904#page-mod-quiz-edit .editq div.question div.content .randomquestioncategory {
905 margin-top: 0.4em;
906 position: relative;
907 display: inline-block;
908}
909#page-mod-quiz-edit .editq div.question div.content .randomquestioncategory a {
910 display: block;
911 max-width: 15em;
912 overflow: hidden;
913 text-overflow: ellipsis;
c04ed8d5
TH
914 white-space: nowrap;
915 float: left;
916 position: relative;
917}
918#page-mod-quiz-edit .editq div.question div.content .questionpreview {
919 float: left;
920}
921#page-mod-quiz-edit .editq div.question div.content .questionpreview a {
922 font-weight: normal;
923 margin-left: 0em;
924 display: inline;
925 float: none;
926}
927#page-mod-quiz-edit .editq div.question div.content .randomquestioncategory .questionpreview img {
928 padding-right: 0.3em;
929}
068384ce 930#page-mod-quiz-edit .editq div.question div.content .singlequestion .questioneditbutton .questionname,
c04ed8d5
TH
931#page-mod-quiz-edit .editq div.question div.content .singlequestion .questioneditbutton .questiontext {
932 float: left;
933}
068384ce 934#page-mod-quiz-edit .reorder div.question div.content .singlequestion.missingtype .questionname,
c04ed8d5
TH
935#page-mod-quiz-edit .editq div.question div.content .singlequestion.missingtype .questionname {
936 font-style: italic;
937 max-width: 75%;
938}
939#page-mod-quiz-edit .editq div.question div.description div.content .questiontext {
940 max-width: 75%;
941}
942#page-mod-quiz-edit .editq div.question div.qnum {
943 font-size: 1.5em;
944}
90723839 945
a1eb3a44 946table#categoryquestions td,
c04ed8d5
TH
947#page-mod-quiz-edit table#categoryquestions th {
948 overflow: hidden;
949 white-space: nowrap;
950}
a1eb3a44 951
c04ed8d5
TH
952.questionbankwindow.block {
953 float: right;
954 width: 30%;
955 right: 0.3em;
956 padding-bottom: 0.5em;
957 display: block;
958 border-width: 0;
959}
960.questionbankwindow.block .content {
961 padding: 0;
962}
a1eb3a44 963.questionbankwindow .choosecategory,
c04ed8d5
TH
964.questionbankwindow .createnewquestion {
965 padding: 0.3em;
966}
967.questionbankwindow .createnewquestion .singlebutton {
968 display: inline;
969}
970.questionbankwindow #catmenu_jump {
971 display: block;
972}
a1eb3a44
TH
973
974.questionbank div.categoryquestionscontainer,
975.questionbank .categorysortopotionscontainer,
976.questionbank .categorypagingbarcontainer,
c04ed8d5
TH
977.questionbank .categoryselectallcontainer {
978 padding-left: 0.3em;
979 padding-right: 0.3em;
980}
a1eb3a44 981
c04ed8d5
TH
982.noquestionsincategory {
983 clear: both;
984 padding-top: 1em;
985 padding-bottom: 1em;
986}
987.modulespecificbuttonscontainer {
988 padding-left: 0.3em;
989 padding-right: 0.3em;
990}
a1eb3a44 991
c04ed8d5
TH
992.quizquestionlistcontrols {
993 text-align: center;
994}
a1eb3a44 995
c04ed8d5
TH
996.categoryinfo {
997 padding: 0.3em;
998}
a1eb3a44 999
c04ed8d5
TH
1000.path-mod-quiz .gradingdetails {
1001 font-size: small;
1002}
a1eb3a44 1003
c04ed8d5
TH
1004body #quizcontentsblock #repaginatedialog {
1005 display: none;
1006}
1007body.jsenabled #quizcontentsblock #repaginatedialog .hd {
1008 display: block;
1009}
1010body.jsenabled #quizcontentsblock #repaginatedialog .bd {
1011 padding: 1em;
1012}
1013body.jsenabled #quizcontentsblock .repaginatecommand #repaginatecommand {
1014 display: block;
1015}
3784454b 1016
c04ed8d5
TH
1017#page-mod-quiz-edit #randomquestiondialog {
1018 display: none;
1019}
1020#page-mod-quiz-edit #qtypechoicecontainer {
1021 display: none;
1022}
3784454b 1023
c04ed8d5 1024#page-mod-quiz-edit .questionbankwindow select#catmenu_jump {
90723839
SH
1025/* In Opera9, IE6 the width of the
1026select obeys the width of its content
c04ed8d5
TH
1027by default. This prevents that. */width: 100%;
1028}
90723839
SH
1029
1030/*this color might need to be theme-specific,
1031but in terms of usability, as testing showed,
c04ed8d5 1032http: //docs.moodle.org/dev/Quiz_UI_redesign/usability_testing_of_August_2008/Issues#Question_bank_.2F_question_adding_controls_visibility
90723839
SH
1033it must be ensured that the question
1034bank window's title is prominent enough*/
c04ed8d5
TH
1035#page-mod-quiz-edit .questionbankwindow.block div.header {
1036 background-color: #009;
1037 background-image: none;
1038 padding-top: 0.2em;
1039 font-weight: bold;
1040 border: 0 none;
1041}
1042#page-mod-quiz-edit .questionbankwindow.block div.header div.title h2 {
1043 color: #FFF;
1044 text-align: center;
1045}
1046#page-mod-quiz-edit .collapsed .container {
1047 display: none;
1048}
bd5d8b50
ME
1049
1050#page-mod-quiz-edit .questionbankwindow a#showbankcmd,
c04ed8d5
TH
1051#page-mod-quiz-edit .questionbankwindow a#hidebankcmd {
1052 color: #FFF;
1053 text-decoration: underline;
1054}
bd5d8b50 1055#page-mod-quiz-edit .questionbankwindow a#showbankcmd:hover,
c04ed8d5
TH
1056#page-mod-quiz-edit .questionbankwindow a#hidebankcmd:hover {
1057 color: #009;
1058 background-color: #fff;
1059 text-decoration: none;
1060}
1061#page-mod-quiz-edit .questionbankwindow #showbankcmd {
1062 display: none;
1063}
1064#page-mod-quiz-edit .collapsed #showbankcmd {
1065 display: inline;
1066}
1067#page-mod-quiz-edit .questionbankwindow #hidebankcmd {
1068 display: inline;
1069}
1070#page-mod-quiz-edit .collapsed #hidebankcmd {
1071 display: none;
1072}
90723839 1073
c04ed8d5
TH
1074#page-mod-quiz-edit .quizquestionlistcontrols {
1075 display: inline;
1076}
90723839 1077
c04ed8d5
TH
1078#page-mod-quiz-edit .quizpagedelete {
1079 position: absolute;
1080 top: 0.2em;
1081 right: 0.2em;
1082 display: inline;
c04ed8d5
TH
1083}
1084#page-mod-quiz-edit .quizpagedelete img {
1085 background-color: #d6d6d6;
1086 padding: 0.6em;
1087}
1088#page-mod-quiz-edit .pagecontrols {
1089 clear: both;
1090 margin-left: 0.5em;
90f9e30b 1091 margin-right: 0.5em;
c04ed8d5
TH
1092 padding-top: 0.5em;
1093}
1094#page-mod-quiz-edit .pagecontrols .singlebutton {
1095 float: left;
1096 margin-left: 1em;
1097}
1098#page-mod-quiz-edit .pagecontrols .helplink {
1099 float: left;
1100}
90723839 1101
c04ed8d5
TH
1102#page-mod-quiz-edit div#randomquestiondialog_c {
1103 width: 90%;
1104}
90723839 1105#page-mod-quiz-edit div#randomquestiondialog_c .mform,
c04ed8d5
TH
1106#randomquestiondialog_c select {
1107 width: 100%;
1108}
3784454b 1109
c04ed8d5
TH
1110#page-mod-quiz-edit div#repaginatedialog .mform {
1111 margin-left: auto;
1112 margin-right: auto;
1113}
1114#page-mod-quiz-edit div.container div.generalbox {
1115 position: relative;
1116 display: block;
1117 border: 0 none;
1118 margin: 0;
1119 padding: 0;
1120}
90723839
SH
1121
1122#page-mod-quiz-edit .questionbankwindow .createnewquestion select,
1123#page-mod-quiz-edit .questionbankwindow #catmenu select,
c04ed8d5
TH
1124#page-mod-quiz-edit .questionbankwindow #menucategory {
1125 width: 100%;
1126}
90723839 1127
c04ed8d5
TH
1128#page-mod-quiz-edit .paging {
1129 margin-top: 0;
1130 margin-bottom: 0;
1131 display: block;
1132 background-color: #ddd;
1133}
1134#page-mod-quiz-edit .pagingbottom {
1135 padding-bottom: 0.3em;
1136}
1137#page-mod-quiz-edit .paging a:hover {
1138 background-color: #eef;
1139}
90723839 1140
c04ed8d5
TH
1141#page-mod-quiz-edit #page-footer {
1142 clear: both;
1143 padding-top: 1em;
1144}
90723839
SH
1145
1146.ie6#page-mod-quiz-edit div.question div.content .questiontext,
c04ed8d5
TH
1147.ie6#page-mod-quiz-edit #categoryquestions .questionname {
1148 /*ie6 shows this as an arrow if this is not specified*/cursor: pointer;
1149}
90723839 1150.ie6#page-mod-quiz-edit div.question div.content .questionname,
c04ed8d5
TH
1151.ie6#page-mod-quiz-edit #categoryquestions .questiontext {
1152 /*ie6 shows this as an arrow if this is not specified*/cursor: pointer;
1153}
1154.ie6#page-mod-quiz-edit .reorder .questioncontentcontainer .randomquestioncategory label {
1155 width: 35%;
1156}
1157.ie6#page-mod-quiz-edit .editq div.question div.content .randomquestioncategory a {
1158 width: 40%;
1159}
1160
1161#page-mod-quiz-edit #categoryquestions .questiontext {
1162 font-weight: bold;
1163}
1164#page-mod-quiz-edit .categoryinfofield {
1165 font-style: italic;
1166}
1167#page-mod-quiz-edit .categorynamefield {
1168 font-weight: bold;
1169}
1170#page-mod-quiz-edit a.configurerandomquestion {
1171 font-size: small;
1172 text-decoration: underline;
1173}
1174#page-mod-quiz-edit .questioncontentcontainer div.randomquestionqlist {
1175 background-color: #eee;
1176}
1177#page-mod-quiz-edit .questioncontentcontainer div.randomquestionqlist ul {
1178 color: #555;
1179}
1180#page-mod-quiz-edit .questioncontentcontainer div.randomquestionqlist .totalquestionsinrandomqcategory {
1181 color: #000;
1182}
1183#page-mod-quiz-edit .categoryinfo {
1184 background-color: #eee;
1185 border-bottom: 1px solid #bbb;
1186}
1187#page-mod-quiz-edit .questionsortoptions {
1188 background-color: #ddd;
1189}
1190
1191#page-mod-quiz-edit div.questionbank {
1192 background-color: #e6e6ff;
1193}
1194#page-mod-quiz-edit div.questionbank form .invisiblefieldset {
1195 clear: both;
1196}
1197#page-mod-quiz-edit div.questionbank .categorysortopotionscontainer {
1198 padding-top: 0.5em;
1199 margin-top: 0.3em;
1200}
90723839
SH
1201#page-mod-quiz-edit div.questionbank .categoryquestionscontainer,
1202.questionbank .categorysortopotionscontainer,
1203.questionbank .categorypagingbarcontainer,
c04ed8d5
TH
1204.questionbank .categoryselectallcontainer {
1205 background-color: #FFF;
1206}
90723839 1207
c04ed8d5
TH
1208#categoryquestions .questiontext {
1209 width: 50%;
1210}
1211#categoryquestions .questionname {
1212 width: 50%;
1213}
90723839
SH
1214
1215.ie6#page-mod-quiz-edit div.question div.content .questiontext,
c04ed8d5
TH
1216.ie6#page-mod-quiz-edit #categoryquestions .questionname {
1217 /*ie6 shows this as an arrow if this is not specified*/cursor: pointer;
1218}
90723839 1219.ie6#page-mod-quiz-edit div.question div.content .questionname,
c04ed8d5
TH
1220.ie6#page-mod-quiz-edit #categoryquestions .questiontext {
1221 /*ie6 shows this as an arrow if this is not specified*/cursor: pointer;
1222}
1223.ie6.path-mod-quiz div.tabtree a span img.iconsmall {
1224 margin: 0;
1225 vertical-align: baseline;
1226 position: relative;
1227 top: 1px;
1228}
1229.ie6#page-mod-quiz-edit div.question div.content .questiontext {
1230 width: 50%;
1231}
1232.ie6#page-mod-quiz-edit div.question div.content .questionname {
1233 width: 20%;
1234}
1235.ie6#page-mod-quiz-edit .editq div.question div.content .randomquestioncategory a {
1236 width: 40%;
1237}
1238.ie6#page-mod-quiz-edit .reorder .questioncontentcontainer .randomquestioncategory label {
1239 width: 35%;
1240}
1241.qnum label {
1242 padding-right: 0.25em;
1243}
a1eb3a44 1244
24050190 1245/* RTL Mode */
a7a031a4 1246#page-mod-quiz-mod.dir-rtl #id_reviewoptionshdr .fitem {
c04ed8d5
TH
1247 width: 23%;
1248 float: right;
1249}
a7a031a4 1250#page-mod-quiz-mod.dir-rtl #id_reviewoptionshdr .fitemtitle {
c04ed8d5
TH
1251 text-align: right;
1252}
a7a031a4 1253#page-mod-quiz-mod.dir-rtl #id_reviewoptionshdr fieldset.fgroup span {
c04ed8d5
TH
1254 clear: right;
1255 float: right;
1256}
1257#page-mod-quiz-edit.dir-rtl div.quizpage span.pagetitle {
1258 float: right;
1259}
1260#page-mod-quiz-edit.dir-rtl div.quizpage .pagecontent {
1261 float: right;
1262}
1263#page-mod-quiz-edit.dir-rtl div.question {
1264 clear: right;
1265}
1266#page-mod-quiz-edit.dir-rtl div.question div.qnum {
1267 float: right;
1268}
1269#page-mod-quiz-edit.dir-rtl div.editq div.question div.content {
1270 float: right;
c04ed8d5
TH
1271}
1272#page-mod-quiz-edit.dir-rtl div.question div.content div.points {
1273 left: 60px;
1274 right: auto;
1275}
1276#page-mod-quiz-edit.dir-rtl div.question div.content div.questioncontrols {
1277 float: left;
1278 left: 0.3em;
1279 right: auto;
1280}
068384ce 1281#page-mod-quiz-edit.dir-rtl .editq div.question div.content .singlequestion .questioneditbutton .questionname,
c04ed8d5
TH
1282#page-mod-quiz-edit.dir-rtl .editq div.question div.content .singlequestion .questioneditbutton .questiontext {
1283 float: right;
1284 padding-right: 0.3em;
1285}
24050190 1286#page-mod-quiz-edit.dir-rtl div.question div.content .questiontext,
c04ed8d5
TH
1287#page-mod-quiz-edit.dir-rtl #categoryquestions .questiontext {
1288 padding-right: 0.3em;
1289}
1290#page-mod-quiz-edit.dir-rtl .editq div.questioncontentcontainer div.singlequestion img {
1291 float: right;
1292}
1293#page-mod-quiz-edit.dir-rtl .editq div.question div.content .questionpreview {
1294 float: right;
1295}
1296#page-mod-quiz-edit.dir-rtl div.question div.content div.qorder {
bed27b30 1297 left: 60px;
c04ed8d5
TH
1298 right: auto;
1299}
1300#page-mod-quiz-edit.dir-rtl .reorder div.question div.content {
1301 float: right;
1302}
1303#page-mod-quiz-edit.dir-rtl .quizpagedelete {
1304 left: 0.2em;
1305 right: auto;
1306}
1307#page-mod-quiz-edit.dir-rtl div.quizcontents {
1308 clear: right;
1309 float: right;
1310}
1311#page-mod-quiz-edit.dir-rtl .questionbankwindow.block {
1312 float: left;
1313}
1314#page-question-edit.dir-rtl td.creatorname, #page-question-edit.dir-rtl td.modifiername {
1315 text-align: center;
1316}
ed24620d 1317.path-question.dir-rtl input[name="maxmark"],
f1211725 1318.path-question-type.dir-rtl input[name="defaultmark"],
c04ed8d5
TH
1319#page-mod-quiz-edit.dir-rtl div.points input {
1320 direction: ltr;
1321 text-align: left;
1322}
90f9e30b
FM
1323#page-mod-quiz-edit.dir-rtl .pagecontrols .singlebutton {
1324 float: right;
1325 margin-left: 0;
1326 margin-right: 1em;
1327}