From 190d3c9c3ec2528a09a9639154bf6ad95b0fc6f2 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 21 Aug 2012 14:22:26 -0700 Subject: fixes #4526: box-shadow on .radio and .checkbox if .control-group has a form field state --- less/mixins.less | 4 ++++ less/tests/css-tests.html | 13 +++++++++++++ 2 files changed, 17 insertions(+) (limited to 'less') diff --git a/less/mixins.less b/less/mixins.less index db60f1aea..b093f1f0d 100644 --- a/less/mixins.less +++ b/less/mixins.less @@ -175,6 +175,10 @@ select, textarea { color: @textColor; + } + input, + select, + textarea { border-color: @borderColor; .box-shadow(inset 0 1px 1px rgba(0,0,0,.075)); // Redeclare so transitions work &:focus { diff --git a/less/tests/css-tests.html b/less/tests/css-tests.html index 4a9f67b09..c922f07db 100644 --- a/less/tests/css-tests.html +++ b/less/tests/css-tests.html @@ -597,6 +597,19 @@

Forms

+

Horizontal form errors

+
+
+ +
+ + Please correct the error +
+
+
+

Prepend and append on inputs

-- cgit v1.2.3