Skip to content

Commit

Permalink
Merge pull request #1119 from Adslot/fix-inversed-button-focus
Browse files Browse the repository at this point in the history
fix: inversed button focus
  • Loading branch information
vinteo authored Jan 15, 2021
2 parents 70f02e9 + 5630abe commit ab56ac7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/Button/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
border-color: $color-button-success-border;
color: $color-white;

&:focus {
&.btn-inverse &:focus {
background-color: $color-button-success-background;
border-color: $color-button-success-border;
color: $color-white;
Expand All @@ -124,7 +124,7 @@
border-color: $color-button-info-border;
color: $color-white;

&:focus {
&.btn-inverse &:focus {
background-color: $color-button-info-background;
border-color: $color-button-info-border;
color: $color-white;
Expand All @@ -139,7 +139,7 @@
color: $color-white;
cursor: not-allowed;

&:focus {
&.btn-inverse &:focus {
background-color: $color-button-warning-background;
border-color: $color-button-warning-border;
color: $color-white;
Expand All @@ -153,7 +153,7 @@
border-color: $color-button-danger-border;
color: $color-white;

&:focus {
&.btn-inverse &:focus {
background-color: $color-button-danger-background;
border-color: $color-button-danger-border;
color: $color-white;
Expand Down

0 comments on commit ab56ac7

Please sign in to comment.