MDL-60750 mod_quiz: only apply form css rules on clean theme
[moodle.git] / theme / bootstrapbase / less / moodle / modules.less
CommitLineData
8903b17b
BB
1/* modules.less */
2
3// The home for small tweaks to modules that don't require
4// changes drastic enough to pull in the full module css
5// and replace it completely
6// Plus some misc. odds and ends
7
8select {
9 width: auto;
10}
11
21a5c3c4
DW
12// Assign
13.path-mod-assign #page-content [data-region="grade-panel"] .mform:not(.unresponsive) #id_attemptsettings .fitem {
14 .fitemtitle,
15 .felement {
16 display: table-cell;
17 float: none;
18 border-top: 1px solid #ddd;
19 padding: 8px 0;
20 }
21}
22
63e4df60 23// Feedback module
63e4df60
DW
24
25body.path-mod-feedback #region-main .mform.feedback_form .feedback-item-pagebreak .felement {
26 width: 100%;
27}
28
63e4df60 29.path-mod-feedback .mform.feedback_form#feedback_viewresponse_form .fitem.feedback_hasvalue:not(.feedback-item-captcha) .felement {
dd9dd095 30 background: #fbfbf1;
63e4df60
DW
31 min-height: 1em;
32 box-sizing: border-box;
33 padding: 3px;
2ede86d7 34 border: 1px solid #ddd;
63e4df60
DW
35}
36
37.path-mod-feedback .mform.feedback_form .fitem.feedback_hasvalue .fstatic:empty {
38 display: inherit;
39}
40
41.path-mod-feedback .mform.feedback_form#feedback_edit_form .fitem:hover {
42 background: #f5f5f5;
43}
44
45.path-mod-feedback .mform.feedback_form#feedback_edit_form .fitem .fitemtitle label {
46 width: 100%;
47}
48
49.path-mod-feedback .mform.feedback_form#feedback_edit_form .fitem .fitemtitle .itemtitle {
50 position: relative;
51 width: 100%;
52}
53
54.path-mod-feedback .mform.feedback_form#feedback_edit_form .fitem .fitemtitle .itemtitle .itemdd,
55.path-mod-feedback .mform.feedback_form#feedback_edit_form .fitem .fitemtitle .itemtitle .itemname {
56 float: left;
57}
58
59.path-mod-feedback .mform.feedback_form#feedback_edit_form .fitem .fitemtitle .itemtitle .itemactions {
60 float: right;
61}
62
de2fec2e 63// Forum module
8bf57320 64
bfaee803
SH
65.path-mod-forum .forumsearch {
66 input,
67 .helptooltip {
68 margin: 0 3px;
69 }
70}
71
8903b17b
BB
72.path-mod-forum .forumheaderlist,
73.path-mod-forum .forumheaderlist td {
74 border: none;
75}
76
ebfb73db
AN
77.path-mod-forum {
78 .forumheaderlist {
79 thead .header,
80 tbody .discussion td {
8bf57320 81 white-space: normal;
ebfb73db
AN
82 vertical-align: top;
83 padding-left: 0.5em;
84 padding-right: 0.5em;
8bf57320 85 }
ebfb73db
AN
86
87 thead .header {
88 white-space: normal;
89 vertical-align: top;
90 }
91
92 thead .header.replies {
8bf57320
DM
93 text-align: center;
94 }
ebfb73db
AN
95 thead .header.lastpost {
96 text-align: right;
97 }
98 thead .header th,
0e878352 99 tbody .discussion td {
ebfb73db
AN
100 &.discussionsubscription {
101 width: 16px;
102 padding-left: 0.5em;
103 padding-right: 0.5em;
104 }
105 }
106 .discussion {
0e878352
DP
107 .author,
108 .replies,
109 .lastpost {
ebfb73db
AN
110 white-space: normal;
111 }
112 .discussionsubscription,
113 .replies {
114 text-align: center;
115 }
116 .topic,
117 .discussionsubscription,
118 .topic.starter,
ebfb73db
AN
119 .author,
120 .replies,
121 .lastpost {
122 vertical-align: top;
123 }
0433d36d
DM
124 .picture {
125 margin: 0 20px;
126 float: left;
127 }
cd924456
AN
128 .unread {
129 img {
130 margin: 0;
131 }
132 }
8bf57320
DM
133 }
134 }
135}
136
8903b17b
BB
137.forumpost {
138 .well;
139 padding: 6px;
73c4e333
AB
140 .header {
141 margin-bottom: 3px;
142 }
cee8be63
JC
143 .picture img {
144 margin: 3px;
145 &.userpicture {
146 margin-left: 3px;
147 margin-right: 10px;
148 }
149 }
150 .content {
151 .posting.fullpost {
152 margin-top: 8px;
153 }
154 }
155 .row {
156 .topic,
157 .content-mask,
158 .options {
159 margin-left: 48px;
160 }
161 &.side {
162 clear: both;
163 }
164 }
165}
166
8903b17b 167.forumpost .row .left {
cee8be63 168 width: 48px;
8903b17b
BB
169}
170
171.forumpost .options .commands {
172 margin-left: 0;
173}
174
175.forumpost .subject {
176 font-weight: bold;
177}
178
179// Override hardcoded forum modules styling
180.forumsearch input[type=text] {
eb695207 181 margin-bottom: 0 !important; /* stylelint-disable-line declaration-no-important */
8903b17b
BB
182}
183
35620f63
SH
184#page-mod-forum-discuss .discussioncontrols {
185 width: auto;
186 margin: 0;
8903b17b
BB
187}
188
189#page-footer {
190 margin-top: 1em;
191 padding: 1em 0;
e514c722 192 border-top: 2px solid @tableBorder;
8903b17b
BB
193}
194
0e878352
DP
195.maincalendar .calendarmonth td,
196.maincalendar .calendarmonth th {
e514c722 197 border: 1px dotted @tableBorder;
8903b17b
BB
198}
199
200.path-grade-report-grader h1 {
201 text-align: inherit;
202}
203
204#page-mod-chat-gui_basic input#message {
205 max-width: 100%;
206}
207
208#page-mod-data-view #singleimage {
209 width: auto;
210}
211
212.path-mod-data form {
213 margin-top: 10px;
214}
215
216.template_heading {
217 margin-top: 10px;
218}
219
220.breadcrumb-button {
221 float: right;
3355b72e 222 margin-top: 4px;
8903b17b 223}
eef85081 224
41dcfbf1
MA
225.breadcrumb-button .singlebutton {
226 float: left;
227 margin-left: 4px;
228}
229
af9c2dcf
GB
230.navbar-inverse .logininfo a {
231 color: @navbarInverseLinkColor;
232}
233.navbar-inverse .logininfo a:hover {
234 background-color: @navbarInverseLinkBackgroundHover; // "transparent" is default to differentiate :hover/:focus from .active
235 color: @navbarInverseLinkColorHover;
8903b17b
BB
236}
237
238.navbar-fixed-top,
239.navbar-fixed-bottom {
58183f9b 240 z-index: 4030;
8903b17b
BB
241}
242
8903b17b 243.ie .row-fluid .desktop-first-column {
58183f9b 244 margin-left: 0;
8903b17b
BB
245}
246.langmenu form {
247 margin: 0;
248}
249.container-fluid {
250 max-width: 1680px;
251 margin: 0 auto;
252}
253// contributed by Paul Hibbitts, see http://msdn.microsoft.com/en-us/library/ie/jj583807(v=vs.85).aspx
254canvas {
255 -ms-touch-action: auto;
256}
257
258div#dock {
259 display: none;
260}
261
de2fec2e
TH
262// Choice module
263
9184a2f7 264.path-mod-choice {
eaf45bce
DW
265 .media-left {
266 float: left;
267 padding-right: 1em;
8903b17b 268 }
1d6964dc
TL
269
270 .horizontal .choices .option {
271 display: inline-block;
272 }
8903b17b
BB
273}
274
de2fec2e
TH
275// Lesson module
276
8903b17b
BB
277.path-mod-lesson .firstpageoptions {
278 margin: auto;
279 min-width: 280px;
280 width: 60%;
281}
01a96461
RW
282
283.path-mod-lesson .centerpadded {
284 padding: 5px;
285 text-align: center;
286}
876c0ac3 287
63e4df60
DW
288/** General styles (scope: all of lesson) **/
289.path-mod-lesson .contents,
290.path-mod-lesson .standardtable,
291.path-mod-lesson .mform .box.contents,
2ede86d7
DW
292.path-mod-lesson .invisiblefieldset.fieldsetfix tr {
293 text-align: left;
294}
295
296.path-mod-lesson #layout-table {
297 width: 100%;
298}
299
63e4df60 300.path-mod-lesson .edit_buttons form,
2ede86d7
DW
301.path-mod-lesson .edit_buttons input {
302 display: inline;
303}
304
63e4df60 305.path-mod-lesson .userinfotable .cell,
2ede86d7
DW
306.path-mod-lesson .userinfotable .userpicture {
307 vertical-align: middle;
308}
309
310.path-mod-lesson .invisiblefieldset.fieldsetfix {
311 display: block;
312}
313
314.path-mod-lesson .slideshow {
315 overflow: auto;
316 padding: 15px;
317}
318
319.path-mod-lesson .menu .menuwrapper {
320 max-height: 400px;
321 overflow: auto;
322 vertical-align: top;
323 margin-bottom: 10px;
324}
325
326.path-mod-lesson .menu ul {
327 list-style: none;
dd9dd095
DP
328 padding: 5px 0 0 5px;
329 margin: 0;
2ede86d7
DW
330}
331.path-mod-lesson .menu ul li {
332 padding-bottom: 5px;
333}
334.path-mod-lesson .skip {
335 position: absolute;
336 top: -1000em;
337 width: 20em;
338}
63e4df60 339.path-mod-lesson .branchbuttoncontainer.horizontal div,
2ede86d7
DW
340.path-mod-lesson .branchbuttoncontainer.horizontal form {
341 display: inline;
342}
343.path-mod-lesson .firstpageoptions {
344 width: 30%;
345 margin-left: 35%;
346 margin-top: 1em;
347}
63e4df60
DW
348.path-mod-lesson .progress_bar_table,
349.path-mod-lesson .progress_bar_completed,
2ede86d7
DW
350.path-mod-lesson .progress_bar_todo {
351 padding: 0;
352 margin: 0;
353}
354.path-mod-lesson .progress_bar_token {
355 height: 20px;
356 width: 5px;
357 padding: 0;
358 margin: 0;
359}
360.path-mod-lesson .edit_pages_box .addlinks {
361 margin: 0;
362 margin-bottom: 1em;
363}
364.path-mod-lesson .progress_bar_completed {
365 background-color: green;
366 text-align: right;
367 vertical-align: middle;
dd9dd095 368 color: #fff;
2ede86d7 369}
63e4df60 370
2ede86d7
DW
371.path-mod-lesson .resourcecontent {
372 text-align: center;
373}
63e4df60
DW
374
375.path-mod-lesson .answeroption .fcheckbox > span {
376 position: relative;
377 float: left;
378}
379
380.path-mod-lesson .answeroptiongroup .fgroup > span {
381 position: relative;
382 width: 100%;
383}
384
385.path-mod-lesson .answeroption .fcheckbox input,
386.path-mod-lesson .answeroptiongroup input {
387 position: absolute;
388 top: 2px;
dd9dd095 389 margin-top: 0;
63e4df60
DW
390 left: 0;
391}
392
393.path-mod-lesson .answeroption .fcheckbox label,
394.path-mod-lesson .mform .fitem.answeroptiongroup fieldset.fgroup label {
395 padding-left: 20px;
396 float: left;
397}
398
399.path-mod-lesson .answeroption .felement label p:last-child,
400.path-mod-lesson .answeroptiongroup .felement label p:last-child {
dd9dd095 401 margin-bottom: 0;
63e4df60
DW
402}
403
404/**
405 * Style for view.php
406 **/
2ede86d7
DW
407#page-mod-lesson-view .password-form .submitbutton {
408 display: inline;
409}
410.path-mod-lesson .reviewessay {
411 width: 40%;
dd9dd095
DP
412 border: 1px solid #ddd;
413 background-color: #eee;
2ede86d7 414}
63e4df60
DW
415
416/* Countdown timer. */
417#lesson-timer {
418 text-align: center;
419}
420
421.path-mod-lesson .essayungraded {
422 background-color: #efcfcf;
423}
424
425.path-mod-lesson .essaygraded {
426 background-color: #efefcf;
427}
428
429.path-mod-lesson .essaysent {
430 background-color: #cfefcf;
431}
432
14cdc257
RW
433.path-mod-wiki .wiki_headingtitle,
434.path-mod-wiki .midpad,
435.path-mod-wiki .wiki_headingtime {
436 text-align: inherit;
876c0ac3 437}
14cdc257
RW
438
439.path-mod-wiki .wiki_contentbox {
440 width: 100%;
eef85081 441}
1765866f 442
a36f97f7
JC
443// Dropdown styling.
444.dropdown-menu {
445 > li > a {
446 padding: 3px 20px 3px 8px;
447 }
448}
a36f97f7 449
1765866f
DM
450// Survey module
451
452.path-mod-survey {
453 .surveytable {
75b68df3
DP
454 > tbody > tr:nth-of-type(odd) {
455 background-color: @tableBackground;
456 }
457 > tbody > tr:nth-of-type(even) {
458 background-color: @tableBackgroundAccent;
459 }
460 .rblock label {
461 text-align: center;
462 }
1765866f 463 }
0e878352
DP
464 .resultgraph,
465 .reportsummary,
466 .studentreport,
467 .reportbuttons,
468 .centerpara {
418b9328 469 text-align: center;
1765866f
DM
470 }
471}
a36f97f7
JC
472
473.nav .caret {
474 margin-left: 4px;
475}
d9640a99 476
328ef3df
JC
477// Dividers
478.nav {
479 .divider {
480 overflow: hidden;
481 width: 0;
d8d65e76
ME
482 height: @navbarHeight;
483 border-left: 1px solid @navbarBackground;
484 border-right: 1px solid @navbarBackgroundHighlight;
485 }
486}
487.navbar-inverse {
488 .nav {
489 .divider {
490 border-left-color: @navbarInverseBackground;
491 border-right-color: lighten(@navbarInverseBackground, 25%);
492 }
328ef3df
JC
493 }
494}
328ef3df
JC
495.dropdown-menu {
496 .divider {
497 width: auto;
498 height: 1px;
d8d65e76
ME
499 border-left: 0 none;
500 border-right: 0 none;
328ef3df 501 }
d9640a99 502}
6da0e4cf
JC
503
504// Usermenu
505.usermenu {
854a647e
JC
506 .login {
507 color: @navbarText;
508 line-height: 40px;
509 a {
f89a85f8
JC
510 color: @linkColor;
511 &:hover,
512 &:focus {
513 color: @linkColorHover;
514 text-decoration: underline;
515 }
854a647e
JC
516 }
517 }
f89a85f8
JC
518 .moodle-actionmenu {
519
520 .toggle-display {
6da0e4cf 521 display: block;
f89a85f8
JC
522 opacity: 1;
523 color: @navbarLinkColor;
524 line-height: 40px;
525 height: 40px;
526 &:hover {
527 color: @navbarLinkColorHover;
528 }
529
530 .userbutton {
531 height: 40px;
6da0e4cf 532 line-height: 40px;
0e878352 533 .avatars {
f89a85f8
JC
534 display: inline-block;
535 height: 36px;
536 width: 36px;
537 vertical-align: middle;
538 margin-right: 6px;
539 margin-left: 6px;
540
541 .avatar,
542 img {
543 display: block;
544 }
545 }
546 .usertext {
547 display: inline-block;
548 vertical-align: middle;
549 line-height: 1em;
550 color: inherit;
551 .meta,
552 .role {
553 display: block;
554 font-size: 12px;
555 .value {
556 font-weight: bold;
557 }
558 }
559 .role {
560 font-weight: bold;
561 }
562 }
6da0e4cf 563 }
6da0e4cf 564
f89a85f8
JC
565 // Hide caret when JS is disabled.
566 .caret {
567 display: none;
6da0e4cf
JC
568 }
569 }
f89a85f8
JC
570
571
572 // A little bit of visual feedback for the action menu when Javascript is disabled.
573 .menu {
574 .menu-action.icon {
575 img {
576 border-radius: 0;
577 background: transparent;
578 box-shadow: none;
579 }
580 &:hover img {
581 background: #fff;
582 border-radius: 4px;
65f9a71f 583 box-shadow: 0 0 16px rgba(0, 0, 0, 0.125);
6da0e4cf
JC
584 }
585 }
6da0e4cf 586 }
f89a85f8
JC
587 &[data-enhanced] .menu {
588 .menu-action.icon,
589 .menu-action.icon:hover {
590 img {
591 border-radius: 0;
592 background: transparent;
593 box-shadow: none;
594 }
595 }
6da0e4cf 596 }
f89a85f8 597
6da0e4cf
JC
598 }
599}
f89a85f8 600.navbar-inverse {
854a647e
JC
601 .usermenu {
602 .login {
603 color: @navbarInverseText;
604 a {
605 color: @navbarInverseLinkColor;
606 &:hover {
607 color: @navbarInverseLinkColorHover;
608 }
609 }
610 }
f89a85f8
JC
611 .moodle-actionmenu {
612 .toggle-display {
613 color: @navbarInverseLinkColor;
614 }
615 .userbutton {
616 .usertext {
854a647e 617 color: @navbarInverseLinkColor;
f89a85f8
JC
618 .meta {
619 color: @navbarInverseText;
620 .value {
621 color: @navbarInverseLinkColor;
622 }
623 }
6da0e4cf
JC
624 }
625 }
f89a85f8
JC
626 &:hover {
627 .usertext {
628 color: @navbarInverseLinkColorHover;
629 .meta {
630 color: @navbarInverseText;
631 .value {
632 color: @navbarInverseLinkColorHover;
633 }
854a647e
JC
634 }
635 }
636 }
f89a85f8 637 &[data-enhanced] .toggle-display.textmenu {
854a647e
JC
638 .caret {
639 border-top-color: @navbarInverseLinkColorHover;
640 }
6da0e4cf 641 }
f89a85f8
JC
642
643 // A little bit of visual feedback for the action menu when Javascript is disabled.
644 .menu {
645 .menu-action.icon {
646 img {
647 border-radius: 0;
648 background: transparent;
649 box-shadow: none;
650 }
651 &:hover img {
652 background: #333;
653 border-radius: 4px;
65f9a71f 654 box-shadow: 0 0 16px rgba(255, 255, 255, 1);
f89a85f8
JC
655 }
656 }
657 }
658 &[data-enhanced] .menu {
659 .menu-action.icon,
660 .menu-action.icon:hover {
661 img {
662 border-radius: 0;
663 background: transparent;
664 box-shadow: none;
665 }
666 }
667 }
6da0e4cf
JC
668 }
669 }
670}
f89a85f8
JC
671
672.jsenabled {
6da0e4cf 673 .usermenu {
f89a85f8
JC
674 .moodle-actionmenu {
675 .toggle-display {
676 display: block;
677
678 &.textmenu {
679 padding-left: 8px;
680 padding-right: 8px;
681 }
682
683 // Show caret when JS is enabled.
684 .caret {
685 display: inline-block;
686 position: relative;
687 top: 9px;
688 }
689 }
690
691 > .menubar {
692 display: block;
65f9a71f 693 margin: 0;
f89a85f8
JC
694 }
695 > .menu {
696 min-width: 160px;
697 .filler {
698 display: block;
699 .nav-divider();
700 }
701 }
702
703 &.show {
704 background-color: @navbarLinkBackgroundActive;
705 .menu {
706 padding: 5px 0;
707 margin: 2px 0 0;
708 background-clip: padding-box;
709 &:before {
710 content: '';
711 display: inline-block;
418b9328
DP
712 border-left: 7px solid transparent;
713 border-right: 7px solid transparent;
f89a85f8
JC
714 border-bottom: 7px solid #ccc;
715 border-bottom-color: @dropdownBorder;
716 position: absolute;
717 top: -7px;
718 }
719 &:after {
720 content: '';
721 display: inline-block;
418b9328
DP
722 border-left: 6px solid transparent;
723 border-right: 6px solid transparent;
f89a85f8
JC
724 border-bottom: 6px solid @dropdownBackground;
725 position: absolute;
726 top: -6px;
727 }
728
729 a {
f89a85f8
JC
730 border-radius: 0;
731
8ef43cfd
JC
732 &:focus {
733 text-decoration: none;
734 }
f89a85f8 735 &:hover {
8ef43cfd 736 text-decoration: none;
f89a85f8
JC
737 #gradient > .vertical(@dropdownLinkBackgroundHover, darken(@dropdownLinkBackgroundHover, 5%));
738 }
739 }
740 &.align-tr-br {
741 margin-top: 2px;
742 }
743 .box-shadow (0 5px 10px rgba(0, 0, 0, 0.2));
744 }
f89a85f8 745 }
6da0e4cf 746 }
f89a85f8
JC
747 }
748 .navbar-inverse {
749 .usermenu {
750 .moodle-actionmenu {
751
752 &.show {
753 background-color: @navbarInverseLinkBackgroundActive;
754 }
6da0e4cf
JC
755 }
756 }
f89a85f8
JC
757 }
758}
759
d99949ab
FM
760
761.usermenu {
762 float: right;
763 > .moodle-actionmenu {
764 > .menu {
765 &:before {
766 right: 9px;
f89a85f8 767 }
d99949ab
FM
768 &:after {
769 right: 10px;
f89a85f8 770 }
6da0e4cf 771 }
d99949ab
FM
772 > .menubar li a {
773 text-align: right;
6da0e4cf
JC
774 }
775 }
776}
d99949ab
FM
777&.userloggedinas .usermenu .userbutton .avatars {
778 .avatar {
779 &.current {
780 left: 16px;
6da0e4cf
JC
781 }
782 }
783}
f89a85f8 784
f89a85f8
JC
785.userloggedinas .usermenu .userbutton .avatars {
786 .avatar {
787 &.current {
788 position: relative;
789 top: 4px;
790 left: 4px;
791 width: 20px;
792 height: 20px;
793 margin-top: 11px;
794 margin-bottom: -34px;
795 border: 1px solid #fff;
796 border-radius: 50%;
418b9328 797 box-shadow: -2px -2px 16px rgba(0, 0, 0, 0.25);
f89a85f8
JC
798 }
799 img {
800 width: inherit;
801 height: inherit;
802 }
803 overflow: hidden;
804 }
805}
de2fec2e
TH
806
807// Quiz module
97f4556a
SL
808#mod_quiz_preflight_form .femptylabel .felement {
809 margin: 0;
810 padding: 0;
811}
de2fec2e
TH
812
813// Question navigation block.
814.path-mod-quiz #mod_quiz_navblock {
815 .qnbutton {
816 text-decoration: none;
817 font-size: 14px;
818 line-height: 20px;
819 font-weight: normal;
820 background-color: @white;
821 background-image: none;
822 height: 40px;
823 width: 30px;
824 border-radius: 3px;
825 border: 0;
826 overflow: visible;
827 margin: 0 6px 6px 0;
828 }
829 span.qnbutton {
830 cursor: default;
831 background-color: @inputDisabledBackground;
832 color: @gray;
833 }
834 a.qnbutton:hover,
835 a.qnbutton:active,
836 a.qnbutton:focus {
837 text-decoration: underline;
838 }
839
840 .qnbutton .thispageholder {
841 border: 1px solid;
842 border-radius: 3px;
843 z-index: 1;
844 }
845 .qnbutton.thispage .thispageholder {
846 border-width: 3px;
847 }
848 .allquestionsononepage .qnbutton.thispage .thispageholder {
849 border-width: 1px;
850 }
851
852 .qnbutton.flagged .thispageholder {
65f9a71f 853 background: transparent url([[pix:theme|mod/quiz/flag-on]]) 15px 0 no-repeat;
de2fec2e
TH
854 }
855
856 .qnbutton .trafficlight {
857 border: 0;
858 background: @white none center/10px no-repeat scroll;
859 height: 20px;
860 margin-top: 20px;
861 border-radius: 0 0 3px 3px;
862 }
863
864 .qnbutton.notyetanswered .trafficlight,
865 .qnbutton.invalidanswer .trafficlight {
866 background-color: @white;
867 }
868 .qnbutton.invalidanswer .trafficlight {
869 background-image: url([[pix:theme|mod/quiz/warningtriangle]]);
870 }
871 .qnbutton.correct .trafficlight {
872 background-image: url([[pix:theme|mod/quiz/checkmark]]);
873 background-color: @successText;
874 }
875 .qnbutton.blocked .trafficlight {
876 background-image: url([[pix:core|t/locked]]);
877 background-color: @inputDisabledBackground;
878 }
879 .qnbutton.notanswered .trafficlight,
880 .qnbutton.incorrect .trafficlight {
881 background-color: @errorText;
882 }
883 .qnbutton.partiallycorrect .trafficlight {
884 background-image: url([[pix:theme|mod/quiz/whitecircle]]);
885 background-color: @orange;
886 }
887 .qnbutton.complete .trafficlight,
888 .qnbutton.answersaved .trafficlight,
05690639 889 .qnbutton.requiresgrading .trafficlight {
de2fec2e
TH
890 background-color: @grayLight;
891 }
892}
f25185d7
DW
893
894// Scorm.
895.path-mod-scorm .scorm-center {
896 text-align: center;
897}
898
899.path-mod-scorm.forcejavascript .scorm-center {
900 display: none;
901}
902
903.path-mod-scorm.jsenabled .scorm-center {
904 display: block;
905}
906
88924ff7
AG
907.path-mod-scorm #region-main #intro {
908 width: auto;
909}
910