1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-07-31 02:40:26 +02:00

Fix focus box-shadow for validation stated form-controls (#38719)

Co-authored-by: Dmitry Karpunin <ext-dmitriy.karpunin@sbermarket.ru>
This commit is contained in:
Dmitry Karpunin
2023-12-09 11:34:21 +03:00
committed by GitHub
parent a1bae2e784
commit 56d80ea53c

View File

@@ -69,7 +69,12 @@
&:focus {
border-color: $border-color;
box-shadow: $focus-box-shadow;
@if $enable-shadows {
@include box-shadow($input-box-shadow, $focus-box-shadow);
} @else {
// Avoid using mixin so we can pass custom focus shadow properly
box-shadow: $focus-box-shadow;
}
}
}
}
@@ -100,7 +105,12 @@
&:focus {
border-color: $border-color;
box-shadow: $focus-box-shadow;
@if $enable-shadows {
@include box-shadow($form-select-box-shadow, $focus-box-shadow);
} @else {
// Avoid using mixin so we can pass custom focus shadow properly
box-shadow: $focus-box-shadow;
}
}
}
}