diff --git a/theme/boost/scss/preset/default.scss b/theme/boost/scss/preset/default.scss index fcfc75bf24b..af1931043d0 100644 --- a/theme/boost/scss/preset/default.scss +++ b/theme/boost/scss/preset/default.scss @@ -97,3 +97,11 @@ body { .userpicture { border-radius: 50%; } + +// 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. +.btn-outline-secondary { + @include button-outline-variant($gray-600); + border-color: $border-color; +} diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index ddf13abd58c..72fe908da92 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -17080,3 +17080,27 @@ body { .userpicture { border-radius: 50%; } + +.btn-outline-secondary { + color: #868e96; + background-color: transparent; + background-image: none; + border-color: #868e96; + border-color: #dee2e6; } + .btn-outline-secondary:hover { + color: #fff; + background-color: #868e96; + border-color: #868e96; } + .btn-outline-secondary:focus, .btn-outline-secondary.focus { + box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5); } + .btn-outline-secondary.disabled, .btn-outline-secondary:disabled { + color: #868e96; + background-color: transparent; } + .btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active, + .show > .btn-outline-secondary.dropdown-toggle { + color: #fff; + background-color: #868e96; + border-color: #868e96; } + .btn-outline-secondary:not(:disabled):not(.disabled):active:focus, .btn-outline-secondary:not(:disabled):not(.disabled).active:focus, + .show > .btn-outline-secondary.dropdown-toggle:focus { + box-shadow: 0 0 0 0.2rem rgba(134, 142, 150, 0.5); }