From: Mark Otto Date: Mon, 12 Mar 2012 19:44:47 +0000 (-0700) Subject: button group sizes for ie7 fixes X-Git-Tag: v2.0.2~7 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7f3a2b38134916e84dc7c7ddc149b02d6e56d971;p=thirdparty%2Fbootstrap.git button group sizes for ie7 fixes --- diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index 2ccbc3cf19..f3c7981e08 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/assets/css/bootstrap.css b/docs/assets/css/bootstrap.css index e6ccb8b14b..d87bd2f8ef 100644 --- a/docs/assets/css/bootstrap.css +++ b/docs/assets/css/bootstrap.css @@ -2265,6 +2265,11 @@ input[type="submit"].btn.btn-small { *padding-top: 3px; *padding-bottom: 3px; } +button.btn.btn-mini, +input[type="submit"].btn.btn-mini { + *padding-top: 1px; + *padding-bottom: 1px; +} .btn-group { position: relative; *zoom: 1; @@ -2355,12 +2360,18 @@ input[type="submit"].btn.btn-small { -webkit-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); -moz-box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.125), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); - *padding-top: 5px; - *padding-bottom: 5px; + *padding-top: 3px; + *padding-bottom: 3px; } .btn-group .btn-mini.dropdown-toggle { padding-left: 5px; padding-right: 5px; + *padding-top: 1px; + *padding-bottom: 1px; +} +.btn-group .btn-small.dropdown-toggle { + *padding-top: 4px; + *padding-bottom: 4px; } .btn-group .btn-large.dropdown-toggle { padding-left: 12px; diff --git a/docs/components.html b/docs/components.html index 1d06036081..10b2aec202 100644 --- a/docs/components.html +++ b/docs/components.html @@ -420,13 +420,39 @@ -

Right aligned menus

-

Add .pull-right to the .dropdown-menu of any button dropdown for right aligned menus.

+

Sizes

+

Utilize the extra button classe .btn-mini, .btn-small, or .btn-large for sizing.

- - -
+
+
+
+ + + +
+
+
+
+ + +
-

{{_i}}Right aligned menus{{/i}}

-

{{_i}}Add .pull-right to the .dropdown-menu of any button dropdown for right aligned menus.{{/i}}

+

{{_i}}Sizes{{/i}}

+

{{_i}}Utilize the extra button classe .btn-mini, .btn-small, or .btn-large for sizing.{{/i}}

- - -
+
+
+ +
+
+
+ + +