From 23e5fc2133dd748ba4a7df52b598a24a2915811a Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 5 Jan 2012 14:11:41 -0800 Subject: Tweak the docs and address the new forms list of controls: radios and checkboxes are now hanging controls to wrap text properly --- bootstrap.css | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'bootstrap.css') diff --git a/bootstrap.css b/bootstrap.css index 55706e2a3..ea084d5f0 100644 --- a/bootstrap.css +++ b/bootstrap.css @@ -6,7 +6,7 @@ * http://www.apache.org/licenses/LICENSE-2.0 * * Designed and built with all the love in the world @twitter by @mdo and @fat. - * Date: Thu Jan 5 10:00:31 PST 2012 + * Date: Thu Jan 5 14:10:04 PST 2012 */ html, body { margin: 0; @@ -615,6 +615,16 @@ input[type=image] { textarea { height: auto; } +.radio, .checkbox { + padding-left: 18px; +} +.radio input[type=radio], .checkbox input[type=checkbox] { + float: left; + margin-left: -18px; +} +.controls > .radio:first-child, .controls > .checkbox:first-child { + padding-top: 6px; +} input, textarea { -webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); -moz-box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); @@ -986,9 +996,6 @@ textarea[readonly] { .horizontal-form .controls { margin-left: 150px; } -.horizontal-form .controls > .radio:first-child, .horizontal-form .controls > .checkbox:first-child { - padding-top: 6px; -} .horizontal-form .form-actions { padding-left: 150px; } -- cgit v1.2.3