diff options
| author | Mark Otto <[email protected]> | 2011-09-11 20:17:34 -0700 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2011-09-11 20:17:34 -0700 |
| commit | bd3448cf78c34f2215d7d29dc082119459ccbf92 (patch) | |
| tree | a36a4f4f1896380c6c9933cd0c6a843bf645b1ba /lib/forms.less | |
| parent | 2674210ff06a9ceaaa98263a2cbe2246fcd21111 (diff) | |
| download | bootstrap-bd3448cf78c34f2215d7d29dc082119459ccbf92.tar.xz bootstrap-bd3448cf78c34f2215d7d29dc082119459ccbf92.zip | |
make input prepend styles look a bit better
Diffstat (limited to 'lib/forms.less')
| -rw-r--r-- | lib/forms.less | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/forms.less b/lib/forms.less index c86751193..5b19129f8 100644 --- a/lib/forms.less +++ b/lib/forms.less @@ -327,20 +327,22 @@ textarea[readonly] { .border-radius(0 3px 3px 0); } .add-on { - background: #f5f5f5; + position: relative; + z-index: 2; float: left; display: block; width: auto; min-width: 16px; + height: 18px; padding: 4px 4px 4px 5px; - color: @grayLight; + margin-right: -1px; font-weight: normal; line-height: 18px; - height: 18px; + color: @grayLight; text-align: center; text-shadow: 0 1px 0 #fff; + background-color: #f5f5f5; border: 1px solid #ccc; - border-right-width: 0; .border-radius(3px 0 0 3px); } .active { @@ -360,8 +362,8 @@ textarea[readonly] { } .add-on { .border-radius(0 3px 3px 0); - border-right-width: 1px; - border-left-width: 0; + margin-right: 0; + margin-left: -1px; } } |
