Merge branch 'MDL-51194' of git://github.com/lazydaisy/moodle
[moodle.git] / theme / bootstrapbase / less / moodle / core.less
1 /* core.less */
3 /** Page layout CSS starts **/
4 .layout-option-noheader #page-header,
5 .layout-option-nonavbar #page-navbar,
6 .layout-option-nofooter #page-footer,
7 .layout-option-nocourseheader .course-content-header,
8 .layout-option-nocoursefooter .course-content-footer {
9     display:none;
10 }
12 .empty-region-side-pre #block-region-side-pre, // Pre region is empty.
13 .empty-region-side-post #block-region-side-post, // Post region is empty.
14 .jsenabled.docked-region-side-post #block-region-side-post, // All post blocks are docked.
15 .jsenabled.docked-region-side-pre #block-region-side-pre { // All pre blocks are docked.
16     display:none;
17 }
19 /** Start Legacy styles. Deprecated since Moodle 2.9. See MDL-48160 for further information. **/
20 .content-only #region-main.span9, // Two column layout with no block or all blocks docked.
21 .empty-region-side-post #region-bs-main-and-pre.span9, // LTR with no post area.
22 .empty-region-side-pre #region-bs-main-and-post.span9, // RTL with no pre area.
23 .empty-region-side-post #region-bs-main-and-post.span9 #region-main.span8, // RTL with no post area.
24 .jsenabled.docked-region-side-post #region-bs-main-and-pre.span9, // LTR with all post blocks docked.
25 .jsenabled.docked-region-side-post #region-bs-main-and-post.span9 #region-main.span8,
26 .jsenabled.docked-region-side-pre #region-bs-main-and-post.span9 { // RTL with all pre blocks docked.
27     width: 100%;
28 }
30 .empty-region-side-pre #region-bs-main-and-pre.span9 #region-main, // LTR with no pre area.
31 .jsenabled.docked-region-side-pre #region-bs-main-and-pre.span9 #region-main { // LTR with all pre blocks docked.
32     float: none;
33     width: 100%;
34 }
36 .empty-region-side-pre #region-bs-main-and-post.span9 #region-main.span8, // RTL with no pre area.
37 .jsenabled.docked-region-side-pre #region-bs-main-and-post.span9 #region-main.span8 { // RTL with all pre blocks docked.
38     float: right;
39 }
40 /** End Legacy styles **/
43 /* Default Three Columns - All
44 ------------------------------*/
46 .content-only {
47     #region-main-box,
48     #region-main {
49         width: 100%;
50     }
51 }
52 .empty-region-side-pre {
53     &.used-region-side-post {
54         #region-main {
55             width: 100%;
56         }
57     }
58 }
59 .empty-region-side-post {
60     &.used-region-side-pre {
61         #region-main-box {
62             width: 100%;
63         }
64     }
65 }
66 .jsenabled {
67     &.docked-region-side-pre {
68         &.empty-region-side-pre {
69             &.used-region-side-post {
70                 #region-main {
71                     width: 100%;
72                 }
73             }
74         }
75     }
76     &.docked-region-side-post {
77         &.empty-region-side-post {
78             &.used-region-side-pre {
79                 #region-main-box {
80                     width: 100%;
81                 }
82             }
83         }
84     }
85 }
86 .empty-region-side-post.used-region-side-pre, // Post region is empty and pre region is in use.
87 .jsenabled.docked-region-side-post.used-region-side-pre { // All post blocks docked and pre region is in use.
88     #region-main.span8 {
89     /** Increase the span size by 1 **/
90         .fluid-span(9);
91     }
92     #block-region-side-pre.span4 {
93     /** Decrease the span size by 1 **/
94         .fluid-span(3);
95     }
96 }
98 /** Page layout CSS ends **/
100 .dir-ltr,
101 .mdl-left,
102 .dir-rtl .mdl-right {
103     text-align: left;
105 .dir-rtl,
106 .mdl-right,
107 .dir-rtl .mdl-left {
108     text-align: right;
110 #add,
111 #remove,
112 .centerpara,
113 .mdl-align {
114     text-align: center;
116 a.dimmed,
117 a.dimmed:link,
118 a.dimmed:visited,
119 a.dimmed_text,
120 a.dimmed_text:link,
121 a.dimmed_text:visited,
122 .dimmed_text,
123 .dimmed_text a,
124 .dimmed_text a:link,
125 .dimmed_text a:visited,
126 .usersuspended,
127 .usersuspended a,
128 .usersuspended a:link,
129 .usersuspended a:visited,
130 .dimmed_category,
131 .dimmed_category a {
132     .muted
134 .activity.label .dimmed_text {
135     .opacity(50)
137 .unlist,
138 .unlist li,
139 .inline-list,
140 .inline-list li,
141 .block .list,
142 .block .list li,
143 .section li.activity,
144 .section li.movehere,
145 .tabtree li {
146     list-style: none;
147     margin: 0;
148     padding: 0;
150 .inline,
151 .inline-list li {
152     display: inline;
154 .notifytiny {
155     font-size: @fontSizeMini;
157 .notifytiny li,
158 .notifytiny td {
159     font-size: 100%;
161 .red,
162 .notifyproblem {
163     color: @errorText;
165 .green,
166 .notifysuccess {
167     color: @successText;
169 .highlight {
170     background: @infoBackground;
172 .reportlink {
173     text-align: right;
175 a.autolink.glossary:hover {
176     cursor: help;
178 /* Block which is hidden if javascript enabled, prevents fickering visible when JS from footer used! */
179 .collapsibleregioncaption {
180     white-space: nowrap;
182 .pagelayout-mydashboard.jsenabled .collapsibleregioncaption {
183     cursor: pointer;
185 .collapsibleregioncaption img {
186     vertical-align: middle;
189 .jsenabled .hiddenifjs {
190     display: none;
192 .visibleifjs {
193     display: none;
195 .jsenabled .visibleifjs {
196     display: inline;
198 .jsenabled .collapsibleregion {
199     overflow: hidden;
201 .jsenabled .collapsed .collapsibleregioninner {
202     visibility: hidden;
204 .collapsible-actions {
205     display: none;
206     text-align: right;
208 .dir-rtl .collapsible-actions {
209     text-align: left;
211 .jsenabled .collapsible-actions {
212     display: block;
214 .collapsible-actions .collapseexpand {
215     padding-left: 20px;
216     background: url([[pix:t/collapsed]]) 2px center no-repeat;
218 .dir-rtl .collapsible-actions .collapseexpand {
219     padding-right: 20px;
220     padding-left: 0;
221     background: url([[pix:t/collapsed_rtl]]) right center no-repeat;
223 .collapsible-actions .collapse-all,
224 .dir-rtl .collapsible-actions .collapse-all {
225     background-image: url([[pix:t/expanded]]);
227 .yui-overlay .yui-widget-bd {
228     background-color: #FFEE69;
229     border: 1px solid #A6982B;
230     border-top-color: #D4C237;
231     color: #000000;
232     left: 0;
233     padding: 2px 5px;
234     position: relative;
235     top: 0;
236     z-index: 1;
238 .clearer {
239     background: transparent;
240     border-width: 0;
241     clear: both;
242     display: block;
243     height: 1px;
244     margin: 0;
245     padding: 0;
247 .bold,
248 .warning,
249 .errorbox .title,
250 .pagingbar .title,
251 .pagingbar .thispage {
252     font-weight: bold;
254 img.resize {
255     height: 1em;
256     width: 1em;
258 .block img.resize,
259 .breadcrumb img.resize {
260     height: 0.9em;
261     width: 0.8em;
263 /* Icon styles */
264 img.icon {
265     height: 16px;
266     vertical-align: text-bottom;
267     width: 16px;
268     padding-right: 6px;
270 .dir-rtl img.icon {
271     padding-left: 6px;
272     padding-right: 0;
274 img.iconsmall {
275     height: 12px;
276     margin-right: 3px;
277     vertical-align: middle;
278     width: 12px;
280 img.iconhelp, .helplink img {
281     height: 16px;
282     padding-left: 3px;
283     vertical-align: text-bottom;
284     width: 16px;
286 h1 img.iconhelp, h1 img.icon,
287 h2 img.iconhelp, h2 img.icon,
288 h3 img.iconhelp, h3 img.icon,
289 h4 img.iconhelp, h4 img.icon,
290 h5 img.iconhelp, h5 img.icon,
291 h6 img.iconhelp, h6 img.icon {
292   vertical-align: middle;
293   padding: 4px;
295 .dir-rtl img.iconhelp, .dir-rtl .helplink img {
296     padding-right: 3px;
297     padding-left: 0;
299 img.iconlarge {
300     height: 24px;
301     width: 24px;
302     vertical-align: middle;
304 img.iconsort {
305     vertical-align: text-bottom;
306     padding-left: .3em;
307     margin-bottom: .15em;
309 .dir-rtl img.iconsort {
310     padding-right: .3em;
311     padding-left: 0;
313 img.icontoggle {
314     height: 17px;
315     vertical-align: middle;
316     width: 50px;
318 img.iconkbhelp {
319     height: 17px;
320     width: 49px;
322 img.icon-pre, .dir-rtl img.icon-post {
323     padding-right: 3px;
324     padding-left: 0;
326 img.icon-post, .dir-rtl img.icon-pre {
327     padding-left: 3px;
328     padding-right: 0;
330 .boxaligncenter {
331     margin-left: auto;
332     margin-right: auto;
334 .boxalignright {
335     margin-left: auto;
336     margin-right: 0;
338 .boxalignleft {
339     margin-left: 0;
340     margin-right: auto;
342 .boxwidthnarrow {
343     width: 30%;
345 .boxwidthnormal {
346     width: 50%;
348 .boxwidthwide {
349     width: 80%;
351 .headermain {
352     font-weight: bold;
354 #maincontent {
355     display: block;
356     height: 1px;
357     overflow: hidden;
359 img.uihint {
360     cursor: help;
362 #addmembersform table {
363     margin-left: auto;
364     margin-right: auto;
366 table.flexible .emptyrow {
367     display: none;
369 img.emoticon {
370     vertical-align: middle;
371     width: 15px;
372     height: 15px;
374 form.popupform,
375 form.popupform div {
376     display: inline;
378 .arrow_button input {
379     overflow: hidden;
381 .action-icon img.smallicon {
382     vertical-align: text-bottom;
383     margin: 0 0.3em;
386 /** The 1-pixel padding is there to avoid phantom scroll bars on OS X (FF, Safari and Chrome)**/
387 .no-overflow {
388     overflow: auto;
389     padding-bottom: 1px;
391 .pagelayout-report .no-overflow {
392     overflow: visible;
394 .no-overflow > .generaltable {
395     margin-bottom: 0;
397 // Accessibility features
399 // Accessibility: text 'seen' by screen readers but not visual users.
400 .accesshide {
401     position: absolute;
402     left: -10000px;
403     font-weight: normal;
404     font-size: 1em;
406 .dir-rtl .accesshide {
407     top: -30000px;
408     left: auto;
410 span.hide,
411 div.hide {
412     display: none;
414 // Accessibility: Skip block link, for keyboard-only users.
415 a.skip-block,
416 a.skip {
417     position: absolute;
418     top: -1000em;
419     font-size: 0.85em;
420     text-decoration: none;
422 a.skip-block:focus,
423 a.skip-block:active,
424 a.skip:focus,
425 a.skip:active {
426     position: static;
427     display: block;
429 .skip-block-to {
430     display: block;
431     height: 1px;
432     overflow: hidden;
434 // Blogs
435 .addbloglink {
436     text-align: center;
438 .blog_entry .audience {
439     text-align: right;
440     padding-right: 4px;
442 .blog_entry .tags {
443     margin-top: 15px;
445 .blog_entry .tags .action-icon img.smallicon {
446     height: 16px;
447     width: 16px;
449 .blog_entry .content {
450     margin-left: 43px;
452 // Group
453 #page-group-index #groupeditform {
454     text-align: center;
456 #doc-contents h1 {
457     margin: 1em 0 0 0;
459 #doc-contents ul {
460     margin: 0;
461     padding: 0;
462     width: 90%;
464 #doc-contents ul li {
465     list-style-type: none;
467 .groupmanagementtable td {
468     vertical-align: top;
470 .groupmanagementtable #existingcell,
471 .groupmanagementtable #potentialcell {
472     width: 42%;
474 .groupmanagementtable #buttonscell {
475     width: 16%;
477 .groupmanagementtable #buttonscell p.arrow_button input {
478     width: auto;
479     min-width: 80%;
480     margin: 0 auto;
482 .groupmanagementtable #removeselect_wrapper,
483 .groupmanagementtable #addselect_wrapper {
484     width: 100%;
486 .groupmanagementtable #removeselect_wrapper label,
487 .groupmanagementtable #addselect_wrapper label {
488     font-weight: normal;
490 .dir-rtl .groupmanagementtable p {
491     text-align: right;
493 #group-usersummary {
494     width: 14em;
496 .groupselector {
497     margin-top: 3px;
498     margin-bottom: 3px;
499     display: inline-block;
501 .groupselector label {
502     display: inline-block;
504 // Login
505 .loginbox {
506     margin: 15px;
507     overflow: visible;
509 .loginbox.twocolumns {
510     margin: 15px;
512 .loginbox h2,
513 .loginbox .subcontent {
514     margin: 5px;
515     padding: 10px;
516     text-align: center;
518 .loginbox .loginpanel .desc {
519     margin: 0;
520     padding: 0;
521     margin-bottom: 5px;
522     margin-top:15px;
524 .loginbox .signuppanel .subcontent {
525     text-align: left;
527 .dir-rtl .loginbox .signuppanel .subcontent {
528     text-align: right;
530 .loginbox .loginsub {
531     margin-left: 0;
532     margin-right: 0;
534 .loginbox .guestsub,
535 .loginbox .forgotsub,
536 .loginbox .potentialidps {
537     margin: 5px 12%;
539 .loginbox .potentialidps .potentialidplist {
540     margin-left: 40%;
542 .loginbox .potentialidps .potentialidplist div {
543     text-align: left;
545 .loginbox .loginform {
546     margin-top: 1em;
547     text-align: left;
549 .loginbox .loginform .form-label {
550     float: left;
551     text-align: right;
552     width: 49%;
553     white-space: nowrap;
555 .loginbox .loginform .form-input {
556     float: right;
557     width: 50%;
559 .loginbox .loginform .form-input input {
560     width: 6em;
562 .loginbox .signupform {
563     margin-top: 1em;
564     text-align: center;
566 .loginbox.twocolumns .loginpanel,
567 .loginbox.twocolumns .signuppanel {
568     width: 48%;
569     border: 0;
570     margin: 0;
571     padding: 0;
572     .box-sizing(border-box);
573     display: block;
574     float: left;
575     margin-left: 2.76243%;
576     min-height: 30px;
577     margin-bottom: -2000px;
578     padding-bottom: 2000px;
580 .dir-rtl {
581     .loginbox.twocolumns .loginpanel,
582     .loginbox.twocolumns .signuppanel {
583         float:right;
584     }
587 .loginbox .potentialidp .smallicon {
588     vertical-align: text-bottom;
589     margin: 0 .3em;
592 // Notes
593 .notepost {
594     margin-bottom: 1em;
596 .notepost .userpicture {
597     float: left;
598     margin-right: 5px;
600 .notepost .content,
601 .notepost .footer {
602     clear: both;
604 .notesgroup {
605     margin-left: 20px;
608 // My Moodle
609 .path-my .coursebox .overview {
610     margin: 15px 30px 10px 30px;
612 .path-my .coursebox .info {
613     float: none;
614     margin: 0;
617 // Modules
618 .mod_introbox {
619     padding: 10px;
621 table.mod_index {
622     width: 100%;
625 // Comments
626 .comment-ctrl {
627     font-size: 12px;
628     display: none;
629     margin: 0;
630     padding: 0;
632 .comment-ctrl h5 {
633     margin: 0;
634     padding: 5px;
636 .comment-area {
637     max-width: 400px;
638     padding: 5px;
640 .comment-area textarea {
641     width: 100%;
642     overflow: auto;
643     &.fullwidth {
644         -webkit-box-sizing: border-box;
645         -moz-box-sizing: border-box;
646         box-sizing: border-box;
647     }
649 .comment-area .fd {
650     text-align: right;
652 .comment-meta span {
653     color: gray;
655 .comment-link img {
656     vertical-align: text-bottom;
658 .comment-list {
659     font-size: 11px;
660     overflow: auto;
661     list-style: none;
662     padding: 0;
663     margin: 0;
665 .comment-list li {
666     margin: 2px;
667     list-style: none;
668     margin-bottom: 5px;
669     clear: both;
670     padding: .3em;
671     position: relative;
673 .comment-list li.first {
674     display: none
676 .comment-paging{
677     text-align: center;
679 .comment-paging .pageno{
680     padding: 2px;
682 .comment-paging .curpage{
683     border: 1px solid #CCC;
685 .comment-message .picture {
686     width: 20px;
687     float: left;
689 .dir-rtl .comment-message .picture {
690     float: right;
692 .comment-message .text {
693     margin: 0;
694     padding: 0;
696 .comment-message .text p {
697     padding: 0;
698     margin: 0 18px 0 0;
700 .comment-delete {
701     position: absolute;
702     top: 0;
703     right: 0;
704     margin: .3em;
706 .dir-rtl .comment-delete {
707     position: absolute;
708     left: 0;
709     right: auto;
710     margin: .3em;
712 .comment-report-selectall{
713     display: none
715 .comment-link {
716     display: none
718 .jsenabled .comment-link {
719     display: block
721 .jsenabled .showcommentsnonjs{
722     display: none
724 .jsenabled .comment-report-selectall{
725     display: inline
727 /**
728 * Completion progress report
729 */
730 .completion-expired {
731     background: @errorBackground;
733 .completion-expected {
734     font-size: @fontSizeMini;
736 .completion-sortchoice,
737 .completion-identifyfield {
738     font-size: @fontSizeMini;
739     vertical-align: bottom;
741 .completion-progresscell {
742     text-align: right;
744 .completion-expired .completion-expected {
745     font-weight: bold;
747 /**
748 * Tags
749 */
750 #page-tag-coursetags_edit .coursetag_edit_centered {
751     position: relative;
752     width: 600px;
753     margin: 20px auto;
755 #page-tag-coursetags_edit .coursetag_edit_row {
756     clear: both;
758 #page-tag-coursetags_edit .coursetag_edit_row .coursetag_edit_left {
759     float: left;
760     width: 50%;
761     text-align: right;
763 #page-tag-coursetags_edit .coursetag_edit_row .coursetag_edit_right {
764     margin-left: 50%;
766 #page-tag-coursetags_edit .coursetag_edit_input3 {
767     display: none;
769 #page-tag-coursetags_more .coursetag_more_large {
770     font-size: 120%;
772 #page-tag-coursetags_more .coursetag_more_small {
773     font-size: 80%;
775 #page-tag-coursetags_more .coursetag_more_link {
776     font-size: 80%;
778 #tag-description,
779 #tag-blogs {
780     width: 100%;
782 #tag-management-box {
783     margin-bottom: 10px;
784     line-height: 20px;
786 #tag-user-table {
787     padding: 3px;
788     clear: both;
789     width: 100%;
791 #tag-user-table {
792     .clearfix
794 img.user-image {
795     height: 100px;
796     width: 100px;
798 #small-tag-cloud-box {
799     width: 300px;
800     margin: 0 auto;
802 #big-tag-cloud-box {
803     width: 600px;
804     margin: 0 auto;
805     float: none;
807 ul#tag-cloud-list {
808     list-style: none;
809     padding: 5px;
810     margin: 0;
812 ul#tag-cloud-list li {
813     margin: 0;
814     display: inline;
815     list-style-type: none;
817 #tag-search-box {
818     text-align: center;
819     margin: 10px auto;
821 #tag-search-results-container {
822     padding: 0;
823     width: 100%;
825 #tag-search-results {
826     padding: 0;
827     margin: 15px 20% 0 20%;
828     float: left;
829     width: 60%;
830     display: block;
832 #tag-search-results li {
833     width: 30%;
834     float: left;
835     padding-left: 1%;
836     text-align: left;
837     line-height: 20px;
838     padding-right: 1%;
839     list-style: none;
841 span.flagged-tag,
842 tr.flagged-tag,
843 span.flagged-tag a,
844 tr.flagged-tag a {
845     color: @errorText;
847 .tag-management-table td,
848 .tag-management-table th {
849     vertical-align: middle;
850     padding: 4px;
852 .tag-management-table tr td.tageditingon .displaytagname,
853 .tag-management-table td .edittagname {
854     display: none;
856 .tag-management-table tr td.tageditingon .edittagname {
857     display: inherit;
858     position: relative;
860 .tag-management-table tr td.tageditingon .edittagname .editinstructions {
861     margin-right: -300px;
862     margin-left: 0;
864 .tag-management-table tr td .tagnameedit img {
865     opacity: 0.2;
867 .tag-management-table tr:hover td .tagnameedit img,
868 .tag-management-table tr td .tagnameedit:focus img {
869     opacity: 1;
871 .tag-management-table tr:hover td.tageditingon .tagnameedit img {
872     opacity: 0.2;
874 #relatedtags-autocomplete-container {
875     margin-left: auto;
876     margin-right: auto;
877     min-height: 4.6em;
878     width: 100%;
880 #relatedtags-autocomplete {
881     position: relative;
882     display: block;
883     width: 60%;
884     margin-left: auto;
885     margin-right: auto;
887 #relatedtags-autocomplete .yui-ac-content {
888     position: absolute;
889     width: 420px;
890     left: 20%;
891     border: 1px solid @dropdownBorder;
892     background: @dropdownBackground;
893     overflow: hidden;
894     z-index: 9050;
896 #relatedtags-autocomplete .ysearchquery {
897     position: absolute;
898     right: 10px;
899     color: #808080;
900     z-index: 10;
902 #relatedtags-autocomplete .yui-ac-shadow {
903     position: absolute;
904     margin: .3em;
905     width: 100%;
906     background: #a0a0a0;
907     z-index: 9049;
909 #relatedtags-autocomplete ul {
910     padding: 0;
911     width: 100%;
912     margin: 0;
913     list-style-type: none;
915 #relatedtags-autocomplete li {
916     padding: 0 5px;
917     cursor: default;
918     white-space: nowrap;
920 #relatedtags-autocomplete li.yui-ac-highlight{
921     background: @dropdownLinkBackgroundHover;
922     color: @dropdownLinkColorHover;
924 h2.tag-heading,
925 div#tag-description,
926 div#tag-blogs,
927 body.tag .managelink {
928     padding: 5px;
930 .tag_cloud .s20 {
931     font-size: 1.5em;
932     font-weight: bold;
934 .tag_cloud .s19 {
935     font-size: 1.5em;
937 .tag_cloud .s18 {
938     font-size: 1.4em;
939     font-weight: bold;
941 .tag_cloud .s17 {
942     font-size: 1.4em;
944 .tag_cloud .s16 {
945     font-size: 1.3em;
946     font-weight: bold;
948 .tag_cloud .s15 {
949     font-size: 1.3em;
951 .tag_cloud .s14 {
952     font-size: 1.2em;
953     font-weight: bold;
955 .tag_cloud .s13 {
956     font-size: 1.2em;
958 .tag_cloud .s12,
959 .tag_cloud .s11 {
960     font-size: 1.1em;
961     font-weight: bold;
963 .tag_cloud .s10,
964 .tag_cloud .s9 {
965     font-size: 1.1em;
967 .tag_cloud .s8,
968 .tag_cloud .s7 {
969     font-size: 1em;
970     font-weight: bold;
972 .tag_cloud .s6,
973 .tag_cloud .s5 {
974     font-size: 1em;
976 .tag_cloud .s4,
977 .tag_cloud .s3 {
978     font-size: 0.9em;
979     font-weight: bold;
981 .tag_cloud .s2,
982 .tag_cloud .s1 {
983     font-size: 0.9em;
985 .tag_cloud .s0 {
986     font-size: 0.8em;
988 /**
989 * Web Service
990 */
991 #webservice-doc-generator td {
992     text-align: left;
993     border: 0 solid black;
995 /**
996 * Smart Select Element
997 */
998 .smartselect {
999     position: absolute;
1001 .smartselect .smartselect_mask {
1002     background-color: #fff;
1004 .smartselect ul  {
1005     padding: 0;
1006     margin: 0;
1008 .smartselect ul li {
1009     list-style: none;
1011 .smartselect .smartselect_menu {
1012     margin-right: 5px;
1014 .safari .smartselect .smartselect_menu {
1015     margin-left: 2px;
1017 .smartselect .smartselect_menu,
1018 .smartselect .smartselect_submenu {
1019     border: 1px solid #000;
1020     background-color: #FFF;
1021     display: none;
1023 .smartselect .smartselect_menu.visible,
1024 .smartselect .smartselect_submenu.visible {
1025     display: block;
1027 .smartselect .smartselect_menu_content ul li {
1028     position: relative;
1029     padding: 2px 5px;
1031 .smartselect .smartselect_menu_content ul li a {
1032     color: #333;
1033     text-decoration: none;
1035 .smartselect .smartselect_menu_content ul li a.selectable {
1036     color: inherit;
1038 .smartselect .smartselect_submenuitem {
1039     background-image: url([[pix:moodle|t/collapsed]]);
1040     background-repeat: no-repeat;
1041     background-position: 100%;
1043 /** Spanning mode */
1044 .smartselect.spanningmenu .smartselect_submenu {
1045     position: absolute;
1046     top: -1px;
1047     left: 100%;
1049 .smartselect.spanningmenu .smartselect_submenu a {
1050     white-space: nowrap;
1051     padding-right: 16px;
1053 .smartselect.spanningmenu .smartselect_menu_content ul li a.selectable:hover {
1054     text-decoration: underline;
1056 /** Compact mode */
1057 .smartselect.compactmenu .smartselect_submenu {
1058     position: relative;
1059     margin: 2px -3px;
1060     margin-left: 10px;
1061     display: none;
1062     border-width: 0;
1063     z-index: 1010;
1065 .smartselect.compactmenu .smartselect_submenu.visible {
1066     display: block;
1068 .smartselect.compactmenu .smartselect_menu {
1069     z-index: 1000;
1070     overflow: hidden;
1072 .smartselect.compactmenu .smartselect_submenu .smartselect_submenu {
1073     z-index: 1020;
1075 .smartselect.compactmenu .smartselect_submenuitem:hover > .smartselect_menuitem_label {
1076     font-weight: bold;
1078 /**
1079 * Registration
1080 */
1081 #page-admin-registration-register .registration_textfield {
1082     width: 300px;
1084 /**
1085 * Enrol
1086 */
1087 .userenrolment {
1088     width: 100%;
1089     border-collapse: collapse;
1091 .userenrolment tr {
1092     vertical-align:top;
1094 .userenrolment td {
1095     padding: 0;
1096     height: 41px;
1098 .userenrolment .subfield {
1099     margin-right: 5px;
1101 .userenrolment .col_userdetails .subfield_picture {
1102     float: left;
1104 .userenrolment .col_lastseen {
1105     width: 150px;
1107 .userenrolment .col_role {
1108     width: 262px;
1110 .userenrolment .col_role .roles,
1111 .userenrolment .col_group .groups {
1112     margin-right: 30px;
1114 .userenrolment .col_role .role,
1115 .userenrolment .col_group .group {
1116     float: left;
1117     padding: 3px;
1118     margin: 3px;
1119     white-space: nowrap;
1121 .userenrolment .col_role .role a,
1122 .userenrolment .col_group .group a {
1123     margin-left: 3px;
1124     cursor: pointer;
1126 .userenrolment .col_role .addrole,
1127 .userenrolment .col_group .addgroup {
1128     float: right;
1129     padding: 3px;
1130     margin: 3px;
1131     > *:hover {
1132         border-bottom:1px solid #666;
1133     }
1135 .userenrolment .col_role .addrole img,
1136 .userenrolment .col_group .addgroup img {
1137     vertical-align: baseline;
1140 .dir-rtl .userenrolment .col_role .role {
1141     float: right;
1144 .userenrolment .hasAllRoles .col_role .addrole {
1145     display: none;
1148 .userenrolment .col_enrol .enrolment {
1149     float: left;
1150     padding: 3px;
1151     margin: 3px;
1153 .userenrolment .col_enrol .enrolment a {
1154     float: right;
1155     margin-left: 3px;
1157 #page-enrol-users {
1158     .enrol_user_buttons {
1159         float: right;
1160         .enrolusersbutton {
1161             display: inline;
1162             div,
1163             form {
1164                 display: inline;
1165                 margin-right: 0;
1166             }
1167         }
1168     }
1169     #filterform {
1170         .well;
1171         .well-small;
1172         display: inline-block;
1173         .fitem {
1174             display: inline-block;
1175             line-height: @baseLineHeight * 2;
1176             margin-right: .3em;
1177             white-space: nowrap;
1178             label {
1179                 display: inline;
1180                 line-height: @baseLineHeight;
1181                 padding-right: .3em;
1182             }
1183             :before,
1184             :after {
1185                 display: inline;
1186             }
1187         }
1188         div,
1189         fieldset {
1190             display: inline;
1191             float: none;
1192             clear: none;
1193             width: auto;
1194             margin: 0;
1195         }
1196         select,
1197         .ftext input {
1198             width: 7em;
1199         }
1200         input,
1201         select {
1202             margin-bottom: 0;
1203         }
1204     }
1205   .user-enroller-panel .uep-search-results .user .details {
1206     width: 237px;
1207   }
1208   .user-enroller-panel .uep-search-results .cohort .details {
1209     width: 237px;
1210   }
1212 .dir-rtl {
1213     &#page-enrol-users {
1214         .col_userdetails {
1215             .subfield_picture {
1216                 float: right;
1217             }
1218         }
1219         .enrol_user_buttons {
1220             float: left;
1221             .enrolusersbutton {
1222                 margin-left: 0;
1223                 margin-right: 1em;
1224                 div {
1225                     margin-left: 0;
1226                 }
1227             }
1228         }
1229         #filterform {
1230             .fitem {
1231                 margin-right: 0;
1232                 margin-left: .3em;
1233                 label {
1234                     padding-right: 0;
1235                     padding-left: .3em;
1236                 }
1237             }
1238         }
1239     }
1242 #page-enrol-users .enrol-users-page-action input {
1243     margin-left: 0
1246 /**
1247 * Overide for RTL layout
1248 **/
1249 .dir-rtl .headermain {
1250     float: right;
1252 .dir-rtl .headermenu {
1253     float: left;
1255 .dir-rtl .loginbox .loginform .form-label {
1256     float: right;
1257     text-align: left;
1259 .dir-rtl .loginbox .loginform .form-input {
1260     text-align: right;
1261     margin-right: 1%;
1263 .dir-rtl .yui3-menu-hidden {
1264     left: 0;
1266 #page-admin-roles-define.dir-rtl #rolesform .felement {
1267     margin-right: 180px;
1269 #page-message-edit.dir-rtl table.generaltable th.c0 {
1270     text-align: right;
1272 .corelightbox {
1273     background-color: #CCC;
1274     position: absolute;
1275     top: 0;
1276     left: 0;
1277     width: 100%;
1278     height: 100%;
1279     text-align: center;
1281 .corelightbox img {
1282     position: fixed;
1283     top: 50%;
1284     left: 50%;
1287 .mod-indent-outer {
1288     display: table;
1290 .mod-indent {
1291     display: table-cell;
1293 .label .mod-indent {
1294   float:left;
1295   padding-top:20px
1298 /* Creates a series of .mod-indent-# rule declarations based on indent size and number of indent levels. */
1299 @mod-indent-size: 30px;
1300 @mod-indent-levels: 16;
1301 .mod-indent-generate(@n, @i: 1) when (@i =< @n) {
1302     .mod-indent-@{i} {
1303         width: (@i * @mod-indent-size);
1304     }
1305     .mod-indent-generate(@n, (@i + 1));
1307 .mod-indent-generate(@n, @i: 1) when (@i = @n) {
1308     .mod-indent-huge {
1309         width: (@i * @mod-indent-size);
1310     }
1312 .mod-indent-generate(@mod-indent-levels);
1314 /* Audio player size in 'block' mode (can only change width, height is hardcoded in JS) */
1315 .resourcecontent .mediaplugin_mp3 object {
1316     height: 25px;
1317     width: 600px
1319 .resourcecontent audio.mediaplugin_html5audio {
1320     width: 600px
1322 /** Large resource images should avoid hidden overflow **/
1323 .resourceimage {
1324     max-width: 100%;
1326 /* Audio player size in 'inline' mode (can only change width, as above) */
1327 .mediaplugin_mp3 object {
1328     height: 15px;
1329     width: 300px
1331 audio.mediaplugin_html5audio {
1332     width: 300px
1334 /* TinyMCE moodle media preview frame should not have padding */
1335 .core_media_preview.pagelayout-embedded #content {
1336     padding: 0;
1338 .core_media_preview.pagelayout-embedded #maincontent {
1339     height: 0;
1341 body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
1342     padding: 0;
1343     margin: 0;
1344     min-width: 0;
1345     background: none;
1347 /** Fix YUI 2 Treeview for Right to left languages **/
1348 .dir-rtl .ygtvtn,
1349 .dir-rtl .ygtvtm,
1350 .dir-rtl .ygtvtmh,
1351 .dir-rtl .ygtvtmhh,
1352 .dir-rtl .ygtvtp,
1353 .dir-rtl .ygtvtph,
1354 .dir-rtl .ygtvtphh,
1355 .dir-rtl .ygtvln,
1356 .dir-rtl .ygtvlm,
1357 .dir-rtl .ygtvlmh,
1358 .dir-rtl .ygtvlmhh,
1359 .dir-rtl .ygtvlp,
1360 .dir-rtl .ygtvlph,
1361 .dir-rtl .ygtvlphh,
1362 .dir-rtl .ygtvdepthcell,
1363 .dir-rtl .ygtvok,
1364 .dir-rtl .ygtvok:hover,
1365 .dir-rtl .ygtvcancel,
1366 .dir-rtl .ygtvcancel:hover {
1367     width: 18px;
1368     height: 22px;
1369     background-image: url([[pix:theme|yui2-treeview-sprite-rtl]]);
1370     background-repeat: no-repeat;
1371     cursor: pointer;
1373 .dir-rtl .ygtvtn {
1374     background-position: 0 -5600px;
1376 .dir-rtl .ygtvtm {
1377     background-position: 0 -4000px;
1379 .dir-rtl .ygtvtmh,
1380 .dir-rtl .ygtvtmhh {
1381     background-position: 0 -4800px;
1383 .dir-rtl .ygtvtp {
1384     background-position: 0 -6400px;
1386 .dir-rtl .ygtvtph,
1387 .dir-rtl .ygtvtphh {
1388     background-position: 0 -7200px;
1390 .dir-rtl .ygtvln {
1391     background-position: 0 -1600px;
1393 .dir-rtl .ygtvlm {
1394     background-position: 0 0;
1396 .dir-rtl .ygtvlmh,
1397 .dir-rtl .ygtvlmhh {
1398     background-position: 0 -800px;
1400 .dir-rtl .ygtvlp {
1401     background-position: 0 -2400px;
1403 .dir-rtl .ygtvlph,
1404 .dir-rtl .ygtvlphh {
1405     background-position: 0 -3200px
1407 .dir-rtl .ygtvdepthcell {
1408     background-position: 0 -8000px;
1410 .dir-rtl .ygtvok {
1411     background-position: 0 -8800px;
1413 .dir-rtl .ygtvok:hover {
1414     background-position: 0 -8844px;
1416 .dir-rtl .ygtvcancel {
1417     background-position: 0 -8822px;
1419 .dir-rtl .ygtvcancel:hover {
1420     background-position: 0 -8866px;
1422 .dir-rtl.yui-skin-sam .yui-panel .hd {
1423     text-align: right;
1425 .dir-rtl .yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd {
1426     text-align: right;
1428 /** Fix TinyMCE editor right to left **/
1429 .dir-rtl .clearlooks2.ie9 .mceAlert .mceMiddle span,.dir-rtl .clearlooks2 .mceConfirm .mceMiddle span {
1430     top: 44px;
1432 .dir-rtl .o2k7Skin table,
1433 .dir-rtl .o2k7Skin tbody,
1434 .dir-rtl .o2k7Skin a,
1435 .dir-rtl .o2k7Skin img,
1436 .dir-rtl .o2k7Skin tr,
1437 .dir-rtl .o2k7Skin div,
1438 .dir-rtl .o2k7Skin td,
1439 .dir-rtl .o2k7Skin iframe,
1440 .dir-rtl .o2k7Skin span,
1441 .dir-rtl .o2k7Skin *,
1442 .dir-rtl .o2k7Skin .mceText,
1443 .dir-rtl .o2k7Skin .mceListBox .mceText {
1444     text-align: right;
1446 .path-rating .ratingtable {
1447     width: 100%;
1448     margin-bottom: 1em;
1450 .path-rating .ratingtable th.rating {
1451     width: 100%;
1453 .path-rating .ratingtable td.rating,
1454 .path-rating .ratingtable td.time {
1455     white-space: nowrap;
1456     text-align: center;
1458 .initialbar {
1459     a, strong {
1460         padding-left: 3px;
1461         padding-right: 3px;
1462     }
1464 /* Moodle Dialogue Settings (moodle-core-dialogue)  */
1465 .moodle-dialogue-base .moodle-dialogue-lightbox {
1466     background-color: #AAA;
1468 .moodle-dialogue-base .hidden,
1469 .moodle-dialogue-base .moodle-dialogue-hidden {
1470     display: none;
1472 .no-scrolling {
1473     overflow: hidden;
1475 .moodle-dialogue-base .moodle-dialogue-fullscreen {
1476     left: 0px;
1477     top: 0px;
1478     right: 0px;
1479     bottom: -50px;
1480     position: fixed;
1482 .moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-content {
1483     overflow: auto;
1485 .moodle-dialogue-base .moodle-dialogue-fullscreen .closebutton {
1486     width: 28px;
1487     height: 16px;
1488     background-size: 100%;
1490 .moodle-dialogue-base .moodle-dialogue {
1491     padding: 0;
1492     margin: 0;
1493     background: none;
1494     border: none;
1495     z-index: 600;
1496     outline: #000 dotted 0;
1498 .moodle-dialogue-base .moodle-dialogue-wrap {
1499     margin-top: -3px;
1500     margin-left: -3px;
1501     background-color: #fff;
1502     border: 1px solid #ccc;
1503     .border-radius(10px);
1504     .box-shadow(5px 5px 20px 0 #666);
1506 .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd,
1507 .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd.yui3-widget-hd {
1508     margin: 0;
1509     padding: 5px;
1510     font-size: 12px;
1511     font-weight: normal;
1512     letter-spacing: 1px;
1513     color: #333;
1514     text-align: center;
1515     text-shadow: 1px 1px 1px #fff;
1516     .border-radius(10px 10px 0 0);
1517     border-bottom: 1px solid #bbb;
1518     background: #ccc;
1519     #gradient > .vertical(#fff, #ccc);
1520     filter: 0;
1522 .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd h1 {
1523     margin: 0;
1524     padding: 0;
1525     display: inline;
1526     font-size: 100%;
1527     font-weight: bold;
1529 .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd .yui3-widget-buttons {
1530     padding: 5px;
1532 .moodle-dialogue-base .closebutton {
1533     width: 25px;
1534     height: 15px;
1535     float: right;
1536     vertical-align: middle;
1537     display: inline-block;
1538     cursor: pointer;
1539     padding: 0;
1540     background-image: url([[pix:theme|sprite]]);
1541     background-repeat: no-repeat;
1542     border-style: none;
1544 .dir-rtl .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd .yui3-widget-buttons {
1545     left: 0;
1546     right: auto;
1548 .moodle-dialogue-base .moodle-dialogue .moodle-dialogue-bd {
1549     padding: 1em;
1550     line-height: 2em;
1551     color: #555;
1552     font-size: 12px;
1554 .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-content {
1555     padding: 0;
1556     background: #FFF;
1559 .moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-hd {
1560     padding: 10px;
1561     font-size: 16px;
1564 .moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-content {
1565     overflow: auto;
1566     position: absolute;
1567     top: 0px;
1568     bottom: 50px;
1569     left: 0px;
1570     right: 0px;
1571     margin: 0px;
1572     border: 0px;
1574 .moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-hd,
1575 .moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-wrap {
1576     border-radius: 0px;
1578 .moodle-dialogue-confirm .confirmation-dialogue {
1579     text-align: center;
1581 .moodle-dialogue-confirm .confirmation-dialogue input {
1582     text-align: center;
1584 .moodle-dialogue-exception .moodle-exception-message {
1585     text-align: center
1587 .moodle-dialogue-exception .moodle-exception-param label {
1588     font-weight: bold;
1590 .moodle-dialogue-exception .param-stacktrace label {
1591     background-color: #EEE;
1592     border: 1px solid #ccc;
1593     border-bottom-width: 0;
1595 .moodle-dialogue-exception .param-stacktrace pre {
1596     border: 1px solid #ccc;
1597     background-color: #fff;
1599 .moodle-dialogue-exception .param-stacktrace .stacktrace-file {
1600     color: navy;
1601     font-size: @fontSizeSmall;
1603 .moodle-dialogue-exception .param-stacktrace .stacktrace-line {
1604     color: @errorText;
1605     font-size: @fontSizeSmall;
1607 .moodle-dialogue-exception .param-stacktrace .stacktrace-call {
1608     color: #333;
1609     font-size: 90%;
1610     border-bottom: 1px solid #eee;
1612 .moodle-dialogue-base .moodle-dialogue .moodle-dialogue-content .moodle-dialogue-ft {
1613     padding: 0;
1614     margin: 0.7em 1em;
1615     text-align: right;
1616     background-color: #FFF;
1617     font-size: 12px;
1619 .moodle-dialogue-confirm .confirmation-message {
1620     margin: 0.5em 1em;
1622 .moodle-dialogue-confirm .confirmation-dialogue input {
1623     min-width: 80px
1625 .moodle-dialogue-exception .moodle-exception-message {
1626     margin: 1em;
1628 .moodle-dialogue-exception .moodle-exception-param {
1629     margin-bottom: 0.5em;
1631 .moodle-dialogue-exception .moodle-exception-param label {
1632     width: 150px;
1634 .moodle-dialogue-exception .param-stacktrace label {
1635     display: block;
1636     margin: 0;
1637     padding: 4px 1em;
1639 .moodle-dialogue-exception .param-stacktrace pre {
1640     display: block;
1641     height: 200px;
1642     overflow: auto;
1644 .moodle-dialogue-exception .param-stacktrace .stacktrace-file {
1645     display: inline-block;
1646     margin: 4px 0;
1648 .moodle-dialogue-exception .param-stacktrace .stacktrace-line {
1649     display: inline-block;
1650     width: 50px;
1651     margin: 4px 1em;
1653 .moodle-dialogue-exception .param-stacktrace .stacktrace-call {
1654     padding-left: 25px;
1655     margin-bottom: 4px;
1656     padding-bottom: 4px;
1658 .moodle-dialogue .moodle-dialogue-bd .content-lightbox {
1659     .opacity(75);
1660     width: 100%;
1661     height: 100%;
1662     top: 0;
1663     left: 0;
1664     background-color: white;
1665     text-align: center;
1666     padding: 10% 0;
1668 /* Apply a default max-height on tooltip text */
1669 .moodle-dialogue .tooltiptext {
1670     max-height: 300px;
1673 .moodle-dialogue-base .moodle-dialogue.moodle-dialogue-tooltip {
1674     z-index: 3001;
1676     .moodle-dialogue-bd {
1677         overflow: auto;
1678     }
1681 /* Question Bank - Question Chooser "Close" button */
1682 #page-question-edit.dir-rtl a.container-close {
1683     right: auto;
1684     left: 6px;
1686 /**
1687  * Chooser Dialogues (moodle-core-chooserdialogue)
1688  *
1689  * This CSS belong to the chooser dialogue which should work both with, and
1690  * without javascript enabled
1691  */
1692 /* Hide the dialog and it's title */
1693 .chooserdialoguebody,
1694 .choosertitle {
1695     display: none;
1697 .moodle-dialogue.chooserdialogue .moodle-dialogue-content .moodle-dialogue-ft {
1698     margin: 0;
1700 .chooserdialogue .moodle-dialogue-wrap .moodle-dialogue-bd {
1701     padding: 0;
1702     background: #F2F2F2;
1703     .border-bottom-radius(10px);
1705 /* Center the submit buttons within the area */
1706 .choosercontainer #chooseform .submitbuttons {
1707     padding: 0.7em 0;
1708     text-align: center;
1710 /* Fixed for safari browser on iPhone4S with ios7.*/
1711 @media (max-height: 639px) {
1712     .ios.safari .choosercontainer #chooseform .submitbuttons {
1713         padding: 45px 0;
1714     }
1716 .choosercontainer #chooseform .submitbuttons input {
1717     min-width: 100px;
1718     margin: 0 0.5em;
1720 /* Various settings for the options area */
1721 .choosercontainer #chooseform .options {
1722     position: relative;
1723     border-bottom: 1px solid #BBBBBB;
1725 /* Only set these options if we're showing the js container */
1726 .jschooser .choosercontainer #chooseform .alloptions {
1727     overflow-x: hidden;
1728     overflow-y: auto;
1729     max-width: 20.3em;
1730     .box-shadow(inset 0 0 30px 0px #ccc);
1732 .dir-rtl.jschooser .choosercontainer #chooseform .alloptions {
1733     max-width: 18.3em;
1735 /* Settings for option rows and option subtypes */
1736 .choosercontainer #chooseform .moduletypetitle,
1737 .choosercontainer #chooseform .option,
1738 .choosercontainer #chooseform .nonoption {
1739     margin-bottom: 0;
1740     padding: 0 1.6em 0 1.6em;
1742 .choosercontainer #chooseform .moduletypetitle {
1743     text-transform: uppercase;
1744     padding-top: 1.2em;
1745     padding-bottom: 0.4em;
1747 .choosercontainer #chooseform .option .typename,
1748 .choosercontainer #chooseform .option span.modicon img.icon,
1749 .choosercontainer #chooseform .nonoption .typename,
1750 .choosercontainer #chooseform .nonoption span.modicon img.icon {
1751     padding: 0 0 0 0.5em;
1753 .dir-rtl .choosercontainer #chooseform .option .typename,
1754 .dir-rtl .choosercontainer #chooseform .option span.modicon img.icon,
1755 .dir-rtl .choosercontainer #chooseform .nonoption .typename,
1756 .dir-rtl .choosercontainer #chooseform .nonoption span.modicon img.icon {
1757     padding: 0 0.5em 0 0;
1760 .chooserdialogue-course-modchooser .choosercontainer #chooseform .option span.modicon img.icon,
1761 .chooserdialogue-course-modchooser .choosercontainer #chooseform .nonoption span.modicon img.icon {
1762     height: 24px;
1763     width: 24px;
1765 .choosercontainer #chooseform .option input[type=radio],
1766 .choosercontainer #chooseform .option span.typename,
1767 .choosercontainer #chooseform .option span.modicon {
1768     vertical-align: middle;
1770 .choosercontainer #chooseform .option label {
1771     display: block;
1772     padding: 0.3em 0 0.1em 0;
1773     border-bottom: 1px solid #FFFFFF;
1775 .choosercontainer #chooseform .nonoption {
1776     padding-left: 2.7em;
1777     padding-top: 0.3em;
1778     padding-bottom: 0.1em;
1780 .dir-rtl .choosercontainer #chooseform .nonoption {
1781     padding-right: 2.7em;
1782     padding-left: 0;
1784 .choosercontainer #chooseform .subtype {
1785     margin-bottom: 0;
1786     padding: 0 1.6em 0 3.2em;
1788 .dir-rtl .choosercontainer #chooseform .subtype {
1789     padding: 0 3.2em 0 1.6em;
1791 .choosercontainer #chooseform .subtype .typename {
1792     margin: 0 0 0 0.2em;
1794 .dir-rtl .choosercontainer #chooseform .subtype .typename {
1795     margin: 0 0.2em 0 0;
1797 /* The instruction/help area */
1798 .jschooser .choosercontainer #chooseform .instruction,
1799 .jschooser .choosercontainer #chooseform .typesummary {
1800    display: none;
1801     position: absolute;
1802     top: 0;
1803     right: 0;
1804     bottom: 0;
1805     left: 20.3em;
1806     margin: 0;
1807     padding: 1.6em;
1808     background-color: #fff;
1809     overflow-x: hidden;
1810     overflow-y: auto;
1811     line-height: 2em;
1813 .dir-rtl.jschooser .choosercontainer #chooseform .instruction,
1814 .dir-rtl.jschooser .choosercontainer #chooseform .typesummary {
1815     left: 0;
1816     right: 18.5em;
1817     border-right: 1px solid grey;
1819 /* Selected option settings */
1820 .jschooser .choosercontainer #chooseform .instruction,
1821 .choosercontainer #chooseform .selected .typesummary {
1822     display: block;
1824 .choosercontainer #chooseform .selected {
1825     background-color: #fff;
1826     .box-shadow(0px 0 10px 0 #ccc);
1828 .section-modchooser-link img.smallicon {
1829     padding: 3px;
1831 /* Form element: listing */
1832 .formlistingradio {
1833     padding-bottom: 25px;
1834     padding-right: 10px;
1836 .formlistinginputradio {
1837     float: left;
1839 .formlistingmain {
1840     min-height: 225px;
1842 .formlisting {
1843     position: relative;
1844     margin: 15px 0;
1845     padding: 1px 19px 14px;
1846     background-color: white;
1847     border: 1px solid #DDD;
1848     .border-radius(4px);
1850 .formlistingmore {
1851     position: absolute;
1852     cursor: pointer;
1853     bottom: -1px;
1854     right: -1px;
1855     padding: 3px 7px;
1856     font-size: 12px;
1857     font-weight: bold;
1858     background-color: whiteSmoke;
1859     border: 1px solid #ddd;
1860     color: #9DA0A4;
1861     .border-radius(4px 0 4px 0);
1863 .formlistingall {
1864     margin: 15px 0;
1865     padding: 0;
1866     .border-radius(4px);
1868 .formlistingrow {
1869     cursor: pointer;
1870     border-bottom: 1px solid;
1871     border-color: #E1E1E8;
1872     border-left: 1px solid #E1E1E8;
1873     border-right: 1px solid #E1E1E8;
1874     background-color: #F7F7F9;
1875     .border-radius(0 0 4px 4px);
1876     padding: 6px;
1877     top: 50%;
1878     left: 50%;
1879     min-height: 34px;
1880     float: left;
1881     width: 150px;
1883 body.jsenabled .formlistingradio {
1884     display: none;
1886 body.jsenabled .formlisting {
1887     display: block;
1890 /* Badges styles */
1891 table.collection {
1892     .table;
1893     .table-bordered;
1894     .table-striped;
1896 table.collection .name {
1897     text-align: left;
1898     vertical-align: middle;
1900 table.collection .awards {
1901     width: 10%;
1902     text-align: center;
1903     vertical-align: middle;
1905 table.collection .criteria {
1906     width: 40%;
1907     text-align: left;
1908     vertical-align: top;
1910 table.collection .badgeimage,
1911 table.collection .status {
1912     width: 15%;
1913     text-align: center;
1914     vertical-align: middle;
1916 table.collection .description {
1917     width: 25%;
1918     text-align: left;
1920 table.collection .actions {
1921     width: 11em;
1922     text-align: center;
1923     vertical-align: middle;
1926 a.criteria-action {
1927     padding: 0px 3px;
1928     float: right;
1930 div.criteria-description {
1931     padding: 10px 15px;
1932     margin: 5px 0px;
1933     background: none repeat scroll 0 0 #f9f9f9;
1934     border: 1px solid #EEE;
1936 ul.badges {
1937     margin: 0;
1938     list-style: none;
1940 .badges li {
1941     position: relative;
1942     display: inline-block;
1943     padding-bottom: 2em;
1944     text-align: center;
1945     vertical-align: top;
1946     width: 150px;
1948 .badges li .badge-name {
1949     display: block;
1950     padding: 5px;
1952 .badges li > img {
1953     position: absolute;
1955 .badges li .badge-image {
1956     width: 100px;
1957     height: 100px;
1958     left: 10px;
1959     top: 0px;
1960     z-index: 1;
1962 .badges li .badge-actions {
1963     position: relative;
1965 .badges li .expireimage {
1966     width: 100px;
1967     height: 100px;
1968     left: 25px;
1969     top: 0px;
1970     position: absolute;
1971     z-index: 10;
1972     opacity: 0.85;
1975 #badge-image {
1976     background-color: transparent;
1977     padding: 0;
1978     position: relative;
1979     min-width: 100px;
1980     width: 20%;
1981     display: inline-block;
1982     vertical-align: top;
1983     margin-top: 17px;
1985     .expireimage {
1986         width: 100px;
1987         height: 100px;
1988         left: 0px;
1989         top: 0px;
1990         .opacity(85);
1991         position: absolute;
1992         z-index:10;
1993     }
1995     .singlebutton {
1996         padding-top: 5px;
1998         input {
1999             margin-left: 0px;
2000         }
2001     }
2003 .dir-rtl #badge-image {
2004     float: right;
2006     .expireimage {
2007         left: 41px;
2008     }
2010 #badge-details {
2011     display: inline-block;
2012     width: 79%;
2015 #badge-overview dl,
2016 #badge-details dl {
2017     margin: 0;
2019     dt,
2020     dd {
2021         vertical-align: top;
2022         padding: 3px 0;
2023     }
2024     dt {
2025         clear: both;
2026         display: inline-block;
2027         width: 20%;
2028         min-width: 100px;
2029     }
2030     dd {
2031         display: inline-block;
2032         width: 79%;
2033         margin-left: 1%;
2034     }
2037 .badge-profile {
2038     vertical-align: top;
2040 .connected {
2041     color: @successText;
2043 .notconnected {
2044     color: @errorText;
2046 .connecting {
2047     color: @warningText;
2049 #page-badges-award .recipienttable tr td {
2050     vertical-align: top;
2052 #page-badges-award .recipienttable tr td.actions .actionbutton {
2053     margin: 0.3em 0;
2054     padding: 0.5em 0;
2055     width: 100%;
2057 #page-badges-award .recipienttable tr td.existing,
2058 #page-badges-award .recipienttable tr td.potential {
2059     width: 42%;
2062 #issued-badge-table .activatebadge {
2063     display: inline-block;
2065 .statusbox.active {
2066     background-color: @successBackground;
2068 .statusbox.inactive {
2069     background-color: @warningBackground;
2071 .statusbox {
2072     text-align: center;
2073     margin-bottom: 5px;
2074     padding: 5px;
2076 .statusbox .activatebadge {
2077     display: inline-block;
2079 .statusbox .activatebadge input[type=submit]{
2080     margin: 3px;
2082 .activatebadge {
2083     margin: 0px;
2084     text-align: left;
2085     vertical-align: middle;
2087 .dir-rtl .activatebadge {
2088     text-align: right;
2090 img#persona_signin {
2091     cursor: pointer;
2093 .addcourse {
2094     float: right;
2096 .invisiblefieldset {
2097     display: inline;
2098     margin: 0;
2099     padding: 0;
2100     border-width: 0;
2102 .breadcrumb-nav {
2103     float: left;
2104     margin-bottom: 10px;
2106 .dir-rtl .breadcrumb-nav {
2107     float: right;
2109 .breadcrumb-button .singlebutton div {
2110     margin-right: 0;
2112 .breadcrumb-nav .breadcrumb {
2113     margin: 0;
2116 /** Header-bar styles **/
2117 .page-context-header {
2118     // We need to be explicit about the height of the header.
2119     @pageHeaderHeight: 140px;
2121     // Do not remove these rules.
2122     overflow: hidden;
2124     .page-header-image,
2125     .page-header-headings {
2126         display: block;
2127         position: relative;
2128     }
2129     .page-header-image {
2130         margin-bottom: 1em;
2131     }
2132     .page-header-headings {
2133         margin-top: 30px;
2134         margin-bottom: 10px;
2136         h1 {
2137             display: block;
2138         }
2139     }
2141     .page-header-headings,
2142     .header-button-group {
2143         position: relative;
2144         line-height: 24px;
2145         vertical-align: middle;
2146     }
2148     .header-button-group {
2149         display: block;
2151         a {
2152             position: relative;
2154             // Don't touch it unless you know exactly what you are doing.
2155             top: -0.4em;
2156         }
2157     }
2160 .dir-ltr .page-context-header {
2161     .page-header-image {
2162         float: left;
2163         margin-right: 1em;
2164     }
2166     .header-button-group{
2167         float: right;
2168     }
2171 .dir-rtl .page-context-header {
2172     .page-header-image {
2173         float: right;
2174         margin-left: 1em;
2175     }
2177     .header-button-group{
2178         float: left;
2179         right: -15px;
2180     }
2183 /** Action menu component styles **/
2184 .moodle-actionmenu,
2185 .moodle-actionmenu > ul,
2186 .moodle-actionmenu > ul > li {
2187     display: inline-block;
2190 .moodle-actionmenu ul {
2191     padding: 0;
2192     margin: 0;
2193     list-style-type: none;
2196 .moodle-actionmenu .toggle-display,
2197 .moodle-actionmenu .menu-action-text {
2198     display: none; /** Hidden by default, display none so that we don't take up space. **/
2201 .jsenabled {
2202     .moodle-actionmenu[data-enhance] {
2203         display: block;
2204         .menu {
2205             display:none;
2206         }
2207         .toggle-display {
2208             display: inline; /** JS is enabled, we'll be using it so return display to normal **/
2209             .opacity(50);
2210         }
2211         .toggle-display.textmenu {
2212             display: block;
2213             margin-left: 4px;
2214             padding-left: 4px;
2215             padding-right: 4px;
2217             .iconsmall,
2218             .smallicon {
2219                 margin: 4px 4px 4px 0px;
2220                 padding: 8px 4px 0px 2px;
2221                 vertical-align: text-bottom;
2222             }
2224             .caret {
2225                 margin-top: 8px;
2226                 margin-left: 2px;
2227                 border-top-color: @navbarLinkColor;
2228                 &:hover,
2229                 &:active {
2230                     border-top-color: @navbarLinkColorActive;
2231                 }
2232             }
2233         }
2234     }
2235     .moodle-actionmenu[data-enhanced] {
2236         .toggle-display {
2237             .opacity(100);
2238         }
2239         .menu-action-text  {
2240             display:inline;
2241         }
2242     }
2244     &.dir-rtl {
2245         .moodle-actionmenu[data-enhance] {
2246             .toggle-display.textmenu {
2247                 margin-left: initial;
2248                 margin-right: 4px;
2250                 .caret {
2251                     margin-left: initial;
2252                     margin-right: 2px;
2253                 }
2254             }
2255         }
2256     }
2259 .moodle-actionmenu[data-enhanced].show  {
2261     position: relative;
2263     .menu {
2265         display:block;
2266         position: absolute;
2267         text-align: left;
2268         background-color: @dropdownBackground;
2269         border: 1px solid @dropdownBorder;
2270         z-index:1000;
2271         .border-radius(5px);
2272         .box-shadow(5px 5px 20px 0 #666);
2274         a {
2275             display: block;
2276             color: @dropdownLinkColor;
2277             padding:2px 1em 2px 28px;
2278             &:hover {
2279                 color: @dropdownLinkColorHover;
2280                 background-color: @dropdownLinkBackgroundHover;
2281             }
2282             &:first-child {
2283                 .border-top-radius(4px);
2284             }
2285             &:last-child {
2286                 .border-bottom-radius(4px);
2287             }
2288         }
2289         a.hidden {
2290             display:none;
2291         }
2292         img {
2293             vertical-align: middle;
2294         }
2295         .iconsmall,
2296         .smallicon {
2297             margin: 4px 4px 4px -24px;
2298             padding: 4px;
2299         }
2300         > li {
2301             display:block;
2302         }
2304         /** bottom left of button **/
2305         &.align-tl-bl {top: 100%;left:0;margin-top: 4px;}
2306         &.align-tr-bl {top: 100%;right: 100%;}
2307         &.align-bl-bl {bottom: 100%;left:0;}
2308         &.align-br-bl {bottom: 100%;right: 100%;}
2309         /** bottom right of button **/
2310         &.align-tl-br {top: 100%;left:100%;}
2311         &.align-tr-br {top: 100%;right: 0;margin-top: 4px;}
2312         &.align-bl-br {bottom: 100%;left:100%;}
2313         &.align-br-br {bottom: 100%;right: 0;}
2314         /** top left of button **/
2315         &.align-tl-tl {top: 0;left:0;}
2316         &.align-tr-tl {top: 0;right: 100%;margin-right: 4px;}
2317         &.align-bl-tl {bottom: 100%;left:0;margin-bottom: 4px;}
2318         &.align-br-tl {bottom: 100%;right: 100%;}
2319         /** top right of button **/
2320         &.align-tl-tr {top: 0;left:100%;margin-left: 4px;}
2321         &.align-tr-tr {top: 0;right: 0;}
2322         &.align-bl-tr {bottom: 100%;left:100%;}
2323         &.align-br-tr {bottom: 100%;right: 0;margin-bottom: 4px;}
2324     }
2325     /** no wrap is set - prevent menu items from wrapping **/
2326     &.nowrap-items .menu > li {
2327         white-space: nowrap;
2328     }
2331 .block .moodle-actionmenu {
2332     text-align: right;
2335 .dir-rtl {
2336     .moodle-actionmenu[data-enhanced].show  {
2337         .menu {
2338             text-align: right;
2339             left: 0;
2340             right: auto;
2341             a {
2342                 padding: 2px 28px 2px 1em;
2343             }
2344             .iconsmall,
2345             .smallicon {
2346                 margin-right: -24px;
2347                 margin-left: 4px;
2348             }
2350             /** bottom left of button **/
2351             &.align-tl-bl {left: auto; right: 0;}
2352             &.align-tr-bl {right: auto; left: 100%;}
2353             &.align-bl-bl {left: auto; right: 0;}
2354             &.align-br-bl {right: auto; left: 100%;}
2355             /** bottom right of button **/
2356             &.align-tl-br {left: auto; right: 100%;}
2357             &.align-tr-br {right: auto; left: 0;}
2358             &.align-bl-br {left: auto; right: 100%;}
2359             &.align-br-br {right: auto; left: 0;}
2360             /** top left of button **/
2361             &.align-tl-tl {left: auto; right: 0;}
2362             &.align-tr-tl {right: auto; left: 100%;}
2363             &.align-bl-tl {left: auto; right: 0;}
2364             &.align-br-tl {right: auto; left: 100%;}
2365             /** top right of button **/
2366             &.align-tl-tr {left: auto; right: 100%;}
2367             &.align-tr-tr {right: auto; left: 0;}
2368             &.align-bl-tr {left: auto; right: 100%;}
2369             &.align-br-tr {right: auto; left: 0;}
2370         }
2371     }
2372     .block .moodle-actionmenu {
2373         text-align: right;
2374     }
2377 ul.dragdrop-keyboard-drag li {
2378     list-style-type: none;
2381 .block-control-actions .moodle-core-dragdrop-draghandle img {
2382     width: 12px;
2383     height: 12px;
2386 a.disabled:hover,
2387 a.disabled {
2388     text-decoration: none;
2389     cursor: default;
2390     font-style: italic;
2391     color: #808080;
2393 body.lockscroll {
2394   height: 100%;
2395   overflow: hidden;
2398 .dir-rtl {
2399     // Bootstrap sets right margin to 0. Fail.
2400     // They set left margin to 25px so we will copy that.
2401     ul {
2402         margin-left: 0;
2403         margin-right: 25px;
2404     }
2407 .progressbar_container {
2408     max-width: 500px;
2409     margin: 0 auto;
2412 /* IE10 only fix for calendar titling */
2413 .ie10 .yui3-calendar-header-label {
2414     display: inline-block;
2417 dd:before,
2418 dd:after {
2419   display: block;
2420   content: " ";
2422 dd:after {
2423   clear: both;