MDL-41213 filepicker: corrected outline of selected file dialogue
[moodle.git] / theme / bootstrapbase / less / moodle / core.less
CommitLineData
8903b17b 1/* core.less */
8bfd530b
SH
2
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}
11
12.empty-region-side-pre #block-region-side-pre,
13.empty-region-side-post #block-region-side-post {
14 display:none;
15}
16
8bfd530b
SH
17.empty-region-side-post #region-bs-main-and-pre.span9 {
18 width:100%;
19}
20
21.empty-region-side-pre #region-main {
22 float:none;
23 width:100%;
24}
25
26.fluid-span (@columns) {
27 width: (@fluidGridColumnWidth * @columns) + (@fluidGridGutterWidth * (@columns - 1));
28 *width: (@fluidGridColumnWidth * @columns) + (@fluidGridGutterWidth * (@columns - 1)) - (.5 / @gridRowWidth * 100 * 1%);
29}
30
31.empty-region-side-post.used-region-side-pre #region-main.span8 {
32 /** increase the span size by 1 **/
33 .fluid-span(9);
34}
35.empty-region-side-post.used-region-side-pre #block-region-side-pre.span4 {
36 /** decrease the span size by 1 **/
37 .fluid-span(3);
38}
a31445a8
GB
39
40.empty-region-side-post #region-bs-main-and-post.span9 #region-main.span8 {
41 /** RTL with no post area. **/
42 width:100%;
43}
44
8bfd530b
SH
45/** Page layout CSS ends **/
46
8903b17b
BB
47.dir-ltr,
48.mdl-left,
49.dir-rtl .mdl-right {
50 text-align: left;
51}
52.dir-rtl,
53.mdl-right,
54.dir-rtl .mdl-left {
55 text-align: right;
56}
57#add,
58#remove,
59.centerpara,
60.mdl-align {
61 text-align: center;
62}
63a.dimmed,
64a.dimmed:link,
65a.dimmed:visited,
66a.dimmed_text,
67a.dimmed_text:link,
68a.dimmed_text:visited,
69.dimmed_text,
70.dimmed_text a,
71.dimmed_text a:link,
72.dimmed_text a:visited,
73.usersuspended,
74.usersuspended a,
75.usersuspended a:link,
76.usersuspended a:visited,
77.dimmed_category,
78.dimmed_category a {
79 .muted
80}
81.activity.label .dimmed_text {
82 .opacity(50)
83}
84.unlist,
85.unlist li,
86.inline-list,
87.inline-list li,
88.block .list,
89.block .list li,
90.section li.activity,
91.section li.movehere,
92.tabtree li {
93 list-style: none;
94 margin: 0;
95 padding: 0;
96}
8903b17b
BB
97.inline,
98.inline-list li {
99 display: inline;
100}
101.notifytiny {
102 font-size: @fontSizeMini;
103}
104.notifytiny li,
105.notifytiny td {
106 font-size: 100%;
107}
108.red,
109.notifyproblem {
110 color: @errorText;
111}
112.green,
113.notifysuccess {
114 color: @successText;
115}
116.reportlink {
117 text-align: right;
118}
119a.autolink.glossary:hover {
120 cursor: help;
121}
122/* Block which is hidden if javascript enabled, prevents fickering visible when JS from footer used! */
123.collapsibleregioncaption {
124 white-space: nowrap;
125}
126.collapsibleregioncaption img {
127 vertical-align: middle;
128}
129.jsenabled .hiddenifjs {
130 display: none;
131}
132.visibleifjs {
133 display: none;
134}
135.jsenabled .visibleifjs {
136 display: inline;
137}
138.jsenabled .collapsibleregion {
139 overflow: hidden;
140}
141.jsenabled .collapsed .collapsibleregioninner {
142 visibility: hidden;
143}
144.yui-overlay .yui-widget-bd {
145 background-color: #FFEE69;
146 border: 1px solid #A6982B;
147 border-top-color: #D4C237;
148 color: #000000;
149 left: 0;
150 padding: 2px 5px;
151 position: relative;
152 top: 0;
153 z-index: 1;
154}
155.clearer {
156 background: transparent;
157 border-width: 0;
158 clear: both;
159 display: block;
160 height: 1px;
161 margin: 0;
162 padding: 0;
163}
164.bold,
165.warning,
166.errorbox .title,
167.pagingbar .title,
168.pagingbar .thispage,
169.headingblock {
170 font-weight: bold;
171}
172img.resize {
173 height: 1em;
174 width: 1em;
175}
176.block img.resize,
177.breadcrumb img.resize {
178 height: 0.9em;
179 width: 0.8em;
180}
181/* Icon styles */
182img.icon {
183 height: 16px;
184 vertical-align: text-bottom;
185 width: 16px;
186 padding-right: 6px;
187}
188.dir-rtl img.icon {
189 padding-left: 6px;
190 padding-right: 0;
191}
192img.iconsmall {
193 height: 12px;
194 margin-right: 3px;
195 vertical-align: middle;
196 width: 12px;
197}
198img.iconhelp, .helplink img {
199 height: 16px;
200 padding-left: 3px;
201 vertical-align: text-bottom;
202 width: 16px;
203}
204.dir-rtl img.iconhelp, .dir-rtl .helplink img {
205 padding-right: 3px;
206 padding-left: 0;
207}
208img.iconlarge {
209 height: 24px;
210 width: 24px;
211 vertical-align: middle;
212}
213img.iconsort {
214 vertical-align: text-bottom;
215 padding-left: .3em;
216 margin-bottom: .15em;
217}
218.dir-rtl img.iconsort {
219 padding-right: .3em;
220 padding-left: 0;
221}
222img.icontoggle {
223 height: 17px;
224 vertical-align: middle;
225 width: 50px;
226}
227img.iconkbhelp {
228 height: 17px;
229 width: 49px;
230}
231img.icon-pre, .dir-rtl img.icon-post {
232 padding-right: 3px;
233 padding-left: 0;
234}
235img.icon-post, .dir-rtl img.icon-pre {
236 padding-left: 3px;
237 padding-right: 0;
238}
8903b17b
BB
239.boxaligncenter {
240 margin-left: auto;
241 margin-right: auto;
242}
243.boxalignright {
244 margin-left: auto;
245 margin-right: 0;
246}
247.boxalignleft {
248 margin-left: 0;
249 margin-right: auto;
250}
251.boxwidthnarrow {
252 width: 30%;
253}
254.boxwidthnormal {
255 width: 50%;
256}
257.boxwidthwide {
258 width: 80%;
259}
260.headermain {
261 font-weight: bold;
262}
263#maincontent {
264 display: block;
265 height: 1px;
266 overflow: hidden;
267}
268img.uihint {
269 cursor: help;
270}
271#addmembersform table {
272 margin-left: auto;
273 margin-right: auto;
274}
275.flexible th {
276 white-space: nowrap;
277}
fdf70473
DW
278table.flexible .emptyrow {
279 display: none;
280}
8903b17b
BB
281img.emoticon {
282 vertical-align: middle;
283 width: 15px;
284 height: 15px;
285}
286form.popupform,
287form.popupform div {
288 display: inline;
289}
290.arrow_button input {
291 overflow: hidden;
292}
293.action-icon img.smallicon {
294 vertical-align: text-bottom;
295 margin: 0 0.3em;
296}
297.main img {
298 vertical-align: middle;
299}
300/** The 1-pixel padding is there to avoid phantom scroll bars on OS X (FF, Safari and Chrome)**/
301.no-overflow {
302 overflow: auto;
303 padding-bottom: 1px;
304}
305.pagelayout-report .no-overflow {
306 overflow: visible;
307}
308.no-overflow > .generaltable {
309 margin-bottom: 0;
310}
311// Accessibility features
312
313// Accessibility: text 'seen' by screen readers but not visual users.
314.accesshide {
315 position: absolute;
316 left: -10000px;
317 font-weight: normal;
318 font-size: 1em;
319}
320.dir-rtl .accesshide {
321 top: -30000px;
322 left: auto;
323}
324span.hide,
325div.hide {
326 display: none;
327}
328// Accessibility: Skip block link, for keyboard-only users.
329a.skip-block,
330a.skip {
331 position: absolute;
332 top: -1000em;
333 font-size: 0.85em;
334 text-decoration: none;
335}
336a.skip-block:focus,
337a.skip-block:active,
338a.skip:focus,
339a.skip:active {
340 position: static;
341 display: block;
342}
343.skip-block-to {
344 display: block;
345 height: 1px;
346 overflow: hidden;
347}
348// Blogs
349.addbloglink {
350 text-align: center;
351}
352.blog_entry .audience {
353 text-align: right;
354 padding-right: 4px;
355}
356.blog_entry .tags {
357 margin-top: 15px;
358}
359.blog_entry .tags .action-icon img.smallicon {
360 height: 16px;
361 width: 16px;
362}
363.blog_entry .content {
364 margin-left: 43px;
365}
366// Group
367#page-group-index #groupeditform {
368 text-align: center;
369}
370#doc-contents h1 {
371 margin: 1em 0 0 0;
372}
373#doc-contents ul {
374 margin: 0;
375 padding: 0;
376 width: 90%;
377}
378#doc-contents ul li {
379 list-style-type: none;
380}
381.groupmanagementtable td {
382 vertical-align: top;
383}
384.groupmanagementtable #existingcell,
385.groupmanagementtable #potentialcell {
386 width: 42%;
387}
388.groupmanagementtable #buttonscell {
389 width: 16%;
390}
391.groupmanagementtable #removeselect_wrapper,
392.groupmanagementtable #addselect_wrapper {
393 width: 100%;
394}
395.groupmanagementtable #removeselect_wrapper label,
396.groupmanagementtable #addselect_wrapper label {
397 font-weight: normal;
398}
399.dir-rtl .groupmanagementtable p {
400 text-align: right;
401}
402#group-usersummary {
403 width: 14em;
404}
405.groupselector {
406 margin-top: 3px;
407 margin-bottom: 3px;
408}
409
410// Login
411.loginbox {
412 margin: 15px;
413 overflow: visible;
414}
415.loginbox.twocolumns {
416 margin: 15px;
417}
418.loginbox h2,
419.loginbox .subcontent {
420 margin: 5px;
421 padding: 10px;
422 text-align: center;
423}
424.loginbox .loginpanel .desc {
425 margin: 0;
426 padding: 0;
427 margin-bottom: 5px;
29a24edd 428 margin-top:15px;
8903b17b
BB
429}
430.loginbox .signuppanel .subcontent {
431 text-align: left;
432}
433.dir-rtl .loginbox .signuppanel .subcontent {
434 text-align: right;
435}
436.loginbox .loginsub {
437 margin-left: 0;
438 margin-right: 0;
439}
440.loginbox .guestsub,
441.loginbox .forgotsub,
442.loginbox .potentialidps {
443 margin: 5px 12%;
444}
445.loginbox .potentialidps .potentialidplist {
446 margin-left: 40%;
447}
448.loginbox .potentialidps .potentialidplist div {
449 text-align: left;
450}
451.loginbox .loginform {
452 margin-top: 1em;
453 text-align: left;
454}
455.loginbox .loginform .form-label {
456 float: left;
457 text-align: right;
458 width: 44%;
459 direction: rtl;
460 white-space: nowrap;
461}
462.dir-rtl .loginbox .loginform .form-label {
463 float: left;
464 text-align: right;
465 width: 44%;
466 direction: ltr;
467 white-space: nowrap;
468}
469.loginbox .loginform .form-input {
470 float: right;
471 width: 55%;
472}
473.loginbox .loginform .form-input input {
474 width: 6em;
475}
476.loginbox .signupform {
477 margin-top: 1em;
478 text-align: center;
479}
480.loginbox.twocolumns .loginpanel,
481.loginbox.twocolumns .signuppanel {
482 width: 48%;
483 border: 0;
484 margin: 0;
485 padding: 0;
486 .box-sizing(border-box);
487 display: block;
488 float: left;
489 margin-left: 2.76243%;
490 min-height: 30px;
491 margin-bottom: -2000px;
492 padding-bottom: 2000px;
493}
494.loginbox .potentialidp .smallicon {
495 vertical-align: text-bottom;
496 margin: 0 .3em;
497}
498
499// Notes
500.notepost {
501 margin-bottom: 1em;
502}
503.notepost .userpicture {
504 float: left;
505 margin-right: 5px;
506}
507.notepost .content,
508.notepost .footer {
509 clear: both;
510}
511.notesgroup {
512 margin-left: 20px;
513}
514
515// My Moodle
516.path-my .coursebox .overview {
517 margin: 15px 30px 10px 30px;
518}
519.path-my .coursebox .info {
520 float: none;
521 margin: 0;
522}
523
524// Modules
525.mod_introbox {
526 padding: 10px;
527}
528table.mod_index {
529 width: 100%;
530}
531
532// Comments
533.comment-ctrl {
534 font-size: 12px;
535 display: none;
536 margin: 0;
537 padding: 0;
538}
539.comment-ctrl h5 {
540 margin: 0;
541 padding: 5px;
542}
543.comment-area {
544 max-width: 400px;
545 padding: 5px;
546}
547.comment-area textarea {
548 width: 100%;
549 overflow: auto;
550}
551.comment-area .fd {
552 text-align: right;
553}
554.comment-meta span {
555 color: gray;
556}
557.comment-link img {
558 vertical-align: text-bottom;
559}
560.comment-list {
561 font-size: 11px;
562 overflow: auto;
563 list-style: none;
564 padding: 0;
565 margin: 0;
566}
567.comment-list li {
568 margin: 2px;
569 list-style: none;
570 margin-bottom: 5px;
571 clear: both;
572 padding: .3em;
573 position: relative;
574}
575.comment-list li.first {
576 display: none
577}
578.comment-paging{
579 text-align: center;
580}
581.comment-paging .pageno{
582 padding: 2px;
583}
584.comment-paging .curpage{
585 border: 1px solid #CCC;
586}
587.comment-message .picture {
588 width: 20px;
589 float: left;
590}
591.dir-rtl .comment-message .picture {
592 float: right;
593}
594.comment-message .text {
595 margin: 0;
596 padding: 0;
597}
598.comment-message .text p {
599 padding: 0;
600 margin: 0 18px 0 0;
601}
602.comment-delete {
603 position: absolute;
604 top: 0;
605 right: 0;
606 margin: .3em;
607}
608.dir-rtl .comment-delete {
609 position: absolute;
610 left: 0;
611 right: auto;
612 margin: .3em;
613}
614.comment-delete-confirm {
615 background: #eee;
616 padding: 2px;
617 width: 5em;
618 text-align: center;
619}
620.comment-container {
621 float: left;
622 margin: 4px;
623}
624.comment-report-selectall{
625 display: none
626}
627.comment-link {
628 display: none
629}
630.jsenabled .comment-link {
631 display: block
632}
633.jsenabled .showcommentsnonjs{
634 display: none
635}
636.jsenabled .comment-report-selectall{
637 display: inline
638}
639/**
640* Completion progress report
641*/
642.completion-expired {
643 background: @errorBackground;
644}
645.completion-expected {
646 font-size: @fontSizeMini;
647}
648.completion-sortchoice,
649.completion-identifyfield {
650 font-size: @fontSizeMini;
651 vertical-align: bottom;
652}
653.completion-progresscell {
654 text-align: right;
655}
656.completion-expired .completion-expected {
657 font-weight: bold;
658}
659/**
660* Tags
661*/
662#page-tag-coursetags_edit .coursetag_edit_centered {
663 position: relative;
664 width: 600px;
665 margin: 20px auto;
666}
667#page-tag-coursetags_edit .coursetag_edit_row {
668 clear: both;
669}
670#page-tag-coursetags_edit .coursetag_edit_row .coursetag_edit_left {
671 float: left;
672 width: 50%;
673 text-align: right;
674}
675#page-tag-coursetags_edit .coursetag_edit_row .coursetag_edit_right {
676 margin-left: 50%;
677}
678#page-tag-coursetags_edit .coursetag_edit_input3 {
679 display: none;
680}
681#page-tag-coursetags_more .coursetag_more_large {
682 font-size: 120%;
683}
684#page-tag-coursetags_more .coursetag_more_small {
685 font-size: 80%;
686}
687#page-tag-coursetags_more .coursetag_more_link {
688 font-size: 80%;
689}
690#tag-description,
691#tag-blogs {
692 width: 100%;
693}
694#tag-management-box {
695 margin-bottom: 10px;
696 line-height: 20px;
697}
698#tag-user-table {
699 padding: 3px;
700 clear: both;
701 width: 100%;
702}
703#tag-user-table {
704 .clearfix
705}
706img.user-image {
707 height: 100px;
708 width: 100px;
709}
710#small-tag-cloud-box {
711 width: 300px;
712 margin: 0 auto;
713}
714#big-tag-cloud-box {
715 width: 600px;
716 margin: 0 auto;
717 float: none;
718}
719ul#tag-cloud-list {
720 list-style: none;
721 padding: 5px;
722 margin: 0;
723}
724ul#tag-cloud-list li {
725 margin: 0;
726 display: inline;
727 list-style-type: none;
728}
729#tag-search-box {
730 text-align: center;
731 margin: 10px auto;
732}
733#tag-search-results-container {
734 padding: 0;
735 width: 100%;
736}
737#tag-search-results {
738 padding: 0;
739 margin: 15px 20% 0 20%;
740 float: left;
741 width: 60%;
742 display: block;
743}
744#tag-search-results li {
745 width: 30%;
746 float: left;
747 padding-left: 1%;
748 text-align: left;
749 line-height: 20px;
750 padding-right: 1%;
751 list-style: none;
752}
753span.flagged-tag,
754span.flagged-tag a {
755 color: @errorText;
756}
757table#tag-management-list {
758 text-align: left;
759 width: 100%;
760}
761table#tag-management-list td,
762table#tag-management-list th {
763 vertical-align: middle;
764 text-align: left;
765 padding: 4px;
766}
767.tag-management-form {
768 text-align: center;
769}
770#relatedtags-autocomplete-container {
771 margin-left: auto;
772 margin-right: auto;
773 min-height: 4.6em;
774 width: 100%;
775}
776#relatedtags-autocomplete {
777 position: relative;
778 display: block;
779 width: 60%;
780 margin-left: auto;
781 margin-right: auto;
782}
783#relatedtags-autocomplete .yui-ac-content {
784 position: absolute;
785 width: 420px;
786 left: 20%;
787 border: 1px solid #404040;
788 background: #fff;
789 overflow: hidden;
790 z-index: 9050;
791}
792#relatedtags-autocomplete .ysearchquery {
793 position: absolute;
794 right: 10px;
795 color: #808080;
796 z-index: 10;
797}
798#relatedtags-autocomplete .yui-ac-shadow {
799 position: absolute;
800 margin: .3em;
801 width: 100%;
802 background: #a0a0a0;
803 z-index: 9049;
804}
805#relatedtags-autocomplete ul {
806 padding: 0;
807 width: 100%;
808 margin: 0;
809 list-style-type: none;
810}
811#relatedtags-autocomplete li {
812 padding: 0 5px;
813 cursor: default;
814 white-space: nowrap;
815}
816#relatedtags-autocomplete li.yui-ac-highlight{
817 background: #FFFFCC;
818}
819h2.tag-heading,
820div#tag-description,
821div#tag-blogs,
822body.tag .managelink {
823 padding: 5px;
824}
825.tag_cloud .s20 {
826 font-size: 1.5em;
827 font-weight: bold;
828}
829.tag_cloud .s19 {
830 font-size: 1.5em;
831}
832.tag_cloud .s18 {
833 font-size: 1.4em;
834 font-weight: bold;
835}
836.tag_cloud .s17 {
837 font-size: 1.4em;
838}
839.tag_cloud .s16 {
840 font-size: 1.3em;
841 font-weight: bold;
842}
843.tag_cloud .s15 {
844 font-size: 1.3em;
845}
846.tag_cloud .s14 {
847 font-size: 1.2em;
848 font-weight: bold;
849}
850.tag_cloud .s13 {
851 font-size: 1.2em;
852}
853.tag_cloud .s12,
854.tag_cloud .s11 {
855 font-size: 1.1em;
856 font-weight: bold;
857}
858.tag_cloud .s10,
859.tag_cloud .s9 {
860 font-size: 1.1em;
861}
862.tag_cloud .s8,
863.tag_cloud .s7 {
864 font-size: 1em;
865 font-weight: bold;
866}
867.tag_cloud .s6,
868.tag_cloud .s5 {
869 font-size: 1em;
870}
871.tag_cloud .s4,
872.tag_cloud .s3 {
873 font-size: 0.9em;
874 font-weight: bold;
875}
876.tag_cloud .s2,
877.tag_cloud .s1 {
878 font-size: 0.9em;
879}
880.tag_cloud .s0 {
881 font-size: 0.8em;
882}
883/**
884* Web Service
885*/
886#webservice-doc-generator td {
887 text-align: left;
888 border: 0 solid black;
889}
890/**
891* Smart Select Element
892*/
893.smartselect {
894 position: absolute;
895}
896.smartselect .smartselect_mask {
897 background-color: #fff;
898}
899.smartselect ul {
900 padding: 0;
901 margin: 0;
902}
903.smartselect ul li {
904 list-style: none;
905}
906.smartselect .smartselect_menu {
907 margin-right: 5px;
908}
909.safari .smartselect .smartselect_menu {
910 margin-left: 2px;
911}
912.smartselect .smartselect_menu,
913.smartselect .smartselect_submenu {
914 border: 1px solid #000;
915 background-color: #FFF;
916 display: none;
917}
918.smartselect .smartselect_menu.visible,
919.smartselect .smartselect_submenu.visible {
920 display: block;
921}
922.smartselect .smartselect_menu_content ul li {
923 position: relative;
924 padding: 2px 5px;
925}
926.smartselect .smartselect_menu_content ul li a {
927 color: #333;
928 text-decoration: none;
929}
930.smartselect .smartselect_menu_content ul li a.selectable {
931 color: inherit;
932}
933.smartselect .smartselect_submenuitem {
934 background-image: url([[pix:moodle|t/collapsed]]);
935 background-repeat: no-repeat;
936 background-position: 100%;
937}
938/** Spanning mode */
939.smartselect.spanningmenu .smartselect_submenu {
940 position: absolute;
941 top: -1px;
942 left: 100%;
943}
944.smartselect.spanningmenu .smartselect_submenu a {
945 white-space: nowrap;
946 padding-right: 16px;
947}
948.smartselect.spanningmenu .smartselect_menu_content ul li a.selectable:hover {
949 text-decoration: underline;
950}
951/** Compact mode */
952.smartselect.compactmenu .smartselect_submenu {
953 position: relative;
954 margin: 2px -3px;
955 margin-left: 10px;
956 display: none;
957 border-width: 0;
958 z-index: 1010;
959}
960.smartselect.compactmenu .smartselect_submenu.visible {
961 display: block;
962}
963.smartselect.compactmenu .smartselect_menu {
964 z-index: 1000;
965 overflow: hidden;
966}
967.smartselect.compactmenu .smartselect_submenu .smartselect_submenu {
968 z-index: 1020;
969}
970.smartselect.compactmenu .smartselect_submenuitem:hover > .smartselect_menuitem_label {
971 font-weight: bold;
972}
973/**
974* Registration
975*/
976#page-admin-registration-register .registration_textfield {
977 width: 300px;
978}
979/**
980* Enrol
981*/
982.userenrolment {
983 width: 100%;
984 border-collapse: collapse;
985}
986.userenrolment td {
987 padding: 0;
988 height: 41px;
989}
990.userenrolment .subfield {
991 margin-right: 5px;
992}
993.userenrolment .col_userdetails .subfield_picture {
994 float: left;
995}
996.userenrolment .col_lastseen {
997 width: 150px;
998}
999.userenrolment .col_role {
1000 width: 262px;
1001}
1002.userenrolment .col_role .roles {
1003 margin-right: 30px;
1004}
1005.userenrolment .col_role .role {
1006 float: left;
1007 padding: 3px;
1008 margin: 3px;
1009}
1010.dir-rtl .userenrolment .col_role .role {
1011 float: right;
1012}
1013.userenrolment .col_role .role a {
1014 margin-left: 3px;
1015 cursor: pointer;
1016}
1017.userenrolment .col_role .addrole {
1018 float: right;
1019 width: 18px;
1020 height: 18px;
1021 margin: 3px;
1022 text-align: center;
1023 background-color: @successBackground;
1024 border: 1px solid @successBorder;
1025}
1026.userenrolment .col_role .addrole img {
1027 vertical-align: baseline;
1028}
1029.userenrolment .hasAllRoles .col_role .addrole {
1030 display: none;
1031}
1032.userenrolment .col_group .groups {
1033 margin-right: 30px;
1034}
1035.userenrolment .col_group .group {
1036 float: left;
1037 padding: 3px;
1038 margin: 3px;
1039 white-space: nowrap;
1040}
1041.userenrolment .col_group .group a {
1042 margin-left: 3px;
1043 cursor: pointer;
1044}
1045.userenrolment .col_group .addgroup {
1046 float: right;
1047 width: 18px;
1048 margin: 3px;
1049 height: 18px;
1050 text-align: center;
1051}
1052.userenrolment .col_group .addgroup a img {
1053 vertical-align: bottom;
1054}
1055.userenrolment .col_enrol .enrolment {
1056 float: left;
1057 padding: 3px;
1058 margin: 3px;
1059}
1060.userenrolment .col_enrol .enrolment a {
1061 float: right;
1062 margin-left: 3px;
1063}
1064#page-enrol-users .enrol_user_buttons {
1065 float: right;
1066}
373c610e
NK
1067#page-enrol-users.dir-rtl .enrol_user_buttons {
1068 float: left;
1069}
8903b17b
BB
1070#page-enrol-users .enrol_user_buttons .enrolusersbutton {
1071 margin-left: 1em;
1072 display: inline;
1073}
1074#page-enrol-users .enrol_user_buttons .enrolusersbutton div,
1075#page-enrol-users .enrol_user_buttons .enrolusersbutton form {
1076 display: inline;
1077}
1078#page-enrol-users .enrol_user_buttons .enrolusersbutton input {
1079 padding-left: 6px;
1080 padding-right: 6px;
1081}
1082#page-enrol-users.dir-rtl .col_userdetails .subfield_picture {
1083 float: right;
1084}
1085#page-enrol-users .user-enroller-panel .uep-search-results .user .details {
1086 width: 237px;
1087}
1088/**
1089* Overide for RTL layout
1090**/
1091.dir-rtl .headermain {
1092 float: right;
1093}
1094.dir-rtl .headermenu {
1095 float: left;
1096}
1097.dir-rtl .loginbox .loginform .form-label {
1098 float: right;
1099 text-align: left;
1100}
1101.dir-rtl .loginbox .loginform .form-input {
1102 text-align: right;
1103}
1104.dir-rtl .yui3-menu-hidden {
1105 left: 0;
1106}
1107#page-admin-roles-define.dir-rtl #rolesform .felement {
1108 margin-right: 180px;
1109}
1110#page-message-edit.dir-rtl table.generaltable th.c0 {
1111 text-align: right;
1112}
1113.corelightbox {
1114 background-color: #CCC;
1115 position: absolute;
1116 top: 0;
1117 left: 0;
1118 width: 100%;
1119 height: 100%;
1120 text-align: center;
1121}
1122.corelightbox img {
1123 position: fixed;
1124 top: 50%;
1125 left: 50%;
1126}
1127.mod-indent-1 {
1128 margin-left: 30px;
1129}
1130.mod-indent-2 {
1131 margin-left: 60px;
1132}
1133.mod-indent-3 {
1134 margin-left: 90px;
1135}
1136.mod-indent-4 {
1137 margin-left: 120px;
1138}
1139.mod-indent-5 {
1140 margin-left: 150px;
1141}
1142.mod-indent-6 {
1143 margin-left: 180px;
1144}
1145.mod-indent-7 {
1146 margin-left: 210px;
1147}
1148.mod-indent-8 {
1149 margin-left: 240px;
1150}
1151.mod-indent-9 {
1152 margin-left: 270px;
1153}
1154.mod-indent-10 {
1155 margin-left: 300px;
1156}
1157.mod-indent-11 {
1158 margin-left: 330px;
1159}
1160.mod-indent-12 {
1161 margin-left: 360px;
1162}
1163.mod-indent-13 {
1164 margin-left: 390px;
1165}
1166.mod-indent-14 {
1167 margin-left: 420px;
1168}
1169.mod-indent-15,
1170.mod-indent-huge {
1171 margin-left: 420px;
1172}
1173.dir-rtl .mod-indent-1 {
1174 margin-right: 30px;
1175 margin-left: 0;
1176}
1177.dir-rtl .mod-indent-2 {
1178 margin-right: 60px;
1179 margin-left: 0;
1180}
1181.dir-rtl .mod-indent-3 {
1182 margin-right: 90px;
1183 margin-left: 0;
1184}
1185.dir-rtl .mod-indent-4 {
1186 margin-right: 120px;
1187 margin-left: 0;
1188}
1189.dir-rtl .mod-indent-5 {
1190 margin-right: 150px;
1191 margin-left: 0;
1192}
1193.dir-rtl .mod-indent-6 {
1194 margin-right: 180px;
1195 margin-left: 0;
1196}
1197.dir-rtl .mod-indent-7 {
1198 margin-right: 210px;
1199 margin-left: 0;
1200}
1201.dir-rtl .mod-indent-8 {
1202 margin-right: 240px;
1203 margin-left: 0;
1204}
1205.dir-rtl .mod-indent-9 {
1206 margin-right: 270px;
1207 margin-left: 0;
1208}
1209.dir-rtl .mod-indent-10 {
1210 margin-right: 300px;
1211 margin-left: 0;
1212}
1213.dir-rtl .mod-indent-11 {
1214 margin-right: 330px;
1215 margin-left: 0;
1216}
1217.dir-rtl .mod-indent-12 {
1218 margin-right: 360px;
1219 margin-left: 0;
1220}
1221.dir-rtl .mod-indent-13 {
1222 margin-right: 390px;
1223 margin-left: 0;
1224}
1225.dir-rtl .mod-indent-14 {
1226 margin-right: 420px;
1227 margin-left: 0;
1228}
1229.dir-rtl .mod-indent-15,
1230.dir-rtl .mod-indent-huge {
1231 margin-right: 420px;
1232 margin-left: 0;
1233}
1234/* Audio player size in 'block' mode (can only change width, height is hardcoded in JS) */
1235.resourcecontent .mediaplugin_mp3 object {
1236 height: 25px;
1237 width: 600px
1238}
1239.resourcecontent audio.mediaplugin_html5audio {
1240 width: 600px
1241}
1242/** Large resource images should avoid hidden overflow **/
1243.resourceimage {
1244 max-width: 100%;
1245}
1246/* Audio player size in 'inline' mode (can only change width, as above) */
1247.mediaplugin_mp3 object {
1248 height: 15px;
1249 width: 300px
1250}
1251audio.mediaplugin_html5audio {
1252 width: 300px
1253}
1254/* TinyMCE moodle media preview frame should not have padding */
1255.core_media_preview.pagelayout-embedded #content {
1256 padding: 0;
1257}
1258.core_media_preview.pagelayout-embedded #maincontent {
1259 height: 0;
1260}
1261.core_media_preview.pagelayout-embedded .mediaplugin {
1262 margin: 0;
1263}
1264/** Fix YUI 2 Treeview for Right to left languages **/
1265.dir-rtl .ygtvtn,
1266.dir-rtl .ygtvtm,
1267.dir-rtl .ygtvtmh,
1268.dir-rtl .ygtvtmhh,
1269.dir-rtl .ygtvtp,
1270.dir-rtl .ygtvtph,
1271.dir-rtl .ygtvtphh,
1272.dir-rtl .ygtvln,
1273.dir-rtl .ygtvlm,
1274.dir-rtl .ygtvlmh,
1275.dir-rtl .ygtvlmhh,
1276.dir-rtl .ygtvlp,
1277.dir-rtl .ygtvlph,
1278.dir-rtl .ygtvlphh,
1279.dir-rtl .ygtvdepthcell,
1280.dir-rtl .ygtvok,
1281.dir-rtl .ygtvok:hover,
1282.dir-rtl .ygtvcancel,
1283.dir-rtl .ygtvcancel:hover {
1284 width: 18px;
1285 height: 22px;
1286 background-image: url([[pix:theme|yui2-treeview-sprite-rtl]]);
1287 background-repeat: no-repeat;
1288 cursor: pointer;
1289}
1290.dir-rtl .ygtvtn {
1291 background-position: 0 -5600px;
1292}
1293.dir-rtl .ygtvtm {
1294 background-position: 0 -4000px;
1295}
1296.dir-rtl .ygtvtmh,
1297.dir-rtl .ygtvtmhh {
1298 background-position: 0 -4800px;
1299}
1300.dir-rtl .ygtvtp {
1301 background-position: 0 -6400px;
1302}
1303.dir-rtl .ygtvtph,
1304.dir-rtl .ygtvtphh {
1305 background-position: 0 -7200px;
1306}
1307.dir-rtl .ygtvln {
1308 background-position: 0 -1600px;
1309}
1310.dir-rtl .ygtvlm {
1311 background-position: 0 0;
1312}
1313.dir-rtl .ygtvlmh,
1314.dir-rtl .ygtvlmhh {
1315 background-position: 0 -800px;
1316}
1317.dir-rtl .ygtvlp {
1318 background-position: 0 -2400px;
1319}
1320.dir-rtl .ygtvlph,
1321.dir-rtl .ygtvlphh {
1322 background-position: 0 -3200px
1323}
1324.dir-rtl .ygtvdepthcell {
1325 background-position: 0 -8000px;
1326}
1327.dir-rtl .ygtvok {
1328 background-position: 0 -8800px;
1329}
1330.dir-rtl .ygtvok:hover {
1331 background-position: 0 -8844px;
1332}
1333.dir-rtl .ygtvcancel {
1334 background-position: 0 -8822px;
1335}
1336.dir-rtl .ygtvcancel:hover {
1337 background-position: 0 -8866px;
1338}
1339.dir-rtl.yui-skin-sam .yui-panel .hd {
94462b56 1340 text-align: right;
8903b17b
BB
1341}
1342.dir-rtl .yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd {
1343 text-align: right;
1344}
1345/** Fix TinyMCE editor right to left **/
1346.dir-rtl .clearlooks2.ie9 .mceAlert .mceMiddle span,.dir-rtl .clearlooks2 .mceConfirm .mceMiddle span {
1347 top: 44px;
1348}
1349.dir-rtl .o2k7Skin table,
1350.dir-rtl .o2k7Skin tbody,
1351.dir-rtl .o2k7Skin a,
1352.dir-rtl .o2k7Skin img,
1353.dir-rtl .o2k7Skin tr,
1354.dir-rtl .o2k7Skin div,
1355.dir-rtl .o2k7Skin td,
1356.dir-rtl .o2k7Skin iframe,
1357.dir-rtl .o2k7Skin span,
1358.dir-rtl .o2k7Skin *,
1359.dir-rtl .o2k7Skin .mceText,
1360.dir-rtl .o2k7Skin .mceListBox .mceText {
1361 text-align: right;
1362}
1363.path-rating .ratingtable {
1364 width: 100%;
1365 margin-bottom: 1em;
1366}
1367.path-rating .ratingtable th.rating {
1368 width: 100%;
1369}
1370.path-rating .ratingtable td.rating,
1371.path-rating .ratingtable td.time {
1372 white-space: nowrap;
1373 text-align: center;
1374}
1375.initialbar a {
1376 padding-right: 2px;
1377}
1378/* Moodle Dialogue Settings (moodle-core-dialogue) */
1379.moodle-dialogue-base .moodle-dialogue-lightbox {
1380 background-color: #AAA;
1381}
1382.moodle-dialogue-base .hidden,
1383.moodle-dialogue-base .moodle-dialogue-hidden {
1384 display: none;
1385}
bf7c86cf
DW
1386.no-scrolling {
1387 overflow: hidden;
1388}
1389.moodle-dialogue-fullscreen {
1390 left: 0px;
1391 top: 0px;
1392 width: 100%;
1393 height: 100%;
1394 overflow: auto;
1395}
8903b17b
BB
1396.moodle-dialogue-base .moodle-dialogue {
1397 padding: 0;
1398 margin: 0;
1399 background: none;
1400 border: none;
323aa324 1401 z-index: 600;
22c943b3 1402 outline: #000 dotted 0;
8903b17b
BB
1403}
1404.moodle-dialogue-base .moodle-dialogue-wrap {
1405 margin-top: -3px;
1406 margin-left: -3px;
1407 background-color: #fff;
1408 border: 1px solid #ccc;
1409 .border-radius(10px);
1410 .box-shadow(5px 5px 20px 0 #666);
1411}
1412.moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd {
1413 margin: 0;
1414 padding: 5px;
1415 font-size: 12px;
1416 font-weight: normal;
1417 letter-spacing: 1px;
1418 color: #333;
1419 text-align: center;
1420 text-shadow: 1px 1px 1px #fff;
1421 .border-radius(10px 10px 0 0);
1422 border-bottom: 1px solid #bbb;
1423 background: #ccc;
1424 #gradient > .vertical(#fff, #ccc);
1425 filter: dropshadow(color=#FFFFFF, offx=1, offy=1);
1426}
1427.moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd h1 {
1428 margin: 0;
1429 padding: 0;
1430 display: inline;
1431 font-size: 100%;
1432 font-weight: bold;
1433}
1434.moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd .yui3-widget-buttons {
1435 padding: 5px;
1436}
1437.moodle-dialogue-base .closebutton {
1438 width: 25px;
1439 height: 15px;
1440 float: right;
1441 vertical-align: middle;
1442 display: inline-block;
1443 cursor: pointer;
1444 padding: 0;
1445 background-image: url([[pix:theme|sprite]]);
1446 background-repeat: no-repeat;
1447 border-style: none;
1448}
1449.dir-rtl .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd .yui3-widget-buttons {
1450 left: 0;
1451 right: auto;
1452}
1453.moodle-dialogue-base .moodle-dialogue .moodle-dialogue-bd {
1454 overflow: auto;
1455 padding: 1em;
1456 line-height: 2em;
1457 color: #555;
1458 font-size: 12px;
1459}
1460.moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-content {
1461 padding: 0;
1462 background: #FFF;
1463}
d61c96b6
DW
1464
1465.moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-hd {
1466 padding: 10px;
1467 font-size: 16px;
1468}
1469
1470.moodle-dialogue-base .moodle-dialogue-fullscreen,
1471.moodle-dialogue-fullscreen .moodle-dialogue-content {
1472 width: 100%;
1473 height: 100%;
1474 margin: 0px;
1475 border: 0px;
1476}
1477.moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-hd,
1478.moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-wrap {
1479 border-radius: 0px;
1480}
8903b17b
BB
1481.moodle-dialogue-confirm .confirmation-dialogue {
1482 text-align: center;
1483}
1484.moodle-dialogue-confirm .confirmation-dialogue input {
1485 text-align: center;
1486}
1487.moodle-dialogue-exception .moodle-exception-message {
1488 text-align: center
1489}
1490.moodle-dialogue-exception .moodle-exception-param label {
1491 font-weight: bold;
1492}
1493.moodle-dialogue-exception .param-stacktrace label {
1494 background-color: #EEE;
1495 border: 1px solid #ccc;
1496 border-bottom-width: 0;
1497}
1498.moodle-dialogue-exception .param-stacktrace pre {
1499 border: 1px solid #ccc;
1500 background-color: #fff;
1501}
1502.moodle-dialogue-exception .param-stacktrace .stacktrace-file {
1503 color: navy;
1504 font-size: @fontSizeSmall;
1505}
1506.moodle-dialogue-exception .param-stacktrace .stacktrace-line {
1507 color: @errorText;
1508 font-size: @fontSizeSmall;
1509}
1510.moodle-dialogue-exception .param-stacktrace .stacktrace-call {
1511 color: #333;
1512 font-size: 90%;
1513 border-bottom: 1px solid #eee;
1514}
1515.moodle-dialogue-base .moodle-dialogue .moodle-dialogue-content .moodle-dialogue-ft {
1516 padding: 0;
1517 margin: 0.7em 1em;
1518 text-align: right;
1519 background-color: #FFF;
1520 font-size: 12px;
1521}
1522.moodle-dialogue-confirm .confirmation-message {
1523 margin: 0.5em 1em;
1524}
1525.moodle-dialogue-confirm .confirmation-dialogue input {
1526 min-width: 80px
1527}
1528.moodle-dialogue-exception .moodle-exception-message {
1529 margin: 1em;
1530}
1531.moodle-dialogue-exception .moodle-exception-param {
1532 margin-bottom: 0.5em;
1533}
1534.moodle-dialogue-exception .moodle-exception-param label {
1535 width: 150px;
1536}
1537.moodle-dialogue-exception .param-stacktrace label {
1538 display: block;
1539 margin: 0;
1540 padding: 4px 1em;
1541}
1542.moodle-dialogue-exception .param-stacktrace pre {
1543 display: block;
1544 height: 200px;
1545 overflow: auto;
1546}
1547.moodle-dialogue-exception .param-stacktrace .stacktrace-file {
1548 display: inline-block;
1549 margin: 4px 0;
1550}
1551.moodle-dialogue-exception .param-stacktrace .stacktrace-line {
1552 display: inline-block;
1553 width: 50px;
1554 margin: 4px 1em;
1555}
1556.moodle-dialogue-exception .param-stacktrace .stacktrace-call {
1557 padding-left: 25px;
1558 margin-bottom: 4px;
1559 padding-bottom: 4px;
1560}
1561.moodle-dialogue .moodle-dialogue-bd .content-lightbox {
1562 .opacity(75);
1563 width: 100%;
1564 height: 100%;
1565 top: 0;
1566 left: 0;
1567 background-color: white;
1568 text-align: center;
1569 padding: 10% 0;
1570}
1571/* Apply a default max-height on tooltip text */
1572.moodle-dialogue .tooltiptext {
1573 max-height: 300px;
1574}
b72d78d8 1575
323aa324 1576.moodle-dialogue-base .moodle-dialogue.moodle-dialogue-tooltip {
b72d78d8
AN
1577 z-index: 3001;
1578}
1579
8903b17b
BB
1580/* Question Bank - Question Chooser "Close" button */
1581#page-question-edit.dir-rtl a.container-close {
1582 right: auto;
1583 left: 6px;
1584}
1585/**
1586* Chooser Dialogues (moodle-core-chooserdialogue)
1587*
1588* This CSS belong to the chooser dialogue which should work both with, and
1589* without javascript enabled
1590*/
1591/* Hide the dialog and it's title */
1592.chooserdialoguebody,
1593.choosertitle {
1594 display: none;
1595}
1596.moodle-dialogue.chooserdialogue .moodle-dialogue-content .moodle-dialogue-ft {
1597 margin: 0;
1598}
1599.chooserdialogue .moodle-dialogue-wrap .moodle-dialogue-bd {
1600 padding: 0;
1601 background: #F2F2F2;
1602 .border-bottom-radius(10px);
1603}
1604/* Center the submit buttons within the area */
1605.choosercontainer #chooseform .submitbuttons {
1606 margin: 0.7em 0;
1607 text-align: center;
1608}
1609.choosercontainer #chooseform .submitbuttons input {
1610 min-width: 100px;
1611 margin: 0 0.5em;
1612}
1613/* Various settings for the options area */
1614.choosercontainer #chooseform .options {
1615 position: relative;
1616 border-bottom: 1px solid #BBBBBB;
1617}
1618/* Only set these options if we're showing the js container */
1619.jsenabled .choosercontainer #chooseform .alloptions {
1620 overflow-x: hidden;
1621 overflow-y: auto;
1622 max-width: 20.3em;
1623 .box-shadow(inset 0 0 30px 0px #ccc);
1624}
1625.dir-rtl.jsenabled .choosercontainer #chooseform .alloptions {
1626 max-width: 18.3em;
1627}
1628/* Settings for option rows and option subtypes */
1629.choosercontainer #chooseform .moduletypetitle,
1630.choosercontainer #chooseform .option,
1631.choosercontainer #chooseform .nonoption {
1632 margin-bottom: 0;
1633 padding: 0 1.6em 0 1.6em;
1634}
1635.choosercontainer #chooseform .moduletypetitle {
1636 text-transform: uppercase;
1637 padding-top: 1.2em;
1638 padding-bottom: 0.4em;
1639}
1640.choosercontainer #chooseform .option .typename,
1641.choosercontainer #chooseform .option span.modicon img.icon,
1642.choosercontainer #chooseform .nonoption .typename,
1643.choosercontainer #chooseform .nonoption span.modicon img.icon {
1644 padding: 0 0 0 0.5em;
1645}
1646.dir-rtl .choosercontainer #chooseform .option .typename,
1647.dir-rtl .choosercontainer #chooseform .option span.modicon img.icon,
1648.dir-rtl .choosercontainer #chooseform .nonoption .typename,
1649.dir-rtl .choosercontainer #chooseform .nonoption span.modicon img.icon {
1650 padding: 0 0.5em 0 0;
1651}
1652.choosercontainer #chooseform .option span.modicon img.icon,
1653.choosercontainer #chooseform .nonoption span.modicon img.icon {
1654 height: 24px;
1655 width: 24px;
1656}
1657.choosercontainer #chooseform .option input[type=radio],
1658.choosercontainer #chooseform .option span.typename,
1659.choosercontainer #chooseform .option span.modicon {
1660 vertical-align: middle;
1661}
1662.choosercontainer #chooseform .option label {
1663 display: block;
1664 padding: 0.3em 0 0.1em 0;
1665 border-bottom: 1px solid #FFFFFF;
1666}
1667.choosercontainer #chooseform .nonoption {
1668 padding-left: 2.7em;
1669 padding-top: 0.3em;
1670 padding-bottom: 0.1em;
1671}
1672.dir-rtl .choosercontainer #chooseform .nonoption {
1673 padding-right: 2.7em;
1674 padding-left: 0;
1675}
1676.choosercontainer #chooseform .subtype {
1677 margin-bottom: 0;
1678 padding: 0 1.6em 0 3.2em;
1679}
1680.dir-rtl .choosercontainer #chooseform .subtype {
1681 padding: 0 3.2em 0 1.6em;
1682}
1683.choosercontainer #chooseform .subtype .typename {
1684 margin: 0 0 0 0.2em;
1685}
1686.dir-rtl .choosercontainer #chooseform .subtype .typename {
1687 margin: 0 0.2em 0 0;
1688}
1689/* The instruction/help area */
1690.jsenabled .choosercontainer #chooseform .instruction,
1691.jsenabled .choosercontainer #chooseform .typesummary {
1692 display: none;
1693 position: absolute;
1694 top: 0;
1695 right: 0;
1696 bottom: 0;
1697 left: 20.3em;
1698 margin: 0;
1699 padding: 1.6em;
1700 background-color: @bodyBackground;
1701 overflow-x: hidden;
1702 overflow-y: auto;
1703 line-height: 2em;
1704}
1705.dir-rtl.jsenabled .choosercontainer #chooseform .instruction,
1706.dir-rtl.jsenabled .choosercontainer #chooseform .typesummary {
1707 left: 0;
1708 right: 18.5em;
1709 border-right: 1px solid grey;
1710}
1711/* Selected option settings */
1712.jsenabled .choosercontainer #chooseform .instruction,
1713.choosercontainer #chooseform .selected .typesummary {
1714 display: block;
1715}
1716.choosercontainer #chooseform .selected {
1717 background-color: @bodyBackground;
1718 .box-shadow(0px 0 10px 0 #ccc);
1719}
1720.section-modchooser-link img.smallicon {
1721 padding: 3px;
1722}
1723/* Form element: listing */
1724.formlistingradio {
1725 padding-bottom: 25px;
1726 padding-right: 10px;
1727}
1728.formlistinginputradio {
1729 float: left;
1730}
1731.formlistingmain {
1732 min-height: 225px;
1733}
1734.formlisting {
1735 position: relative;
1736 margin: 15px 0;
1737 padding: 1px 19px 14px;
1738 background-color: white;
1739 border: 1px solid #DDD;
1740 .border-radius(4px);
1741}
1742.formlistingmore {
1743 position: absolute;
1744 cursor: pointer;
1745 bottom: -1px;
1746 right: -1px;
1747 padding: 3px 7px;
1748 font-size: 12px;
1749 font-weight: bold;
1750 background-color: whiteSmoke;
1751 border: 1px solid #ddd;
1752 color: #9DA0A4;
1753 .border-radius(4px 0 4px 0);
1754}
1755.formlistingall {
1756 margin: 15px 0;
1757 padding: 0;
1758 .border-radius(4px);
1759}
1760.formlistingrow {
1761 cursor: pointer;
1762 border-bottom: 1px solid;
1763 border-color: #E1E1E8;
1764 border-left: 1px solid #E1E1E8;
1765 border-right: 1px solid #E1E1E8;
1766 background-color: #F7F7F9;
1767 .border-radius(0 0 4px 4px);
1768 padding: 6px;
1769 top: 50%;
1770 left: 50%;
1771 min-height: 34px;
1772 float: left;
1773 width: 150px;
1774}
1775body.jsenabled .formlistingradio {
1776 display: none;
1777}
1778body.jsenabled .formlisting {
1779 display: block;
1780}
f8ba185a
YB
1781
1782/* Badges styles */
1783table.collection {
1784 .table;
1785 .table-bordered;
1786 .table-striped;
1787}
1788table.collection .name {
1789 text-align: left;
1790 vertical-align: middle;
1791}
1792table.collection .awards {
1793 width: 10%;
1794 text-align: center;
1795 vertical-align: middle;
1796}
1797table.collection .criteria {
1798 width: 40%;
1799 text-align: left;
1800 vertical-align: top;
1801}
1802table.collection .badgeimage,
1803table.collection .status {
1804 width: 15%;
1805 text-align: center;
1806 vertical-align: middle;
1807}
1808table.collection .description {
1809 width: 25%;
1810 text-align: left;
1811}
1812table.collection .actions {
1813 width: 11em;
1814 text-align: center;
1815 vertical-align: middle;
1816}
1817
1818a.criteria-action {
1819 padding: 0px 3px;
1820 float: right;
1821}
1822table.issuedbadgebox {
1823 width: 750px;
1824 background-color: #FFFFFF;
1825}
1826table.badgeissuedimage {
1827 width: 150px;
1828 text-align: center;
1829}
1830table.badgeissuedinfo {
1831 width: 600px;
1832}
1833table.badgeissuedinfo .bvalue {
1834 text-align: left;
1835 vertical-align: middle;
1836}
1837table.badgeissuedinfo .bfield {
1838 width: 125px;
1839 text-align: left;
1840 font-style: italic;
1841}
1842ul.badges {
1843 margin: 0;
1844 list-style: none;
1845}
1846.badges li {
1847 position: relative;
1848 display: inline-block;
1849 padding-bottom: 2em;
1850 text-align: center;
1851 vertical-align: top;
1852 width: 150px;
1853}
1854.badges li .badge-name {
1855 display: block;
1856 padding: 5px;
1857}
1858.badges li > img {
1859 position: absolute;
1860}
1861.badges li .badge-image {
1862 width: 90px;
1863 height: 90px;
1864 left: 10px;
1865 top: 0px;
1866 z-index: 1;
1867}
1868.badges li .badge-actions {
1869 position: relative;
1870}
1871div.badge {
1872 position: relative;
1873 display: block;
1874}
1875div.badge .expireimage {
1876 width: 100px;
1877 height: 100px;
1878 left: 20px;
1879 top: 0px;
1880}
1881.expireimage {
1882 .opacity(85);
1883 width: 90px; height: 90px;
1884 left: 30px;
1885 top: 0px;
1886 position: absolute;
1887 z-index:10;
1888}
1889.badge-profile {
1890 vertical-align: top;
1891}
1892.connected {
1893 color: @successText;
1894}
1895.notconnected {
1896 color: @errorText;
1897}
1898#page-badges-award .recipienttable tr td {
1899 vertical-align: top;
1900}
1901#page-badges-award .recipienttable tr td.actions .actionbutton {
1902 margin: 0.3em 0;
1903 padding: 0.5em 0;
1904 width: 100%;
1905}
1906#page-badges-award .recipienttable tr td.existing,
1907#page-badges-award .recipienttable tr td.potential {
1908 width: 42%;
1909}
1910
1911.statustable {
1912 margin-bottom: 0px;
1913}
1914.statusbox.active {
1915 background-color: @successBackground;
1916}
1917.statusbox.inactive {
1918 background-color: @warningBackground;
1919}
1920.activatebadge {
1921 margin: 0px;
1922 text-align: left;
1923 vertical-align: middle;
1924}
1925.addcourse {
1926 float: right;
1927}
94748332
ME
1928.invisiblefieldset {
1929 display: inline;
1930 margin: 0;
1931 padding: 0;
1932 border-width: 0;
1933}
c72106b2
RW
1934.breadcrumb-nav {
1935 float: left;
1936 margin-bottom: 10px;
1937}
a14af684
NK
1938.dir-rtl .breadcrumb-nav {
1939 float: right;
1940}
c72106b2
RW
1941.breadcrumb-button .singlebutton div {
1942 margin-right: 0;
1943}
1944.breadcrumb-nav .breadcrumb {
1945 margin: 0;
1946}
e282c679 1947
3665af78 1948/** Action menu component styles **/
b59f2e3b 1949.moodle-actionmenu,
3665af78
SH
1950.moodle-actionmenu > ul,
1951.moodle-actionmenu > ul > li {
b59f2e3b
SH
1952 display: inline-block;
1953}
e282c679 1954
3665af78
SH
1955.moodle-actionmenu ul {
1956 padding: 0;
1957 margin: 0;
1958 list-style-type: none;
1959}
1960
e5de4933 1961.moodle-actionmenu .toggle-display,
cf69a00a 1962.moodle-actionmenu .menu-action-text {
e5de4933 1963 display: none; /** Hidden by default, display none so that we don't take up space. **/
e282c679
SH
1964}
1965
e5de4933 1966.jsenabled {
10fc1569 1967 .moodle-actionmenu[data-enhance] {
e5de4933 1968 display: block;
3665af78 1969 .menu {
e5de4933 1970 display:none;
e5de4933 1971 }
e5de4933 1972 .toggle-display {
3665af78
SH
1973 display: inline; /** JS is enabled, we'll be using it so return display to normal **/
1974 .opacity(50);
e5de4933 1975 }
10fc1569
SH
1976 }
1977 .moodle-actionmenu[data-enhanced] {
1978 .toggle-display {
1979 .opacity(100);
1980 }
1981 .menu-action-text {
1982 display:inline;
e5de4933
SH
1983 }
1984 }
e282c679 1985}
b59f2e3b 1986
e5de4933 1987.moodle-actionmenu[data-enhanced].show {
b59f2e3b 1988
e5de4933 1989 position: relative;
b59f2e3b 1990
3665af78 1991 .menu {
b59f2e3b 1992
3665af78 1993 display:block;
e5de4933 1994 position: absolute;
10fc1569 1995 text-align: left;
e5de4933
SH
1996 background-color: #fff;
1997 border: 1px solid #ccc;
1998 z-index:1000;
1999 .border-radius(5px);
2000 .box-shadow(5px 5px 20px 0 #666);
2001
2002 a {
2003 display: block;
2004 color: @dropdownLinkColor;
2005 padding:2px 1em 2px 0.5em;
2006 &:hover,
2007 &:focus {
2008 color: @dropdownLinkColorHover;
2009 background-color: @dropdownLinkBackgroundHover;
2010 }
2011 &:first-child {
2012 .border-top-radius(4px);
2013 }
2014 &:last-child {
2015 .border-bottom-radius(4px);
2016 }
b59f2e3b 2017 }
e5de4933 2018 a.hidden {
10fc1569 2019 display:none;
b59f2e3b 2020 }
e5de4933
SH
2021 img {
2022 vertical-align: middle;
2023 }
2024 .iconsmall {
2025 margin-right:8px;
b59f2e3b 2026 }
3665af78
SH
2027 > li {
2028 display:block;
2029 }
2030
2031 /** bottom left of button **/
2032 &.align-tl-bl {top: 100%;left:0;margin-top: 4px;}
2033 &.align-tr-bl {top: 100%;right: 100%;}
2034 &.align-bl-bl {bottom: 100%;left:0;}
2035 &.align-br-bl {bottom: 100%;right: 100%;}
2036 /** bottom right of button **/
2037 &.align-tl-br {top: 100%;left:100%;}
2038 &.align-tr-br {top: 100%;right: 0;margin-top: 4px;}
2039 &.align-bl-br {bottom: 100%;left:100%;}
2040 &.align-br-br {bottom: 100%;right: 0;}
2041 /** top left of button **/
2042 &.align-tl-tl {top: 0;left:0;}
2043 &.align-tr-tl {top: 0;right: 100%;margin-right: 4px;}
2044 &.align-bl-tl {bottom: 100%;left:0;margin-bottom: 4px;}
2045 &.align-br-tl {bottom: 100%;right: 100%;}
2046 /** top right of button **/
2047 &.align-tl-tr {top: 0;left:100%;margin-left: 4px;}
2048 &.align-tr-tr {top: 0;right: 0;}
2049 &.align-bl-tr {bottom: 100%;left:100%;}
2050 &.align-br-tr {bottom: 100%;right: 0;margin-bottom: 4px;}
b59f2e3b 2051 }
e282c679
SH
2052}
2053
e5de4933
SH
2054.action-menu-shown .moodle-actionmenu[data-enhanced] .toggle-display {
2055 background-color: #FFF;
2056}
2057
2058.block .moodle-actionmenu {
2059 text-align: right;
e282c679
SH
2060}
2061
b59f2e3b 2062.dir-rtl {
e5de4933 2063 .moodle-actionmenu[data-enhanced].show {
3665af78 2064 .menu {
10fc1569 2065 text-align: right;
e5de4933
SH
2066 left: 0;
2067 right: auto;
2068 .iconsmall {
2069 margin-right:0;
2070 margin-left:8px;
2071 }
3665af78
SH
2072
2073 /** bottom left of button **/
2074 &.align-tl-bl {left: auto; right: 0;}
2075 &.align-tr-bl {right: auto; left: 100%;}
2076 &.align-bl-bl {left: auto; right: 0;}
2077 &.align-br-bl {right: auto; left: 100%;}
2078 /** bottom right of button **/
2079 &.align-tl-br {left: auto; right: 100%;}
2080 &.align-tr-br {right: auto; left: 0;}
2081 &.align-bl-br {left: auto; right: 100%;}
2082 &.align-br-br {right: auto; left: 0;}
2083 /** top left of button **/
2084 &.align-tl-tl {left: auto; right: 0;}
2085 &.align-tr-tl {right: auto; left: 100%;}
2086 &.align-bl-tl {left: auto; right: 0;}
2087 &.align-br-tl {right: auto; left: 100%;}
2088 /** top right of button **/
2089 &.align-tl-tr {left: auto; right: 100%;}
2090 &.align-tr-tr {right: auto; left: 0;}
2091 &.align-bl-tr {left: auto; right: 100%;}
2092 &.align-br-tr {right: auto; left: 0;}
b59f2e3b
SH
2093 }
2094 }
e5de4933
SH
2095 .block .moodle-actionmenu {
2096 text-align: right;
b59f2e3b 2097 }
e282c679 2098}
dd66b6ab
DW
2099
2100ul.dragdrop-keyboard-drag li {
2101 list-style-type: none;
2102}
2103
2104.block-control-actions .moodle-core-dragdrop-draghandle img {
2105 width: 12px;
2106 height: 12px;
2107}