Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outline active focus #25145

Merged
merged 2 commits into from
Dec 31, 2017
Merged

Outline active focus #25145

merged 2 commits into from
Dec 31, 2017

Conversation

mdo
Copy link
Member

@mdo mdo commented Dec 30, 2017

Fixes #25135.

  • This matches the default button styles, moving the :focus outline to be only on the :active state when it's truly focused.
  • Also fixes a color contrast issue on the :active state of outline buttons. The color is now contrasting from the $active-background.

See fixes at https://codepen.io/emdeoh/pen/mpmLde?editors=1100.

/cc @mudrz @719media

@mdo mdo merged commit 43c551e into v4-dev Dec 31, 2017
@mdo mdo mentioned this pull request Dec 31, 2017
gijsbotje added a commit to gijsbotje/bootstrap that referenced this pull request Dec 31, 2017
* dist

* Outline active focus (twbs#25145)

* Base the outline button :active color on the background, fixing a contrast issue

* Only apply focus outline to active when it's focused

* Add modal-dialog-centered class to vertically centered modal example.

* removes hardcoded value for nav-link padding

* Apply of twbs#25068 to input group

* dist

* docs: Fix overflow issue in IE. (twbs#25142)

* Allow nested structure for accordions (twbs#25121)

This commit allows nested structures for accordions. Also a part of
the documentation about data-children is removed because this
functionality didn't work and it's not applicable anymore.

Tests with the collapse accordion are also a bit adjusted to the new
situation.
@mdo mdo deleted the outline-active-focus branch May 1, 2018 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant