Repository navigation
Conversation
Bootstrap 3 and jQuery 1.9 are end-of-life and jQuery 1.9 has known XSS vulnerabilities. Bootstrap 5.3 also ships a built-in dark mode, which is a prerequisite for Codeception#569. - Load Bootstrap 5.3.9, Bootstrap Icons 1.13.2 and jQuery 3.8.0 with SRI - Rewrite the navbar, dropdowns, carousels and phar accordion for BS5 - Shift grid classes one breakpoint up (sm->md, md->lg, lg->xl) so layouts switch at the same widths as before - Replace panels/wells with cards, glyphicons with Bootstrap Icons - Rename the add-ons page .card to .addon-card to avoid clashing with Bootstrap's .card - Add _base.scss to keep Bootstrap 3 typography, gutters and container widths, so the site looks the same - Keep .btn-default as a site-specific button style so generated module docs need no changes
Bootstrap 5 cards are flex containers, which stretched the install page requirements box and wrapped the QuickStart button below its text.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bootstrap 3 has been end-of-life since 2019, and jQuery 1.9.1 has known XSS vulnerabilities. Bootstrap 5.3 also has built-in dark mode, which is the groundwork for #569.
Changes
:eq(), which jQuery 4 removed.sm→md,md→lg,lg→xl) so layouts change at the same widths as before._scss/_base.scsskeeps Bootstrap 3's typography, gutters, container widths and well styling..cardis now.addon-card, to avoid clashing with Bootstrap's.card..btn-defaultis kept as a site-specific button style, soRoboFile.phpand the generated module docs don't need changes.Visible differences
d-none d-lg-blockclasses only take effect in Bootstrap 5.Follow-up steps
data-bs-theme, a dark palette for the custom styles, a dark syntax-highlighting theme, and a navbar toggle for light, dark or follow the system setting.js/scripts.js(about 280 lines) in plain JavaScript.🤖 Generated with Claude Code