]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
#27502: Prevent active state border change
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Wed, 24 Oct 2018 16:55:53 +0000 (18:55 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 30 Oct 2018 07:06:25 +0000 (09:06 +0200)
scss/_custom-forms.scss

index 23e50ba3e3b45884267d724adbeadf42e19b7df9..ce32774b12931ea2ddd06a718b61d4cf8d59b1bf 100644 (file)
@@ -44,7 +44,7 @@
     border-color: $custom-control-indicator-focus-border-color;
   }
 
-  &:active ~ .custom-control-label::before {
+  &:not(:disabled):active ~ .custom-control-label::before {
     color: $custom-control-indicator-active-color;
     background-color: $custom-control-indicator-active-bg;
     border-color: $custom-control-indicator-active-border-color;