diff options
| author | Mark Otto <[email protected]> | 2015-08-22 19:06:03 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2015-08-22 19:06:03 -0700 |
| commit | 2638b10d28287fbb8bfccf320119ee06befdb6bd (patch) | |
| tree | 882233283041f13f505368d4a59bfe257d80007e | |
| parent | 1f153b640de55a4fff1aca3cf7331e9b7e3a408f (diff) | |
| parent | 5bb03b794d121f2cfdaabf2de2841fe5e819b0b1 (diff) | |
| download | bootstrap-2638b10d28287fbb8bfccf320119ee06befdb6bd.tar.xz bootstrap-2638b10d28287fbb8bfccf320119ee06befdb6bd.zip | |
Merge branch 'v4-dev' of https://github.com/twbs/bootstrap into v4-dev
| -rw-r--r-- | scss/_custom-forms.scss | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/scss/_custom-forms.scss b/scss/_custom-forms.scss index ec211acaa..bc36013e9 100644 --- a/scss/_custom-forms.scss +++ b/scss/_custom-forms.scss @@ -19,16 +19,17 @@ z-index: -1; // Put the input behind the label so it doesn't overlay text opacity: 0; - &:focus ~ .c-indicator { - @include box-shadow(0 0 0 .075rem #fff, 0 0 0 .2rem #0074d9); - } - &:checked ~ .c-indicator { color: #fff; background-color: #0074d9; @include box-shadow(none); } + &:focus ~ .c-indicator { + // the mixin is not used here to make sure there is feedback + box-shadow: 0 0 0 .075rem #fff, 0 0 0 .2rem #0074d9; + } + &:active ~ .c-indicator { color: #fff; background-color: #84c6ff; |
