aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2019-12-13 18:25:32 +0200
committerXhmikosR <[email protected]>2019-12-14 15:47:39 +0200
commitb1b7f8ee7604818d2d2b49483ac09614ecfaee90 (patch)
tree8e358d6e0d3993121f98233f5c2e7dd8e52d41c0
parentdcc2ce35878432f6fd73777751ca8d2a232f34d8 (diff)
downloadbootstrap-b1b7f8ee7604818d2d2b49483ac09614ecfaee90.tar.xz
bootstrap-b1b7f8ee7604818d2d2b49483ac09614ecfaee90.zip
Remove the deprecated `form-control-focus` mixin
-rw-r--r--scss/mixins/_forms.scss28
1 files changed, 0 insertions, 28 deletions
diff --git a/scss/mixins/_forms.scss b/scss/mixins/_forms.scss
index 25da71a7f..769bc3ba9 100644
--- a/scss/mixins/_forms.scss
+++ b/scss/mixins/_forms.scss
@@ -1,31 +1,3 @@
-// Form control focus state
-//
-// Generate a customized focus state and for any input with the specified color,
-// which defaults to the `$input-focus-border-color` variable.
-//
-// We highly encourage you to not customize the default value, but instead use
-// this to tweak colors on an as-needed basis. This aesthetic change is based on
-// WebKit's default styles, but applicable to a wider range of browsers. Its
-// usability and accessibility should be taken into account with any change.
-//
-// Example usage: change the default blue border and shadow to white for better
-// contrast against a dark gray background.
-@mixin form-control-focus($ignore-warning: false) {
- &:focus {
- color: $input-focus-color;
- background-color: $input-focus-bg;
- border-color: $input-focus-border-color;
- outline: 0;
- // Avoid using mixin so we can pass custom focus shadow properly
- @if $enable-shadows {
- box-shadow: $input-box-shadow, $input-focus-box-shadow;
- } @else {
- box-shadow: $input-focus-box-shadow;
- }
- }
- @include deprecate("The `form-control-focus()` mixin", "v4.3.2", "v5", $ignore-warning);
-}
-
// This mixin uses an `if()` technique to be compatible with Dart Sass
// See https://github.com/sass/sass/issues/1873#issuecomment-152293725 for more details
@mixin form-validation-state-selector($state) {