diff --git a/build/scss/plugins/_icheck-bootstrap.scss b/build/scss/plugins/_icheck-bootstrap.scss index 427a53d5b..2a5f49bd5 100644 --- a/build/scss/plugins/_icheck-bootstrap.scss +++ b/build/scss/plugins/_icheck-bootstrap.scss @@ -9,6 +9,11 @@ border-color: #{$color}; } + .icheck-#{$name} > input:first-child:not(:checked):not(:disabled):focus + label::before, + .icheck-#{$name} > input:first-child:not(:checked):not(:disabled):focus + input[type="hidden"] + label::before { + border-color: #{$color}; + } + .icheck-#{$name} > input:first-child:checked + label::before, .icheck-#{$name} > input:first-child:checked + input[type="hidden"] + label::before { background-color: #{$color}; @@ -23,6 +28,11 @@ border-color: #{$color}; } + .icheck-#{$name} > input:first-child:not(:checked):not(:disabled):focus + label::before, + .icheck-#{$name} > input:first-child:not(:checked):not(:disabled):focus + input[type="hidden"] + label::before { + border-color: #{$color}; + } + .icheck-#{$name} > input:first-child:checked + label::before, .icheck-#{$name} > input:first-child:checked + input[type="hidden"] + label::before { background-color: #{$color};