From 3b6b6eb242e1e459d741d5edc475ce6b3130d063 Mon Sep 17 00:00:00 2001
From: Mark Otto <markotto@twitter.com>
Date: Wed, 23 May 2012 00:04:54 -0700
Subject: [PATCH] fix field state mixin

---
 docs/assets/css/bootstrap.css | 12 ++++++++++++
 less/mixins.less              |  2 ++
 2 files changed, 14 insertions(+)

diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css
index 549c4d37e1..b218cadebd 100644
--- a/docs/assets/css/bootstrap.css
+++ b/docs/assets/css/bootstrap.css
@@ -1084,6 +1084,8 @@ input[type="checkbox"][readonly] {
   color: #c09853;
 }
 
+.control-group.warning .checkbox,
+.control-group.warning .radio,
 .control-group.warning input,
 .control-group.warning select,
 .control-group.warning textarea {
@@ -1091,6 +1093,8 @@ input[type="checkbox"][readonly] {
   border-color: #c09853;
 }
 
+.control-group.warning .checkbox:focus,
+.control-group.warning .radio:focus,
 .control-group.warning input:focus,
 .control-group.warning select:focus,
 .control-group.warning textarea:focus {
@@ -1113,6 +1117,8 @@ input[type="checkbox"][readonly] {
   color: #b94a48;
 }
 
+.control-group.error .checkbox,
+.control-group.error .radio,
 .control-group.error input,
 .control-group.error select,
 .control-group.error textarea {
@@ -1120,6 +1126,8 @@ input[type="checkbox"][readonly] {
   border-color: #b94a48;
 }
 
+.control-group.error .checkbox:focus,
+.control-group.error .radio:focus,
 .control-group.error input:focus,
 .control-group.error select:focus,
 .control-group.error textarea:focus {
@@ -1142,6 +1150,8 @@ input[type="checkbox"][readonly] {
   color: #468847;
 }
 
+.control-group.success .checkbox,
+.control-group.success .radio,
 .control-group.success input,
 .control-group.success select,
 .control-group.success textarea {
@@ -1149,6 +1159,8 @@ input[type="checkbox"][readonly] {
   border-color: #468847;
 }
 
+.control-group.success .checkbox:focus,
+.control-group.success .radio:focus,
 .control-group.success input:focus,
 .control-group.success select:focus,
 .control-group.success textarea:focus {
diff --git a/less/mixins.less b/less/mixins.less
index 8efe12b388..068af63faf 100644
--- a/less/mixins.less
+++ b/less/mixins.less
@@ -166,6 +166,8 @@
     color: @textColor;
   }
   // Style inputs accordingly
+  .checkbox,
+  .radio,
   input,
   select,
   textarea {
-- 
GitLab