]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix(custom forms): disabled checked states weren't overriding background-image (...
authorGaël Poupard <ffoodd@users.noreply.github.com>
Mon, 15 Jun 2020 05:41:12 +0000 (07:41 +0200)
committerGitHub <noreply@github.com>
Mon, 15 Jun 2020 05:41:12 +0000 (08:41 +0300)
scss/_custom-forms.scss

index 234ec8a3a9f683e99b16104bbf1087576329c79d..0dd4c0826616d78cd892fa3e5d4c8c5ecf25893f 100644 (file)
   .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);
     }
   }
 }
   .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);
     }
   }
 }
   .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);
     }
   }
 }