aboutsummaryrefslogtreecommitdiff
path: root/scss/_button-group.scss
diff options
context:
space:
mode:
authorMartijn Cuppens <[email protected]>2020-06-04 15:59:24 +0200
committerMark Otto <[email protected]>2020-06-15 19:04:19 -0700
commit8b7b234fd1c840a23ac2ca2ba69a3a2a2abf3100 (patch)
tree7aaadebf416a6a281c2c53fdf192e6725ce7be64 /scss/_button-group.scss
parent1a0a0858efa0e1e3c6bebd38058df8ad39ca27a5 (diff)
downloadbootstrap-8b7b234fd1c840a23ac2ca2ba69a3a2a2abf3100.tar.xz
bootstrap-8b7b234fd1c840a23ac2ca2ba69a3a2a2abf3100.zip
Switch to btn-check
Diffstat (limited to 'scss/_button-group.scss')
-rw-r--r--scss/_button-group.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/scss/_button-group.scss b/scss/_button-group.scss
index a2cf7cf27..8be6c0f52 100644
--- a/scss/_button-group.scss
+++ b/scss/_button-group.scss
@@ -14,8 +14,8 @@
// Bring the hover, focused, and "active" buttons to the front to overlay
// the borders properly
- > .btn-toggle:checked + .btn,
- > .btn-toggle:focus + .btn,
+ > .btn-check:checked + .btn,
+ > .btn-check:focus + .btn,
> .btn:hover,
> .btn:focus,
> .btn:active,
@@ -51,7 +51,7 @@
// - Target second buttons which are not part of toggle buttons
// - Target third or more child
// - Target buttons in a button group
- > :not(.btn-toggle) + .btn,
+ > :not(.btn-check) + .btn,
> .btn:nth-child(n + 3),
> .btn-group:not(:first-child) > .btn {
@include border-left-radius(0);