Skip to content

Commit

Permalink
fix(custom forms): disabled checked states weren't overriding backgro…
Browse files Browse the repository at this point in the history
…und-image (#30922)
  • Loading branch information
ffoodd committed Jun 15, 2020
1 parent c3572ce commit 7b5e48d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scss/_custom-forms.scss
Expand Up @@ -137,9 +137,11 @@
.custom-control-input:disabled {
&:checked ~ .custom-control-label::before {
background-color: $custom-control-indicator-checked-disabled-bg;
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
}
&:indeterminate ~ .custom-control-label::before {
background-color: $custom-control-indicator-checked-disabled-bg;
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
}
}
}
Expand All @@ -163,6 +165,7 @@
.custom-control-input:disabled {
&:checked ~ .custom-control-label::before {
background-color: $custom-control-indicator-checked-disabled-bg;
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
}
}
}
Expand Down Expand Up @@ -206,6 +209,7 @@
.custom-control-input:disabled {
&:checked ~ .custom-control-label::before {
background-color: $custom-control-indicator-checked-disabled-bg;
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
}
}
}
Expand Down

0 comments on commit 7b5e48d

Please sign in to comment.