Commit | Line | Data |
---|---|---|
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 |
27 | body.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 | } |
284 | table.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 |
317 | body.path-mod-quiz .gradedattempt, |
318 | body.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 |
361 | table.quizreviewsummary { |
362 | width: 100%; | |
363 | } | |
364 | table.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 | } | |
371 | table.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 | } |
e1a2d0d9 CC |
704 | #page-mod-quiz-edit ul.slots li.activity div.activityinstance .questionname { |
705 | font-weight: bold; | |
706 | color: #555; | |
c04ed8d5 | 707 | } |
e1a2d0d9 CC |
708 | #page-mod-quiz-edit ul.slots li.activity div.activityinstance .questiontext { |
709 | color: #555; | |
710 | } | |
711 | #page-mod-quiz-edit ul.slots li.activity div.activityinstance .mod_quiz_random_qbank_link { | |
712 | font-size: 0.8em; | |
c04ed8d5 | 713 | } |
a1eb3a44 | 714 | |
e1a2d0d9 CC |
715 | #page-mod-quiz-edit ul.slots .activityinstance img.activityicon { |
716 | float: left; | |
717 | margin-top: .2em; | |
718 | margin-right: 0; | |
c04ed8d5 | 719 | } |
a1eb3a44 | 720 | |
e1a2d0d9 CC |
721 | #page-mod-quiz-edit .section .activity .actions { |
722 | white-space: nowrap; | |
723 | background: #e6e6e6; | |
724 | padding: .2em 0 .2em .5em; | |
c04ed8d5 | 725 | } |
a1eb3a44 | 726 | |
e1a2d0d9 | 727 | #page-mod-quiz-edit .mod_quiz_edit_forms { |
c04ed8d5 TH |
728 | display: none; |
729 | } | |
e1a2d0d9 CC |
730 | |
731 | #categoryquestions > tbody > tr:nth-of-type(even) { | |
732 | background: #e4e4e4; | |
c04ed8d5 | 733 | } |
e1a2d0d9 CC |
734 | #categoryquestions > tbody > tr:nth-of-type(even).highlight { |
735 | background-color: #AAFFAA; | |
c04ed8d5 | 736 | } |
e1a2d0d9 CC |
737 | #categoryquestions .header { |
738 | text-align: center; | |
739 | padding: 0 2px; | |
740 | border: 0 none; | |
c04ed8d5 | 741 | } |
e1a2d0d9 CC |
742 | #categoryquestions th.modifiername .sorters, |
743 | #categoryquestions th.creatorname .sorters { | |
744 | font-weight: normal; | |
745 | font-size: 0.8em; | |
c04ed8d5 | 746 | } |
e1a2d0d9 CC |
747 | table#categoryquestions { |
748 | width: 100%; | |
749 | overflow: hidden; | |
750 | table-layout: fixed; | |
c04ed8d5 | 751 | } |
e1a2d0d9 CC |
752 | #categoryquestions .iconcol { |
753 | width: 15px; | |
754 | text-align: center; | |
755 | padding: 0; | |
c04ed8d5 | 756 | } |
e1a2d0d9 CC |
757 | #categoryquestions .checkbox { |
758 | width: 19px; | |
c04ed8d5 | 759 | text-align: center; |
e1a2d0d9 | 760 | padding: 0; |
c04ed8d5 | 761 | } |
e1a2d0d9 CC |
762 | #categoryquestions .qtype { |
763 | text-align: center; | |
c04ed8d5 | 764 | } |
e1a2d0d9 CC |
765 | #categoryquestions .qtype { |
766 | width: 28px; | |
767 | padding: 0; | |
c04ed8d5 | 768 | } |
e1a2d0d9 CC |
769 | #categoryquestions .questiontext { |
770 | position: relative; | |
771 | zoom: 1; | |
772 | padding-left: 0.3em; | |
773 | overflow: hidden; | |
774 | white-space: nowrap; | |
775 | text-overflow: ellipsis; | |
c04ed8d5 | 776 | } |
e1a2d0d9 CC |
777 | #categoryquestions .questionname { |
778 | white-space: nowrap; | |
779 | overflow: hidden; | |
780 | zoom: 1; | |
781 | position: relative; | |
c04ed8d5 | 782 | } |
e1a2d0d9 CC |
783 | #categoryquestions .questiontext p { |
784 | margin: 0; | |
c04ed8d5 | 785 | } |
e1a2d0d9 CC |
786 | |
787 | #page-mod-quiz-edit table#categoryquestions td, | |
788 | #page-mod-quiz-edit table#categoryquestions th { | |
789 | overflow: hidden; | |
790 | white-space: nowrap; | |
c04ed8d5 | 791 | } |
e1a2d0d9 CC |
792 | .mod_quiz_qbank_dialogue { |
793 | width: 80%; | |
794 | min-height: 200px; | |
c04ed8d5 | 795 | } |
e1a2d0d9 CC |
796 | .mod_quiz_qbank_dialogue.moodle-dialogue-fullscreen { |
797 | width: 100%; | |
90723839 | 798 | |
c04ed8d5 | 799 | } |
e1a2d0d9 | 800 | .mod_quiz_qbank_dialogue .questionbankloading { |
c04ed8d5 | 801 | position: absolute; |
e1a2d0d9 CC |
802 | top: 30px; |
803 | bottom: 0; | |
804 | left: 0; | |
805 | right: 0; | |
806 | background: #fff; | |
807 | text-align: center; | |
808 | opacity: 0.5; | |
809 | padding-top: 50px; | |
c04ed8d5 | 810 | } |
e1a2d0d9 CC |
811 | |
812 | .modulespecificbuttonscontainer { | |
813 | padding-left: 0.3em; | |
814 | padding-right: 0.3em; | |
c04ed8d5 | 815 | } |
e1a2d0d9 CC |
816 | |
817 | .quizquestionlistcontrols { | |
818 | text-align: center; | |
c04ed8d5 | 819 | } |
90723839 | 820 | |
e1a2d0d9 CC |
821 | .categoryinfo { |
822 | padding: 0.3em; | |
c04ed8d5 | 823 | } |
e1a2d0d9 CC |
824 | |
825 | .path-mod-quiz .gradingdetails { | |
826 | font-size: small; | |
c04ed8d5 | 827 | } |
3784454b | 828 | |
c04ed8d5 TH |
829 | #page-mod-quiz-edit div#repaginatedialog .mform { |
830 | margin-left: auto; | |
831 | margin-right: auto; | |
832 | } | |
833 | #page-mod-quiz-edit div.container div.generalbox { | |
834 | position: relative; | |
835 | display: block; | |
836 | border: 0 none; | |
837 | margin: 0; | |
838 | padding: 0; | |
839 | } | |
90723839 | 840 | |
c04ed8d5 TH |
841 | #page-mod-quiz-edit .paging { |
842 | margin-top: 0; | |
843 | margin-bottom: 0; | |
844 | display: block; | |
845 | background-color: #ddd; | |
846 | } | |
847 | #page-mod-quiz-edit .pagingbottom { | |
848 | padding-bottom: 0.3em; | |
849 | } | |
850 | #page-mod-quiz-edit .paging a:hover { | |
851 | background-color: #eef; | |
852 | } | |
90723839 | 853 | |
c04ed8d5 TH |
854 | #page-mod-quiz-edit #page-footer { |
855 | clear: both; | |
856 | padding-top: 1em; | |
857 | } | |
90723839 | 858 | |
c04ed8d5 TH |
859 | #page-mod-quiz-edit .categoryinfofield { |
860 | font-style: italic; | |
861 | } | |
862 | #page-mod-quiz-edit .categorynamefield { | |
863 | font-weight: bold; | |
864 | } | |
c04ed8d5 TH |
865 | #page-mod-quiz-edit .questionsortoptions { |
866 | background-color: #ddd; | |
867 | } | |
868 | ||
c04ed8d5 TH |
869 | #page-mod-quiz-edit div.questionbank .categorysortopotionscontainer { |
870 | padding-top: 0.5em; | |
871 | margin-top: 0.3em; | |
872 | } | |
90723839 SH |
873 | #page-mod-quiz-edit div.questionbank .categoryquestionscontainer, |
874 | .questionbank .categorysortopotionscontainer, | |
875 | .questionbank .categorypagingbarcontainer, | |
c04ed8d5 TH |
876 | .questionbank .categoryselectallcontainer { |
877 | background-color: #FFF; | |
878 | } | |
90723839 | 879 | |
24050190 | 880 | /* RTL Mode */ |
a7a031a4 | 881 | #page-mod-quiz-mod.dir-rtl #id_reviewoptionshdr .fitem { |
c04ed8d5 TH |
882 | width: 23%; |
883 | float: right; | |
884 | } | |
a7a031a4 | 885 | #page-mod-quiz-mod.dir-rtl #id_reviewoptionshdr .fitemtitle { |
c04ed8d5 TH |
886 | text-align: right; |
887 | } | |
a7a031a4 | 888 | #page-mod-quiz-mod.dir-rtl #id_reviewoptionshdr fieldset.fgroup span { |
c04ed8d5 TH |
889 | clear: right; |
890 | float: right; | |
891 | } | |
c04ed8d5 TH |
892 | #page-mod-quiz-edit.dir-rtl #categoryquestions .questiontext { |
893 | padding-right: 0.3em; | |
894 | } | |
c04ed8d5 TH |
895 | #page-mod-quiz-edit.dir-rtl div.quizcontents { |
896 | clear: right; | |
897 | float: right; | |
898 | } | |
ed24620d | 899 | .path-question.dir-rtl input[name="maxmark"], |
f1211725 | 900 | .path-question-type.dir-rtl input[name="defaultmark"], |
c04ed8d5 TH |
901 | #page-mod-quiz-edit.dir-rtl div.points input { |
902 | direction: ltr; | |
903 | text-align: left; | |
904 | } |