1441 |
ariadna |
1 |
# theme_boost Upgrade notes
|
|
|
2 |
|
|
|
3 |
## 5.0.2+
|
|
|
4 |
|
|
|
5 |
### Added
|
|
|
6 |
|
|
|
7 |
- Tables affected by unwanted styling (e.g., borders) from the reset of Bootstrap _reboot.scss styles can now opt out and preserve the original behavior by adding the styleless .table-reboot class.
|
|
|
8 |
|
|
|
9 |
For more information see [MDL-86548](https://tracker.moodle.org/browse/MDL-86548)
|
|
|
10 |
|
|
|
11 |
## 5.0
|
|
|
12 |
|
|
|
13 |
### Changed
|
|
|
14 |
|
|
|
15 |
- From now on, themes can customise the activity icon colours using simple CSS variables. The new variables are $activity-icon-administration-bg, $activity-icon-assessment-bg, $activity-icon-collaboration-bg, $activity-icon-communication-bg, $activity-icon-content-bg, $activity-icon-interactivecontent-bg. All previous `$activity-icon-*-filter` elements can be removed, as they are no longer in use.
|
|
|
16 |
|
|
|
17 |
For more information see [MDL-83725](https://tracker.moodle.org/browse/MDL-83725)
|
|
|
18 |
|
|
|
19 |
### Deprecated
|
|
|
20 |
|
|
|
21 |
- Added new bs4-compat SCSS file (initially deprecated) to help third-party plugins the migration process from BS4 to BS5
|
|
|
22 |
|
|
|
23 |
For more information see [MDL-80519](https://tracker.moodle.org/browse/MDL-80519)
|
|
|
24 |
- New `theme_boost/bs4-compat` JS module added (directly deprecated) to allow third-party-plugins to directly convert old Bootstrap 4 data attribute syntax to the new Bootstrap 5
|
|
|
25 |
|
|
|
26 |
For more information see [MDL-84450](https://tracker.moodle.org/browse/MDL-84450)
|
|
|
27 |
|
|
|
28 |
### Removed
|
|
|
29 |
|
|
|
30 |
- Remove SCSS deprecated in 4.4
|
|
|
31 |
|
|
|
32 |
For more information see [MDL-80156](https://tracker.moodle.org/browse/MDL-80156)
|
|
|
33 |
- Remove chat and survey styles. Important note: the styles have been moved to the plugins as CSS files (and not SCSS) so themes might now need to override the mod_chat and mod_survey styles specifically as css does not have any definition for primary, gray and other colors accessible in the original scss version.
|
|
|
34 |
|
|
|
35 |
For more information see [MDL-82457](https://tracker.moodle.org/browse/MDL-82457)
|
|
|
36 |
|
|
|
37 |
## 4.5
|
|
|
38 |
|
|
|
39 |
### Added
|
|
|
40 |
|
|
|
41 |
- Bridged `theme-color-level` using a new `shift-color` function to prepare for its deprecation in Boostrap 5.
|
|
|
42 |
|
|
|
43 |
For more information see [MDL-81816](https://tracker.moodle.org/browse/MDL-81816)
|
|
|
44 |
- Upon upgrading Font Awesome from version 4 to 6, the solid family was selected by default.
|
|
|
45 |
|
|
|
46 |
Support for the `regular`, and `brands` families of icons has now been added, allowing icons defined with `\core\outut\icon_system::FONTAWESOME` to use them.
|
|
|
47 |
|
|
|
48 |
Icons can select the FontAwesome family (`fa-regular`, `fa-brands`, `fa-solid`) by using the relevant class name when display the icon.
|
|
|
49 |
|
|
|
50 |
For more information see [MDL-82210](https://tracker.moodle.org/browse/MDL-82210)
|
|
|
51 |
|
|
|
52 |
### Changed
|
|
|
53 |
|
|
|
54 |
- The Bootstrap `.no-gutters` class is no longer used, use `.g-0` instead.
|
|
|
55 |
|
|
|
56 |
For more information see [MDL-81818](https://tracker.moodle.org/browse/MDL-81818)
|
|
|
57 |
- The `.page-header-headings` CSS class now has a background colour applied to the maintenance and secure layouts.
|
|
|
58 |
You may need to override this class in your maintenance and secure layouts if both of the following are true:
|
|
|
59 |
- Your theme plugin inherits from `theme_boost` and uses this CSS class
|
|
|
60 |
- Your theme plugin applies a different styling for the page header for the maintenance and secure layouts.
|
|
|
61 |
|
|
|
62 |
For more information see [MDL-83047](https://tracker.moodle.org/browse/MDL-83047)
|