[TASK] Use bootstrap badges instead of labels
The "label" class was removed in bootstrap 5 and replaced through "badge". The "label" class was kept in place for a while to keep the compatibility as high as possible, but it's time to move on. Since bootstrap 5 also dropped support for severities on certain components, we are adding them again for the badge to keep the convenience as high as possible and avoid promoting the "utility css" approach that was introduced with these decisions as we try to keep markup changes as low as possible. This patch also reverts the SCSS includes back to relative paths. While it is possible to define additional lookup paths for the parser, so you can have shorter includes - it comes at a cost. The included sources are opaque to the user and the IDE, this means there is no support for auto-completion, quick navigation through included files and can lead to unintended overrides by the user. Resolves: #97291 Releases: main Change-Id: I9007af705a90db567353379146df1d76b2366a62 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74163 Tested-by:core-ci <typo3@b13.com> Tested-by:
Georg Ringer <georg.ringer@gmail.com> Tested-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Benjamin Franzke <bfr@qbus.de> Reviewed-by:
Georg Ringer <georg.ringer@gmail.com> Reviewed-by:
Benni Mack <benni@typo3.org>
Showing
- .stylelintrc 0 additions, 13 deletions.stylelintrc
- Build/Gruntfile.js 1 addition, 6 deletionsBuild/Gruntfile.js
- Build/Sources/Sass/_legacy.scss 0 additions, 65 deletionsBuild/Sources/Sass/_legacy.scss
- Build/Sources/Sass/_minimal.scss 39 additions, 39 deletionsBuild/Sources/Sass/_minimal.scss
- Build/Sources/Sass/adminpanel.scss 2 additions, 2 deletionsBuild/Sources/Sass/adminpanel.scss
- Build/Sources/Sass/backend.scss 28 additions, 29 deletionsBuild/Sources/Sass/backend.scss
- Build/Sources/Sass/module/_install.scss 9 additions, 9 deletionsBuild/Sources/Sass/module/_install.scss
- Build/Sources/Sass/typo3/_element_badges.scss 93 additions, 8 deletionsBuild/Sources/Sass/typo3/_element_badges.scss
- Build/Sources/Sass/typo3/_element_label.scss 0 additions, 58 deletionsBuild/Sources/Sass/typo3/_element_label.scss
- Build/Sources/Sass/typo3/_element_tceforms.scss 0 additions, 2 deletionsBuild/Sources/Sass/typo3/_element_tceforms.scss
- Build/Sources/TypeScript/backend/form-engine.ts 4 additions, 4 deletionsBuild/Sources/TypeScript/backend/form-engine.ts
- Build/Sources/TypeScript/backend/form-engine/element/mfa-info-element.ts 2 additions, 2 deletions...ypeScript/backend/form-engine/element/mfa-info-element.ts
- Build/Sources/TypeScript/backend/online-media.ts 1 addition, 1 deletionBuild/Sources/TypeScript/backend/online-media.ts
- Build/Sources/TypeScript/install/module/environment/environment-check.ts 2 additions, 2 deletions...ypeScript/install/module/environment/environment-check.ts
- Build/Sources/TypeScript/install/module/upgrade/upgrade-docs.ts 1 addition, 1 deletion...Sources/TypeScript/install/module/upgrade/upgrade-docs.ts
- Build/Sources/TypeScript/workspaces/backend.ts 3 additions, 3 deletionsBuild/Sources/TypeScript/workspaces/backend.ts
- typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php 1 addition, 1 deletion...backend/Classes/Form/Container/InlineControlContainer.php
- typo3/sysext/backend/Classes/Form/Container/InlineRecordContainer.php 1 addition, 1 deletion.../backend/Classes/Form/Container/InlineRecordContainer.php
- typo3/sysext/backend/Classes/Form/Element/FileInfoElement.php 1 addition, 1 deletion...3/sysext/backend/Classes/Form/Element/FileInfoElement.php
- typo3/sysext/backend/Classes/Form/Element/MfaInfoElement.php 4 additions, 4 deletionstypo3/sysext/backend/Classes/Form/Element/MfaInfoElement.php
Please register or sign in to comment