diff --git a/lib/templates/form_autocomplete_input.mustache b/lib/templates/form_autocomplete_input.mustache index 1b2ec1a7fb4..ac76ed575ea 100644 --- a/lib/templates/form_autocomplete_input.mustache +++ b/lib/templates/form_autocomplete_input.mustache @@ -36,13 +36,15 @@ { "inputID": 1, "suggestionsId": 2, "selectionId": 3, "downArrowId": 4, "placeholder": "Select something" } }} {{#showSuggestions}} -
+
{{/showSuggestions}} {{^showSuggestions}} - +
+ +
{{/showSuggestions}} {{#js}} diff --git a/theme/boost/scss/moodle/core.scss b/theme/boost/scss/moodle/core.scss index 1065a7066e2..fe50f552b31 100644 --- a/theme/boost/scss/moodle/core.scss +++ b/theme/boost/scss/moodle/core.scss @@ -2402,6 +2402,12 @@ body.h5p-embed { height: 1.5rem; } +.border-radius { + @if $enable-rounded { + @include border-radius($card-border-radius); + } +} + // Emoji picker. $picker-width: 350px !default; $picker-width-xs: 320px !default; diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 00b7fb87646..edeccf1e9d4 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -11772,6 +11772,9 @@ body.h5p-embed .h5pmessages { color: #343a40; height: 1.5rem; } +.border-radius { + border-radius: 0.25rem; } + .emoji-picker { width: 350px; height: 400px; } diff --git a/user/index.php b/user/index.php index cf0f155c878..3a4ddf1c34f 100644 --- a/user/index.php +++ b/user/index.php @@ -242,7 +242,7 @@ $enrolbuttonsout = ''; foreach ($enrolbuttons as $enrolbutton) { $enrolbuttonsout .= $enrolrenderer->render($enrolbutton); } -echo html_writer::div($enrolbuttonsout, 'float-right', [ +echo html_writer::div($enrolbuttonsout, 'd-flex justify-content-end', [ 'data-region' => 'wrapper', 'data-table-uniqueid' => $participanttable->uniqueid, ]); diff --git a/user/templates/local/participantsfilter/autocomplete_selection.mustache b/user/templates/local/participantsfilter/autocomplete_selection.mustache index a4348e43725..88006b209c6 100644 --- a/user/templates/local/participantsfilter/autocomplete_selection.mustache +++ b/user/templates/local/participantsfilter/autocomplete_selection.mustache @@ -38,7 +38,7 @@ ], "noSelectionString": "No selection" } }} + class="badge badge-secondary clickable text-wrap text-break line-height-4 mr-2 my-1"> {{label}} {{/items}} diff --git a/user/templates/local/participantsfilter/filterrow.mustache b/user/templates/local/participantsfilter/filterrow.mustache index 089fb8b38bd..9d2bdc6ddb6 100644 --- a/user/templates/local/participantsfilter/filterrow.mustache +++ b/user/templates/local/participantsfilter/filterrow.mustache @@ -33,29 +33,31 @@ } }}
-
- - +
+
+ + +
- {{#filtertypes}} {{/filtertypes}} -
+
-
-
+
{{#str}}adverbfor_andnot, core_user{{/str}}
{{#str}}adverbfor_or, core_user{{/str}}
{{#str}}adverbfor_and, core_user{{/str}}
diff --git a/user/templates/participantsfilter.mustache b/user/templates/participantsfilter.mustache index 82500ad02c2..aa9398ffe6f 100644 --- a/user/templates/participantsfilter.mustache +++ b/user/templates/participantsfilter.mustache @@ -40,9 +40,9 @@ } }} -
+