From: Mark Otto Date: Sun, 12 Feb 2012 01:25:47 +0000 (-0800) Subject: update buttons docs for .disabled class per #1774 X-Git-Tag: v2.0.1~1^2~17^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a84092d2257ba8e000e2c656e6cb1b8415d0d9ac;p=thirdparty%2Fbootstrap.git update buttons docs for .disabled class per #1774 --- diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index dc3849f1d4..9055e367ec 100644 Binary files a/docs/assets/bootstrap.zip and b/docs/assets/bootstrap.zip differ diff --git a/docs/base-css.html b/docs/base-css.html index 2ee0f2d295..46cf982c64 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -1310,15 +1310,19 @@ For example, <code>section</code> should be wrapped as inline.


Disabled state

-

For disabled buttons, use .btn-disabled for links and :disabled for <button> elements.

+

For disabled buttons, add the .disabled class to links and the disabled attribute for <button> elements.

Primary link Link

-

+

+

+ Heads up! + We use .disabled as a utility class here, similar to the common .active class, so no prefix is required. +

One class, multiple tags

diff --git a/docs/templates/pages/base-css.mustache b/docs/templates/pages/base-css.mustache index 01b79c7a5b..e56f45ca05 100644 --- a/docs/templates/pages/base-css.mustache +++ b/docs/templates/pages/base-css.mustache @@ -1234,15 +1234,19 @@


{{_i}}Disabled state{{/i}}

-

{{_i}}For disabled buttons, use .btn-disabled for links and :disabled for <button> elements.{{/i}}

+

{{_i}}For disabled buttons, add the .disabled class to links and the disabled attribute for <button> elements.{{/i}}

{{_i}}Primary link{{/i}} {{_i}}Link{{/i}}

-

+

+

+ {{_i}}Heads up!{{/i}} + {{_i}}We use .disabled as a utility class here, similar to the common .active class, so no prefix is required.{{/i}} +

{{_i}}One class, multiple tags{{/i}}