twbs--bootstrap/scss
Patrick H. Lauke 96be06e32b
Dynamic tabs: use buttons rather than links (#32630)
* Dynamic tabs: use buttons rather than links

- change docs
- add mention that tabs should be <button> elements
- tweak styles to neutralise border and background

* Update js unit and visual test accordingly

- replace links with buttons
- make one specific test that uses links instead of buttons, as we still want to support it despite it being non-semantically appropriate
- Leaving a couple of tests for now. The test for removed tabs should be redone so that tabs are removed programmatically (as the approach of having that close button inside the link is invalid and broken markup). The test for dropdowns should be removed together we actually ripping out the handling for dropdowns in the tab.js code (arguably a breaking change, though we discouraged this for a few versions and effectively "deprecated" it)

* Add isolation:isolate to prevent focus being overlapped

https://github.com/twbs/bootstrap/pull/32630#issuecomment-756015766
2021-02-09 07:23:45 +02:00
..
forms
helpers
mixins Update docs for color and bg utilities 2021-02-03 07:15:49 +02:00
utilities
vendor
_accordion.scss fix(accordion): ensure .accordion-button stays left-aligned (#32951) 2021-02-03 21:44:48 +02:00
_alert.scss
_badge.scss
_breadcrumb.scss
_button-group.scss
_buttons.scss
_card.scss
_carousel.scss
_close.scss
_containers.scss
_dropdown.scss Remove the initial margin from dropdown/popover in favor of Popper (#32524) 2021-02-03 21:37:25 +02:00
_forms.scss
_functions.scss
_grid.scss
_helpers.scss
_images.scss
_list-group.scss
_mixins.scss
_modal.scss
_nav.scss Dynamic tabs: use buttons rather than links (#32630) 2021-02-09 07:23:45 +02:00
_navbar.scss fix(navbar): hardcoded custom property (#32930) 2021-02-03 21:42:24 +02:00
_pagination.scss
_popover.scss Remove the initial margin from dropdown/popover in favor of Popper (#32524) 2021-02-03 21:37:25 +02:00
_progress.scss
_reboot.scss
_root.scss
_spinners.scss
_tables.scss
_toasts.scss
_tooltip.scss
_transitions.scss
_type.scss
_utilities.scss Update docs for color and bg utilities 2021-02-03 07:15:49 +02:00
_variables.scss Update docs for color and bg utilities 2021-02-03 07:15:49 +02:00
bootstrap-grid.scss
bootstrap-reboot.scss
bootstrap-utilities.scss
bootstrap.scss