From a84092d2257ba8e000e2c656e6cb1b8415d0d9ac Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Sat, 11 Feb 2012 17:25:47 -0800 Subject: [PATCH] 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(-) diff --git a/docs/assets/bootstrap.zip b/docs/assets/bootstrap.zip index dc3849f1d43427fceab85e301b465deb459ea1bf..9055e367ec6d86a56c10d82f58660b02c2473477 100644 GIT binary patch delta 448 zcmX>-oB8x?W}X0VW)?065D@R4$fL-1SH#@^zR2W_r-iwYBmz{~?!hG{_Hi%)70<8* zi`^61c>62|lSKFARh*7&_kpVJiERGJ8O#n;Guchh2(0L?$mTl1cLpG#JSQ`#zRjzg z4D>)I1<3Gc=BDe1hHx@4BkYG*Gg+n38SE&a5xIqx0w5z^G}^+1w4160Kz6T~qyn}Z z;&hN!py2yS22jDps*@E#BI;XApdy-oB8x?W}X0VW)?065Mb<_$fL;iNxS4>jDaN*?l zlMJ8^TC6%*5u{9giwWBophrFnY);&ASp;O5*-3q-PaqGAPp&)322xaWT4wU1lj2OD zL87uCky|Idk$7&W{9!zx{%xlmAo{^7#ZS9H

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}}