Skip to content

Commit

Permalink
MDL-80519 theme: Add backward compatibility for font utilities
Browse files Browse the repository at this point in the history
  • Loading branch information
roland04 committed Nov 5, 2024
1 parent 540edd0 commit f421e70
Show file tree
Hide file tree
Showing 3 changed files with 444 additions and 370 deletions.
24 changes: 24 additions & 0 deletions theme/boost/scss/moodle/bs4-compat.scss
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ $card-deck-margin: 30px * .5 !default;
//
// '.close'
//

.close {
float: right;
@include font-size($close-font-size);
Expand Down Expand Up @@ -353,3 +354,26 @@ button.close {
a.close.disabled {
pointer-events: none;
}

//
// Font utilities
//

.font-weight-light {
font-weight: $font-weight-light !important;
}
.font-weight-lighter {
font-weight: $font-weight-lighter !important;
}
.font-weight-normal {
font-weight: $font-weight-normal !important;
}
.font-weight-bold {
font-weight: $font-weight-bold !important;
}
.font-weight-bolder {
font-weight: $font-weight-bolder !important;
}
.font-italic {
font-style: italic !important;
}
Loading

0 comments on commit f421e70

Please sign in to comment.