Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <otto@github.com>2012-11-05 07:53:13 +0400
committerMark Otto <otto@github.com>2012-11-05 07:53:13 +0400
commit62c78e46f8d027d0797c66bef5ce8cdb8d667ace (patch)
treeca9628cdd2eb9b15adbf2a7c064eb5707c5db04c /less
parent91bcccd9a83ee8a351069283c80a749caa220080 (diff)
more required input tweaks
Diffstat (limited to 'less')
-rw-r--r--less/forms.less9
1 files changed, 5 insertions, 4 deletions
diff --git a/less/forms.less b/less/forms.less
index 13f9c25f62..172ed027dc 100644
--- a/less/forms.less
+++ b/less/forms.less
@@ -366,14 +366,15 @@ input[type="checkbox"][readonly] {
// HTML5 invalid states
// Shares styles with the .control-group.error above
-input:invalid,
-select:invalid,
-textarea:invalid {
+input:focus:invalid,
+textarea:focus:invalid,
+select:focus:invalid {
color: #b94a48;
border-color: #ee5f5b;
&:focus {
border-color: darken(#ee5f5b, 10%);
- .box-shadow(0 0 6px lighten(#ee5f5b, 20%));
+ @shadow: 0 0 6px lighten(#ee5f5b, 20%);
+ .box-shadow(@shadow);
}
}