From 746d1b0818c183162739d168a20c5685f466fb7b Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Tue, 21 Aug 2012 14:22:26 -0700 Subject: [PATCH] (less) fixes #4526: box-shadow on .radio and .checkbox if .control-group has a form field state --- mixins.less | 4 ++++ tests/css-tests.html | 13 +++++++++++++ 2 files changed, 17 insertions(+) diff --git a/mixins.less b/mixins.less index db60f1aea296..b093f1f0d9cf 100644 --- a/mixins.less +++ b/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/tests/css-tests.html b/tests/css-tests.html index 4a9f67b0975b..c922f07db391 100644 --- a/tests/css-tests.html +++ b/tests/css-tests.html @@ -597,6 +597,19 @@

Fluid grid sizing

Forms

+

Horizontal form errors

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

Prepend and append on inputs