Skip to content

Commit

Permalink
MDL-80519 theme: Add backward compatibility for rounded sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
roland04 committed Nov 5, 2024
1 parent f421e70 commit b01dbc0
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
10 changes: 10 additions & 0 deletions theme/boost/scss/moodle/bs4-compat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -377,3 +377,13 @@ a.close.disabled {
.font-italic {
font-style: italic !important;
}

//
// Rounded sizes
//
.rounded-sm {
border-radius: $border-radius-sm !important;
}
.rounded-lg {
border-radius: $border-radius-lg !important;
}
8 changes: 8 additions & 0 deletions theme/boost/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -25527,6 +25527,14 @@ a.close.disabled, a.disabled.btn-close {
font-style: italic !important;
}

.rounded-sm {
border-radius: 0.2rem !important;
}

.rounded-lg {
border-radius: 0.6rem !important;
}

/**
* Moodle variables
*
Expand Down
8 changes: 8 additions & 0 deletions theme/classic/style/moodle.css
Original file line number Diff line number Diff line change
Expand Up @@ -25527,6 +25527,14 @@ a.close.disabled, a.disabled.btn-close {
font-style: italic !important;
}

.rounded-sm {
border-radius: 0.2rem !important;
}

.rounded-lg {
border-radius: 0.3rem !important;
}

/**
* Moodle variables
*
Expand Down

0 comments on commit b01dbc0

Please sign in to comment.