From bd3448cf78c34f2215d7d29dc082119459ccbf92 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sun, 11 Sep 2011 20:17:34 -0700 Subject: make input prepend styles look a bit better --- bootstrap-1.3.0.css | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'bootstrap-1.3.0.css') diff --git a/bootstrap-1.3.0.css b/bootstrap-1.3.0.css index 966ce6d2e..1324cca44 100644 --- a/bootstrap-1.3.0.css +++ b/bootstrap-1.3.0.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: Sun Sep 11 19:59:57 PDT 2011 + * Date: Sun Sep 11 20:16:57 PDT 2011 */ /* Reset.less * Props to Eric Meyer (meyerweb.com) for his CSS reset file. We're using an adapted version here that cuts out some of the reset HTML elements we will never need here (i.e., dfn, samp, etc). @@ -1015,20 +1015,22 @@ textarea[readonly] { border-radius: 0 3px 3px 0; } .input-prepend .add-on, .input-append .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: #bfbfbf; + margin-right: -1px; font-weight: normal; line-height: 18px; - height: 18px; + color: #bfbfbf; text-align: center; text-shadow: 0 1px 0 #fff; + background-color: #f5f5f5; border: 1px solid #ccc; - border-right-width: 0; -webkit-border-radius: 3px 0 0 3px; -moz-border-radius: 3px 0 0 3px; border-radius: 3px 0 0 3px; @@ -1052,8 +1054,8 @@ textarea[readonly] { -webkit-border-radius: 0 3px 3px 0; -moz-border-radius: 0 3px 3px 0; border-radius: 0 3px 3px 0; - border-right-width: 1px; - border-left-width: 0; + margin-right: 0; + margin-left: -1px; } .inputs-list { margin: 0 0 5px; -- cgit v1.2.3