diff options
| author | Patrick H. Lauke <[email protected]> | 2022-09-04 17:59:14 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-09-04 09:59:14 -0700 |
| commit | 32c457db4b6ff389efbd35772b24746c7ffb0b6d (patch) | |
| tree | 55e7b5761f619d7456c8902230e4bd1f4d85a602 /dist/css | |
| parent | b8880e5eec6bb4f33578578ba2413f0d91424382 (diff) | |
| download | bootstrap-32c457db4b6ff389efbd35772b24746c7ffb0b6d.tar.xz bootstrap-32c457db4b6ff389efbd35772b24746c7ffb0b6d.zip | |
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 <[email protected]>
Diffstat (limited to 'dist/css')
0 files changed, 0 insertions, 0 deletions
