From 5fceda1ba86361c8df7e7bab7608bee921eaf6cf Mon Sep 17 00:00:00 2001 From: REJack Date: Thu, 8 Aug 2019 13:55:09 +0200 Subject: [PATCH] fixed icheck-bootstrap focus --- build/scss/plugins/_icheck-bootstrap.scss | 10 ++++++++++ 1 file changed, 10 insertions(+) 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};