MDL-80519 theme_boost: Add backward compatibility for BS4 SCSS

This commit will add a bs4-compat SCSS file with some of the helper classes
that are dropped in BS5. That will help third-party plugins to do the migration.

- Add backward compatibility for .media
- Add backward compatibility for badges
- Add backward compatibility for forms
- Add backward compatibility for cards
- Add backward compatibility for .no-gutters
- Add backward compatibility for spacing
- Add backward compatibility for margins and paddings
- Add backward compatibility for float directions
- Add backward compatibility for border directions
- Add backward compatibility for text directions
- Add backward compatibility for .close
- Add backward compatibility for font utilities
- Add backward compatibility for rounded sizes
- Add backward compatibility for sr-only
- Add backward compatibility for custom controls
- Add backward compatibility for .btn-block
This commit is contained in:
Mikel Martín
2025-02-25 13:13:58 +01:00
parent 7a318d5c85
commit d85a71ffc7
5 changed files with 13729 additions and 0 deletions
@@ -0,0 +1,7 @@
issueNumber: MDL-80519
notes:
theme_boost:
- message: >-
Added new bs4-compat SCSS file (initially deprecated) to help
third-party plugins the migration process from BS4 to BS5
type: deprecated
File diff suppressed because it is too large Load Diff
+3
View File
@@ -46,3 +46,6 @@
@include deprecated-styles();
display: none;
}
// TODO: MDL-84465 Final deprecation in 6.0. Remove this line when the Bootstrap 4 backward compatibility period ends.
@import "bs4-compat";
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff