Skip to content

Commit bb37992

Browse files
committed
fix(custom forms): disabled checked states weren't overriding background-image
1 parent daa01aa commit bb37992

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scss/_custom-forms.scss

+4
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,11 @@
136136
.custom-control-input:disabled {
137137
&:checked ~ .custom-control-label::before {
138138
background-color: $custom-control-indicator-checked-disabled-bg;
139+
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
139140
}
140141
&:indeterminate ~ .custom-control-label::before {
141142
background-color: $custom-control-indicator-checked-disabled-bg;
143+
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
142144
}
143145
}
144146
}
@@ -162,6 +164,7 @@
162164
.custom-control-input:disabled {
163165
&:checked ~ .custom-control-label::before {
164166
background-color: $custom-control-indicator-checked-disabled-bg;
167+
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
165168
}
166169
}
167170
}
@@ -205,6 +208,7 @@
205208
.custom-control-input:disabled {
206209
&:checked ~ .custom-control-label::before {
207210
background-color: $custom-control-indicator-checked-disabled-bg;
211+
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
208212
}
209213
}
210214
}

0 commit comments

Comments
 (0)