From a84092d2257ba8e000e2c656e6cb1b8415d0d9ac Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 11 Feb 2012 17:25:47 -0800 Subject: update buttons docs for .disabled class per #1774 --- docs/assets/bootstrap.zip | Bin 52683 -> 52683 bytes docs/base-css.html | 8 ++++++-- docs/templates/pages/base-css.mustache | 8 ++++++-- 3 files changed, 12 insertions(+), 4 deletions(-) (limited to 'docs') diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index dc3849f1d..9055e367e 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 2ee0f2d29..46cf982c6 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 01b79c7a5..e56f45ca0 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}}

-- cgit v1.2.3