Skip to content

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.

2 participants