Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
fad6dda4
Commit
fad6dda4
authored
6 years ago
by
Martijn Cuppens
Committed by
XhmikosR
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Deprecate form-control-focus mixin (#28262)
parent
60ba89b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scss/_forms.scss
+1
-1
scss/_forms.scss
scss/mixins/_forms.scss
+2
-1
scss/mixins/_forms.scss
with
3 additions
and
2 deletions
+3
-2
scss/_forms.scss
+
1
-
1
View file @
fad6dda4
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
}
}
// Customize the `:focus` state to imitate native WebKit styles.
// Customize the `:focus` state to imitate native WebKit styles.
@include
form-control-focus
();
@include
form-control-focus
(
$ignore-warning
:
true
);
// Placeholder
// Placeholder
&
::placeholder
{
&
::placeholder
{
...
...
This diff is collapsed.
Click to expand it.
scss/mixins/_forms.scss
+
2
-
1
View file @
fad6dda4
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
//
//
// Example usage: change the default blue border and shadow to white for better
// Example usage: change the default blue border and shadow to white for better
// contrast against a dark gray background.
// contrast against a dark gray background.
@mixin
form-control-focus
()
{
@mixin
form-control-focus
(
$ignore-warning
:
false
)
{
&
:focus
{
&
:focus
{
color
:
$input-focus-color
;
color
:
$input-focus-color
;
background-color
:
$input-focus-bg
;
background-color
:
$input-focus-bg
;
...
@@ -23,6 +23,7 @@
...
@@ -23,6 +23,7 @@
box-shadow
:
$input-focus-box-shadow
;
box-shadow
:
$input-focus-box-shadow
;
}
}
}
}
@include
deprecate
(
"The `form-control-focus()` mixin"
,
"v4.3.2"
,
"v5"
,
$ignore-warning
);
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets