diff options
Diffstat (limited to 'less')
| -rw-r--r-- | less/mixins.less | 4 | ||||
| -rw-r--r-- | less/tests/css-tests.html | 13 |
2 files changed, 17 insertions, 0 deletions
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 @@ <h1>Forms</h1> </div> +<h4>Horizontal form errors</h4> +<form class="form-horizontal"> + <div class="control-group error"> + <label class="control-label" for="inputError">Radio with error</label> + <div class="controls"> + <label class="radio"> + <input type="radio" id="inputError"> Oh hai + </label> + <span class="help-inline">Please correct the error</span> + </div> + </div> +</form> + <div class="row"> <div class="span4"> <h4>Prepend and append on inputs</h4> |
