Skip to content

Commit

Permalink
(less) Fixes twbs#8093: Removes invalid focus styles on inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed Jun 20, 2013
1 parent 1dac771 commit 04f1de7
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions forms.less
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}




Expand Down

0 comments on commit 04f1de7

Please sign in to comment.