MDL-55167 less: add missing linebreak seperators
[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 {
418b9328 9 display: none;
8bfd530b
SH
10}
11
2a203eee
SH
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.
418b9328 16 display: none;
8bfd530b
SH
17}
18
06569b71 19/** Start Legacy styles. Deprecated since Moodle 2.9. See MDL-48160 for further information. **/
af23b605 20.content-only #region-main.span9, // Two column layout with no block or all blocks docked.
2a203eee
SH
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.
b3eadf70 27 width: 100%;
8bfd530b
SH
28}
29
2a203eee
SH
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.
73b425be
ME
32 float: none;
33 width: 100%;
34}
35
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;
8bfd530b 39}
73b425be 40/** End Legacy styles **/
8bfd530b 41
73b425be
ME
42
43/* Default Three Columns - All
44------------------------------*/
45
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}
2a203eee
SH
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 {
d3a93557 89 /** Increase the span size by 1 **/
2a203eee
SH
90 .fluid-span(9);
91 }
92 #block-region-side-pre.span4 {
d3a93557 93 /** Decrease the span size by 1 **/
2a203eee
SH
94 .fluid-span(3);
95 }
8bfd530b 96}
a31445a8 97
8bfd530b
SH
98/** Page layout CSS ends **/
99
8903b17b
BB
100.dir-ltr,
101.mdl-left,
102.dir-rtl .mdl-right {
103 text-align: left;
104}
105.dir-rtl,
106.mdl-right,
107.dir-rtl .mdl-left {
108 text-align: right;
109}
110#add,
111#remove,
112.centerpara,
113.mdl-align {
114 text-align: center;
115}
116a.dimmed,
117a.dimmed:link,
118a.dimmed:visited,
119a.dimmed_text,
120a.dimmed_text:link,
121a.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
133}
134.activity.label .dimmed_text {
135 .opacity(50)
136}
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;
149}
8903b17b
BB
150.inline,
151.inline-list li {
152 display: inline;
153}
154.notifytiny {
155 font-size: @fontSizeMini;
156}
157.notifytiny li,
158.notifytiny td {
159 font-size: 100%;
160}
161.red,
162.notifyproblem {
163 color: @errorText;
164}
165.green,
166.notifysuccess {
167 color: @successText;
168}
810a3da1
FM
169.highlight {
170 background: @infoBackground;
171}
8903b17b
BB
172.reportlink {
173 text-align: right;
174}
175a.autolink.glossary:hover {
176 cursor: help;
177}
178/* Block which is hidden if javascript enabled, prevents fickering visible when JS from footer used! */
179.collapsibleregioncaption {
180 white-space: nowrap;
181}
20955a30
ME
182.pagelayout-mydashboard.jsenabled .collapsibleregioncaption {
183 cursor: pointer;
184}
8903b17b
BB
185.collapsibleregioncaption img {
186 vertical-align: middle;
187}
20955a30 188
8903b17b
BB
189.jsenabled .hiddenifjs {
190 display: none;
191}
192.visibleifjs {
193 display: none;
194}
195.jsenabled .visibleifjs {
196 display: inline;
197}
198.jsenabled .collapsibleregion {
199 overflow: hidden;
200}
201.jsenabled .collapsed .collapsibleregioninner {
202 visibility: hidden;
203}
53c1b936
ARN
204.collapsible-actions {
205 display: none;
206 text-align: right;
207}
208.dir-rtl .collapsible-actions {
209 text-align: left;
210}
211.jsenabled .collapsible-actions {
212 display: block;
213}
214.collapsible-actions .collapseexpand {
215 padding-left: 20px;
216 background: url([[pix:t/collapsed]]) 2px center no-repeat;
217}
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;
222}
223.collapsible-actions .collapse-all,
224.dir-rtl .collapsible-actions .collapse-all {
225 background-image: url([[pix:t/expanded]]);
226}
8903b17b
BB
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;
237}
238.clearer {
239 background: transparent;
240 border-width: 0;
241 clear: both;
242 display: block;
243 height: 1px;
244 margin: 0;
245 padding: 0;
246}
247.bold,
248.warning,
249.errorbox .title,
250.pagingbar .title,
faf6010b 251.pagingbar .thispage {
8903b17b
BB
252 font-weight: bold;
253}
254img.resize {
255 height: 1em;
256 width: 1em;
257}
258.block img.resize,
259.breadcrumb img.resize {
260 height: 0.9em;
261 width: 0.8em;
262}
263/* Icon styles */
264img.icon {
265 height: 16px;
4460e380 266 vertical-align: text-bottom;
8903b17b
BB
267 width: 16px;
268 padding-right: 6px;
269}
270.dir-rtl img.icon {
271 padding-left: 6px;
272 padding-right: 0;
273}
274img.iconsmall {
275 height: 12px;
276 margin-right: 3px;
277 vertical-align: middle;
278 width: 12px;
279}
0e878352
DP
280img.iconhelp,
281.helplink img {
8903b17b
BB
282 height: 16px;
283 padding-left: 3px;
4460e380 284 vertical-align: text-bottom;
8903b17b
BB
285 width: 16px;
286}
0e878352
DP
287h1 img.iconhelp,
288h1 img.icon,
289h2 img.iconhelp,
290h2 img.icon,
291h3 img.iconhelp,
292h3 img.icon,
293h4 img.iconhelp,
294h4 img.icon,
295h5 img.iconhelp,
296h5 img.icon,
297h6 img.iconhelp,
298h6 img.icon {
d3a93557
DP
299 vertical-align: middle;
300 padding: 4px;
4460e380 301}
0e878352
DP
302.dir-rtl img.iconhelp,
303.dir-rtl .helplink img {
8903b17b
BB
304 padding-right: 3px;
305 padding-left: 0;
306}
307img.iconlarge {
308 height: 24px;
309 width: 24px;
310 vertical-align: middle;
311}
312img.iconsort {
313 vertical-align: text-bottom;
314 padding-left: .3em;
315 margin-bottom: .15em;
316}
317.dir-rtl img.iconsort {
318 padding-right: .3em;
319 padding-left: 0;
320}
321img.icontoggle {
322 height: 17px;
323 vertical-align: middle;
324 width: 50px;
325}
326img.iconkbhelp {
327 height: 17px;
328 width: 49px;
329}
0e878352
DP
330img.icon-pre,
331.dir-rtl img.icon-post {
8903b17b
BB
332 padding-right: 3px;
333 padding-left: 0;
334}
0e878352
DP
335img.icon-post,
336.dir-rtl img.icon-pre {
8903b17b
BB
337 padding-left: 3px;
338 padding-right: 0;
339}
8903b17b
BB
340.boxaligncenter {
341 margin-left: auto;
342 margin-right: auto;
343}
344.boxalignright {
345 margin-left: auto;
346 margin-right: 0;
347}
348.boxalignleft {
349 margin-left: 0;
350 margin-right: auto;
351}
352.boxwidthnarrow {
353 width: 30%;
354}
355.boxwidthnormal {
356 width: 50%;
357}
358.boxwidthwide {
359 width: 80%;
360}
361.headermain {
362 font-weight: bold;
363}
364#maincontent {
365 display: block;
366 height: 1px;
367 overflow: hidden;
368}
369img.uihint {
370 cursor: help;
371}
372#addmembersform table {
373 margin-left: auto;
374 margin-right: auto;
375}
fdf70473
DW
376table.flexible .emptyrow {
377 display: none;
378}
8903b17b
BB
379img.emoticon {
380 vertical-align: middle;
381 width: 15px;
382 height: 15px;
383}
384form.popupform,
385form.popupform div {
386 display: inline;
387}
388.arrow_button input {
389 overflow: hidden;
390}
391.action-icon img.smallicon {
392 vertical-align: text-bottom;
393 margin: 0 0.3em;
394}
4460e380 395
8903b17b
BB
396/** The 1-pixel padding is there to avoid phantom scroll bars on OS X (FF, Safari and Chrome)**/
397.no-overflow {
398 overflow: auto;
399 padding-bottom: 1px;
400}
401.pagelayout-report .no-overflow {
402 overflow: visible;
403}
404.no-overflow > .generaltable {
405 margin-bottom: 0;
406}
407// Accessibility features
408
409// Accessibility: text 'seen' by screen readers but not visual users.
410.accesshide {
411 position: absolute;
412 left: -10000px;
413 font-weight: normal;
414 font-size: 1em;
415}
416.dir-rtl .accesshide {
417 top: -30000px;
418 left: auto;
419}
420span.hide,
421div.hide {
422 display: none;
423}
424// Accessibility: Skip block link, for keyboard-only users.
425a.skip-block,
426a.skip {
427 position: absolute;
428 top: -1000em;
429 font-size: 0.85em;
430 text-decoration: none;
431}
432a.skip-block:focus,
433a.skip-block:active,
434a.skip:focus,
435a.skip:active {
436 position: static;
437 display: block;
438}
439.skip-block-to {
440 display: block;
441 height: 1px;
442 overflow: hidden;
443}
444// Blogs
445.addbloglink {
446 text-align: center;
447}
448.blog_entry .audience {
449 text-align: right;
450 padding-right: 4px;
451}
452.blog_entry .tags {
453 margin-top: 15px;
454}
455.blog_entry .tags .action-icon img.smallicon {
456 height: 16px;
457 width: 16px;
458}
459.blog_entry .content {
460 margin-left: 43px;
461}
462// Group
463#page-group-index #groupeditform {
464 text-align: center;
465}
466#doc-contents h1 {
467 margin: 1em 0 0 0;
468}
469#doc-contents ul {
470 margin: 0;
471 padding: 0;
472 width: 90%;
473}
474#doc-contents ul li {
475 list-style-type: none;
476}
477.groupmanagementtable td {
478 vertical-align: top;
479}
480.groupmanagementtable #existingcell,
481.groupmanagementtable #potentialcell {
482 width: 42%;
483}
484.groupmanagementtable #buttonscell {
485 width: 16%;
486}
f021743e
ME
487.groupmanagementtable #buttonscell p.arrow_button input {
488 width: auto;
489 min-width: 80%;
490 margin: 0 auto;
491}
8903b17b
BB
492.groupmanagementtable #removeselect_wrapper,
493.groupmanagementtable #addselect_wrapper {
494 width: 100%;
495}
496.groupmanagementtable #removeselect_wrapper label,
497.groupmanagementtable #addselect_wrapper label {
498 font-weight: normal;
499}
500.dir-rtl .groupmanagementtable p {
501 text-align: right;
502}
503#group-usersummary {
504 width: 14em;
505}
506.groupselector {
507 margin-top: 3px;
508 margin-bottom: 3px;
c544ee92 509 display: inline-block;
510}
511.groupselector label {
512 display: inline-block;
8903b17b 513}
bff1edbe
BH
514// Data format selector
515.dataformatselector {
516 margin: 1em 0;
517}
518.dataformatselector label {
519 display: inline-block;
520 margin: 0 5px 10px 0;
521 line-height: 30px;
522 vertical-align: top;
523}
524
8903b17b
BB
525// Login
526.loginbox {
527 margin: 15px;
528 overflow: visible;
529}
530.loginbox.twocolumns {
531 margin: 15px;
532}
533.loginbox h2,
534.loginbox .subcontent {
535 margin: 5px;
536 padding: 10px;
537 text-align: center;
538}
539.loginbox .loginpanel .desc {
540 margin: 0;
541 padding: 0;
542 margin-bottom: 5px;
418b9328 543 margin-top: 15px;
8903b17b
BB
544}
545.loginbox .signuppanel .subcontent {
546 text-align: left;
547}
548.dir-rtl .loginbox .signuppanel .subcontent {
549 text-align: right;
550}
551.loginbox .loginsub {
552 margin-left: 0;
553 margin-right: 0;
554}
555.loginbox .guestsub,
556.loginbox .forgotsub,
557.loginbox .potentialidps {
558 margin: 5px 12%;
559}
560.loginbox .potentialidps .potentialidplist {
561 margin-left: 40%;
562}
563.loginbox .potentialidps .potentialidplist div {
564 text-align: left;
565}
566.loginbox .loginform {
567 margin-top: 1em;
568 text-align: left;
569}
570.loginbox .loginform .form-label {
571 float: left;
572 text-align: right;
22f8a349 573 width: 49%;
8903b17b
BB
574 white-space: nowrap;
575}
576.loginbox .loginform .form-input {
577 float: right;
22f8a349 578 width: 50%;
8903b17b
BB
579}
580.loginbox .loginform .form-input input {
581 width: 6em;
582}
583.loginbox .signupform {
584 margin-top: 1em;
585 text-align: center;
586}
587.loginbox.twocolumns .loginpanel,
588.loginbox.twocolumns .signuppanel {
589 width: 48%;
590 border: 0;
591 margin: 0;
592 padding: 0;
593 .box-sizing(border-box);
594 display: block;
595 float: left;
596 margin-left: 2.76243%;
597 min-height: 30px;
598 margin-bottom: -2000px;
599 padding-bottom: 2000px;
600}
0954819f
NK
601.dir-rtl {
602 .loginbox.twocolumns .loginpanel,
603 .loginbox.twocolumns .signuppanel {
418b9328 604 float: right;
0954819f
NK
605 }
606}
607
8903b17b
BB
608.loginbox .potentialidp .smallicon {
609 vertical-align: text-bottom;
610 margin: 0 .3em;
611}
612
613// Notes
614.notepost {
615 margin-bottom: 1em;
616}
617.notepost .userpicture {
618 float: left;
619 margin-right: 5px;
620}
621.notepost .content,
622.notepost .footer {
623 clear: both;
624}
625.notesgroup {
626 margin-left: 20px;
627}
628
629// My Moodle
630.path-my .coursebox .overview {
631 margin: 15px 30px 10px 30px;
632}
633.path-my .coursebox .info {
634 float: none;
635 margin: 0;
636}
637
638// Modules
639.mod_introbox {
640 padding: 10px;
641}
642table.mod_index {
643 width: 100%;
644}
645
646// Comments
647.comment-ctrl {
648 font-size: 12px;
649 display: none;
650 margin: 0;
651 padding: 0;
652}
653.comment-ctrl h5 {
654 margin: 0;
655 padding: 5px;
656}
657.comment-area {
658 max-width: 400px;
659 padding: 5px;
660}
661.comment-area textarea {
662 width: 100%;
663 overflow: auto;
2ff98fb6
SH
664 &.fullwidth {
665 -webkit-box-sizing: border-box;
666 -moz-box-sizing: border-box;
667 box-sizing: border-box;
668 }
8903b17b
BB
669}
670.comment-area .fd {
671 text-align: right;
672}
673.comment-meta span {
674 color: gray;
675}
676.comment-link img {
677 vertical-align: text-bottom;
678}
679.comment-list {
680 font-size: 11px;
681 overflow: auto;
682 list-style: none;
683 padding: 0;
684 margin: 0;
685}
686.comment-list li {
687 margin: 2px;
688 list-style: none;
689 margin-bottom: 5px;
690 clear: both;
691 padding: .3em;
692 position: relative;
693}
694.comment-list li.first {
23bb9e24 695 display: none;
8903b17b 696}
0e878352 697.comment-paging {
8903b17b
BB
698 text-align: center;
699}
0e878352 700.comment-paging .pageno {
8903b17b
BB
701 padding: 2px;
702}
0e878352 703.comment-paging .curpage {
8903b17b
BB
704 border: 1px solid #CCC;
705}
706.comment-message .picture {
707 width: 20px;
708 float: left;
709}
710.dir-rtl .comment-message .picture {
711 float: right;
712}
713.comment-message .text {
714 margin: 0;
715 padding: 0;
716}
717.comment-message .text p {
718 padding: 0;
719 margin: 0 18px 0 0;
720}
721.comment-delete {
722 position: absolute;
723 top: 0;
724 right: 0;
725 margin: .3em;
726}
727.dir-rtl .comment-delete {
728 position: absolute;
729 left: 0;
730 right: auto;
731 margin: .3em;
732}
0e878352 733.comment-report-selectall {
23bb9e24 734 display: none;
8903b17b
BB
735}
736.comment-link {
23bb9e24 737 display: none;
8903b17b
BB
738}
739.jsenabled .comment-link {
23bb9e24 740 display: block;
8903b17b 741}
0e878352 742.jsenabled .showcommentsnonjs {
23bb9e24 743 display: none;
8903b17b 744}
0e878352 745.jsenabled .comment-report-selectall {
23bb9e24 746 display: inline;
8903b17b
BB
747}
748/**
749* Completion progress report
750*/
751.completion-expired {
752 background: @errorBackground;
753}
754.completion-expected {
755 font-size: @fontSizeMini;
756}
757.completion-sortchoice,
758.completion-identifyfield {
759 font-size: @fontSizeMini;
760 vertical-align: bottom;
761}
762.completion-progresscell {
763 text-align: right;
764}
765.completion-expired .completion-expected {
766 font-weight: bold;
767}
768/**
769* Tags
770*/
8903b17b
BB
771img.user-image {
772 height: 100px;
773 width: 100px;
774}
c026a28d
MG
775#tag-search-box {
776 text-align: center;
777 margin: 10px auto;
8903b17b 778}
c026a28d
MG
779
780.path-tag .tag-index-items .tagarea {
781 border: 1px solid #E3E3E3;
782 border-radius: 4px;
783 padding: 10px;
784 margin-top: 10px;
8903b17b 785}
c026a28d
MG
786
787.path-tag .tag-index-items .tagarea h3 {
788 display: block;
789 padding: 3px 0 10px 0;
790 margin: 0px;
791 font-size: 1.1em;
792 font-weight: bold;
793 line-height: 20px;
794 color: #999;
795 text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5);
796 text-transform: uppercase;
797 word-wrap: break-word;
798 border-bottom: solid 1px #E3E3E3;
799 margin-bottom: 10px;
8903b17b 800}
c026a28d
MG
801
802.path-tag .tagarea .controls,
803.path-tag .tagarea .taggeditems {
804 .clearfix();
8903b17b 805}
c026a28d
MG
806.path-tag .tagarea .controls,
807.path-tag .tag-backtoallitems {
8903b17b 808 text-align: center;
8903b17b 809}
c026a28d
MG
810.path-tag .tagarea .controls .gotopage.nextpage {
811 float: right;
8903b17b 812}
c026a28d 813.path-tag .tagarea .controls .gotopage.prevpage {
8903b17b 814 float: left;
8903b17b 815}
c026a28d
MG
816.path-tag .tagarea .controls .exclusivemode {
817 display: inline-block;
818}
819.dir-rtl.path-tag .tagarea .controls .gotopage.nextpage {
8903b17b 820 float: left;
8903b17b 821}
c026a28d
MG
822.dir-rtl.path-tag .tagarea .controls .gotopage.prevpage {
823 float: right;
824}
825.path-tag .tagarea .controls.controls-bottom {
826 margin-top: 5px;
827}
828.path-tag .tagarea .controls .gotopage.nextpage::after {
829 padding-right: 5px;
830 padding-left: 5px;
831 content: "»";
832}
833.path-tag .tagarea .controls .gotopage.prevpage::before {
834 padding-right: 5px;
835 padding-left: 5px;
836 content: "«";
837}
838
8903b17b 839span.flagged-tag,
8e355853
MG
840tr.flagged-tag,
841span.flagged-tag a,
842tr.flagged-tag a {
8903b17b
BB
843 color: @errorText;
844}
8e355853
MG
845.tag-management-table td,
846.tag-management-table th {
8903b17b 847 vertical-align: middle;
8903b17b
BB
848 padding: 4px;
849}
b259fa66 850.tag-management-table .inplaceeditable.inplaceeditingon input {
cdc5f978 851 width: 150px;
8903b17b 852}
1e34257e
MG
853.path-admin-tag .addstandardtags {
854 float: right;
855 img {
856 margin: 0 5px;
857 }
858}
859.dir-rtl.path-admin-tag .addstandardtags {
860 float: left;
861}
c026a28d
MG
862.path-tag .tag-relatedtags {
863 padding-top: 10px;
864}
865.path-tag .tag-management-box {
866 text-align: right;
867}
868.path-tag .tag-index-toc {
869 padding: 10px;
870 text-align: center;
871}
872.path-tag .tag-index-toc li,
873.path-tag .tag-management-box li {
874 margin-left: 5px;
875 margin-right: 5px;
876}
877.path-tag .tag-management-box li a.edittag {
878 background-image: url([[pix:moodle|i/settings]]);
879}
880.path-tag .tag-management-box li a.flagasinappropriate {
881 background-image: url([[pix:moodle|i/flagged]]);
882}
883.path-tag .tag-management-box li a.removefrommyinterests {
884 background-image: url([[pix:moodle|t/delete]]);
885}
886.path-tag .tag-management-box li a.addtomyinterests {
887 background-image: url([[pix:moodle|t/add]]);
888}
889.path-tag .tag-management-box li a {
890 background-repeat: no-repeat;
891 background-position: left;
892 padding-left: 17px;
893}
894.tag_feed.media-list .media .itemimage {
895 float: left;
896}
897.dir-rtl .tag_feed.media-list .media .itemimage {
898 float: right;
899}
900.tag_feed.media-list .media .itemimage img {
901 height: 35px;
902 width: 35px;
903}
904.tag_feed.media-list .media .media-body {
905 padding-right: 10px;
906 padding-left: 10px;
907}
908.tag_feed .media .muted a {
909 .muted();
910}
911.tag_cloud {
912 text-align: center;
913}
914.tag_cloud .inline-list li {
915 padding: 0px 0.2em;
916}
917.tag_cloud .tag_overflow {
918 margin-top: 1em;
919 font-style: italic;
8903b17b
BB
920}
921.tag_cloud .s20 {
c026a28d 922 font-size: 2.7em;
8903b17b
BB
923}
924.tag_cloud .s19 {
c026a28d 925 font-size: 2.6em;
8903b17b
BB
926}
927.tag_cloud .s18 {
c026a28d 928 font-size: 2.5em;
8903b17b
BB
929}
930.tag_cloud .s17 {
c026a28d 931 font-size: 2.4em;
8903b17b
BB
932}
933.tag_cloud .s16 {
c026a28d 934 font-size: 2.3em;
8903b17b
BB
935}
936.tag_cloud .s15 {
c026a28d 937 font-size: 2.2em;
8903b17b
BB
938}
939.tag_cloud .s14 {
c026a28d 940 font-size: 2.1em;
8903b17b
BB
941}
942.tag_cloud .s13 {
c026a28d
MG
943 font-size: 2em;
944}
945.tag_cloud .s12 {
946 font-size: 1.9em;
8903b17b 947}
8903b17b 948.tag_cloud .s11 {
c026a28d
MG
949 font-size: 1.8em;
950}
951.tag_cloud .s10 {
952 font-size: 1.7em;
8903b17b 953}
8903b17b 954.tag_cloud .s9 {
c026a28d
MG
955 font-size: 1.6em;
956}
957.tag_cloud .s8 {
958 font-size: 1.5em;
8903b17b 959}
8903b17b 960.tag_cloud .s7 {
c026a28d
MG
961 font-size: 1.4em;
962}
963.tag_cloud .s6 {
964 font-size: 1.3em;
8903b17b 965}
8903b17b 966.tag_cloud .s5 {
c026a28d
MG
967 font-size: 1.2em;
968}
969.tag_cloud .s4 {
970 font-size: 1.1em;
8903b17b 971}
8903b17b 972.tag_cloud .s3 {
c026a28d
MG
973 font-size: 1em;
974}
975.tag_cloud .s2 {
8903b17b 976 font-size: 0.9em;
8903b17b 977}
8903b17b 978.tag_cloud .s1 {
c026a28d 979 font-size: 0.8em;
8903b17b
BB
980}
981.tag_cloud .s0 {
c026a28d
MG
982 font-size: 0.7em;
983}
984.tag_list ul {
985 display: inline;
8903b17b 986}
c026a28d 987.tag_list.hideoverlimit .overlimit {
418b9328 988 display: none;
c026a28d
MG
989}
990.tag_list .tagmorelink {
418b9328 991 display: none;
c026a28d
MG
992}
993.tag_list.hideoverlimit .tagmorelink {
418b9328 994 display: inline;
c026a28d
MG
995}
996.tag_list.hideoverlimit .taglesslink {
418b9328 997 display: none;
c026a28d
MG
998}
999
8903b17b
BB
1000/**
1001* Web Service
1002*/
1003#webservice-doc-generator td {
1004 text-align: left;
1005 border: 0 solid black;
1006}
1007/**
1008* Smart Select Element
1009*/
1010.smartselect {
1011 position: absolute;
1012}
1013.smartselect .smartselect_mask {
1014 background-color: #fff;
1015}
0e878352 1016.smartselect ul {
8903b17b
BB
1017 padding: 0;
1018 margin: 0;
1019}
1020.smartselect ul li {
1021 list-style: none;
1022}
1023.smartselect .smartselect_menu {
1024 margin-right: 5px;
1025}
1026.safari .smartselect .smartselect_menu {
1027 margin-left: 2px;
1028}
1029.smartselect .smartselect_menu,
1030.smartselect .smartselect_submenu {
1031 border: 1px solid #000;
1032 background-color: #FFF;
1033 display: none;
1034}
1035.smartselect .smartselect_menu.visible,
1036.smartselect .smartselect_submenu.visible {
1037 display: block;
1038}
1039.smartselect .smartselect_menu_content ul li {
1040 position: relative;
1041 padding: 2px 5px;
1042}
1043.smartselect .smartselect_menu_content ul li a {
1044 color: #333;
1045 text-decoration: none;
1046}
1047.smartselect .smartselect_menu_content ul li a.selectable {
1048 color: inherit;
1049}
1050.smartselect .smartselect_submenuitem {
1051 background-image: url([[pix:moodle|t/collapsed]]);
1052 background-repeat: no-repeat;
1053 background-position: 100%;
1054}
1055/** Spanning mode */
1056.smartselect.spanningmenu .smartselect_submenu {
1057 position: absolute;
1058 top: -1px;
1059 left: 100%;
1060}
1061.smartselect.spanningmenu .smartselect_submenu a {
1062 white-space: nowrap;
1063 padding-right: 16px;
1064}
1065.smartselect.spanningmenu .smartselect_menu_content ul li a.selectable:hover {
1066 text-decoration: underline;
1067}
1068/** Compact mode */
1069.smartselect.compactmenu .smartselect_submenu {
1070 position: relative;
1071 margin: 2px -3px;
1072 margin-left: 10px;
1073 display: none;
1074 border-width: 0;
1075 z-index: 1010;
1076}
1077.smartselect.compactmenu .smartselect_submenu.visible {
1078 display: block;
1079}
1080.smartselect.compactmenu .smartselect_menu {
1081 z-index: 1000;
1082 overflow: hidden;
1083}
1084.smartselect.compactmenu .smartselect_submenu .smartselect_submenu {
1085 z-index: 1020;
1086}
1087.smartselect.compactmenu .smartselect_submenuitem:hover > .smartselect_menuitem_label {
1088 font-weight: bold;
1089}
1090/**
1091* Registration
1092*/
1093#page-admin-registration-register .registration_textfield {
1094 width: 300px;
1095}
1096/**
1097* Enrol
1098*/
1099.userenrolment {
1100 width: 100%;
1101 border-collapse: collapse;
1102}
3d907759 1103.userenrolment tr {
418b9328 1104 vertical-align: top;
3d907759 1105}
8903b17b
BB
1106.userenrolment td {
1107 padding: 0;
1108 height: 41px;
1109}
1110.userenrolment .subfield {
1111 margin-right: 5px;
1112}
eba237b3
JB
1113.userenrolment .col_userdetails .subfield {
1114 margin-left: 40px;
1115}
8903b17b
BB
1116.userenrolment .col_userdetails .subfield_picture {
1117 float: left;
eba237b3 1118 margin-left: 0;
8903b17b
BB
1119}
1120.userenrolment .col_lastseen {
1121 width: 150px;
1122}
1123.userenrolment .col_role {
1124 width: 262px;
1125}
3d907759 1126.userenrolment .col_role .roles,
8903b17b
BB
1127.userenrolment .col_group .groups {
1128 margin-right: 30px;
1129}
3d907759 1130.userenrolment .col_role .role,
8903b17b
BB
1131.userenrolment .col_group .group {
1132 float: left;
1133 padding: 3px;
1134 margin: 3px;
1135 white-space: nowrap;
1136}
3d907759 1137.userenrolment .col_role .role a,
8903b17b
BB
1138.userenrolment .col_group .group a {
1139 margin-left: 3px;
1140 cursor: pointer;
1141}
3d907759 1142.userenrolment .col_role .addrole,
8903b17b
BB
1143.userenrolment .col_group .addgroup {
1144 float: right;
3d907759 1145 padding: 3px;
8903b17b 1146 margin: 3px;
024b1ead 1147 > a:hover {
418b9328 1148 border-bottom: 1px solid #666;
3d907759 1149 }
8903b17b 1150}
3d907759
SH
1151.userenrolment .col_role .addrole img,
1152.userenrolment .col_group .addgroup img {
1153 vertical-align: baseline;
8903b17b 1154}
3d907759
SH
1155
1156.dir-rtl .userenrolment .col_role .role {
1157 float: right;
1158}
1159
1160.userenrolment .hasAllRoles .col_role .addrole {
1161 display: none;
1162}
1163
8903b17b
BB
1164.userenrolment .col_enrol .enrolment {
1165 float: left;
1166 padding: 3px;
1167 margin: 3px;
1168}
1169.userenrolment .col_enrol .enrolment a {
1170 float: right;
1171 margin-left: 3px;
1172}
86048e81
FM
1173#page-enrol-users {
1174 .enrol_user_buttons {
1175 float: right;
1176 .enrolusersbutton {
1177 display: inline;
1178 div,
1179 form {
1180 display: inline;
1181 margin-right: 0;
1182 }
1183 }
1184 }
1185 #filterform {
1186 .well;
1187 .well-small;
1188 display: inline-block;
1189 .fitem {
1190 display: inline-block;
1191 line-height: @baseLineHeight * 2;
1192 margin-right: .3em;
1193 white-space: nowrap;
1194 label {
1195 display: inline;
1196 line-height: @baseLineHeight;
1197 padding-right: .3em;
1198 }
1199 :before,
1200 :after {
1201 display: inline;
1202 }
1203 }
1204 div,
1205 fieldset {
1206 display: inline;
1207 float: none;
1208 clear: none;
1209 width: auto;
1210 margin: 0;
1211 }
1212 select,
1213 .ftext input {
1214 width: 7em;
1215 }
1216 input,
1217 select {
1218 margin-bottom: 0;
1219 }
1220 }
d3a93557
DP
1221 .user-enroller-panel .uep-search-results .user .details {
1222 width: 237px;
1223 }
1224 .user-enroller-panel .uep-search-results .cohort .details {
1225 width: 237px;
1226 }
8903b17b 1227}
86048e81
FM
1228.dir-rtl {
1229 &#page-enrol-users {
1230 .col_userdetails {
eba237b3
JB
1231 .subfield {
1232 margin-right: 40px;
1233 margin-left: 5px;
1234 }
86048e81
FM
1235 .subfield_picture {
1236 float: right;
eba237b3 1237 margin-right: 0;
86048e81
FM
1238 }
1239 }
1240 .enrol_user_buttons {
1241 float: left;
1242 .enrolusersbutton {
1243 margin-left: 0;
1244 margin-right: 1em;
1245 div {
1246 margin-left: 0;
1247 }
1248 }
1249 }
1250 #filterform {
1251 .fitem {
1252 margin-right: 0;
1253 margin-left: .3em;
1254 label {
1255 padding-right: 0;
1256 padding-left: .3em;
1257 }
1258 }
1259 }
3bce7d08 1260 .user-enroller-panel .uep-search-results .user {
0e878352
DP
1261 .count,
1262 .picture,
1263 .details {
418b9328 1264 float: right;
3bce7d08
NK
1265 }
1266 .options .enrol {
418b9328 1267 float: left;
3bce7d08
NK
1268 }
1269 }
86048e81 1270 }
8903b17b 1271}
86048e81 1272
3278fd77 1273#page-enrol-users .enrol-users-page-action input {
23bb9e24 1274 margin-left: 0;
3278fd77 1275}
1276
8903b17b
BB
1277/**
1278* Overide for RTL layout
1279**/
1280.dir-rtl .headermain {
1281 float: right;
1282}
1283.dir-rtl .headermenu {
1284 float: left;
1285}
1286.dir-rtl .loginbox .loginform .form-label {
1287 float: right;
1288 text-align: left;
1289}
1290.dir-rtl .loginbox .loginform .form-input {
1291 text-align: right;
22f8a349 1292 margin-right: 1%;
8903b17b
BB
1293}
1294.dir-rtl .yui3-menu-hidden {
1295 left: 0;
1296}
1297#page-admin-roles-define.dir-rtl #rolesform .felement {
1298 margin-right: 180px;
1299}
1300#page-message-edit.dir-rtl table.generaltable th.c0 {
1301 text-align: right;
1302}
1303.corelightbox {
1304 background-color: #CCC;
1305 position: absolute;
1306 top: 0;
1307 left: 0;
1308 width: 100%;
1309 height: 100%;
1310 text-align: center;
1311}
1312.corelightbox img {
1313 position: fixed;
1314 top: 50%;
1315 left: 50%;
1316}
4c9e8ea7
AN
1317
1318.mod-indent-outer {
1319 display: table;
1320}
1321.mod-indent {
1322 display: table-cell;
1323}
41c2a197 1324.label .mod-indent {
418b9328 1325 float: left;
23bb9e24 1326 padding-top: 20px;
41c2a197 1327}
bd77886b
JC
1328
1329/* Creates a series of .mod-indent-# rule declarations based on indent size and number of indent levels. */
1330@mod-indent-size: 30px;
1331@mod-indent-levels: 16;
1332.mod-indent-generate(@n, @i: 1) when (@i =< @n) {
1333 .mod-indent-@{i} {
1334 width: (@i * @mod-indent-size);
1335 }
1336 .mod-indent-generate(@n, (@i + 1));
8903b17b 1337}
bd77886b
JC
1338.mod-indent-generate(@n, @i: 1) when (@i = @n) {
1339 .mod-indent-huge {
1340 width: (@i * @mod-indent-size);
1341 }
8903b17b 1342}
bd77886b 1343.mod-indent-generate(@mod-indent-levels);
4c9e8ea7 1344
8903b17b
BB
1345/* Audio player size in 'block' mode (can only change width, height is hardcoded in JS) */
1346.resourcecontent .mediaplugin_mp3 object {
1347 height: 25px;
23bb9e24 1348 width: 600px;
8903b17b
BB
1349}
1350.resourcecontent audio.mediaplugin_html5audio {
23bb9e24 1351 width: 600px;
8903b17b
BB
1352}
1353/** Large resource images should avoid hidden overflow **/
1354.resourceimage {
1355 max-width: 100%;
1356}
1357/* Audio player size in 'inline' mode (can only change width, as above) */
1358.mediaplugin_mp3 object {
1359 height: 15px;
23bb9e24 1360 width: 300px;
8903b17b
BB
1361}
1362audio.mediaplugin_html5audio {
23bb9e24 1363 width: 300px;
8903b17b
BB
1364}
1365/* TinyMCE moodle media preview frame should not have padding */
1366.core_media_preview.pagelayout-embedded #content {
1367 padding: 0;
1368}
1369.core_media_preview.pagelayout-embedded #maincontent {
1370 height: 0;
1371}
f6606495 1372body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
1373 padding: 0;
8903b17b 1374 margin: 0;
f6606495 1375 min-width: 0;
1376 background: none;
8903b17b
BB
1377}
1378/** Fix YUI 2 Treeview for Right to left languages **/
1379.dir-rtl .ygtvtn,
1380.dir-rtl .ygtvtm,
1381.dir-rtl .ygtvtmh,
1382.dir-rtl .ygtvtmhh,
1383.dir-rtl .ygtvtp,
1384.dir-rtl .ygtvtph,
1385.dir-rtl .ygtvtphh,
1386.dir-rtl .ygtvln,
1387.dir-rtl .ygtvlm,
1388.dir-rtl .ygtvlmh,
1389.dir-rtl .ygtvlmhh,
1390.dir-rtl .ygtvlp,
1391.dir-rtl .ygtvlph,
1392.dir-rtl .ygtvlphh,
1393.dir-rtl .ygtvdepthcell,
1394.dir-rtl .ygtvok,
1395.dir-rtl .ygtvok:hover,
1396.dir-rtl .ygtvcancel,
1397.dir-rtl .ygtvcancel:hover {
1398 width: 18px;
1399 height: 22px;
1400 background-image: url([[pix:theme|yui2-treeview-sprite-rtl]]);
1401 background-repeat: no-repeat;
1402 cursor: pointer;
1403}
1404.dir-rtl .ygtvtn {
1405 background-position: 0 -5600px;
1406}
1407.dir-rtl .ygtvtm {
1408 background-position: 0 -4000px;
1409}
1410.dir-rtl .ygtvtmh,
1411.dir-rtl .ygtvtmhh {
1412 background-position: 0 -4800px;
1413}
1414.dir-rtl .ygtvtp {
1415 background-position: 0 -6400px;
1416}
1417.dir-rtl .ygtvtph,
1418.dir-rtl .ygtvtphh {
1419 background-position: 0 -7200px;
1420}
1421.dir-rtl .ygtvln {
1422 background-position: 0 -1600px;
1423}
1424.dir-rtl .ygtvlm {
1425 background-position: 0 0;
1426}
1427.dir-rtl .ygtvlmh,
1428.dir-rtl .ygtvlmhh {
1429 background-position: 0 -800px;
1430}
1431.dir-rtl .ygtvlp {
1432 background-position: 0 -2400px;
1433}
1434.dir-rtl .ygtvlph,
1435.dir-rtl .ygtvlphh {
23bb9e24 1436 background-position: 0 -3200px;
8903b17b
BB
1437}
1438.dir-rtl .ygtvdepthcell {
1439 background-position: 0 -8000px;
1440}
1441.dir-rtl .ygtvok {
1442 background-position: 0 -8800px;
1443}
1444.dir-rtl .ygtvok:hover {
1445 background-position: 0 -8844px;
1446}
1447.dir-rtl .ygtvcancel {
1448 background-position: 0 -8822px;
1449}
1450.dir-rtl .ygtvcancel:hover {
1451 background-position: 0 -8866px;
1452}
1453.dir-rtl.yui-skin-sam .yui-panel .hd {
94462b56 1454 text-align: right;
8903b17b
BB
1455}
1456.dir-rtl .yui-skin-sam .yui-layout .yui-layout-unit div.yui-layout-bd {
1457 text-align: right;
1458}
1459/** Fix TinyMCE editor right to left **/
0e878352
DP
1460.dir-rtl .clearlooks2.ie9 .mceAlert .mceMiddle span,
1461.dir-rtl .clearlooks2 .mceConfirm .mceMiddle span {
8903b17b
BB
1462 top: 44px;
1463}
1464.dir-rtl .o2k7Skin table,
1465.dir-rtl .o2k7Skin tbody,
1466.dir-rtl .o2k7Skin a,
1467.dir-rtl .o2k7Skin img,
1468.dir-rtl .o2k7Skin tr,
1469.dir-rtl .o2k7Skin div,
1470.dir-rtl .o2k7Skin td,
1471.dir-rtl .o2k7Skin iframe,
1472.dir-rtl .o2k7Skin span,
1473.dir-rtl .o2k7Skin *,
1474.dir-rtl .o2k7Skin .mceText,
1475.dir-rtl .o2k7Skin .mceListBox .mceText {
1476 text-align: right;
1477}
1478.path-rating .ratingtable {
1479 width: 100%;
1480 margin-bottom: 1em;
1481}
1482.path-rating .ratingtable th.rating {
1483 width: 100%;
1484}
1485.path-rating .ratingtable td.rating,
1486.path-rating .ratingtable td.time {
1487 white-space: nowrap;
1488 text-align: center;
1489}
a5b83691 1490.initialbar {
0e878352
DP
1491 a,
1492 strong {
a5b83691
DM
1493 padding-left: 3px;
1494 padding-right: 3px;
1495 }
8903b17b
BB
1496}
1497/* Moodle Dialogue Settings (moodle-core-dialogue) */
1498.moodle-dialogue-base .moodle-dialogue-lightbox {
1499 background-color: #AAA;
1500}
1501.moodle-dialogue-base .hidden,
1502.moodle-dialogue-base .moodle-dialogue-hidden {
1503 display: none;
1504}
bf7c86cf
DW
1505.no-scrolling {
1506 overflow: hidden;
1507}
2a808cef 1508.moodle-dialogue-base .moodle-dialogue-fullscreen {
bf7c86cf
DW
1509 left: 0px;
1510 top: 0px;
2a808cef
DW
1511 right: 0px;
1512 bottom: -50px;
1513 position: fixed;
1514}
ee0a9ce9
AN
1515.moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-content {
1516 overflow: auto;
1517}
2a808cef
DW
1518.moodle-dialogue-base .moodle-dialogue-fullscreen .closebutton {
1519 width: 28px;
1520 height: 16px;
1521 background-size: 100%;
bf7c86cf 1522}
8903b17b
BB
1523.moodle-dialogue-base .moodle-dialogue {
1524 padding: 0;
1525 margin: 0;
1526 background: none;
1527 border: none;
323aa324 1528 z-index: 600;
22c943b3 1529 outline: #000 dotted 0;
8903b17b
BB
1530}
1531.moodle-dialogue-base .moodle-dialogue-wrap {
1532 margin-top: -3px;
1533 margin-left: -3px;
1534 background-color: #fff;
1535 border: 1px solid #ccc;
1536 .border-radius(10px);
1537 .box-shadow(5px 5px 20px 0 #666);
1538}
4bbacb86 1539.moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd,
1540.moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd.yui3-widget-hd {
8903b17b
BB
1541 margin: 0;
1542 padding: 5px;
1543 font-size: 12px;
1544 font-weight: normal;
1545 letter-spacing: 1px;
1546 color: #333;
1547 text-align: center;
1548 text-shadow: 1px 1px 1px #fff;
1549 .border-radius(10px 10px 0 0);
1550 border-bottom: 1px solid #bbb;
1551 background: #ccc;
1552 #gradient > .vertical(#fff, #ccc);
4bbacb86 1553 filter: 0;
8903b17b
BB
1554}
1555.moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd h1 {
1556 margin: 0;
1557 padding: 0;
1558 display: inline;
1559 font-size: 100%;
1560 font-weight: bold;
1561}
1562.moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd .yui3-widget-buttons {
1563 padding: 5px;
1564}
1565.moodle-dialogue-base .closebutton {
1566 width: 25px;
1567 height: 15px;
1568 float: right;
1569 vertical-align: middle;
1570 display: inline-block;
1571 cursor: pointer;
1572 padding: 0;
1573 background-image: url([[pix:theme|sprite]]);
1574 background-repeat: no-repeat;
1575 border-style: none;
1576}
1577.dir-rtl .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd .yui3-widget-buttons {
1578 left: 0;
1579 right: auto;
1580}
1581.moodle-dialogue-base .moodle-dialogue .moodle-dialogue-bd {
8903b17b
BB
1582 padding: 1em;
1583 line-height: 2em;
1584 color: #555;
1585 font-size: 12px;
1586}
1587.moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-content {
1588 padding: 0;
1589 background: #FFF;
1590}
d61c96b6
DW
1591
1592.moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-hd {
1593 padding: 10px;
1594 font-size: 16px;
1595}
1596
2a808cef
DW
1597.moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-content {
1598 overflow: auto;
1599 position: absolute;
1600 top: 0px;
1601 bottom: 50px;
1602 left: 0px;
1603 right: 0px;
d61c96b6
DW
1604 margin: 0px;
1605 border: 0px;
1606}
1607.moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-hd,
1608.moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-wrap {
1609 border-radius: 0px;
1610}
8903b17b
BB
1611.moodle-dialogue-confirm .confirmation-dialogue {
1612 text-align: center;
1613}
1614.moodle-dialogue-confirm .confirmation-dialogue input {
1615 text-align: center;
1616}
1617.moodle-dialogue-exception .moodle-exception-message {
23bb9e24 1618 text-align: center;
8903b17b
BB
1619}
1620.moodle-dialogue-exception .moodle-exception-param label {
1621 font-weight: bold;
1622}
1623.moodle-dialogue-exception .param-stacktrace label {
1624 background-color: #EEE;
1625 border: 1px solid #ccc;
1626 border-bottom-width: 0;
1627}
1628.moodle-dialogue-exception .param-stacktrace pre {
1629 border: 1px solid #ccc;
1630 background-color: #fff;
1631}
1632.moodle-dialogue-exception .param-stacktrace .stacktrace-file {
1633 color: navy;
1634 font-size: @fontSizeSmall;
1635}
1636.moodle-dialogue-exception .param-stacktrace .stacktrace-line {
1637 color: @errorText;
1638 font-size: @fontSizeSmall;
1639}
1640.moodle-dialogue-exception .param-stacktrace .stacktrace-call {
1641 color: #333;
1642 font-size: 90%;
1643 border-bottom: 1px solid #eee;
1644}
1645.moodle-dialogue-base .moodle-dialogue .moodle-dialogue-content .moodle-dialogue-ft {
1646 padding: 0;
1647 margin: 0.7em 1em;
1648 text-align: right;
1649 background-color: #FFF;
1650 font-size: 12px;
1651}
1652.moodle-dialogue-confirm .confirmation-message {
1653 margin: 0.5em 1em;
1654}
1655.moodle-dialogue-confirm .confirmation-dialogue input {
23bb9e24 1656 min-width: 80px;
8903b17b
BB
1657}
1658.moodle-dialogue-exception .moodle-exception-message {
1659 margin: 1em;
1660}
1661.moodle-dialogue-exception .moodle-exception-param {
1662 margin-bottom: 0.5em;
1663}
1664.moodle-dialogue-exception .moodle-exception-param label {
1665 width: 150px;
1666}
1667.moodle-dialogue-exception .param-stacktrace label {
1668 display: block;
1669 margin: 0;
1670 padding: 4px 1em;
1671}
1672.moodle-dialogue-exception .param-stacktrace pre {
1673 display: block;
1674 height: 200px;
1675 overflow: auto;
1676}
1677.moodle-dialogue-exception .param-stacktrace .stacktrace-file {
1678 display: inline-block;
1679 margin: 4px 0;
1680}
1681.moodle-dialogue-exception .param-stacktrace .stacktrace-line {
1682 display: inline-block;
1683 width: 50px;
1684 margin: 4px 1em;
1685}
1686.moodle-dialogue-exception .param-stacktrace .stacktrace-call {
1687 padding-left: 25px;
1688 margin-bottom: 4px;
1689 padding-bottom: 4px;
1690}
1691.moodle-dialogue .moodle-dialogue-bd .content-lightbox {
1692 .opacity(75);
1693 width: 100%;
1694 height: 100%;
1695 top: 0;
1696 left: 0;
1697 background-color: white;
1698 text-align: center;
1699 padding: 10% 0;
1700}
1701/* Apply a default max-height on tooltip text */
1702.moodle-dialogue .tooltiptext {
1703 max-height: 300px;
1704}
b72d78d8 1705
323aa324 1706.moodle-dialogue-base .moodle-dialogue.moodle-dialogue-tooltip {
b72d78d8 1707 z-index: 3001;
9d6d88e1
AN
1708
1709 .moodle-dialogue-bd {
1710 overflow: auto;
1711 }
b72d78d8
AN
1712}
1713
8903b17b
BB
1714/* Question Bank - Question Chooser "Close" button */
1715#page-question-edit.dir-rtl a.container-close {
1716 right: auto;
1717 left: 6px;
1718}
1719/**
5b932559
AN
1720 * Chooser Dialogues (moodle-core-chooserdialogue)
1721 *
1722 * This CSS belong to the chooser dialogue which should work both with, and
1723 * without javascript enabled
1724 */
8903b17b
BB
1725/* Hide the dialog and it's title */
1726.chooserdialoguebody,
1727.choosertitle {
1728 display: none;
1729}
1730.moodle-dialogue.chooserdialogue .moodle-dialogue-content .moodle-dialogue-ft {
1731 margin: 0;
1732}
1733.chooserdialogue .moodle-dialogue-wrap .moodle-dialogue-bd {
1734 padding: 0;
1735 background: #F2F2F2;
1736 .border-bottom-radius(10px);
1737}
1738/* Center the submit buttons within the area */
1739.choosercontainer #chooseform .submitbuttons {
7d4e3575 1740 padding: 0.7em 0;
8903b17b
BB
1741 text-align: center;
1742}
f3f18086 1743/* Fixed for safari browser on iPhone4S with ios7.*/
1744@media (max-height: 639px) {
1745 .ios.safari .choosercontainer #chooseform .submitbuttons {
1746 padding: 45px 0;
1747 }
1748}
8903b17b
BB
1749.choosercontainer #chooseform .submitbuttons input {
1750 min-width: 100px;
1751 margin: 0 0.5em;
1752}
1753/* Various settings for the options area */
1754.choosercontainer #chooseform .options {
1755 position: relative;
1756 border-bottom: 1px solid #BBBBBB;
1757}
1758/* Only set these options if we're showing the js container */
6d402310 1759.jschooser .choosercontainer #chooseform .alloptions {
8903b17b
BB
1760 overflow-x: hidden;
1761 overflow-y: auto;
1762 max-width: 20.3em;
1763 .box-shadow(inset 0 0 30px 0px #ccc);
3523f775
KM
1764 .option {
1765 input[type=radio] {
1766 display: inline-block;
1767 }
1768 .modicon {
1769 display: inline-block;
1770 }
1771 .typename {
1772 display: inline-block;
1773 width: 65%;
1774 }
1775 }
8903b17b 1776}
6d402310 1777.dir-rtl.jschooser .choosercontainer #chooseform .alloptions {
8903b17b
BB
1778 max-width: 18.3em;
1779}
1780/* Settings for option rows and option subtypes */
1781.choosercontainer #chooseform .moduletypetitle,
1782.choosercontainer #chooseform .option,
1783.choosercontainer #chooseform .nonoption {
1784 margin-bottom: 0;
1785 padding: 0 1.6em 0 1.6em;
1786}
1787.choosercontainer #chooseform .moduletypetitle {
1788 text-transform: uppercase;
1789 padding-top: 1.2em;
1790 padding-bottom: 0.4em;
1791}
1792.choosercontainer #chooseform .option .typename,
1793.choosercontainer #chooseform .option span.modicon img.icon,
1794.choosercontainer #chooseform .nonoption .typename,
1795.choosercontainer #chooseform .nonoption span.modicon img.icon {
1796 padding: 0 0 0 0.5em;
1797}
1798.dir-rtl .choosercontainer #chooseform .option .typename,
1799.dir-rtl .choosercontainer #chooseform .option span.modicon img.icon,
1800.dir-rtl .choosercontainer #chooseform .nonoption .typename,
1801.dir-rtl .choosercontainer #chooseform .nonoption span.modicon img.icon {
1802 padding: 0 0.5em 0 0;
1803}
5b932559
AN
1804
1805.chooserdialogue-course-modchooser .choosercontainer #chooseform .option span.modicon img.icon,
1806.chooserdialogue-course-modchooser .choosercontainer #chooseform .nonoption span.modicon img.icon {
8903b17b
BB
1807 height: 24px;
1808 width: 24px;
1809}
1810.choosercontainer #chooseform .option input[type=radio],
1811.choosercontainer #chooseform .option span.typename,
1812.choosercontainer #chooseform .option span.modicon {
1813 vertical-align: middle;
1814}
1815.choosercontainer #chooseform .option label {
1816 display: block;
1817 padding: 0.3em 0 0.1em 0;
1818 border-bottom: 1px solid #FFFFFF;
1819}
1820.choosercontainer #chooseform .nonoption {
1821 padding-left: 2.7em;
1822 padding-top: 0.3em;
1823 padding-bottom: 0.1em;
1824}
1825.dir-rtl .choosercontainer #chooseform .nonoption {
1826 padding-right: 2.7em;
1827 padding-left: 0;
1828}
1829.choosercontainer #chooseform .subtype {
1830 margin-bottom: 0;
1831 padding: 0 1.6em 0 3.2em;
1832}
1833.dir-rtl .choosercontainer #chooseform .subtype {
1834 padding: 0 3.2em 0 1.6em;
1835}
1836.choosercontainer #chooseform .subtype .typename {
1837 margin: 0 0 0 0.2em;
1838}
1839.dir-rtl .choosercontainer #chooseform .subtype .typename {
1840 margin: 0 0.2em 0 0;
1841}
1842/* The instruction/help area */
6d402310
AN
1843.jschooser .choosercontainer #chooseform .instruction,
1844.jschooser .choosercontainer #chooseform .typesummary {
d3a93557 1845 display: none;
8903b17b
BB
1846 position: absolute;
1847 top: 0;
1848 right: 0;
1849 bottom: 0;
1850 left: 20.3em;
1851 margin: 0;
1852 padding: 1.6em;
7f63c934 1853 background-color: #fff;
8903b17b
BB
1854 overflow-x: hidden;
1855 overflow-y: auto;
1856 line-height: 2em;
1857}
6d402310
AN
1858.dir-rtl.jschooser .choosercontainer #chooseform .instruction,
1859.dir-rtl.jschooser .choosercontainer #chooseform .typesummary {
8903b17b
BB
1860 left: 0;
1861 right: 18.5em;
1862 border-right: 1px solid grey;
1863}
1864/* Selected option settings */
6d402310 1865.jschooser .choosercontainer #chooseform .instruction,
8903b17b
BB
1866.choosercontainer #chooseform .selected .typesummary {
1867 display: block;
1868}
1869.choosercontainer #chooseform .selected {
7f63c934 1870 background-color: #fff;
8903b17b
BB
1871 .box-shadow(0px 0 10px 0 #ccc);
1872}
1873.section-modchooser-link img.smallicon {
1874 padding: 3px;
1875}
1876/* Form element: listing */
1877.formlistingradio {
1878 padding-bottom: 25px;
1879 padding-right: 10px;
1880}
1881.formlistinginputradio {
1882 float: left;
1883}
1884.formlistingmain {
1885 min-height: 225px;
1886}
1887.formlisting {
1888 position: relative;
1889 margin: 15px 0;
1890 padding: 1px 19px 14px;
1891 background-color: white;
1892 border: 1px solid #DDD;
1893 .border-radius(4px);
1894}
1895.formlistingmore {
1896 position: absolute;
1897 cursor: pointer;
1898 bottom: -1px;
1899 right: -1px;
1900 padding: 3px 7px;
1901 font-size: 12px;
1902 font-weight: bold;
1903 background-color: whiteSmoke;
1904 border: 1px solid #ddd;
1905 color: #9DA0A4;
1906 .border-radius(4px 0 4px 0);
1907}
1908.formlistingall {
1909 margin: 15px 0;
1910 padding: 0;
1911 .border-radius(4px);
1912}
1913.formlistingrow {
1914 cursor: pointer;
1915 border-bottom: 1px solid;
1916 border-color: #E1E1E8;
1917 border-left: 1px solid #E1E1E8;
1918 border-right: 1px solid #E1E1E8;
1919 background-color: #F7F7F9;
1920 .border-radius(0 0 4px 4px);
1921 padding: 6px;
1922 top: 50%;
1923 left: 50%;
1924 min-height: 34px;
1925 float: left;
1926 width: 150px;
1927}
1928body.jsenabled .formlistingradio {
1929 display: none;
1930}
1931body.jsenabled .formlisting {
1932 display: block;
1933}
f8ba185a
YB
1934
1935/* Badges styles */
1936table.collection {
1937 .table;
1938 .table-bordered;
1939 .table-striped;
1940}
1941table.collection .name {
1942 text-align: left;
1943 vertical-align: middle;
1944}
1945table.collection .awards {
1946 width: 10%;
1947 text-align: center;
1948 vertical-align: middle;
1949}
1950table.collection .criteria {
1951 width: 40%;
1952 text-align: left;
1953 vertical-align: top;
1954}
1955table.collection .badgeimage,
1956table.collection .status {
1957 width: 15%;
1958 text-align: center;
1959 vertical-align: middle;
1960}
1961table.collection .description {
1962 width: 25%;
1963 text-align: left;
1964}
6ca6d623
NK
1965.dir-rtl table.collection {
1966 .name,
1967 .criteria,
0e878352 1968 .description {
6ca6d623
NK
1969 text-align: right;
1970 }
1971}
f8ba185a
YB
1972table.collection .actions {
1973 width: 11em;
1974 text-align: center;
1975 vertical-align: middle;
1976}
1977
1978a.criteria-action {
1979 padding: 0px 3px;
1980 float: right;
1981}
3784d3be
YB
1982div.criteria-description {
1983 padding: 10px 15px;
1984 margin: 5px 0px;
1985 background: none repeat scroll 0 0 #f9f9f9;
1986 border: 1px solid #EEE;
1987}
f8ba185a
YB
1988ul.badges {
1989 margin: 0;
1990 list-style: none;
1991}
1992.badges li {
1993 position: relative;
1994 display: inline-block;
1da2e3a6 1995 padding-top: 1em;
f8ba185a
YB
1996 text-align: center;
1997 vertical-align: top;
1998 width: 150px;
1999}
2000.badges li .badge-name {
2001 display: block;
2002 padding: 5px;
2003}
2004.badges li > img {
2005 position: absolute;
2006}
2007.badges li .badge-image {
cd243d94
Y
2008 width: 100px;
2009 height: 100px;
f8ba185a
YB
2010 left: 10px;
2011 top: 0px;
2012 z-index: 1;
2013}
2014.badges li .badge-actions {
2015 position: relative;
2016}
cd243d94 2017.badges li .expireimage {
f8ba185a
YB
2018 width: 100px;
2019 height: 100px;
cd243d94 2020 left: 25px;
f8ba185a
YB
2021 top: 0px;
2022 position: absolute;
cd243d94
Y
2023 z-index: 10;
2024 opacity: 0.85;
2025}
2026
2027#badge-image {
2028 background-color: transparent;
2029 padding: 0;
2030 position: relative;
2031 min-width: 100px;
2032 width: 20%;
2033 display: inline-block;
2034 vertical-align: top;
2035 margin-top: 17px;
2036
2037 .expireimage {
2038 width: 100px;
2039 height: 100px;
2040 left: 0px;
2041 top: 0px;
2042 .opacity(85);
2043 position: absolute;
418b9328 2044 z-index: 10;
cd243d94
Y
2045 }
2046
2047 .singlebutton {
2048 padding-top: 5px;
9130250b
BB
2049
2050 input {
2051 margin-left: 0px;
2052 }
cd243d94
Y
2053 }
2054}
2055.dir-rtl #badge-image {
2056 float: right;
2057
2058 .expireimage {
2059 left: 41px;
2060 }
f8ba185a 2061}
cd243d94
Y
2062#badge-details {
2063 display: inline-block;
2064 width: 79%;
2065}
2066
2067#badge-overview dl,
2068#badge-details dl {
2069 margin: 0;
2070
2071 dt,
2072 dd {
2073 vertical-align: top;
2074 padding: 3px 0;
2075 }
2076 dt {
2077 clear: both;
2078 display: inline-block;
2079 width: 20%;
2080 min-width: 100px;
2081 }
2082 dd {
2083 display: inline-block;
2084 width: 79%;
2085 margin-left: 1%;
2086 }
2087}
2088
f8ba185a
YB
2089.badge-profile {
2090 vertical-align: top;
2091}
2092.connected {
2093 color: @successText;
2094}
2095.notconnected {
2096 color: @errorText;
2097}
f6ebcd34
SC
2098.connecting {
2099 color: @warningText;
2100}
f8ba185a
YB
2101#page-badges-award .recipienttable tr td {
2102 vertical-align: top;
2103}
2104#page-badges-award .recipienttable tr td.actions .actionbutton {
2105 margin: 0.3em 0;
2106 padding: 0.5em 0;
2107 width: 100%;
2108}
2109#page-badges-award .recipienttable tr td.existing,
2110#page-badges-award .recipienttable tr td.potential {
2111 width: 42%;
2112}
2113
cd243d94
Y
2114#issued-badge-table .activatebadge {
2115 display: inline-block;
f8ba185a
YB
2116}
2117.statusbox.active {
2118 background-color: @successBackground;
2119}
2120.statusbox.inactive {
2121 background-color: @warningBackground;
2122}
cd243d94
Y
2123.statusbox {
2124 text-align: center;
2125 margin-bottom: 5px;
2126 padding: 5px;
2127}
2128.statusbox .activatebadge {
2129 display: inline-block;
2130}
0e878352 2131.statusbox .activatebadge input[type=submit] {
cd243d94
Y
2132 margin: 3px;
2133}
f8ba185a
YB
2134.activatebadge {
2135 margin: 0px;
2136 text-align: left;
2137 vertical-align: middle;
2138}
f6fbe8f4
NK
2139.dir-rtl .activatebadge {
2140 text-align: right;
2141}
f6ebcd34
SC
2142img#persona_signin {
2143 cursor: pointer;
2144}
f8ba185a
YB
2145.addcourse {
2146 float: right;
2147}
94748332
ME
2148.invisiblefieldset {
2149 display: inline;
2150 margin: 0;
2151 padding: 0;
2152 border-width: 0;
2153}
c72106b2
RW
2154.breadcrumb-nav {
2155 float: left;
2156 margin-bottom: 10px;
2157}
a14af684
NK
2158.dir-rtl .breadcrumb-nav {
2159 float: right;
2160}
c72106b2
RW
2161.breadcrumb-button .singlebutton div {
2162 margin-right: 0;
2163}
2164.breadcrumb-nav .breadcrumb {
2165 margin: 0;
2166}
e282c679 2167
261bdb24 2168/** Header-bar styles **/
3b927d35 2169.page-context-header {
261bdb24
AG
2170 // We need to be explicit about the height of the header.
2171 @pageHeaderHeight: 140px;
ccb76d43 2172
3b927d35 2173 // Do not remove these rules.
ccb76d43
JC
2174 overflow: hidden;
2175
2176 .page-header-image,
2177 .page-header-headings {
2178 display: block;
2179 position: relative;
261bdb24 2180 }
ccb76d43 2181 .page-header-image {
3b927d35 2182 margin-bottom: 1em;
ccb76d43
JC
2183 }
2184 .page-header-headings {
3b927d35
AG
2185 margin-top: 30px;
2186 margin-bottom: 10px;
261bdb24 2187
ccb76d43
JC
2188 h1 {
2189 display: block;
2190 }
ccb76d43
JC
2191 }
2192
3b927d35 2193 .page-header-headings,
ccb76d43
JC
2194 .header-button-group {
2195 position: relative;
2196 line-height: 24px;
2197 vertical-align: middle;
2198 }
2199
2200 .header-button-group {
2201 display: block;
2202
2203 a {
2204 position: relative;
2205
3b927d35 2206 // Don't touch it unless you know exactly what you are doing.
ccb76d43
JC
2207 top: -0.4em;
2208 }
2209 }
261bdb24
AG
2210}
2211
3b927d35 2212.dir-ltr .page-context-header {
ccb76d43 2213 .page-header-image {
ccb76d43 2214 float: left;
3b927d35 2215 margin-right: 1em;
ccb76d43
JC
2216 }
2217
610f0506 2218 .header-button-group {
2219 float: left;
ccb76d43 2220 }
261bdb24
AG
2221}
2222
3b927d35 2223.dir-rtl .page-context-header {
ccb76d43 2224 .page-header-image {
ccb76d43 2225 float: right;
3b927d35 2226 margin-left: 1em;
ccb76d43 2227 }
610f0506 2228
b395f7b5 2229 .header-button-group {
610f0506 2230 float: right;
ccb76d43 2231 }
261bdb24
AG
2232}
2233
3665af78 2234/** Action menu component styles **/
b59f2e3b 2235.moodle-actionmenu,
3665af78
SH
2236.moodle-actionmenu > ul,
2237.moodle-actionmenu > ul > li {
b59f2e3b
SH
2238 display: inline-block;
2239}
e282c679 2240
3665af78
SH
2241.moodle-actionmenu ul {
2242 padding: 0;
2243 margin: 0;
2244 list-style-type: none;
2245}
2246
60cf0742
S
2247.section_action_menu .moodle-actionmenu ul.menubar {
2248 margin: 0;
2249}
2250
2251.section_action_menu .moodle-actionmenu ul.menu {
2252 margin: 0 10px 10px 0;
2253}
2254
e5de4933 2255.moodle-actionmenu .toggle-display,
cf69a00a 2256.moodle-actionmenu .menu-action-text {
e5de4933 2257 display: none; /** Hidden by default, display none so that we don't take up space. **/
e282c679
SH
2258}
2259
e5de4933 2260.jsenabled {
10fc1569 2261 .moodle-actionmenu[data-enhance] {
e5de4933 2262 display: block;
3665af78 2263 .menu {
418b9328 2264 display: none;
e5de4933 2265 }
e5de4933 2266 .toggle-display {
3665af78
SH
2267 display: inline; /** JS is enabled, we'll be using it so return display to normal **/
2268 .opacity(50);
e5de4933 2269 }
a83d83e4
AN
2270 .toggle-display.textmenu {
2271 display: block;
2272 margin-left: 4px;
2273 padding-left: 4px;
83f91454 2274 padding-right: 4px;
a83d83e4 2275
62876928
JC
2276 .iconsmall,
2277 .smallicon {
fc4e9e13
AN
2278 margin: 4px 4px 4px 0px;
2279 padding: 8px 4px 0px 2px;
2280 vertical-align: text-bottom;
a83d83e4 2281 }
21231f4d
AN
2282
2283 .caret {
2284 margin-top: 8px;
2285 margin-left: 2px;
29afe143
AN
2286 border-top-color: @navbarLinkColor;
2287 &:hover,
2288 &:active {
2289 border-top-color: @navbarLinkColorActive;
2290 }
21231f4d 2291 }
a83d83e4 2292 }
10fc1569
SH
2293 }
2294 .moodle-actionmenu[data-enhanced] {
2295 .toggle-display {
2296 .opacity(100);
2297 }
0e878352 2298 .menu-action-text {
418b9328 2299 display: inline;
e5de4933
SH
2300 }
2301 }
83f91454
AN
2302
2303 &.dir-rtl {
2304 .moodle-actionmenu[data-enhance] {
2305 .toggle-display.textmenu {
2306 margin-left: initial;
2307 margin-right: 4px;
2308
2309 .caret {
2310 margin-left: initial;
2311 margin-right: 2px;
2312 }
2313 }
2314 }
2315 }
e282c679 2316}
b59f2e3b 2317
0e878352 2318.moodle-actionmenu[data-enhanced].show {
b59f2e3b 2319
e5de4933 2320 position: relative;
b59f2e3b 2321
3665af78 2322 .menu {
b59f2e3b 2323
418b9328 2324 display: block;
e5de4933 2325 position: absolute;
10fc1569 2326 text-align: left;
e514c722
FM
2327 background-color: @dropdownBackground;
2328 border: 1px solid @dropdownBorder;
418b9328 2329 z-index: 1000;
e5de4933
SH
2330 .border-radius(5px);
2331 .box-shadow(5px 5px 20px 0 #666);
2332
2333 a {
2334 display: block;
2335 color: @dropdownLinkColor;
418b9328 2336 padding: 2px 1em 2px 28px;
11dd4dad 2337 &:hover {
e5de4933
SH
2338 color: @dropdownLinkColorHover;
2339 background-color: @dropdownLinkBackgroundHover;
2340 }
2341 &:first-child {
2342 .border-top-radius(4px);
2343 }
2344 &:last-child {
2345 .border-bottom-radius(4px);
2346 }
b59f2e3b 2347 }
e5de4933 2348 a.hidden {
418b9328 2349 display: none;
b59f2e3b 2350 }
e5de4933
SH
2351 img {
2352 vertical-align: middle;
2353 }
62876928
JC
2354 .iconsmall,
2355 .smallicon {
7f4f7081 2356 margin: 4px 4px 4px -24px;
62876928 2357 padding: 4px;
b59f2e3b 2358 }
3665af78 2359 > li {
418b9328 2360 display: block;
3665af78
SH
2361 }
2362
2363 /** bottom left of button **/
418b9328 2364 &.align-tl-bl {top: 100%;left: 0;margin-top: 4px;}
3665af78 2365 &.align-tr-bl {top: 100%;right: 100%;}
418b9328 2366 &.align-bl-bl {bottom: 100%;left: 0;}
3665af78
SH
2367 &.align-br-bl {bottom: 100%;right: 100%;}
2368 /** bottom right of button **/
418b9328 2369 &.align-tl-br {top: 100%;left: 100%;}
3665af78 2370 &.align-tr-br {top: 100%;right: 0;margin-top: 4px;}
418b9328 2371 &.align-bl-br {bottom: 100%;left: 100%;}
3665af78
SH
2372 &.align-br-br {bottom: 100%;right: 0;}
2373 /** top left of button **/
418b9328 2374 &.align-tl-tl {top: 0;left: 0;}
3665af78 2375 &.align-tr-tl {top: 0;right: 100%;margin-right: 4px;}
418b9328 2376 &.align-bl-tl {bottom: 100%;left: 0;margin-bottom: 4px;}
3665af78
SH
2377 &.align-br-tl {bottom: 100%;right: 100%;}
2378 /** top right of button **/
418b9328 2379 &.align-tl-tr {top: 0;left: 100%;margin-left: 4px;}
3665af78 2380 &.align-tr-tr {top: 0;right: 0;}
418b9328 2381 &.align-bl-tr {bottom: 100%;left: 100%;}
3665af78 2382 &.align-br-tr {bottom: 100%;right: 0;margin-bottom: 4px;}
b59f2e3b 2383 }
a2a9468f
SH
2384 /** no wrap is set - prevent menu items from wrapping **/
2385 &.nowrap-items .menu > li {
2386 white-space: nowrap;
2387 }
e282c679
SH
2388}
2389
e5de4933
SH
2390.block .moodle-actionmenu {
2391 text-align: right;
e282c679
SH
2392}
2393
b59f2e3b 2394.dir-rtl {
0e878352 2395 .moodle-actionmenu[data-enhanced].show {
3665af78 2396 .menu {
10fc1569 2397 text-align: right;
e5de4933
SH
2398 left: 0;
2399 right: auto;
62876928
JC
2400 a {
2401 padding: 2px 28px 2px 1em;
2402 }
2403 .iconsmall,
2404 .smallicon {
2405 margin-right: -24px;
2406 margin-left: 4px;
e5de4933 2407 }
3665af78
SH
2408
2409 /** bottom left of button **/
2410 &.align-tl-bl {left: auto; right: 0;}
2411 &.align-tr-bl {right: auto; left: 100%;}
2412 &.align-bl-bl {left: auto; right: 0;}
2413 &.align-br-bl {right: auto; left: 100%;}
2414 /** bottom right of button **/
2415 &.align-tl-br {left: auto; right: 100%;}
2416 &.align-tr-br {right: auto; left: 0;}
2417 &.align-bl-br {left: auto; right: 100%;}
2418 &.align-br-br {right: auto; left: 0;}
2419 /** top left of button **/
2420 &.align-tl-tl {left: auto; right: 0;}
2421 &.align-tr-tl {right: auto; left: 100%;}
2422 &.align-bl-tl {left: auto; right: 0;}
2423 &.align-br-tl {right: auto; left: 100%;}
2424 /** top right of button **/
2425 &.align-tl-tr {left: auto; right: 100%;}
2426 &.align-tr-tr {right: auto; left: 0;}
2427 &.align-bl-tr {left: auto; right: 100%;}
2428 &.align-br-tr {right: auto; left: 0;}
b59f2e3b
SH
2429 }
2430 }
e5de4933
SH
2431 .block .moodle-actionmenu {
2432 text-align: right;
b59f2e3b 2433 }
e282c679 2434}
dd66b6ab
DW
2435
2436ul.dragdrop-keyboard-drag li {
2437 list-style-type: none;
2438}
2439
2440.block-control-actions .moodle-core-dragdrop-draghandle img {
2441 width: 12px;
2442 height: 12px;
2443}
53c1b936
ARN
2444
2445a.disabled:hover,
2446a.disabled {
2447 text-decoration: none;
2448 cursor: default;
2449 font-style: italic;
2450 color: #808080;
2451}
5ab39a0e 2452body.lockscroll {
d3a93557
DP
2453 height: 100%;
2454 overflow: hidden;
5ab39a0e 2455}
e8bb3c3f 2456
962f6afb 2457.dir-rtl {
e8bb3c3f
SH
2458 // Bootstrap sets right margin to 0. Fail.
2459 // They set left margin to 25px so we will copy that.
b3f82770 2460 ul {
b992594a 2461 margin-left: 0;
962f6afb
NK
2462 margin-right: 25px;
2463 }
e8bb3c3f 2464}
72704adf
AN
2465
2466.progressbar_container {
2467 max-width: 500px;
2468 margin: 0 auto;
2469}
b6c56044
AN
2470
2471/* IE10 only fix for calendar titling */
2472.ie10 .yui3-calendar-header-label {
2473 display: inline-block;
2474}
ff1f2dc5
BB
2475
2476dd:before,
2477dd:after {
d3a93557
DP
2478 display: block;
2479 content: " ";
ff1f2dc5
BB
2480}
2481dd:after {
d3a93557 2482 clear: both;
b6548192 2483}
49ee2d0d
RW
2484
2485// Active tabs with links should have a different
2486// cursor to indicate they are clickable.
2487.nav-tabs > .active > a[href],
2488.nav-tabs > .active > a[href]:hover,
2489.nav-tabs > .active > a[href]:focus {
2490 cursor: pointer;
2491}
cdc5f978 2492
b259fa66 2493.inplaceeditable {
38cf8b66 2494
b259fa66
MG
2495 &.inplaceeditingon {
2496 position: relative;
2497
2498 .editinstructions {
2499 margin-top: -30px;
2500 font-weight: normal;
7ee8effc 2501 margin-right: 0;
b259fa66 2502 margin-left: 0;
7ee8effc
NK
2503 left: 0;
2504 right: auto;
2505 white-space: nowrap;
38cf8b66 2506 }
b259fa66
MG
2507
2508 input {
2509 width: 330px;
2510 height: 16px;
2511 vertical-align: text-bottom;
2512 margin-bottom: 0;
2513 }
2514
2515 select {
2516 margin-bottom: 0;
38cf8b66
AN
2517 }
2518 }
38cf8b66 2519
b259fa66
MG
2520 .quickediticon img {
2521 opacity: 0.2;
2522 }
2523
2524 .quickeditlink {
2525 color: inherit;
2526 text-decoration: inherit;
2527 }
2528
2529 &:hover .quickeditlink .quickediticon img,
2530 .quickeditlink:focus .quickediticon img {
2531 opacity: 1;
2532 }
2533
2534 &.inplaceeditable-toggle .quickediticon {
38cf8b66
AN
2535 display: none;
2536 }
2537}
b259fa66 2538
7ee8effc
NK
2539.dir-rtl {
2540 .inplaceeditable {
2541 &.inplaceeditingon {
2542 .editinstructions {
2543 right: 0;
2544 left: auto;
2545 }
b259fa66
MG
2546 }
2547 }
2548}
2549h3.sectionname .inplaceeditable.inplaceeditingon .editinstructions {
2550 margin-top: -20px;
2551}
4db37f3a
FM
2552
2553/** Chart output HTML table */
2554.chart-output-htmltable {
2555 width: 100%;
2556}
40912196
FM
2557
2558/** Chart area. */
2559.chart-area {
2560
2561 .chart-table-data {
2562 display: none;
2563 }
2564 .chart-table-expand {
2565 text-align: right;
2566 }
2567
2568 .chart-table {
2569 /** When accessible, we display the table only. */
2570 &.accesshide {
2571 .chart-table-expand {
2572 display: none;
2573 }
2574 .chart-table-data {
2575 display: block;
2576 }
2577 }
2578 }
2579}
2580.dir-rtl .chart-area .chart-table-expand {
2581 text-align: left;
2582}