Skip to content
GitLab
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
90d4343f
Commit
90d4343f
authored
11 years ago
by
Mark Otto
Browse files
Options
Download
Email Patches
Plain Diff
Fixes
#8093
: Removes invalid focus styles on inputs
parent
4db90244
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/assets/css/bootstrap.css
+0
-15
docs/assets/css/bootstrap.css
less/forms.less
+0
-14
less/forms.less
with
0 additions
and
29 deletions
+0
-29
docs/assets/css/bootstrap.css
+
0
-
15
View file @
90d4343f
...
...
@@ -1610,21 +1610,6 @@ fieldset[disabled] input[type="checkbox"] {
border-color
:
#468847
;
}
input
:focus:invalid
,
textarea
:focus:invalid
,
select
:focus:invalid
{
color
:
#b94a48
;
border-color
:
#ee5f5b
;
}
input
:focus:invalid:focus
,
textarea
:focus:invalid:focus
,
select
:focus:invalid:focus
{
border-color
:
#e9322d
;
-webkit-box-shadow
:
0
0
6px
#f8b9b7
;
box-shadow
:
0
0
6px
#f8b9b7
;
}
.help-block
{
display
:
block
;
margin-top
:
5px
;
...
...
This diff is collapsed.
Click to expand it.
less/forms.less
+
0
-
14
View file @
90d4343f
...
...
@@ -287,20 +287,6 @@ input[type="checkbox"] {
.form-field-validation(@state-success-text, @state-success-text, @state-success-bg);
}
// HTML5 invalid states
// Shares styles with the .control-group.error above
input:focus:invalid,
textarea:focus:invalid,
select:focus:invalid {
color: #b94a48;
border-color: #ee5f5b;
&:focus {
border-color: darken(#ee5f5b, 10%);
@shadow: 0 0 6px lighten(#ee5f5b, 20%);
.box-shadow(@shadow);
}
}
...
...
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