aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-06-20 16:42:05 -0700
committerMark Otto <[email protected]>2013-06-20 16:42:05 -0700
commit90d4343f66d1cdafe24b6de0dbb6ae64312df323 (patch)
tree7530d4687eb45b4687ba59adf72b6ca3d9cf75e5
parent4db90244c41c26492b4efa5d3a8694fc61cd1f9b (diff)
downloadbootstrap-90d4343f66d1cdafe24b6de0dbb6ae64312df323.tar.xz
bootstrap-90d4343f66d1cdafe24b6de0dbb6ae64312df323.zip
Fixes #8093: Removes invalid focus styles on inputs
-rw-r--r--docs/assets/css/bootstrap.css15
-rw-r--r--less/forms.less14
2 files changed, 0 insertions, 29 deletions
diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index 574ba1662..21439fdde 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -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;
diff --git a/less/forms.less b/less/forms.less
index fd44308b9..0d55cd148 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -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);
- }
-}
-