Commit fad6dda4 authored by Martijn Cuppens's avatar Martijn Cuppens Committed by XhmikosR
Browse files

Deprecate form-control-focus mixin (#28262)

11 merge requests!36532My v4 dev,!34086v4: Fix prevented show event disables modals with fade class from being displayed again,!33729V4 dev,!33086V4 dev,!31901Add opacity utilities,!31513Update icons.md,!30331Removed 'shrink-to-fit' from `viewport` meta,!29732V4 dev,!28937Add *-shadow classes,!28535WIP: Add variable to documentation pages,!28452V4 dev new
Showing with 3 additions and 2 deletions
+3 -2
......@@ -31,7 +31,7 @@
}
// Customize the `:focus` state to imitate native WebKit styles.
@include form-control-focus();
@include form-control-focus($ignore-warning: true);
// Placeholder
&::placeholder {
......
......@@ -10,7 +10,7 @@
//
// Example usage: change the default blue border and shadow to white for better
// contrast against a dark gray background.
@mixin form-control-focus() {
@mixin form-control-focus($ignore-warning: false) {
&:focus {
color: $input-focus-color;
background-color: $input-focus-bg;
......@@ -23,6 +23,7 @@
box-shadow: $input-focus-box-shadow;
}
}
@include deprecate("The `form-control-focus()` mixin", "v4.3.2", "v5", $ignore-warning);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment