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 {
12 /** Page layout CSS ends **/
33 a.dimmed_text:visited,
37 .dimmed_text a:visited,
40 .usersuspended a:link,
41 .usersuspended a:visited,
46 .activity.label .dimmed_text {
67 font-size: $font-size-xs;
75 @extend .text-warning;
79 @extend .text-success;
87 a.autolink.glossary:hover {
90 /* Block which is hidden if javascript enabled, prevents fickering visible when JS from footer used! */
91 .collapsibleregioncaption {
94 .pagelayout-mydashboard.jsenabled .collapsibleregioncaption {
97 .collapsibleregioncaption img {
98 vertical-align: middle;
101 .jsenabled .hiddenifjs {
107 .jsenabled .visibleifjs {
110 .jsenabled .collapsibleregion {
113 .jsenabled .collapsed .collapsibleregioninner {
116 .collapsible-actions {
120 .jsenabled .collapsible-actions {
123 .collapsible-actions .collapseexpand {
125 background: url([[pix:t/collapsed]]) 2px center no-repeat;
128 .dir-rtl .collapsible-actions .collapseexpand {
129 background: url([[pix:t/collapsed_rtl]]) right center no-repeat;
131 .collapsible-actions .collapse-all {
132 background-image: url([[pix:t/expanded]]);
134 .yui-overlay .yui-widget-bd {
135 background-color: #FFEE69;
136 border: 1px solid #A6982B;
137 border-top-color: #D4C237;
146 background: transparent;
158 .pagingbar .thispage {
171 box-sizing: content-box;
172 padding-right: 0.5rem;
174 .action-menu .userpicture {
183 .breadcrumb img.resize {
189 img.iconhelp, .helplink img {
191 vertical-align: text-bottom;
193 padding-right: 0.5rem;
194 box-sizing: content-box;
199 vertical-align: middle;
202 vertical-align: text-bottom;
204 margin-bottom: .15em;
208 vertical-align: middle;
247 #addmembersform table {
251 table.flexible .emptyrow {
255 vertical-align: middle;
263 .arrow_button input {
266 /** The 1-pixel padding is there to avoid phantom scroll bars on OS X (FF, Safari and Chrome)**/
271 .pagelayout-report .no-overflow {
274 .no-overflow > .generaltable {
277 // Accessibility features
279 // Accessibility: text 'seen' by screen readers but not visual users.
290 // Accessibility: Skip block link, for keyboard-only users.
296 text-decoration: none;
314 .blog_entry .audience {
321 .blog_entry .content {
325 #page-group-index #groupeditform {
336 #doc-contents ul li {
337 list-style-type: none;
339 .groupmanagementtable td {
342 .groupmanagementtable #existingcell,
343 .groupmanagementtable #potentialcell {
346 .groupmanagementtable #buttonscell {
349 .groupmanagementtable #buttonscell p.arrow_button input {
354 .groupmanagementtable #removeselect_wrapper,
355 .groupmanagementtable #addselect_wrapper {
358 .groupmanagementtable #removeselect_wrapper label,
359 .groupmanagementtable #addselect_wrapper label {
368 display: inline-block;
370 .groupselector label {
371 display: inline-block;
373 // Data format selector
374 .dataformatselector {
377 .dataformatselector label {
378 display: inline-block;
379 margin: 0 5px 10px 0;
389 .loginbox.twocolumns {
393 .loginbox .subcontent {
398 .loginbox .loginpanel .desc {
404 .loginbox .signuppanel .subcontent {
407 .loginbox .loginsub {
412 .loginbox .forgotsub,
413 .loginbox .potentialidps {
416 .loginbox .potentialidps .potentialidplist {
419 .loginbox .potentialidps .potentialidplist div {
422 .loginbox .loginform {
426 .loginbox .loginform .form-label {
432 .loginbox .loginform .form-input {
436 .loginbox .loginform .form-input input {
439 .loginbox .signupform {
443 .loginbox.twocolumns .loginpanel,
444 .loginbox.twocolumns .signuppanel {
451 margin-left: 2.76243%;
453 margin-bottom: -2000px;
454 padding-bottom: 2000px;
455 // @include box-sizing(border-box);
462 .notepost .userpicture {
475 .path-my .coursebox .overview {
476 margin: 15px 30px 10px 30px;
478 .path-my .coursebox .info {
506 .comment-area textarea {
510 -webkit-box-sizing: border-box;
511 -moz-box-sizing: border-box;
512 box-sizing: border-box;
522 vertical-align: text-bottom;
539 .comment-list li.first {
545 .comment-paging .pageno{
548 .comment-paging .curpage{
549 border: 1px solid #CCC;
551 .comment-message .picture {
555 .comment-message .text {
559 .comment-message .text p {
569 .comment-report-selectall{
575 .jsenabled .comment-link {
578 .jsenabled .showcommentsnonjs{
581 .jsenabled .comment-report-selectall{
585 * Completion progress report
587 .completion-expired {
588 @extend .text-warning;
590 .completion-expected {
591 font-size: $font-size-xs;
593 .completion-sortchoice,
594 .completion-identifyfield {
595 font-size: $font-size-xs;
596 vertical-align: bottom;
598 .completion-progresscell {
601 .completion-expired .completion-expected {
616 .path-tag .tag-index-items .tagarea {
617 border: 1px solid #E3E3E3;
623 .path-tag .tag-index-items .tagarea h3 {
625 padding: 3px 0 10px 0;
631 text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.5);
632 text-transform: uppercase;
633 word-wrap: break-word;
634 border-bottom: solid 1px #E3E3E3;
638 .path-tag .tagarea .controls,
639 .path-tag .tagarea .taggeditems {
642 .path-tag .tagarea .controls,
643 .path-tag .tag-backtoallitems {
646 .path-tag .tagarea .controls .gotopage.nextpage {
649 .path-tag .tagarea .controls .gotopage.prevpage {
652 .path-tag .tagarea .controls .exclusivemode {
653 display: inline-block;
655 .path-tag .tagarea .controls.controls-bottom {
658 .path-tag .tagarea .controls .gotopage.nextpage::after {
663 .path-tag .tagarea .controls .gotopage.prevpage::before {
673 @extend .text-warning;
675 .tag-management-table td,
676 .tag-management-table th {
677 vertical-align: middle;
680 .tag-management-table .inplaceeditable.inplaceeditingon input {
683 .path-admin-tag .addstandardtags {
689 .path-tag .tag-relatedtags {
692 .path-tag .tag-management-box {
695 .path-tag .tag-index-toc {
699 .path-tag .tag-index-toc li,
700 .path-tag .tag-management-box li {
704 .path-tag .tag-management-box li a.edittag {
705 background-image: url([[pix:moodle|i/settings]]);
707 .path-tag .tag-management-box li a.flagasinappropriate {
708 background-image: url([[pix:moodle|i/flagged]]);
710 .path-tag .tag-management-box li a.removefrommyinterests {
711 background-image: url([[pix:moodle|t/delete]]);
713 .path-tag .tag-management-box li a.addtomyinterests {
714 background-image: url([[pix:moodle|t/add]]);
716 .path-tag .tag-management-box li a {
717 background-repeat: no-repeat;
718 background-position: left;
721 .tag_feed.media-list .media .itemimage {
724 .tag_feed.media-list .media .itemimage img {
728 .tag_feed.media-list .media .media-body {
732 .tag_feed .media .muted a {
738 .tag_cloud .inline-list li {
741 .tag_cloud .tag_overflow {
811 .tag_list.hideoverlimit .overlimit {
814 .tag_list .tagmorelink {
817 .tag_list.hideoverlimit .tagmorelink {
820 .tag_list.hideoverlimit .taglesslink {
827 #webservice-doc-generator td {
829 border: 0 solid black;
832 * Smart Select Element
837 .smartselect .smartselect_mask {
838 background-color: #fff;
847 .smartselect .smartselect_menu {
850 .safari .smartselect .smartselect_menu {
853 .smartselect .smartselect_menu,
854 .smartselect .smartselect_submenu {
855 border: 1px solid #000;
856 background-color: #FFF;
859 .smartselect .smartselect_menu.visible,
860 .smartselect .smartselect_submenu.visible {
863 .smartselect .smartselect_menu_content ul li {
867 .smartselect .smartselect_menu_content ul li a {
869 text-decoration: none;
871 .smartselect .smartselect_menu_content ul li a.selectable {
874 .smartselect .smartselect_submenuitem {
875 background-image: url([[pix:moodle|t/collapsed]]);
876 background-repeat: no-repeat;
877 background-position: 100%;
880 .smartselect.spanningmenu .smartselect_submenu {
885 .smartselect.spanningmenu .smartselect_submenu a {
889 .smartselect.spanningmenu .smartselect_menu_content ul li a.selectable:hover {
890 text-decoration: underline;
893 .smartselect.compactmenu .smartselect_submenu {
901 .smartselect.compactmenu .smartselect_submenu.visible {
904 .smartselect.compactmenu .smartselect_menu {
908 .smartselect.compactmenu .smartselect_submenu .smartselect_submenu {
911 .smartselect.compactmenu .smartselect_submenuitem:hover > .smartselect_menuitem_label {
917 #page-admin-registration-register .registration_textfield {
925 border-collapse: collapse;
934 .userenrolment .subfield {
937 .userenrolment .col_userdetails .subfield {
940 .userenrolment .col_userdetails .subfield_picture {
944 .userenrolment .col_lastseen {
947 .userenrolment .col_role {
950 .userenrolment .col_role .roles,
951 .userenrolment .col_group .groups {
954 .userenrolment .col_role .role,
955 .userenrolment .col_group .group {
961 .userenrolment .col_role .role a,
962 .userenrolment .col_group .group a {
966 .userenrolment .col_role .addrole,
967 .userenrolment .col_group .addgroup {
972 border-bottom:1px solid #666;
975 .userenrolment .col_role .addrole img,
976 .userenrolment .col_group .addgroup img {
977 vertical-align: baseline;
980 .userenrolment .hasAllRoles .col_role .addrole {
984 .userenrolment .col_enrol .enrolment {
989 .userenrolment .col_enrol .enrolment a {
994 .enrol_user_buttons {
1007 display: inline-block;
1009 display: inline-block;
1010 line-height: $line-height * 2;
1012 white-space: nowrap;
1015 line-height: $line-height;
1016 padding-right: .3em;
1040 .user-enroller-panel .uep-search-results .user .details {
1043 .user-enroller-panel .uep-search-results .cohort .details {
1047 #page-enrol-users .enrol-users-page-action input {
1051 background-color: #CCC;
1069 display: table-cell;
1071 .label .mod-indent {
1076 $mod-indent-size: 30px;
1077 /* Creates a series of .mod-indent-# rule declarations based on indent size and number of indent levels. */
1078 @for $i from 1 through 16 {
1079 $width: ($i * $mod-indent-size);
1086 width: (16 * $mod-indent-size);
1089 /* Audio player size in 'block' mode (can only change width, height is hardcoded in JS) */
1090 .resourcecontent .mediaplugin_mp3 object {
1094 .resourcecontent audio.mediaplugin_html5audio {
1097 /** Large resource images should avoid hidden overflow **/
1101 /* Audio player size in 'inline' mode (can only change width, as above) */
1102 .mediaplugin_mp3 object {
1106 audio.mediaplugin_html5audio {
1109 /* TinyMCE moodle media preview frame should not have padding */
1110 .core_media_preview.pagelayout-embedded #content {
1113 .core_media_preview.pagelayout-embedded #maincontent {
1116 body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
1122 .path-rating .ratingtable {
1126 .path-rating .ratingtable th.rating {
1129 .path-rating .ratingtable td.rating,
1130 .path-rating .ratingtable td.time {
1131 white-space: nowrap;
1141 /* Moodle Dialogue Settings (moodle-core-dialogue) */
1142 .moodle-dialogue-base .moodle-dialogue-lightbox {
1143 background-color: #AAA;
1145 .moodle-dialogue-base .hidden,
1146 .moodle-dialogue-base .moodle-dialogue-hidden {
1152 .moodle-dialogue-base .moodle-dialogue-fullscreen {
1159 .moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-content {
1162 .moodle-dialogue-base .moodle-dialogue-fullscreen .closebutton {
1165 background-size: 100%;
1167 .moodle-dialogue-base .moodle-dialogue-wrap.moodle-dialogue-content {
1168 @extend .modal-content;
1170 .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd {
1171 @extend .modal-header;
1173 .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd.yui3-widget-hd {
1174 // Undo some YUI damage.
1177 background-color: initial;
1178 background: initial;
1182 .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd h1 {
1183 @extend .modal-title;
1185 .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd .yui3-widget-buttons {
1188 .moodle-dialogue-base .closebutton {
1191 padding: 10px ! important;
1196 .moodle-dialogue-base .closebutton::after {
1199 .moodle-dialogue-base .moodle-dialogue .moodle-dialogue-bd {
1200 @extend .modal-body;
1203 .moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-content {
1213 .moodle-dialogue-confirm .confirmation-dialogue {
1216 .moodle-dialogue-confirm .confirmation-dialogue input {
1219 .moodle-dialogue-exception .moodle-exception-message {
1222 .moodle-dialogue-exception .moodle-exception-param label {
1225 .moodle-dialogue-exception .param-stacktrace label {
1226 background-color: #EEE;
1227 border: 1px solid #ccc;
1228 border-bottom-width: 0;
1230 .moodle-dialogue-exception .param-stacktrace pre {
1231 border: 1px solid #ccc;
1232 background-color: #fff;
1234 .moodle-dialogue-exception .param-stacktrace .stacktrace-file {
1236 font-size: $font-size-sm;
1238 .moodle-dialogue-exception .param-stacktrace .stacktrace-line {
1239 @extend .text-warning;
1240 font-size: $font-size-sm;
1242 .moodle-dialogue-exception .param-stacktrace .stacktrace-call {
1245 border-bottom: 1px solid #eee;
1247 .moodle-dialogue-base .moodle-dialogue .moodle-dialogue-content .moodle-dialogue-ft {
1248 @extend .modal-footer;
1250 .moodle-dialogue-base .moodle-dialogue .moodle-dialogue-content .moodle-dialogue-ft.yui3-widget-ft {
1251 // Undo some YUI damage.
1252 background: initial;
1254 .moodle-dialogue-confirm .confirmation-message {
1257 .moodle-dialogue-confirm .confirmation-dialogue input {
1260 .moodle-dialogue-exception .moodle-exception-message {
1263 .moodle-dialogue-exception .moodle-exception-param {
1264 margin-bottom: 0.5em;
1266 .moodle-dialogue-exception .moodle-exception-param label {
1269 .moodle-dialogue-exception .param-stacktrace label {
1274 .moodle-dialogue-exception .param-stacktrace pre {
1279 .moodle-dialogue-exception .param-stacktrace .stacktrace-file {
1280 display: inline-block;
1283 .moodle-dialogue-exception .param-stacktrace .stacktrace-line {
1284 display: inline-block;
1288 .moodle-dialogue-exception .param-stacktrace .stacktrace-call {
1291 padding-bottom: 4px;
1293 .moodle-dialogue .moodle-dialogue-bd .content-lightbox {
1299 background-color: white;
1303 /* Apply a default max-height on tooltip text */
1304 .moodle-dialogue .tooltiptext {
1308 .moodle-dialogue-base .moodle-dialogue.moodle-dialogue-tooltip {
1311 .moodle-dialogue-bd {
1317 * Chooser Dialogues (moodle-core-chooserdialogue)
1319 * This CSS belong to the chooser dialogue which should work both with, and
1320 * without javascript enabled
1322 /* Hide the dialog and it's title */
1323 .chooserdialoguebody,
1327 .moodle-dialogue.chooserdialogue .moodle-dialogue-content .moodle-dialogue-ft {
1330 .chooserdialogue .moodle-dialogue-wrap .moodle-dialogue-bd {
1332 background: #F2F2F2;
1333 @include border-bottom-radius(10px);
1335 /* Center the submit buttons within the area */
1336 .choosercontainer #chooseform .submitbuttons {
1340 /* Fixed for safari browser on iPhone4S with ios7@mixin */
1341 @media (max-height: 639px) {
1342 .ios.safari .choosercontainer #chooseform .submitbuttons {
1346 .choosercontainer #chooseform .submitbuttons input {
1350 /* Various settings for the options area */
1351 .choosercontainer #chooseform .options {
1353 border-bottom: 1px solid #BBBBBB;
1355 /* Only set these options if we're showing the js container */
1356 .jschooser .choosercontainer #chooseform .alloptions {
1360 @include box-shadow(inset 0 0 30px 0px #ccc);
1363 display: inline-block;
1366 display: inline-block;
1369 display: inline-block;
1374 /* Settings for option rows and option subtypes */
1375 .choosercontainer #chooseform .moduletypetitle,
1376 .choosercontainer #chooseform .option,
1377 .choosercontainer #chooseform .nonoption {
1379 padding: 0 1.6em 0 1.6em;
1381 .choosercontainer #chooseform .moduletypetitle {
1382 text-transform: uppercase;
1384 padding-bottom: 0.4em;
1386 .choosercontainer #chooseform .option .typename,
1387 .choosercontainer #chooseform .option span.modicon img.icon,
1388 .choosercontainer #chooseform .nonoption .typename,
1389 .choosercontainer #chooseform .nonoption span.modicon img.icon {
1390 padding: 0 0 0 0.5em;
1393 .chooserdialogue-course-modchooser .choosercontainer #chooseform .option span.modicon img.icon,
1394 .chooserdialogue-course-modchooser .choosercontainer #chooseform .nonoption span.modicon img.icon {
1398 .choosercontainer #chooseform .option input[type=radio],
1399 .choosercontainer #chooseform .option span.typename,
1400 .choosercontainer #chooseform .option span.modicon {
1401 vertical-align: middle;
1403 .choosercontainer #chooseform .option label {
1405 padding: 0.3em 0 0.1em 0;
1406 border-bottom: 1px solid #FFFFFF;
1408 .choosercontainer #chooseform .nonoption {
1409 padding-left: 2.7em;
1411 padding-bottom: 0.1em;
1413 .choosercontainer #chooseform .subtype {
1415 padding: 0 1.6em 0 3.2em;
1417 .choosercontainer #chooseform .subtype .typename {
1418 margin: 0 0 0 0.2em;
1420 /* The instruction/help area */
1421 .jschooser .choosercontainer #chooseform .instruction,
1422 .jschooser .choosercontainer #chooseform .typesummary {
1431 background-color: #fff;
1436 /* Selected option settings */
1437 .jschooser .choosercontainer #chooseform .instruction,
1438 .choosercontainer #chooseform .selected .typesummary {
1441 .choosercontainer #chooseform .selected {
1442 background-color: #fff;
1443 @include box-shadow(0px 0 10px 0 #ccc);
1445 /* Form element: listing */
1447 padding-bottom: 25px;
1448 padding-right: 10px;
1450 .formlistinginputradio {
1459 padding: 1px 19px 14px;
1460 background-color: white;
1461 border: 1px solid #DDD;
1462 @include border-radius(4px);
1472 background-color: whiteSmoke;
1473 border: 1px solid #ddd;
1475 @include border-radius(4px 0 4px 0);
1480 @include border-radius(4px);
1484 border-bottom: 1px solid;
1485 border-color: #E1E1E8;
1486 border-left: 1px solid #E1E1E8;
1487 border-right: 1px solid #E1E1E8;
1488 background-color: #F7F7F9;
1489 @include border-radius(0 0 4px 4px);
1497 body.jsenabled .formlistingradio {
1500 body.jsenabled .formlisting {
1507 @extend .table-bordered;
1508 @extend .table-striped;
1510 table.collection .name {
1512 vertical-align: middle;
1514 table.collection .awards {
1517 vertical-align: middle;
1519 table.collection .criteria {
1522 vertical-align: top;
1524 table.collection .badgeimage,
1525 table.collection .status {
1528 vertical-align: middle;
1530 table.collection .description {
1534 table.collection .actions {
1537 vertical-align: middle;
1544 div.criteria-description {
1547 background: none repeat scroll 0 0 #f9f9f9;
1548 border: 1px solid #EEE;
1556 display: inline-block;
1559 vertical-align: top;
1562 .badges li .badge-name {
1569 .badges li .badge-image {
1576 .badges li .badge-actions {
1579 .badges li .expireimage {
1590 background-color: transparent;
1595 display: inline-block;
1596 vertical-align: top;
1618 display: inline-block;
1628 vertical-align: top;
1633 display: inline-block;
1638 display: inline-block;
1645 vertical-align: top;
1648 @extend .text-success;
1651 @extend .text-danger;
1654 @extend .text-warning;
1656 #page-badges-award .recipienttable tr td {
1657 vertical-align: top;
1659 #page-badges-award .recipienttable tr td.actions .actionbutton {
1664 #page-badges-award .recipienttable tr td.existing,
1665 #page-badges-award .recipienttable tr td.potential {
1669 #issued-badge-table .activatebadge {
1670 display: inline-block;
1673 background-color: $state-success-bg;
1675 .statusbox.inactive {
1676 background-color: $state-warning-bg;
1683 .statusbox .activatebadge {
1684 display: inline-block;
1686 .statusbox .activatebadge input[type=submit]{
1692 vertical-align: middle;
1694 img#persona_signin {
1700 .invisiblefieldset {
1708 margin-bottom: 10px;
1710 .breadcrumb-button .singlebutton div {
1713 .breadcrumb-nav .breadcrumb {
1717 /** Header-bar styles **/
1718 .page-context-header {
1719 // We need to be explicit about the height of the header.
1720 $pageHeaderHeight: 140px;
1722 // Do not remove these rules.
1726 .page-header-headings {
1730 .page-header-image {
1735 .page-header-headings {
1737 margin-bottom: 10px;
1744 .page-header-headings,
1745 .header-button-group {
1748 vertical-align: middle;
1751 .header-button-group {
1757 // Don't touch it unless you know exactly what you are doing.
1763 ul.dragdrop-keyboard-drag li {
1764 list-style-type: none;
1767 .block-control-actions .moodle-core-dragdrop-draghandle img {
1774 text-decoration: none;
1784 .progressbar_container {
1789 /* IE10 only fix for calendar titling */
1790 .ie10 .yui3-calendar-header-label {
1791 display: inline-block;
1803 // Active tabs with links should have a different
1804 // cursor to indicate they are clickable.
1805 .nav-tabs > .active > a[href],
1806 .nav-tabs > .active > a[href]:hover,
1807 .nav-tabs > .active > a[href]:focus {
1813 &.inplaceeditingon {
1818 font-weight: normal;
1823 white-space: nowrap;
1829 vertical-align: text-bottom;
1838 .quickediticon img {
1844 text-decoration: inherit;
1847 &:hover .quickeditlink .quickediticon img,
1848 .quickeditlink:focus .quickediticon img {
1852 &.inplaceeditable-toggle .quickediticon {
1857 h3.sectionname .inplaceeditable.inplaceeditingon .editinstructions {