diff --git a/theme/boost/scss/moodle/core.scss b/theme/boost/scss/moodle/core.scss index 25810aec830..7a43b7e9acb 100644 --- a/theme/boost/scss/moodle/core.scss +++ b/theme/boost/scss/moodle/core.scss @@ -9,6 +9,9 @@ $bg-inverse-link-color: #fff !default; overflow-x: auto; overflow-y: visible; border: $card-border-width solid $card-border-color; + @if $enable-rounded { + @include border-radius($card-border-radius); + } padding: $card-spacer-x; background-color: $body-bg; } diff --git a/theme/boost/scss/moodle/course.scss b/theme/boost/scss/moodle/course.scss index e4f2e30418b..e1c8960c1a0 100644 --- a/theme/boost/scss/moodle/course.scss +++ b/theme/boost/scss/moodle/course.scss @@ -42,6 +42,13 @@ margin: 0; } +body:not(.editing) .sitetopic ul.section { + padding-left: 0; + .label .mod-indent-outer { + padding-left: 0; + } +} + .course-content ul.section { margin: $spacer; } diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 30510c4981f..84d746a6f76 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -11705,6 +11705,11 @@ table.calendartable caption { .sitetopic ul.section { margin: 0; } +body:not(.editing) .sitetopic ul.section { + padding-left: 0; } + body:not(.editing) .sitetopic ul.section .label .mod-indent-outer { + padding-left: 0; } + .course-content ul.section { margin: 1rem; } diff --git a/theme/classic/scss/preset/default.scss b/theme/classic/scss/preset/default.scss index a7d15ca165e..4344355d918 100644 --- a/theme/classic/scss/preset/default.scss +++ b/theme/classic/scss/preset/default.scss @@ -101,6 +101,10 @@ $theme-colors: map-merge(( .block { background-color: $gray-100; } + +#page-my-index { + background-color: $white; +} // Reset the default styling back to the bootstrap defaults for // the secondary outline button because gray-200 is much too light // for an outline button. diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index cd669998b68..03a8838470c 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -9030,6 +9030,7 @@ input[disabled] { overflow-x: auto; overflow-y: visible; border: 1px solid rgba(0, 0, 0, 0.125); + border-radius: 0.25rem; padding: 1.25rem; background-color: #fff; } @@ -11946,6 +11947,11 @@ table.calendartable caption { .sitetopic ul.section { margin: 0; } +body:not(.editing) .sitetopic ul.section { + padding-left: 0; } + body:not(.editing) .sitetopic ul.section .label .mod-indent-outer { + padding-left: 0; } + .course-content ul.section { margin: 1rem; } @@ -16981,6 +16987,9 @@ span[data-flexitour="container"][x-placement="right"], span[data-flexitour="cont .block { background-color: #f8f9fa; } +#page-my-index { + background-color: #fff; } + .btn-outline-secondary { color: #868e96; background-color: transparent;