3 // When we upgrade boostrap to v4 release, we will need to change this to be used by the text-white class.
4 // Because a primary colour that is both AA accessible on grey (footer) and white is not possible, we always
5 // want white default colour.
6 $bg-inverse-link-color: #fff !default;
11 border: $card-border-width solid $card-border-color;
13 @include border-radius($card-border-radius);
15 padding: $card-spacer-x;
16 background-color: $body-bg;
19 .context-header-settings-menu,
20 .region-main-settings-menu {
29 $gototop-bottom-position: 50px !default;
34 transition: opacity .7s ease 0s, visibility .1s ease .8s;
36 position: fixed; /* IE compatibility hack */
37 @supports (position: sticky) {
40 @supports (-ms-ime-align:auto) {
41 position: fixed; /* Edge compatibility hack */
43 bottom: $gototop-bottom-position;
48 transform: translateY(-100%);
52 body.scrolled #goto-top-link {
55 transition: visibility 0s ease 0s, opacity .7s ease .1s;
58 .context-header-settings-menu .dropdown-toggle > .icon,
59 #region-main-settings-menu .dropdown-toggle > .icon {
64 /** Prevent user notifications overlapping with region main settings menu */
70 /** Page layout CSS starts **/
71 .layout-option-noheader #page-header,
72 .layout-option-nonavbar #page-navbar,
73 .layout-option-nofooter #page-footer,
74 .layout-option-nocourseheader .course-content-header,
75 .layout-option-nocoursefooter .course-content-footer {
79 /** Page layout CSS ends **/
91 direction: ltr !important; /* stylelint-disable-line declaration-no-important */
106 a.dimmed_text:visited,
110 .dimmed_text a:visited,
113 .usersuspended a:link,
114 .usersuspended a:visited,
126 .section li.activity,
127 .section li.movehere,
140 font-size: $font-size-xs;
150 color: map-get($theme-colors, 'warning');
155 color: map-get($theme-colors, 'success');
159 color: map-get($theme-colors, 'info');
162 .fitem.advanced .text-info {
170 a.autolink.glossary:hover {
173 /* Block which is hidden if javascript enabled, prevents fickering visible when JS from footer used! */
174 .collapsibleregioncaption {
176 min-height: $line-height-base * $font-size-base;
179 .pagelayout-mydashboard.jsenabled .collapsibleregioncaption {
183 .pagelayout-mydashboard #region-main {
186 background-color: transparent;
190 .collapsibleregioncaption img {
191 vertical-align: middle;
194 .jsenabled .hiddenifjs {
202 .jsenabled .visibleifjs {
206 .jsenabled .collapsibleregion {
208 box-sizing: content-box;
211 .jsenabled .collapsed .collapsibleregioninner {
215 .collapsible-actions {
220 .jsenabled .collapsible-actions {
224 .collapsible-actions .collapseexpand {
226 background: url([[pix:t/collapsed]]) 2px center no-repeat;
229 .collapsible-actions .collapseexpand {
230 background: url([[pix:t/collapsed_rtl]]) right center no-repeat;
233 .collapsible-actions .collapse-all {
234 background-image: url([[pix:t/expanded]]);
237 .yui-overlay .yui-widget-bd {
238 background-color: #ffee69;
239 border: 1px solid #a6982b;
240 border-top-color: #d4c237;
250 background: transparent;
263 .pagingbar .thispage {
268 margin-right: 0.5rem;
276 .action-menu .dropdown-toggle {
277 text-decoration: none;
292 vertical-align: middle;
309 #addmembersform table {
314 table.flexible .emptyrow {
323 .arrow_button input {
330 // Minimum height required for a menu in a table inside a scrollable div.
331 // Position required for table sizing inside a flex container.
332 .no-overflow > .generaltable {
337 // Accessibility features
339 // Accessibility: text 'seen' by screen readers but not visual users.
349 // Accessibility: Skip block link, for keyboard-only users.
355 text-decoration: none;
376 .blog_entry .audience {
385 .blog_entry .content {
400 #doc-contents ul li {
401 list-style-type: none;
404 .groupmanagementtable td {
408 .groupmanagementtable #existingcell,
409 .groupmanagementtable #potentialcell {
413 .groupmanagementtable #buttonscell {
417 .groupmanagementtable #buttonscell p.arrow_button input {
424 .groupmanagementtable #removeselect_wrapper,
425 .groupmanagementtable #addselect_wrapper {
429 .groupmanagementtable #removeselect_wrapper label,
430 .groupmanagementtable #addselect_wrapper label {
441 display: inline-block;
444 .groupselector label {
445 display: inline-block;
452 border-bottom-right-radius: 0;
453 border-bottom-left-radius: 0;
458 border-top-left-radius: 0;
459 border-top-right-radius: 0;
468 .notepost .userpicture {
483 .path-my .coursebox {
488 margin: 15px 30px 10px 30px;
492 .path-my .coursebox .info {
524 .comment-area textarea {
529 -webkit-box-sizing: border-box;
530 -moz-box-sizing: border-box;
531 box-sizing: border-box;
544 vertical-align: text-bottom;
564 .comment-list li.first {
572 .comment-paging .pageno {
576 .comment-paging .curpage {
577 border: 1px solid #ccc;
580 .comment-message .picture {
585 .comment-message .text {
590 .comment-message .text p {
602 .comment-report-selectall {
610 .jsenabled .comment-link {
614 .jsenabled .showcommentsnonjs {
618 .jsenabled .comment-report-selectall {
622 * Completion progress report
624 .completion-expired {
625 color: map-get($theme-colors, 'warning');
628 .completion-expected {
629 font-size: $font-size-xs;
632 .completion-sortchoice,
633 .completion-identifyfield {
634 font-size: $font-size-xs;
635 vertical-align: bottom;
638 .completion-progresscell {
642 .completion-expired .completion-expected {
658 .path-tag .tag-index-items .tagarea {
659 border: 1px solid #e3e3e3;
665 .path-tag .tag-index-items .tagarea h3 {
667 padding: 3px 0 10px 0;
673 text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
674 text-transform: uppercase;
675 word-wrap: break-word;
676 border-bottom: solid 1px #e3e3e3;
680 .path-tag .tagarea .controls,
681 .path-tag .tagarea .taggeditems {
685 .path-tag .tagarea .controls,
686 .path-tag .tag-backtoallitems {
690 .path-tag .tagarea .controls .gotopage.nextpage {
694 .path-tag .tagarea .controls .gotopage.prevpage {
698 .path-tag .tagarea .controls .exclusivemode {
699 display: inline-block;
702 .path-tag .tagarea .controls.controls-bottom {
706 .path-tag .tagarea .controls .gotopage.nextpage::after {
712 .path-tag .tagarea .controls .gotopage.prevpage::before {
722 color: map-get($theme-colors, 'warning');
725 .tag-management-table td,
726 .tag-management-table th {
727 vertical-align: middle;
731 .tag-management-table .inplaceeditable.inplaceeditingon input {
735 .path-admin-tag .addstandardtags {
743 .path-tag .tag-relatedtags {
747 .path-tag .tag-management-box {
751 .path-tag .tag-index-toc {
756 .path-tag .tag-index-toc li,
757 .path-tag .tag-management-box li {
762 .path-tag .tag-management-box li a.edittag {
763 background-image: url([[pix:moodle|i/settings]]);
766 .path-tag .tag-management-box li a.flagasinappropriate {
767 background-image: url([[pix:moodle|i/flagged]]);
770 .path-tag .tag-management-box li a.removefrommyinterests {
771 background-image: url([[pix:moodle|t/delete]]);
774 .path-tag .tag-management-box li a.addtomyinterests {
775 background-image: url([[pix:moodle|t/add]]);
778 .path-tag .tag-management-box li a {
779 background-repeat: no-repeat;
780 background-position: left;
784 .tag_feed.media-list .media .itemimage {
788 .tag_feed.media-list .media .itemimage img {
793 .tag_feed.media-list .media .media-body {
798 .tag_feed .media .muted a {
806 .tag_cloud .inline-list li {
810 .tag_cloud .tag_overflow {
903 .tag_list.hideoverlimit .overlimit {
907 .tag_list .tagmorelink {
911 .tag_list.hideoverlimit .tagmorelink {
915 .tag_list.hideoverlimit .taglesslink {
922 #webservice-doc-generator td {
924 border: 0 solid black;
932 border-collapse: collapse;
944 .userenrolment .subfield {
948 .userenrolment .col_userdetails .subfield {
952 .userenrolment .col_userdetails .subfield_picture {
957 .userenrolment .col_lastseen {
961 .userenrolment .col_role {
965 .userenrolment .col_role .roles,
966 .userenrolment .col_group .groups {
970 .userenrolment .col_role .role {
977 .userenrolment .col_group .group {
984 .userenrolment .col_role .role a,
985 .userenrolment .col_group .group a {
990 .userenrolment .col_role .addrole,
991 .userenrolment .col_group .addgroup {
997 border-bottom: 1px solid #666;
1001 .userenrolment .col_role .addrole img,
1002 .userenrolment .col_group .addgroup img {
1003 vertical-align: baseline;
1006 .userenrolment .hasAllRoles .col_role .addrole {
1010 .userenrolment .col_enrol .enrolment {
1016 .userenrolment .col_enrol .enrolment a {
1022 background-color: #ccc;
1042 display: table-cell;
1045 .label .mod-indent {
1049 $mod-indent-size: 30px;
1050 /* Creates a series of .mod-indent-# rule declarations based on indent size and number of indent levels. */
1052 @for $i from 1 through 16 {
1053 $width: ($i * $mod-indent-size);
1061 width: (16 * $mod-indent-size);
1064 /* Audio player size in 'block' mode (can only change width, height is hardcoded in JS) */
1065 .resourcecontent .mediaplugin_mp3 object {
1070 .resourcecontent audio.mediaplugin_html5audio {
1073 /** Large resource images should avoid hidden overflow **/
1077 /* Audio player size in 'inline' mode (can only change width, as above) */
1078 .mediaplugin_mp3 object {
1083 audio.mediaplugin_html5audio {
1086 /* TinyMCE moodle media preview frame should not have padding */
1087 .core_media_preview.pagelayout-embedded #content {
1091 .core_media_preview.pagelayout-embedded #maincontent {
1095 body#page-lib-editor-tinymce-plugins-moodlemedia-preview {
1102 .path-rating .ratingtable {
1107 .path-rating .ratingtable th.rating {
1111 .path-rating .ratingtable td.rating,
1112 .path-rating .ratingtable td.time {
1113 white-space: nowrap;
1117 /* Moodle Dialogue Settings (moodle-core-dialogue) */
1118 .moodle-dialogue-base .moodle-dialogue-lightbox {
1119 background-color: $gray;
1122 // Prevent adding backdrops to popups in popups.
1124 .moodle-dialogue-base {
1125 .moodle-dialogue-lightbox {
1126 background-color: transparent;
1129 box-shadow: $popover-box-shadow;
1134 .moodle-dialogue-base .hidden,
1135 .moodle-dialogue-base .moodle-dialogue-hidden {
1143 .moodle-dialogue-base .moodle-dialogue-fullscreen {
1151 .moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-content {
1155 .moodle-dialogue-base .moodle-dialogue-fullscreen .closebutton {
1158 background-size: 100%;
1161 .moodle-dialogue-base .moodle-dialogue-wrap {
1162 background-color: #fff;
1163 border: 1px solid #ccc;
1166 // Show is a bootstrap 2 class - but we use it for modals. We don't want to enable it everywhere because they removed
1167 // it for a reason (conflicts with jquery .show()).
1172 .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd {
1175 border-bottom: 1px solid #dee2e6;
1178 .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd.yui3-widget-hd {
1179 // Undo some YUI damage.
1182 background: initial;
1187 .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd h1 {
1191 .moodle-dialogue-base .moodle-dialogue-wrap .moodle-dialogue-hd .yui3-widget-buttons {
1201 .moodle-dialogue-base .closebutton {
1202 padding: $modal-header-padding;
1203 margin: (-$modal-header-padding-y) (-$modal-header-padding-x) (-$modal-header-padding-y) auto;
1205 background-color: transparent;
1207 background-image: none;
1219 .moodle-dialogue-base .moodle-dialogue .moodle-dialogue-bd {
1222 background-color: $body-bg;
1226 .moodle-dialogue-base .moodle-dialogue-fullscreen .moodle-dialogue-content {
1237 .moodle-dialogue-exception .moodle-exception-param label {
1241 .moodle-dialogue-exception .param-stacktrace label {
1242 background-color: #eee;
1243 border: 1px solid #ccc;
1244 border-bottom-width: 0;
1247 .moodle-dialogue-exception .param-stacktrace pre {
1248 border: 1px solid #ccc;
1249 background-color: #fff;
1252 .moodle-dialogue-exception .param-stacktrace .stacktrace-file {
1254 font-size: $font-size-sm;
1257 .moodle-dialogue-exception .param-stacktrace .stacktrace-line {
1258 color: map-get($theme-colors, 'warning');
1259 font-size: $font-size-sm;
1262 .moodle-dialogue-exception .param-stacktrace .stacktrace-call {
1265 border-bottom: 1px solid #eee;
1268 .moodle-dialogue-base .moodle-dialogue .moodle-dialogue-content .moodle-dialogue-ft:empty {
1272 .moodle-dialogue-base .moodle-dialogue .moodle-dialogue-content .moodle-dialogue-ft.yui3-widget-ft {
1273 // Undo some YUI damage.
1274 background: initial;
1277 .moodle-dialogue-confirm .confirmation-message {
1281 .moodle-dialogue-confirm .confirmation-dialogue input {
1285 .moodle-dialogue-exception .moodle-exception-message {
1289 .moodle-dialogue-exception .moodle-exception-param {
1290 margin-bottom: 0.5em;
1293 .moodle-dialogue-exception .moodle-exception-param label {
1297 .moodle-dialogue-exception .param-stacktrace label {
1303 .moodle-dialogue-exception .param-stacktrace pre {
1309 .moodle-dialogue-exception .param-stacktrace .stacktrace-file {
1310 display: inline-block;
1314 .moodle-dialogue-exception .param-stacktrace .stacktrace-line {
1315 display: inline-block;
1320 .moodle-dialogue-exception .param-stacktrace .stacktrace-call {
1323 padding-bottom: 4px;
1326 .moodle-dialogue .moodle-dialogue-bd .content-lightbox {
1332 background-color: white;
1336 /* Apply a default max-height on tooltip text */
1337 .moodle-dialogue .tooltiptext {
1341 .moodle-dialogue-base .moodle-dialogue.moodle-dialogue-tooltip {
1344 .moodle-dialogue-bd {
1350 * Chooser Dialogues (moodle-core-chooserdialogue)
1352 * This CSS belong to the chooser dialogue which should work both with, and
1353 * without javascript enabled
1355 /* Hide the dialog and it's title */
1356 .chooserdialoguebody,
1361 .moodle-dialogue.chooserdialogue .moodle-dialogue-content .moodle-dialogue-ft {
1365 .chooserdialogue .moodle-dialogue-wrap .moodle-dialogue-bd {
1367 background: #f2f2f2;
1369 @include border-bottom-radius(10px);
1371 /* Center the submit buttons within the area */
1372 .choosercontainer #chooseform .submitbuttons {
1376 /* Fixed for safari browser on iPhone4S with ios7@mixin */
1378 @media (max-height: 639px) {
1379 .ios .choosercontainer #chooseform .submitbuttons {
1384 .choosercontainer #chooseform .submitbuttons input {
1388 /* Various settings for the options area */
1389 .choosercontainer #chooseform .options {
1391 border-bottom: 1px solid #bbb;
1393 /* Only set these options if we're showing the js container */
1394 .jschooser .choosercontainer #chooseform .alloptions {
1401 display: inline-block;
1405 display: inline-block;
1410 /* Settings for option rows and option subtypes */
1411 .choosercontainer #chooseform .moduletypetitle,
1412 .choosercontainer #chooseform .option,
1413 .choosercontainer #chooseform .nonoption {
1415 padding: 0 1.6em 0 1.6em;
1418 .choosercontainer #chooseform .moduletypetitle {
1419 text-transform: uppercase;
1421 padding-bottom: 0.4em;
1424 .choosercontainer #chooseform .option .typename,
1425 .choosercontainer #chooseform .nonoption .typename {
1426 padding: 0 0 0 0.5em;
1429 .choosercontainer #chooseform .modicon + .typename {
1433 .choosercontainer #chooseform .option input[type=radio],
1434 .choosercontainer #chooseform .option span.typename {
1435 vertical-align: middle;
1438 .choosercontainer #chooseform .option label {
1441 padding: ($spacer / 2) 0;
1442 border-bottom: 1px solid #fff;
1445 .choosercontainer #chooseform .option .icon {
1450 .choosercontainer #chooseform .nonoption {
1451 padding-left: 2.7em;
1453 padding-bottom: 0.1em;
1456 .choosercontainer #chooseform .subtype {
1458 padding: 0 1.6em 0 3.2em;
1461 .choosercontainer #chooseform .subtype .typename {
1462 margin: 0 0 0 0.2em;
1464 /* The instruction/help area */
1465 .jschooser .choosercontainer #chooseform .instruction,
1466 .jschooser .choosercontainer #chooseform .typesummary {
1475 background-color: #fff;
1480 /* Selected option settings */
1481 .jschooser .choosercontainer #chooseform .instruction,
1482 .choosercontainer #chooseform .selected .typesummary {
1486 .choosercontainer #chooseform .selected {
1487 background-color: #fff;
1492 .chooserdialogue-course-modchooser .modicon .icon {
1498 @include media-breakpoint-down(xs) {
1499 .jsenabled .choosercontainer #chooseform .alloptions {
1503 .jsenabled .choosercontainer #chooseform .instruction,
1504 .jsenabled .choosercontainer #chooseform .typesummary {
1509 /* Form element: listing */
1511 padding-bottom: 25px;
1512 padding-right: 10px;
1515 .formlistinginputradio {
1526 padding: 1px 19px 14px;
1527 background-color: white;
1528 border: 1px solid #ddd;
1530 @include border-radius(4px);
1541 background-color: whitesmoke;
1542 border: 1px solid #ddd;
1545 @include border-radius(4px 0 4px 0);
1552 @include border-radius(4px);
1557 border-bottom: 1px solid;
1558 border-color: #e1e1e8;
1559 border-left: 1px solid #e1e1e8;
1560 border-right: 1px solid #e1e1e8;
1561 background-color: #f7f7f9;
1563 @include border-radius(0 0 4px 4px);
1572 body.jsenabled .formlistingradio {
1576 body.jsenabled .formlisting {
1585 div.criteria-description {
1588 background: none repeat scroll 0 0 #f9f9f9;
1589 border: 1px solid #eee;
1599 display: inline-block;
1602 vertical-align: top;
1606 .badges li .badge-name {
1615 .badges li .badge-image {
1623 .badges li .badge-actions {
1627 .badges li .expireimage {
1638 background-color: transparent;
1643 display: inline-block;
1644 vertical-align: top;
1646 margin-bottom: 20px;
1669 display: inline-block;
1679 vertical-align: top;
1685 display: inline-block;
1691 display: inline-block;
1698 vertical-align: top;
1702 color: map-get($theme-colors, 'success');
1706 color: map-get($theme-colors, 'danger');
1710 color: map-get($theme-colors, 'warning');
1713 #page-badges-award .recipienttable tr td {
1714 vertical-align: top;
1717 #page-badges-award .recipienttable tr td.actions .actionbutton {
1723 #page-badges-award .recipienttable tr td.existing,
1724 #page-badges-award .recipienttable tr td.potential {
1728 #issued-badge-table .activatebadge {
1729 display: inline-block;
1733 background-color: $state-success-bg;
1736 .statusbox.inactive {
1737 background-color: $state-warning-bg;
1746 .statusbox .activatebadge {
1747 display: inline-block;
1750 .statusbox .activatebadge input[type=submit] {
1757 vertical-align: middle;
1760 img#persona_signin {
1768 .invisiblefieldset {
1785 nav.navbar .logo img {
1789 /** Header-bar styles **/
1790 .page-context-header {
1791 // We need to be explicit about the height of the header.
1792 $pageHeaderHeight: 140px;
1794 // Do not remove these rules.
1798 .page-header-headings {
1804 .page-header-image {
1809 .page-header-headings,
1810 .header-button-group {
1813 vertical-align: middle;
1816 .header-button-group {
1823 // Don't touch it unless you know exactly what you are doing.
1829 ul.dragdrop-keyboard-drag li {
1830 list-style-type: none;
1835 text-decoration: none;
1846 .progressbar_container {
1851 /* IE10 only fix for calendar titling */
1852 .ie10 .yui3-calendar-header-label {
1853 display: inline-block;
1866 // Active tabs with links should have a different
1867 // cursor to indicate they are clickable.
1868 .nav-tabs > .active > a[href],
1869 .nav-tabs > .active > a[href]:hover,
1870 .nav-tabs > .active > a[href]:focus {
1875 &.inplaceeditingon {
1880 font-weight: normal;
1885 white-space: nowrap;
1890 vertical-align: text-bottom;
1899 .quickediticon img {
1905 text-decoration: inherit;
1908 &:hover .quickeditlink .quickediticon img,
1909 .quickeditlink:focus .quickediticon img {
1913 &.inplaceeditable-toggle .quickediticon {
1917 &.inplaceeditable-autocomplete {
1922 h3.sectionname .inplaceeditable.inplaceeditingon .editinstructions {
1934 .chart-output-htmltable caption {
1935 white-space: nowrap;
1937 /** When accessible, we display the table only. */
1939 .chart-table-expand {
1954 /* YUI 2 Tree View */
1975 background-image: url([[pix:theme|yui2-treeview-sprite-rtl]]);
1979 .hover-tooltip-container {
1988 top: calc(-50% - 5px);
1989 transform: translate(-50%, -50%);
1990 background-color: #fff;
1991 border: 1px solid rgba(0, 0, 0, .2);
1992 border-radius: .3rem;
1993 box-sizing: border-box;
1995 white-space: nowrap;
1996 transition: opacity 0.15s, visibility 0.15s;
2001 display: inline-block;
2002 border-left: 8px solid transparent;
2003 border-right: 8px solid transparent;
2004 border-top: 8px solid rgba(0, 0, 0, .2);
2007 left: calc(50% - 8px);
2012 display: inline-block;
2013 border-left: 7px solid transparent;
2014 border-right: 7px solid transparent;
2015 border-top: 7px solid #fff;
2018 left: calc(50% - 7px);
2026 visibility: visible;
2027 transition: opacity 0.15s 0.5s, visibility 0.15s 0.5s;
2036 margin-right: $grid-gutter-width / 2;
2037 background-color: $card-bg;
2039 @include media-breakpoint-down(sm) {
2041 margin-top: $grid-gutter-width;
2047 // Footer link colour was added to allow the colour of footer links to be changed,
2048 // but really in bootstrap we want the colour of links on .bg-inverse to be changed
2049 // rather than being specific to the footer. This is kept for backwards compatibility.
2050 $footer-link-color: $bg-inverse-link-color !default;
2052 color: $footer-link-color;
2053 text-decoration: underline;
2055 color: $footer-link-color;
2060 color: $bg-inverse-link-color;
2061 text-decoration: underline;
2063 color: $bg-inverse-link-color;
2073 // Make links in a menu clickable anywhere in the row.
2079 .dropdown-item:active a {
2080 color: $dropdown-link-active-color;
2085 padding-left: 1.5rem;
2089 .sr-only-focusable {
2092 z-index: $zindex-navbar-fixed + 1;
2101 [data-drag-type="move"] {
2110 .overlay-icon-container {
2116 background-color: rgba(255, 255, 255, 0.6);
2122 transform: translate(-50%, -50%);
2132 .open.atto_menu > .dropdown-menu {
2135 div.editor_atto_toolbar button .icon {
2143 animation: bg-pulse-grey 2s infinite linear;
2146 @keyframes bg-pulse-grey {
2148 background-color: $gray-100;
2151 background-color: darken($gray-100, 5%);
2154 background-color: $gray-100;
2158 @each $size, $length in $spacers {
2159 .line-height-#{$size} {
2160 line-height: $length !important; /* stylelint-disable-line declaration-no-important */
2176 .paged-content-page-container {
2177 min-height: 3.125rem;
2188 min-height: 230px; // This should be the same height as default core_h5p iframes.
2192 .text-decoration-none {
2193 text-decoration: none !important; /* stylelint-disable-line declaration-no-important */
2197 color: inherit !important; /* stylelint-disable-line declaration-no-important */
2201 right: 0 !important; /* stylelint-disable-line declaration-no-important */
2205 overflow: hidden !important; /* stylelint-disable-line declaration-no-important */
2209 overflow-wrap: break-word !important; /* stylelint-disable-line declaration-no-important */
2213 z-index: 1 !important; /* stylelint-disable-line declaration-no-important */
2216 // These floats are deprecated in Bootstrap 4.3.1. It is still okay to use them in Moodle.
2218 float: left !important; /* stylelint-disable-line declaration-no-important */
2221 float: right !important; /* stylelint-disable-line declaration-no-important */
2225 $picker-width: 350px !default;
2226 $picker-width-xs: 320px !default;
2227 $picker-height: 400px !default;
2228 $picker-row-height: 40px !default;
2229 $picker-emoji-button-size: 40px !default;
2230 $picker-emoji-button-font-size: 24px !default;
2231 $picker-emoji-category-count: 9 !default;
2232 $picker-emojis-per-row: 7 !default;
2235 width: $picker-width;
2236 height: $picker-height;
2241 width: $picker-width / $picker-emoji-category-count;
2245 border-bottom: 2px solid transparent;
2248 border-bottom: 2px solid map-get($theme-colors, 'primary');
2253 .search-results-container {
2254 min-width: $picker-emojis-per-row * $picker-emoji-button-size;
2258 height: $picker-row-height;
2261 line-height: $picker-row-height;
2265 height: $picker-emoji-button-size;
2266 width: $picker-emoji-button-size;
2267 line-height: $picker-emoji-button-size;
2268 font-size: $picker-emoji-button-font-size;
2271 @include hover-focus {
2273 text-decoration: none;
2279 height: $picker-row-height;
2280 font-size: $picker-row-height;
2281 line-height: $picker-row-height;
2285 line-height: $picker-row-height / 2;
2288 @include media-breakpoint-down(xs) {
2289 width: $picker-width-xs;
2293 .emoji-auto-complete {
2294 height: $picker-row-height;
2296 .btn.btn-link.btn-icon.emoji-button {
2297 height: $picker-emoji-button-size;
2298 width: $picker-emoji-button-size;
2299 line-height: $picker-emoji-button-size;
2300 font-size: $picker-emoji-button-font-size;
2303 background-color: $gray-200;
2309 max-width: $toast-max-width;
2311 // Place these above any modals and other elements.