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
  • Loading branch information
ffoodd committed May 29, 2020
1 parent daa01aa commit bb37992
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scss/_custom-forms.scss
Expand Up @@ -136,9 +136,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 @@ -162,6 +164,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 @@ -205,6 +208,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 bb37992

Please sign in to comment.