Merge branch 'MDL-46481-master-fixup' of https://github.com/FMCorz/moodle
[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}
ce74dcc3 238
a7a031a4 239#page-mod-quiz-mod #id_reviewoptionshdr .fitemtitle {
c04ed8d5
TH
240 width: 100%;
241 font-weight: bold;
242 text-align: left;
243 height: 2.5em;
244 margin-left: 0;
245}
ce74dcc3 246
a7a031a4 247#page-mod-quiz-mod #id_reviewoptionshdr fieldset.fgroup {
c04ed8d5
TH
248 clear: left;
249 margin: 0 0 1em;
250}
a7a031a4 251#page-mod-quiz-mod #id_reviewoptionshdr fieldset.fgroup > span {
c04ed8d5
TH
252 float: left;
253 clear: left;
254 line-height: 1.7;
255}
a7a031a4 256#page-mod-quiz-mod #id_reviewoptionshdr fieldset.fgroup span label {
c04ed8d5
TH
257 margin-left: 0.4em;
258}
ce74dcc3 259
a7a031a4 260#page-mod-quiz-mod.dir-rtl #id_reviewoptionshdr .fitem {
c04ed8d5
TH
261 float: right;
262}
a7a031a4 263#page-mod-quiz-mod.dir-rtl #id_reviewoptionshdr fieldset.fgroup span {
c04ed8d5
TH
264 float: right;
265 clear: right;
266}
a7a031a4 267#page-mod-quiz-mod.dir-rtl #id_reviewoptionshdr .fitemtitle {
c04ed8d5
TH
268 text-align: right;
269}
7a25d398 270
90723839
SH
271/** Mod quiz view **/
272#page-mod-quiz-view .quizinfo,
273#page-mod-quiz-view #page .quizgradefeedback,
c04ed8d5
TH
274#page-mod-quiz-view #page .quizattempt {
275 text-align: center;
276}
277#page-mod-quiz-view #page .quizattemptsummary td p {
278 margin-top: 0;
279}
afbe4592
TH
280#page-mod-quiz-view table.quizattemptsummary tr.bestrow td {
281 border-color: #bce8f1;
282 background-color: #d9edf7;
c04ed8d5
TH
283}
284table.quizattemptsummary .noreviewmessage {
285 color: gray;
286}
287#page-mod-quiz-view .generaltable.quizattemptsummary {
288 margin-left: auto;
289 margin-right: auto;
290}
291#page-mod-quiz-view .generalbox#feedback {
292 width: 70%;
293 margin-left: auto;
294 margin-right: auto;
295 padding-bottom: 15px;
296}
297#page-mod-quiz-view .generalbox#feedback h2 {
298 margin: 0;
299}
300#page-mod-quiz-view .generalbox#feedback h3 {
301 text-align: left;
302}
303#page-mod-quiz-view.dir-rtl .generalbox#feedback h3 {
304 text-align: center;
305}
306#page-mod-quiz-view .generalbox#feedback .overriddennotice {
307 text-align: center;
308 font-size: 0.7em;
309}
310.quizstartbuttondiv.quizsecuremoderequired input {
311 display: none;
312}
313.jsenabled .quizstartbuttondiv.quizsecuremoderequired input {
314 display: inline;
315}
90723839 316
afbe4592
TH
317body.path-mod-quiz .gradedattempt,
318body.path-mod-quiz table tbody tr.gradedattempt > td {
319 border-color: #bce8f1;
320 background-color: #d9edf7;
c04ed8d5 321}
a1eb3a44 322
c04ed8d5
TH
323.quizattemptcounts {
324 clear: left;
325 text-align: center;
c544ee92 326 display:inline;
327 margin-left:20%;
328}
329.dir-rtl .quizattemptcounts {
330 margin-left:0;
331 margin-right: 20%;
332}
333#page-mod-quiz-view .quizattemptcounts,
334.dir-rtl #page-mod-quiz-view .quizattemptcounts {
335 display: block;
336 margin-left: 0;
337 margin-right: 0;
c04ed8d5 338}
e1a2d0d9 339
9b40c540 340/** Mod quiz summary **/
c04ed8d5
TH
341#page-mod-quiz-summary #content {
342 text-align: center;
343}
344#page-mod-quiz-summary .questionflag {
345 vertical-align: text-bottom;
346}
347#page-mod-quiz-summary #quiz-timer {
348 text-align: center;
349 margin-top: 1em;
350}
351#page-mod-quiz-summary .submitbtns {
352 margin-top: 1.5em;
353}
ff065f96 354@media print {
c04ed8d5
TH
355 .quiz-secure-window * {
356 display: none !important;
357 }
ff065f96
TH
358}
359
90723839 360/** Mod quiz review **/
c04ed8d5
TH
361table.quizreviewsummary {
362 width: 100%;
363}
364table.quizreviewsummary th.cell {
365 padding: 1px 0.5em 1px 1em;
366 font-weight: bold;
367 text-align: right;
368 width: 10em;
369 background: #f0f0f0;
370}
371table.quizreviewsummary td.cell {
372 padding: 1px 1em 1px 0.5em;
373 text-align: left;
374 background: #fafafa;
375}
376.dir-rtl table.quizreviewsummary td.cell {
377 text-align: right;
378}
a1eb3a44
TH
379
380/** Mod quiz make comment or override grade popup. **/
c04ed8d5
TH
381#page-mod-quiz-comment .mform {
382 width: 100%;
383}
384#page-mod-quiz-comment .mform fieldset {
385 margin: 0;
386}
387#page-mod-quiz-comment .que {
388 margin: 0;
389}
90723839
SH
390
391/** Mod quiz report **/
c04ed8d5
TH
392#page-mod-quiz-report h2.main {
393 clear: both;
394}
90723839 395#page-mod-quiz-report div#commands,
c04ed8d5
TH
396#page-mod-quiz-report .controls {
397 text-align: center;
398}
399#page-mod-quiz-report .dubious {
400 background-color: #fcc;
401}
402#page-mod-quiz-report .highlight {
afbe4592
TH
403 border: 1px solid #bce8f1;
404 background-color: #d9edf7;
c04ed8d5
TH
405}
406#page-mod-quiz-report .negcovar {
407 border : medium solid pink;
408}
409#page-mod-quiz-report .toggleincludeauto {
410 text-align: center;
411}
412#page-mod-quiz-report .gradetheselink {
413 font-size: 0.8em;
414}
6f885844
TH
415#page-mod-quiz-report .mform fieldset.fgroup span label {
416 margin-right: 14px;
c04ed8d5 417}
8dbcbe21
TH
418#page-mod-quiz-report table th {
419 white-space: normal;
420}
421#page-mod-quiz-report table#attempts td,
422#page-mod-quiz-report table.quizresponseanalysis td {
423 word-wrap: break-word;
424 max-width: 20em;
425}
c04ed8d5
TH
426#page-mod-quiz-report table.titlesleft td.c0 {
427 font-weight: bold;
428}
429#page-mod-quiz-report table .numcol {
430 text-align: center;
431 vertical-align : middle !important;
432}
433
434#page-mod-quiz-report table#attempts {
435 clear: both;
436 width: 80%;
437 margin: 0.2em auto;
438}
90723839 439#page-mod-quiz-report table#attempts .header,
c04ed8d5
TH
440#page-mod-quiz-report table#attempts .cell {
441 padding: 4px;
442}
443#page-mod-quiz-report table#attempts .header .commands {
444 display: inline;
445}
446#page-mod-quiz-report table#attempts .picture {
447 width: 40px;
448}
449#page-mod-quiz-report table#attempts td {
450 border-left-width: 1px;
451 border-right-width: 1px;
452 border-left-style: solid;
453 border-right-style: solid;
454 vertical-align: middle;
455}
456#page-mod-quiz-report table#attempts .header {
457 text-align: left;
458}
459#page-mod-quiz-report table#attempts .picture {
460 text-align: center !important;
461}
a1eb3a44 462#page-mod-quiz-report table#attempts.grades span.que,
c04ed8d5
TH
463#page-mod-quiz-report table#attempts span.avgcell {
464 white-space: nowrap;
465}
466#page-mod-quiz-report table#attempts span.que .requiresgrading {
467 white-space: normal;
468}
469#page-mod-quiz-report table#attempts .questionflag {
470 vertical-align: text-bottom;
471 padding-left: 6px;
472}
473.dir-rtl#page-mod-quiz-report table#attempts .questionflag {
474 padding-right: 6px;
475 padding-left: 0;
476}
a1eb3a44 477
c04ed8d5
TH
478#page-mod-quiz-report .graph.flexible-wrap {
479 text-align: center;
480 overflow: auto;
481}
a1eb3a44 482
c04ed8d5
TH
483#page-mod-quiz-report #cachingnotice {
484 margin-bottom: 1em;
485 padding: 0.2em;
486}
487#page-mod-quiz-report #cachingnotice .singlebutton {
488 margin: 0.5em 0 0;
489}
490#page-mod-quiz-report .bold .reviewlink {
491 font-weight: normal;
492}
90723839 493
99caa248
JP
494#page-mod-quiz-report tr.lastrowforattempt {
495 border-bottom: lightgrey solid 0.2em;
496}
497
90723839 498/** Mod quiz edit **/
c04ed8d5
TH
499#page-mod-quiz-edit h2.main {
500 display: inline;
501 padding-right: 1em;
502 clear: left;
503}
90723839 504
e1a2d0d9
CC
505#page-mod-quiz-edit .statusbar {
506 margin: 0.6em 0.4em;
c04ed8d5
TH
507}
508#page-mod-quiz-edit .statusdisplay {
509 background-color: #ffc;
510 clear: both;
511 margin: 0.3em 1em 0.3em 0;
512 padding: 1px ;
513 /* Stop margin collapse. */
514}
515#page-mod-quiz-edit .statusdisplay p {
516 margin: 0.4em;
517}
518
e1a2d0d9
CC
519#page-mod-quiz-edit .maxgrade,
520#page-mod-quiz-edit .totalpoints {
521 display: block;
c04ed8d5 522 float: right;
e1a2d0d9
CC
523 margin: -2.5em 1em 0em 1em;
524 padding: .2em;
c04ed8d5 525}
e1a2d0d9
CC
526#page-mod-quiz-edit .maxgrade label {
527 display: inline;
c04ed8d5 528}
e1a2d0d9
CC
529
530#page-mod-quiz-edit li.activity > div,
531#page-mod-quiz-edit li.pagenumber {
c04ed8d5
TH
532 position: relative;
533}
c04ed8d5 534
e1a2d0d9
CC
535#page-mod-quiz-edit .last-add-menu {
536 position: relative;
537 height: 1.5em;
c04ed8d5 538}
e1a2d0d9
CC
539#page-mod-quiz-edit .add-menu-outer {
540 position: absolute;
541 top: 0;
542 right: 0;
c04ed8d5 543}
e1a2d0d9
CC
544#page-mod-quiz-edit .slotnumber {
545 background-color: #D3D3D3;
546 text-align: center;
547 margin-right: 0.5em;
548 margin-top: 0.1em;
549 margin-bottom: .1em;
550 min-width: 2em;
c04ed8d5 551 display: inline-block;
e1a2d0d9 552 float: left;
c04ed8d5
TH
553}
554
e1a2d0d9
CC
555#page-mod-quiz-edit ul.slots li.section {
556 border: 0;
c04ed8d5 557}
e1a2d0d9
CC
558#page-mod-quiz-edit ul.slots li.section .content {
559 background-color:#FAFAFA;
560 padding:5px 10px;
c04ed8d5 561}
e1a2d0d9
CC
562#page-mod-quiz-edit ul.slots li.section .content h3 {
563 margin:0;
564 color:#777;
565 font-weight: normal;
c04ed8d5 566}
e1a2d0d9
CC
567#page-mod-quiz-edit ul.slots li.section .left {
568 padding:4px 0;
c04ed8d5 569}
e1a2d0d9
CC
570#page-mod-quiz-edit ul.slots li.section .right {
571 padding:4px 0;
c04ed8d5 572}
e1a2d0d9
CC
573#page-mod-quiz-edit ul.slots {
574 margin:0;
c04ed8d5 575}
e1a2d0d9
CC
576#page-mod-quiz-edit ul.slots li.section {
577 list-style: none;
578 margin:0 0 5px 0;
579 padding:0;
c04ed8d5 580}
e1a2d0d9
CC
581#page-mod-quiz-edit ul.slots li.section .left {
582 float:left;
c04ed8d5 583}
e1a2d0d9
CC
584#page-mod-quiz-edit ul.slots li.section .right {
585 float:right;
c04ed8d5 586}
e1a2d0d9
CC
587#page-mod-quiz-edit ul.slots li.section .left,
588#page-mod-quiz-edit ul.slots li.section .right {
589 width:40px;
590 text-align:center;
591 padding: 6px 0;
c04ed8d5 592}
e1a2d0d9
CC
593#page-mod-quiz-edit ul.slots li.section .right img.icon {
594 padding: 0 0 4px 0;
c04ed8d5 595}
e1a2d0d9
CC
596#page-mod-quiz-edit ul.slots li.section .left .section-handle img.icon {
597 padding:0;
598 vertical-align: baseline;
c04ed8d5 599}
e1a2d0d9
CC
600#page-mod-quiz-edit ul.slots li.section li.activity {
601 background: #E6E6E6;
602 margin: 3px 0 3px 0;
603 padding: 0.2em 0 0.2em 0.2em;
c04ed8d5 604}
e1a2d0d9
CC
605#page-mod-quiz-edit ul.slots li.section li.activity.page {
606 background: transparent;
c04ed8d5 607}
e1a2d0d9
CC
608
609#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer {
610 background: white;
611 padding: .2em;
612 margin: .4em;
c04ed8d5 613}
e1a2d0d9 614#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer form {
c04ed8d5 615 display: inline;
c04ed8d5 616}
e1a2d0d9
CC
617#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmarkcontainer form input {
618 margin: 0;
c04ed8d5 619 padding: 0.2em;
e1a2d0d9 620 height: 1em;
c04ed8d5
TH
621}
622
e1a2d0d9
CC
623#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark {
624 display: inline-block;
625 text-align: right;
c04ed8d5 626}
e1a2d0d9
CC
627#page-mod-quiz-edit ul.slots li.section li.activity .page_split_join_wrapper {
628 position: absolute;
c04ed8d5 629}
e1a2d0d9 630#page-mod-quiz-edit ul.slots li.section li.activity .page_split_join {
c04ed8d5 631 position: relative;
e1a2d0d9
CC
632 left: -20px;
633 top: -7px;
c04ed8d5 634}
e1a2d0d9
CC
635
636#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_0 {
637 min-width: 1.3em;
c04ed8d5 638}
e1a2d0d9
CC
639#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_1 {
640 min-width: 2em;
c04ed8d5 641}
e1a2d0d9
CC
642
643#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_2 {
644 min-width: 2.6em;
c04ed8d5 645}
e1a2d0d9
CC
646
647#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_3 {
648 min-width: 3.2em;
c04ed8d5 649}
e1a2d0d9
CC
650
651#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_4 {
652 min-width: 3.7em;
c04ed8d5 653}
e1a2d0d9
CC
654
655#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_5 {
656 min-width: 4.3em;
c04ed8d5 657}
e1a2d0d9
CC
658
659#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_6 {
660 min-width: 4.8em;
c04ed8d5 661}
e1a2d0d9
CC
662
663#page-mod-quiz-edit ul.slots li.section li.activity .instancemaxmark.decimalplaces_7 {
664 min-width: 5.45em;
c04ed8d5 665}
90723839 666
e1a2d0d9
CC
667#page-mod-quiz-edit ul.slots li.section li.activity .edit_icon,
668#page-mod-quiz-edit ul.slots li.section li.activity a.preview,
669#page-mod-quiz-edit ul.slots li.section li.activity .editing_delete,
670#page-mod-quiz-edit ul.slots li.section li.activity .editing_maxmark {
671 margin-left: 5px
c04ed8d5 672}
a1eb3a44 673
e1a2d0d9 674#page-mod-quiz-edit ul.slots li.section li.activity .activityinstance {
c04ed8d5 675 display: block;
e1a2d0d9
CC
676 min-height: 1.7em;
677 position: absolute;
678 top: 0;
679 left: 5em;
680 width: 100%;
c04ed8d5 681}
e1a2d0d9
CC
682
683#page-mod-quiz-edit ul.slots .activityinstance form {
c04ed8d5
TH
684 display: inline;
685}
e1a2d0d9
CC
686#page-mod-quiz-edit span.editinstructions {
687 right: 0;
c04ed8d5 688}
a1eb3a44 689
e1a2d0d9
CC
690#page-mod-quiz-edit ul.slots .activityinstance span.instancename {
691 overflow-x: hidden;
692 white-space: nowrap;
693 text-overflow: ellipsis;
694 overflow: hidden;
695 word-break: break-word;
696 width: 70%;
697 display: inline-block;
698 height: 20px;
c04ed8d5 699}
a1eb3a44 700
e1a2d0d9
CC
701#page-mod-quiz-edit ul.slots .activityinstance span.instancename img {
702 margin-right: .2em;
c04ed8d5 703}
8aa5e0cf 704#page-mod-quiz-edit #categoryquestions .questionname,
e1a2d0d9 705#page-mod-quiz-edit ul.slots li.activity div.activityinstance .questionname {
8aa5e0cf 706 font-weight: bold;
e1a2d0d9 707 color: #555;
c04ed8d5 708}
e1a2d0d9
CC
709#page-mod-quiz-edit ul.slots li.activity div.activityinstance .questiontext {
710 color: #555;
711}
712#page-mod-quiz-edit ul.slots li.activity div.activityinstance .mod_quiz_random_qbank_link {
713 font-size: 0.8em;
c04ed8d5 714}
a1eb3a44 715
e1a2d0d9
CC
716#page-mod-quiz-edit ul.slots .activityinstance img.activityicon {
717 float: left;
718 margin-top: .2em;
719 margin-right: 0;
c04ed8d5 720}
a1eb3a44 721
e1a2d0d9
CC
722#page-mod-quiz-edit .section .activity .actions {
723 white-space: nowrap;
724 background: #e6e6e6;
725 padding: .2em 0 .2em .5em;
c04ed8d5 726}
a1eb3a44 727
e1a2d0d9 728#page-mod-quiz-edit .mod_quiz_edit_forms {
c04ed8d5
TH
729 display: none;
730}
e1a2d0d9
CC
731
732#categoryquestions > tbody > tr:nth-of-type(even) {
733 background: #e4e4e4;
c04ed8d5 734}
e1a2d0d9
CC
735#categoryquestions > tbody > tr:nth-of-type(even).highlight {
736 background-color: #AAFFAA;
c04ed8d5 737}
e1a2d0d9
CC
738#categoryquestions .header {
739 text-align: center;
740 padding: 0 2px;
741 border: 0 none;
c04ed8d5 742}
e1a2d0d9
CC
743#categoryquestions th.modifiername .sorters,
744#categoryquestions th.creatorname .sorters {
745 font-weight: normal;
746 font-size: 0.8em;
c04ed8d5 747}
e1a2d0d9
CC
748table#categoryquestions {
749 width: 100%;
750 overflow: hidden;
751 table-layout: fixed;
c04ed8d5 752}
e1a2d0d9
CC
753#categoryquestions .iconcol {
754 width: 15px;
755 text-align: center;
756 padding: 0;
c04ed8d5 757}
e1a2d0d9
CC
758#categoryquestions .checkbox {
759 width: 19px;
c04ed8d5 760 text-align: center;
e1a2d0d9 761 padding: 0;
c04ed8d5 762}
e1a2d0d9
CC
763#categoryquestions .qtype {
764 text-align: center;
c04ed8d5 765}
e1a2d0d9
CC
766#categoryquestions .qtype {
767 width: 28px;
768 padding: 0;
c04ed8d5 769}
e1a2d0d9
CC
770#categoryquestions .questiontext {
771 position: relative;
772 zoom: 1;
773 padding-left: 0.3em;
774 overflow: hidden;
775 white-space: nowrap;
776 text-overflow: ellipsis;
c04ed8d5 777}
e1a2d0d9
CC
778#categoryquestions .questionname {
779 white-space: nowrap;
780 overflow: hidden;
781 zoom: 1;
782 position: relative;
c04ed8d5 783}
e1a2d0d9
CC
784#categoryquestions .questiontext p {
785 margin: 0;
c04ed8d5 786}
e1a2d0d9
CC
787
788#page-mod-quiz-edit table#categoryquestions td,
789#page-mod-quiz-edit table#categoryquestions th {
790 overflow: hidden;
791 white-space: nowrap;
c04ed8d5 792}
e1a2d0d9
CC
793.mod_quiz_qbank_dialogue {
794 width: 80%;
795 min-height: 200px;
c04ed8d5 796}
e1a2d0d9
CC
797.mod_quiz_qbank_dialogue.moodle-dialogue-fullscreen {
798 width: 100%;
90723839 799
c04ed8d5 800}
e1a2d0d9 801.mod_quiz_qbank_dialogue .questionbankloading {
c04ed8d5 802 position: absolute;
e1a2d0d9
CC
803 top: 30px;
804 bottom: 0;
805 left: 0;
806 right: 0;
807 background: #fff;
808 text-align: center;
809 opacity: 0.5;
810 padding-top: 50px;
c04ed8d5 811}
e1a2d0d9
CC
812
813.modulespecificbuttonscontainer {
814 padding-left: 0.3em;
815 padding-right: 0.3em;
c04ed8d5 816}
e1a2d0d9
CC
817
818.quizquestionlistcontrols {
819 text-align: center;
c04ed8d5 820}
90723839 821
e1a2d0d9
CC
822.categoryinfo {
823 padding: 0.3em;
c04ed8d5 824}
e1a2d0d9
CC
825
826.path-mod-quiz .gradingdetails {
827 font-size: small;
c04ed8d5 828}
3784454b 829
c04ed8d5
TH
830#page-mod-quiz-edit div#repaginatedialog .mform {
831 margin-left: auto;
832 margin-right: auto;
833}
834#page-mod-quiz-edit div.container div.generalbox {
835 position: relative;
836 display: block;
837 border: 0 none;
838 margin: 0;
839 padding: 0;
840}
90723839 841
c04ed8d5
TH
842#page-mod-quiz-edit .paging {
843 margin-top: 0;
844 margin-bottom: 0;
845 display: block;
846 background-color: #ddd;
847}
848#page-mod-quiz-edit .pagingbottom {
849 padding-bottom: 0.3em;
850}
851#page-mod-quiz-edit .paging a:hover {
852 background-color: #eef;
853}
90723839 854
c04ed8d5
TH
855#page-mod-quiz-edit #page-footer {
856 clear: both;
857 padding-top: 1em;
858}
90723839 859
c04ed8d5
TH
860#page-mod-quiz-edit .categoryinfofield {
861 font-style: italic;
862}
863#page-mod-quiz-edit .categorynamefield {
864 font-weight: bold;
865}
c04ed8d5
TH
866#page-mod-quiz-edit .questionsortoptions {
867 background-color: #ddd;
868}
869
c04ed8d5
TH
870#page-mod-quiz-edit div.questionbank .categorysortopotionscontainer {
871 padding-top: 0.5em;
872 margin-top: 0.3em;
873}
90723839
SH
874#page-mod-quiz-edit div.questionbank .categoryquestionscontainer,
875.questionbank .categorysortopotionscontainer,
876.questionbank .categorypagingbarcontainer,
c04ed8d5
TH
877.questionbank .categoryselectallcontainer {
878 background-color: #FFF;
879}
90723839 880
24050190 881/* RTL Mode */
a7a031a4 882#page-mod-quiz-mod.dir-rtl #id_reviewoptionshdr .fitem {
c04ed8d5
TH
883 width: 23%;
884 float: right;
885}
a7a031a4 886#page-mod-quiz-mod.dir-rtl #id_reviewoptionshdr .fitemtitle {
c04ed8d5
TH
887 text-align: right;
888}
a7a031a4 889#page-mod-quiz-mod.dir-rtl #id_reviewoptionshdr fieldset.fgroup span {
c04ed8d5
TH
890 clear: right;
891 float: right;
892}
c04ed8d5
TH
893#page-mod-quiz-edit.dir-rtl #categoryquestions .questiontext {
894 padding-right: 0.3em;
895}
c04ed8d5
TH
896#page-mod-quiz-edit.dir-rtl div.quizcontents {
897 clear: right;
898 float: right;
899}
ed24620d 900.path-question.dir-rtl input[name="maxmark"],
f1211725 901.path-question-type.dir-rtl input[name="defaultmark"],
c04ed8d5
TH
902#page-mod-quiz-edit.dir-rtl div.points input {
903 direction: ltr;
904 text-align: left;
905}