9 .context-header-settings-menu,
10 .region-main-settings-menu {
17 .context-header-settings-menu .dropdown-toggle > .icon,
18 #region-main-settings-menu .dropdown-toggle > .icon {
22 /** Prevent user notifications overlapping with region main settings menu */
28 /** Page layout CSS starts **/
29 .layout-option-noheader #page-header,
30 .layout-option-nonavbar #page-navbar,
31 .layout-option-nofooter #page-footer,
32 .layout-option-nocourseheader .course-content-header,
33 .layout-option-nocoursefooter .course-content-footer {
37 /** Page layout CSS ends **/
49 direction: ltr !important; /* stylelint-disable-line declaration-no-important */
64 a.dimmed_text:visited,
68 .dimmed_text a:visited,
71 .usersuspended a:link,
72 .usersuspended a:visited,
78 .activity.label .dimmed_text {
102 font-size: $font-size-xs;
112 @extend .text-warning;
117 @extend .text-success;
124 .fitem.advanced .text-info {
132 a.autolink.glossary:hover {
135 /* Block which is hidden if javascript enabled, prevents fickering visible when JS from footer used! */
136 .collapsibleregioncaption {
138 min-height: $line-height-base * $font-size-base;
141 .pagelayout-mydashboard.jsenabled .collapsibleregioncaption {
145 .collapsibleregioncaption img {
146 vertical-align: middle;
149 .jsenabled .hiddenifjs {
157 .jsenabled .visibleifjs {
161 .jsenabled .collapsibleregion {
163 box-sizing: content-box;
166 .jsenabled .collapsed .collapsibleregioninner {
170 .collapsible-actions {
175 .jsenabled .collapsible-actions {
179 .collapsible-actions .collapseexpand {
181 background: url([[pix:t/collapsed]]) 2px center no-repeat;
184 .collapsible-actions .collapseexpand {
185 background: url([[pix:t/collapsed_rtl]]) right center no-repeat;
188 .collapsible-actions .collapse-all {
189 background-image: url([[pix:t/expanded]]);
192 .yui-overlay .yui-widget-bd {
193 background-color: #ffee69;
194 border: 1px solid #a6982b;
195 border-top-color: #d4c237;
205 background: transparent;
218 .pagingbar .thispage {
223 margin-right: 0.5rem;
231 .action-menu .dropdown-toggle {
232 text-decoration: none;
239 .action-menu .userpicture {
246 .breadcrumb img.resize {
254 vertical-align: middle;
271 #addmembersform table {
276 table.flexible .emptyrow {
285 .arrow_button input {
292 .no-overflow > .generaltable {
295 // Accessibility features
297 // Accessibility: text 'seen' by screen readers but not visual users.
310 // Accessibility: Skip block link, for keyboard-only users.
316 text-decoration: none;
337 .blog_entry .audience {
346 .blog_entry .content {
350 #page-group-index #groupeditform {
364 #doc-contents ul li {
365 list-style-type: none;
368 .groupmanagementtable td {
372 .groupmanagementtable #existingcell,
373 .groupmanagementtable #potentialcell {
377 .groupmanagementtable #buttonscell {
381 .groupmanagementtable #buttonscell p.arrow_button input {
387 .groupmanagementtable #removeselect_wrapper,
388 .groupmanagementtable #addselect_wrapper {
392 .groupmanagementtable #removeselect_wrapper label,
393 .groupmanagementtable #addselect_wrapper label {
404 display: inline-block;
407 .groupselector label {
408 display: inline-block;
415 border-bottom-right-radius: 0;
416 border-bottom-left-radius: 0;
421 border-top-left-radius: 0;
422 border-top-right-radius: 0;
431 .notepost .userpicture {
446 .path-my .coursebox {
451 margin: 15px 30px 10px 30px;
455 .path-my .coursebox .info {
487 .comment-area textarea {
492 -webkit-box-sizing: border-box;
493 -moz-box-sizing: border-box;
494 box-sizing: border-box;
507 vertical-align: text-bottom;
527 .comment-list li.first {
535 .comment-paging .pageno {
539 .comment-paging .curpage {
540 border: 1px solid #ccc;
543 .comment-message .picture {
548 .comment-message .text {
553 .comment-message .text p {
565 .comment-report-selectall {
573 .jsenabled .comment-link {
577 .jsenabled .showcommentsnonjs {
581 .jsenabled .comment-report-selectall {
585 * Completion progress report
587 .completion-expired {
588 @extend .text-warning;
591 .completion-expected {
592 font-size: $font-size-xs;
595 .completion-sortchoice,
596 .completion-identifyfield {
597 font-size: $font-size-xs;
598 vertical-align: bottom;
601 .completion-progresscell {
605 .completion-expired .completion-expected {
621 .path-tag .tag-index-items .tagarea {
622 border: 1px solid #e3e3e3;
628 .path-tag .tag-index-items .tagarea h3 {
630 padding: 3px 0 10px 0;
636 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
637 text-transform: uppercase;
638 word-wrap: break-word;
639 border-bottom: solid 1px #e3e3e3;
643 .path-tag .tagarea .controls,
644 .path-tag .tagarea .taggeditems {
648 .path-tag .tagarea .controls,
649 .path-tag .tag-backtoallitems {
653 .path-tag .tagarea .controls .gotopage.nextpage {
657 .path-tag .tagarea .controls .gotopage.prevpage {
661 .path-tag .tagarea .controls .exclusivemode {
662 display: inline-block;
665 .path-tag .tagarea .controls.controls-bottom {
669 .path-tag .tagarea .controls .gotopage.nextpage::after {
675 .path-tag .tagarea .controls .gotopage.prevpage::before {
685 @extend .text-warning;
688 .tag-management-table td,
689 .tag-management-table th {
690 vertical-align: middle;
694 .tag-management-table .inplaceeditable.inplaceeditingon input {
698 .path-admin-tag .addstandardtags {
706 .path-tag .tag-relatedtags {
710 .path-tag .tag-management-box {
714 .path-tag .tag-index-toc {
719 .path-tag .tag-index-toc li,
720 .path-tag .tag-management-box li {
725 .path-tag .tag-management-box li a.edittag {
726 background-image: url([[pix:moodle|i/settings]]);
729 .path-tag .tag-management-box li a.flagasinappropriate {
730 background-image: url([[pix:moodle|i/flagged]]);
733 .path-tag .tag-management-box li a.removefrommyinterests {
734 background-image: url([[pix:moodle|t/delete]]);
737 .path-tag .tag-management-box li a.addtomyinterests {
738 background-image: url([[pix:moodle|t/add]]);
741 .path-tag .tag-management-box li a {
742 background-repeat: no-repeat;
743 background-position: left;
747 .tag_feed.media-list .media .itemimage {
751 .tag_feed.media-list .media .itemimage img {
756 .tag_feed.media-list .media .media-body {
761 .tag_feed .media .muted a {
769 .tag_cloud .inline-list li {
773 .tag_cloud .tag_overflow {
866 .tag_list.hideoverlimit .overlimit {
870 .tag_list .tagmorelink {
874 .tag_list.hideoverlimit .tagmorelink {
878 .tag_list.hideoverlimit .taglesslink {
885 #webservice-doc-generator td {
887 border: 0 solid black;
890 * Smart Select Element
896 .smartselect .smartselect_mask {
897 background-color: #fff;
909 .smartselect .smartselect_menu {
913 .safari .smartselect .smartselect_menu {
917 .smartselect .smartselect_menu,
918 .smartselect .smartselect_submenu {
919 border: 1px solid #000;
920 background-color: #fff;
924 .smartselect .smartselect_menu.visible,
925 .smartselect .smartselect_submenu.visible {
929 .smartselect .smartselect_menu_content ul li {
934 .smartselect .smartselect_menu_content ul li a {
936 text-decoration: none;
939 .smartselect .smartselect_menu_content ul li a.selectable {
943 .smartselect .smartselect_submenuitem {
944 background-image: url([[pix:moodle|t/collapsed]]);
945 background-repeat: no-repeat;
946 background-position: 100%;
949 .smartselect.spanningmenu .smartselect_submenu {
955 .smartselect.spanningmenu .smartselect_submenu a {
960 .smartselect.spanningmenu .smartselect_menu_content ul li a.selectable:hover {
961 text-decoration: underline;
964 .smartselect.compactmenu .smartselect_submenu {
973 .smartselect.compactmenu .smartselect_submenu.visible {
977 .smartselect.compactmenu .smartselect_menu {
982 .smartselect.compactmenu .smartselect_submenu .smartselect_submenu {
986 .smartselect.compactmenu .smartselect_submenuitem:hover > .smartselect_menuitem_label {
995 border-collapse: collapse;
1007 .userenrolment .subfield {
1011 .userenrolment .col_userdetails .subfield {
1015 .userenrolment .col_userdetails .subfield_picture {
1020 .userenrolment .col_lastseen {
1024 .userenrolment .col_role {
1028 .userenrolment .col_role .roles,
1029 .userenrolment .col_group .groups {
1033 .userenrolment .col_role .role,
1034 .userenrolment .col_group .group {
1038 white-space: nowrap;
1041 .userenrolment .col_role .role a,
1042 .userenrolment .col_group .group a {
1047 .userenrolment .col_role .addrole,
1048 .userenrolment .col_group .addgroup {
1054 border-bottom: 1px solid #666;
1058 .userenrolment .col_role .addrole img,
1059 .userenrolment .col_group .addgroup img {
1060 vertical-align: baseline;
1063 .userenrolment .hasAllRoles .col_role .addrole {
1067 .userenrolment .col_enrol .enrolment {
1073 .userenrolment .col_enrol .enrolment a {
1079 .enrol_user_buttons {
1086 @extend .card-block;
1090 #page-enrol-users .enrol-users-page-action input {
1095 background-color: #ccc;
1115 display: table-cell;
1118 .label .mod-indent {
1122 $mod-indent-size: 30px;
1123 /* Creates a series of .mod-indent-# rule declarations based on indent size and number of indent levels. */
1125 @for $i from 1 through 16 {
1126 $width: ($i * $mod-indent-size);
1134 width: (16 * $mod-indent-size);
1137 /* Audio player size in 'block' mode (can only change width, height is hardcoded in JS) */
1138 .resourcecontent .mediaplugin_mp3 object {
1143 .resourcecontent audio.mediaplugin_html5audio {
1146 /** Large resource images should avoid hidden overflow **/
1150 /* Audio player size in 'inline' mode (can only change width, as above) */
1151 .mediaplugin_mp3 object {
1156 audio.mediaplugin_html5audio {
1159 /* TinyMCE moodle media preview frame should not have padding */
1160 .core_media_preview.pagelayout-embedded #content {
1164 .core_media_preview.pagelayout-embedded #maincontent {
1168 body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
1175 .path-rating .ratingtable {
1180 .path-rating .ratingtable th.rating {
1184 .path-rating .ratingtable td.rating,
1185 .path-rating .ratingtable td.time {
1186 white-space: nowrap;
1198 /* Moodle Dialogue Settings (moodle-core-dialogue) */
1199 .moodle-dialogue-base .moodle-dialogue-lightbox {
1200 background-color: $gray;
1203 .moodle-dialogue-base .hidden,
1204 .moodle-dialogue-base .moodle-dialogue-hidden {
1212 .moodle-dialogue-base .moodle-dialogue-fullscreen {
1220 .moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-content {
1224 .moodle-dialogue-base .moodle-dialogue-fullscreen .closebutton {
1227 background-size: 100%;
1230 .moodle-dialogue-base .moodle-dialogue-wrap {
1231 background-color: #fff;
1232 border: 1px solid #ccc;
1235 // Show is a bootstrap 2 class - but we use it for modals. We don't want to enable it everywhere because they removed
1236 // it for a reason (conflicts with jquery .show()).
1241 .moodle-dialogue-base .moodle-dialogue-wrap.moodle-dialogue-content {
1242 @extend .modal-content;
1245 .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd {
1246 @extend .modal-header;
1249 .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd.yui3-widget-hd {
1250 // Undo some YUI damage.
1253 background: initial;
1258 .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd h1 {
1259 @extend .modal-title;
1262 .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd .yui3-widget-buttons {
1266 .moodle-dialogue-base .closebutton {
1274 .moodle-dialogue-base .moodle-dialogue .moodle-dialogue-bd {
1275 @extend .modal-body;
1278 .moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-content {
1289 .moodle-dialogue-exception .moodle-exception-param label {
1293 .moodle-dialogue-exception .param-stacktrace label {
1294 background-color: #eee;
1295 border: 1px solid #ccc;
1296 border-bottom-width: 0;
1299 .moodle-dialogue-exception .param-stacktrace pre {
1300 border: 1px solid #ccc;
1301 background-color: #fff;
1304 .moodle-dialogue-exception .param-stacktrace .stacktrace-file {
1306 font-size: $font-size-sm;
1309 .moodle-dialogue-exception .param-stacktrace .stacktrace-line {
1310 @extend .text-warning;
1311 font-size: $font-size-sm;
1314 .moodle-dialogue-exception .param-stacktrace .stacktrace-call {
1317 border-bottom: 1px solid #eee;
1320 .moodle-dialogue-base .moodle-dialogue .moodle-dialogue-content .moodle-dialogue-ft {
1321 @extend .modal-footer;
1324 .moodle-dialogue-base .moodle-dialogue .moodle-dialogue-content .moodle-dialogue-ft:empty {
1328 .moodle-dialogue-base .moodle-dialogue .moodle-dialogue-content .moodle-dialogue-ft.yui3-widget-ft {
1329 // Undo some YUI damage.
1330 background: initial;
1333 .moodle-dialogue-confirm .confirmation-message {
1336 .moodle-dialogue-confirm .confirmation-buttons {
1340 .moodle-dialogue-confirm .confirmation-dialogue input {
1344 .moodle-dialogue-exception .moodle-exception-message {
1348 .moodle-dialogue-exception .moodle-exception-param {
1349 margin-bottom: 0.5em;
1352 .moodle-dialogue-exception .moodle-exception-param label {
1356 .moodle-dialogue-exception .param-stacktrace label {
1362 .moodle-dialogue-exception .param-stacktrace pre {
1368 .moodle-dialogue-exception .param-stacktrace .stacktrace-file {
1369 display: inline-block;
1373 .moodle-dialogue-exception .param-stacktrace .stacktrace-line {
1374 display: inline-block;
1379 .moodle-dialogue-exception .param-stacktrace .stacktrace-call {
1382 padding-bottom: 4px;
1385 .moodle-dialogue .moodle-dialogue-bd .content-lightbox {
1391 background-color: white;
1395 /* Apply a default max-height on tooltip text */
1396 .moodle-dialogue .tooltiptext {
1400 .moodle-dialogue-base .moodle-dialogue.moodle-dialogue-tooltip {
1403 .moodle-dialogue-bd {
1409 * Chooser Dialogues (moodle-core-chooserdialogue)
1411 * This CSS belong to the chooser dialogue which should work both with, and
1412 * without javascript enabled
1414 /* Hide the dialog and it's title */
1415 .chooserdialoguebody,
1420 .moodle-dialogue.chooserdialogue .moodle-dialogue-content .moodle-dialogue-ft {
1424 .chooserdialogue .moodle-dialogue-wrap .moodle-dialogue-bd {
1426 background: #f2f2f2;
1428 @include border-bottom-radius(10px);
1430 /* Center the submit buttons within the area */
1431 .choosercontainer #chooseform .submitbuttons {
1435 /* Fixed for safari browser on iPhone4S with ios7@mixin */
1437 @media (max-height: 639px) {
1438 .ios.safari .choosercontainer #chooseform .submitbuttons {
1443 .choosercontainer #chooseform .submitbuttons input {
1447 /* Various settings for the options area */
1448 .choosercontainer #chooseform .options {
1450 border-bottom: 1px solid #bbb;
1452 /* Only set these options if we're showing the js container */
1453 .jschooser .choosercontainer #chooseform .alloptions {
1460 display: inline-block;
1464 display: inline-block;
1469 /* Settings for option rows and option subtypes */
1470 .choosercontainer #chooseform .moduletypetitle,
1471 .choosercontainer #chooseform .option,
1472 .choosercontainer #chooseform .nonoption {
1474 padding: 0 1.6em 0 1.6em;
1477 .choosercontainer #chooseform .moduletypetitle {
1478 text-transform: uppercase;
1480 padding-bottom: 0.4em;
1483 .choosercontainer #chooseform .option .typename,
1484 .choosercontainer #chooseform .nonoption .typename {
1485 padding: 0 0 0 0.5em;
1488 .choosercontainer #chooseform .modicon + .typename {
1492 .choosercontainer #chooseform .option input[type=radio],
1493 .choosercontainer #chooseform .option span.typename {
1494 vertical-align: middle;
1497 .choosercontainer #chooseform .option label {
1500 padding: ($spacer / 2) 0;
1501 border-bottom: 1px solid #fff;
1504 .choosercontainer #chooseform .option .icon {
1509 .choosercontainer #chooseform .nonoption {
1510 padding-left: 2.7em;
1512 padding-bottom: 0.1em;
1515 .choosercontainer #chooseform .subtype {
1517 padding: 0 1.6em 0 3.2em;
1520 .choosercontainer #chooseform .subtype .typename {
1521 margin: 0 0 0 0.2em;
1523 /* The instruction/help area */
1524 .jschooser .choosercontainer #chooseform .instruction,
1525 .jschooser .choosercontainer #chooseform .typesummary {
1534 background-color: #fff;
1539 /* Selected option settings */
1540 .jschooser .choosercontainer #chooseform .instruction,
1541 .choosercontainer #chooseform .selected .typesummary {
1545 .choosercontainer #chooseform .selected {
1546 background-color: #fff;
1551 .chooserdialogue-course-modchooser .modicon .icon {
1556 @include media-breakpoint-down(xs) {
1557 .jsenabled .choosercontainer #chooseform .alloptions {
1561 .jsenabled .choosercontainer #chooseform .instruction,
1562 .jsenabled .choosercontainer #chooseform .typesummary {
1567 /* Form element: listing */
1569 padding-bottom: 25px;
1570 padding-right: 10px;
1573 .formlistinginputradio {
1584 padding: 1px 19px 14px;
1585 background-color: white;
1586 border: 1px solid #ddd;
1588 @include border-radius(4px);
1599 background-color: whitesmoke;
1600 border: 1px solid #ddd;
1603 @include border-radius(4px 0 4px 0);
1610 @include border-radius(4px);
1615 border-bottom: 1px solid;
1616 border-color: #e1e1e8;
1617 border-left: 1px solid #e1e1e8;
1618 border-right: 1px solid #e1e1e8;
1619 background-color: #f7f7f9;
1621 @include border-radius(0 0 4px 4px);
1630 body.jsenabled .formlistingradio {
1634 body.jsenabled .formlisting {
1641 @extend .table-bordered;
1642 @extend .table-striped;
1650 div.criteria-description {
1653 background: none repeat scroll 0 0 #f9f9f9;
1654 border: 1px solid #eee;
1664 display: inline-block;
1667 vertical-align: top;
1671 .badges li .badge-name {
1680 .badges li .badge-image {
1688 .badges li .badge-actions {
1692 .badges li .expireimage {
1703 background-color: transparent;
1708 display: inline-block;
1709 vertical-align: top;
1732 display: inline-block;
1742 vertical-align: top;
1748 display: inline-block;
1754 display: inline-block;
1761 vertical-align: top;
1765 @extend .text-success;
1769 @extend .text-danger;
1773 @extend .text-warning;
1776 #page-badges-award .recipienttable tr td {
1777 vertical-align: top;
1780 #page-badges-award .recipienttable tr td.actions .actionbutton {
1786 #page-badges-award .recipienttable tr td.existing,
1787 #page-badges-award .recipienttable tr td.potential {
1791 #issued-badge-table .activatebadge {
1792 display: inline-block;
1796 background-color: $state-success-bg;
1799 .statusbox.inactive {
1800 background-color: $state-warning-bg;
1809 .statusbox .activatebadge {
1810 display: inline-block;
1813 .statusbox .activatebadge input[type=submit] {
1820 vertical-align: middle;
1823 img#persona_signin {
1831 .invisiblefieldset {
1841 .breadcrumb-button .singlebutton div {
1845 .breadcrumb-nav .breadcrumb {
1871 /** Header-bar styles **/
1872 .page-context-header {
1873 // We need to be explicit about the height of the header.
1874 $pageHeaderHeight: 140px;
1876 // Do not remove these rules.
1880 .page-header-headings {
1885 .page-header-image {
1891 .page-header-headings,
1892 .header-button-group {
1895 vertical-align: middle;
1898 .header-button-group {
1905 // Don't touch it unless you know exactly what you are doing.
1911 ul.dragdrop-keyboard-drag li {
1912 list-style-type: none;
1917 text-decoration: none;
1928 .progressbar_container {
1933 /* IE10 only fix for calendar titling */
1934 .ie10 .yui3-calendar-header-label {
1935 display: inline-block;
1948 // Active tabs with links should have a different
1949 // cursor to indicate they are clickable.
1950 .nav-tabs > .active > a[href],
1951 .nav-tabs > .active > a[href]:hover,
1952 .nav-tabs > .active > a[href]:focus {
1957 &.inplaceeditingon {
1962 font-weight: normal;
1967 white-space: nowrap;
1972 vertical-align: text-bottom;
1981 .quickediticon img {
1987 text-decoration: inherit;
1990 &:hover .quickeditlink .quickediticon img,
1991 .quickeditlink:focus .quickediticon img {
1995 &.inplaceeditable-toggle .quickediticon {
2000 h3.sectionname .inplaceeditable.inplaceeditingon .editinstructions {
2012 .chart-output-htmltable caption {
2013 white-space: nowrap;
2015 /** When accessible, we display the table only. */
2017 .chart-table-expand {
2032 /* YUI 2 Tree View */
2053 background-image: url([[pix:theme|yui2-treeview-sprite-rtl]]);
2057 .hover-tooltip-container {
2066 top: calc(-50% - 5px);
2067 transform: translate(-50%, -50%);
2068 background-color: #fff;
2069 border: 1px solid rgba(0, 0, 0, .2);
2070 border-radius: .3rem;
2071 box-sizing: border-box;
2073 white-space: nowrap;
2074 transition: opacity 0.15s, visibility 0.15s;
2079 display: inline-block;
2080 border-left: 8px solid transparent;
2081 border-right: 8px solid transparent;
2082 border-top: 8px solid rgba(0, 0, 0, .2);
2085 left: calc(50% - 8px);
2090 display: inline-block;
2091 border-left: 7px solid transparent;
2092 border-right: 7px solid transparent;
2093 border-top: 7px solid #fff;
2096 left: calc(50% - 7px);
2104 visibility: visible;
2105 transition: opacity 0.15s 0.5s, visibility 0.15s 0.5s;
2114 margin-right: $grid-gutter-width / 2;
2115 background-color: $card-bg;
2117 @include media-breakpoint-down(sm) {
2119 margin-top: $grid-gutter-width;
2125 $footer-link-color: $brand-primary !default;
2127 color: $footer-link-color;
2130 // Make links in a menu clickable anywhere in the row.
2139 padding-left: 1.5rem;