mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
fix(custom forms): disabled checked states weren't overriding background-image (#30922)
This commit is contained in:
parent
c3572ceca9
commit
7b5e48d307
@ -137,9 +137,11 @@
|
|||||||
.custom-control-input:disabled {
|
.custom-control-input:disabled {
|
||||||
&:checked ~ .custom-control-label::before {
|
&:checked ~ .custom-control-label::before {
|
||||||
background-color: $custom-control-indicator-checked-disabled-bg;
|
background-color: $custom-control-indicator-checked-disabled-bg;
|
||||||
|
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
|
||||||
}
|
}
|
||||||
&:indeterminate ~ .custom-control-label::before {
|
&:indeterminate ~ .custom-control-label::before {
|
||||||
background-color: $custom-control-indicator-checked-disabled-bg;
|
background-color: $custom-control-indicator-checked-disabled-bg;
|
||||||
|
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -163,6 +165,7 @@
|
|||||||
.custom-control-input:disabled {
|
.custom-control-input:disabled {
|
||||||
&:checked ~ .custom-control-label::before {
|
&:checked ~ .custom-control-label::before {
|
||||||
background-color: $custom-control-indicator-checked-disabled-bg;
|
background-color: $custom-control-indicator-checked-disabled-bg;
|
||||||
|
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -206,6 +209,7 @@
|
|||||||
.custom-control-input:disabled {
|
.custom-control-input:disabled {
|
||||||
&:checked ~ .custom-control-label::before {
|
&:checked ~ .custom-control-label::before {
|
||||||
background-color: $custom-control-indicator-checked-disabled-bg;
|
background-color: $custom-control-indicator-checked-disabled-bg;
|
||||||
|
@include gradient-bg($custom-control-indicator-checked-disabled-bg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user