twbs--bootstrap/scss
Mark Otto 195440f2fb
v5.2.0 design refresh, plus responsive offcanvas classes (#35736)
* Add responsive offcanvas classes

- Updates navbar-expand classes to de-dupe some styles—these shouldn't interfere now.
- Adds some JS to the offcanvas component to help with responsiveness

Co-Authored-By: GeoSot <geo.sotis@gmail.com>

* Redesign homepage, docs, and examples

Homepage:

- New Bootstrap purple navbar
- Redesigned masthead
- Rewrote and redesigned homepage content
- Replace Copy text with icons like Bootstrap Icons site across all ClipboardJS instances
- Fixed padding issues in site footer
- Match homepage button styles to examples page, use gap instead of tons of responsive margin utils

Docs:

- New navbar, no more subnav. Migrated search and version picker into the main navbar and refreshed the design of it all, including the responsive toggles.
- New sidebar navigation is always expanded, and now features Bootstrap Icons alongside section headings
- Sidebar navigation autoscrolls to active link for better usability
- Subnav and navbar padding issues ironed out
- Enhanced the version picker in anticipation of v5.2: we can now link right to the same page in the previous version.
- Redesign callouts to add more color to our pages
- Collapse table of contents on mobile
- Cleanup and redesign button styles with CSS variables
- Update design for subnav version dropdown
- Update highlight and example to be full-width until md
- Improve the Added In badges
- Turn the ToC into a well on mobile
- Redesign code snippets to better house two action buttons

Examples:

- Redesign Examples page layout
- Add new example for responsive offcanvases in navbars

* Convert offcanvas to CSS vars

* Feat: add resize handler to Offcanvas.js.

If we could use as default the `.offcanvas` class without modifiers, we then, could add a simplified selector
The selector itself, ignores the .offcanvas class as it doesn't have any responsive behavior
The `aria-modal` addon is to protect us, selection backdrop elements

* Separate examples code, Add some selectors, fix stackblitz btn

Co-authored-by: GeoSot <geo.sotis@gmail.com>
2022-04-17 22:17:50 -07:00
..
forms Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981) 2022-03-13 10:13:09 -07:00
helpers Update devDependencies (#36120) 2022-04-08 09:17:00 +03:00
mixins Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981) 2022-03-13 10:13:09 -07:00
utilities Utility API, RFS option: Only generate responsive classes when needed (#32397) 2020-12-09 23:49:21 +02:00
vendor Update rfs to v9.0.4. 2021-06-22 20:11:39 +03:00
_accordion.scss Add CSS vars for accordions (#36148) 2022-04-11 15:33:18 -07:00
_alert.scss Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981) 2022-03-13 10:13:09 -07:00
_badge.scss Adding @include everytime it's not the case 2022-03-31 14:41:02 -07:00
_breadcrumb.scss Adding @include everytime it's not the case 2022-03-31 14:41:02 -07:00
_button-group.scss Fix proposal 2022-04-12 18:36:50 -07:00
_buttons.scss Adding @include everytime it's not the case 2022-03-31 14:41:02 -07:00
_card.scss Train PR: CSS variables for accordion, cards, navs, and modals (#36071) 2022-03-28 15:05:37 -07:00
_carousel.scss Replace `/` division with multiplication and custom `divide()` function (#34245) 2021-06-14 09:35:30 -07:00
_close.scss Update _close.scss 2021-11-25 13:56:32 -10:00
_containers.scss Separate container classes from `$enable-grid-classes` option (#35005) 2021-10-05 19:46:33 +03:00
_dropdown.scss Fixes #36016: Update .dropdown-item padding 2022-03-17 13:39:17 -07:00
_forms.scss Drop custom file upload plugin in favor of CSS 2020-10-28 18:29:28 +01:00
_functions.scss Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981) 2022-03-13 10:13:09 -07:00
_grid.scss Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981) 2022-03-13 10:13:09 -07:00
_helpers.scss Split .vr from stacks as a new helper 2021-07-16 15:11:40 -07:00
_images.scss Replace `/` division with multiplication and custom `divide()` function (#34245) 2021-06-14 09:35:30 -07:00
_list-group.scss Minor fixes 2022-04-16 10:06:13 -07:00
_maps.scss Convert border utilities to CSS variables 2022-02-28 11:40:32 -08:00
_mixins.scss Variablize backdrop for modal and offcanvas 2021-06-25 13:41:15 -07:00
_modal.scss Changing the CSS var management 2022-04-12 18:25:04 -07:00
_nav.scss Train PR: CSS variables for accordion, cards, navs, and modals (#36071) 2022-03-28 15:05:37 -07:00
_navbar.scss v5.2.0 design refresh, plus responsive offcanvas classes (#35736) 2022-04-17 22:17:50 -07:00
_offcanvas.scss v5.2.0 design refresh, plus responsive offcanvas classes (#35736) 2022-04-17 22:17:50 -07:00
_pagination.scss Adding @include everytime it's not the case 2022-03-31 14:41:02 -07:00
_placeholders.scss Update devDependencies (#36120) 2022-04-08 09:17:00 +03:00
_popover.scss Minor fixes 2022-04-16 10:06:13 -07:00
_progress.scss Convert progress bars to CSS variables (#35962) 2022-03-18 09:02:03 -07:00
_reboot.scss Bring back webkit calendar picker indicator for datalists (#35406) 2022-04-06 10:37:54 -07:00
_root.scss Fix duplicate border radius CSS var definition 2022-03-31 14:12:14 -07:00
_spinners.scss v5.2.0 design refresh, plus responsive offcanvas classes (#35736) 2022-04-17 22:17:50 -07:00
_tables.scss Add additional root variables, rename `$variable-prefix` to `$prefix` (#35981) 2022-03-13 10:13:09 -07:00
_toasts.scss Improve use of CSS vars in Toasts 2022-04-11 15:36:10 -07:00
_tooltip.scss Remove tooltip and popover styling as it is handled by Popper (#34627) 2022-04-12 18:16:18 -07:00
_transitions.scss Add horizontal collapse support 2021-07-05 17:22:29 -10:00
_type.scss v5: Redo blockquote attributions (#30814) 2020-06-12 14:26:37 -07:00
_utilities.scss Revert border-color utilities to use the CSS property instead of the variable 2022-04-07 09:37:04 -07:00
_variables.scss Add black to colors map 2022-04-12 20:49:36 -07:00
bootstrap-grid.scss Bump copyright year to 2022 (#35639) 2022-01-03 15:03:42 +02:00
bootstrap-reboot.scss Bump copyright year to 2022 (#35639) 2022-01-03 15:03:42 +02:00
bootstrap-utilities.scss Bump copyright year to 2022 (#35639) 2022-01-03 15:03:42 +02:00
bootstrap.scss Bump copyright year to 2022 (#35639) 2022-01-03 15:03:42 +02:00