Skip to content

Commit

Permalink
fix(button-group): missing dark background cases
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Oct 29, 2019
1 parent fd8100e commit 5aa6a51
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions scss/_button-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -162,24 +162,38 @@
&:focus,
&.focus {
color: theme-color("primary");
background-color: $white;
background-color: transparent;
border-color: $gray-500;
}

&:active {
color: $white;
background-color: theme-color("primary");
}

// stylelint-disable selector-max-class
&:not(:disabled):not(.disabled).active {
background-color: $black;
border-color: $black;
// stylelint-disable-next-line selector-max-class
&:focus,
&.focus {
background-color: theme-color("primary");
border-color: theme-color("primary");
}
}

&.btn-inverse:not(:disabled):not(.disabled).active {
color: $black;
background-color: $white;
border-color: $white;
&:focus,
&.focus {
color: $white;
background-color: $orange-2;
border-color: $orange-2;
}
}
// stylelint-enable selector-max-class
// end mod

[type="radio"],
Expand Down

0 comments on commit 5aa6a51

Please sign in to comment.