bootstrap/scss
Patrick H. Lauke 32c457db4b
Rework button focus/active styling, with extra changes for checks/radios (#37026)
* Replace :focus styles with :focus-visible

* Remove :active / .active styles

* Don't apply :hover styles for `.btn` that follows a `.btn-check`

This removes a large part of the visual confusion of button checks/radios - that you currently have to move your mouse away from them to see what they actually changed to (checked or unchecked)

* Reintroduce :active, but *not* for button checks/radios

* Sort focus styling specifically for button checks/radios

don't change background on focus, just give it the border/outline. again, avoids confusion whether something is checked or not while focused

* Re-add `outline:0` which was lost when resolving last merge conflict

Co-authored-by: Mark Otto <markd.otto@gmail.com>
2022-09-04 09:59:14 -07:00
..
forms Fix input group z-index focus + validation 2022-08-31 18:17:41 -07:00
helpers CSS: few proposals (#36406) 2022-05-20 10:28:31 -07:00
mixins Fix input group z-index focus + validation 2022-08-31 18:17:41 -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 workarounds for postcss values parser error 2022-09-04 09:45:40 -07:00
_alert.scss fix alert border radius 2022-05-30 09:26:41 -07:00
_badge.scss Fix tooltip/badge border radius when rounded disabled 2022-06-29 13:41:33 -07:00
_breadcrumb.scss Stylelint: Disable custom-property-empty-line-before 2022-05-22 19:58:14 -07:00
_button-group.scss Fix proposal 2022-04-12 18:36:50 -07:00
_buttons.scss Rework button focus/active styling, with extra changes for checks/radios (#37026) 2022-09-04 09:59:14 -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 Adding missing CSS variables for z-index 2022-08-31 18:04:09 -07:00
_forms.scss Drop custom file upload plugin in favor of CSS 2020-10-28 18:29:28 +01:00
_functions.scss Update an outdated name mentioned in a Sass comment 2022-08-10 21:23:41 +02:00
_grid.scss Add additional root variables, rename $variable-prefix to $prefix (#35981) 2022-03-13 10:13:09 -07:00
_helpers.scss Add new text-bg-color utilities 2022-04-30 12:55:27 -07:00
_images.scss Replace / division with multiplication and custom divide() function (#34245) 2021-06-14 09:35:30 -07:00
_list-group.scss Add workarounds for postcss values parser error 2022-09-04 09:45:40 -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 Add workarounds for postcss values parser error 2022-09-04 09:45:40 -07:00
_nav.scss Add workarounds for postcss values parser error 2022-09-04 09:45:40 -07:00
_navbar.scss More consistency for CSS/Sass vars doc for components with dark variants 2022-08-31 18:15:11 -07:00
_offcanvas.scss Add workarounds for postcss values parser error 2022-09-04 09:45:40 -07:00
_pagination.scss Fix pagination page items border radius 2022-07-25 16:00:47 -06:00
_placeholders.scss Update devDependencies (#36120) 2022-04-08 09:17:00 +03:00
_popover.scss Add workarounds for postcss values parser error 2022-09-04 09:45:40 -07:00
_progress.scss Stylelint: Disable custom-property-empty-line-before 2022-05-22 19:58:14 -07:00
_reboot.scss Remove headings-color CSS variable due to backward compatibility issues 2022-07-11 00:56:26 -07:00
_root.scss Remove headings-color CSS variable due to backward compatibility issues 2022-07-11 00:56:26 -07:00
_spinners.scss v5.2.0 design refresh, plus responsive offcanvas classes (#35736) 2022-04-17 22:17:50 -07:00
_tables.scss Update Sass for computing .table-group-divider border (#36446) 2022-05-26 14:23:54 -07:00
_toasts.scss Add workarounds for postcss values parser error 2022-09-04 09:45:40 -07:00
_tooltip.scss Fix tooltip/badge border radius when rounded disabled 2022-06-29 13:41:33 -07:00
_transitions.scss Add horizontal collapse support 2021-07-05 17:22:29 -10:00
_type.scss Add $display-font-family and $display-font-style (#36711) 2022-07-11 23:16:33 +02:00
_utilities.scss Iterate on border utilities (#36239) 2022-05-05 21:32:02 -07:00
_variables.scss More consistency for CSS/Sass vars doc for components with dark variants 2022-08-31 18:15:11 -07:00
bootstrap-grid.scss Add a banner mixin, helping future releases and maintenance (#36178) 2022-07-11 16:36:12 -07:00
bootstrap-reboot.scss Add a banner mixin, helping future releases and maintenance (#36178) 2022-07-11 16:36:12 -07:00
bootstrap-utilities.scss Add a banner mixin, helping future releases and maintenance (#36178) 2022-07-11 16:36:12 -07:00
bootstrap.scss Add a banner mixin, helping future releases and maintenance (#36178) 2022-07-11 16:36:12 -07:00