From edef89f30efd73e5fca9952eef48136f8264aa93 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Thu, 26 Jan 2012 11:10:07 -0800 Subject: move around some comments in buttons.less, update labels to use correct variables, add snippet to docs about IE9 --- docs/base-css.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'docs/base-css.html') diff --git a/docs/base-css.html b/docs/base-css.html index bbe7ecd88..ebc6285dc 100644 --- a/docs/base-css.html +++ b/docs/base-css.html @@ -432,10 +432,10 @@ - Notice + Info - <span class="label notice">Notice</span> + <span class="label info">Info</span> @@ -1210,6 +1210,8 @@ +
-
+

Disabled state

-

For buttons that are not active or are disabled by the app for one reason or another, use the disabled state. That’s .disabled for links and :disabled for <button> elements.

+

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

Primary action Action @@ -1290,6 +1292,11 @@

+
+

Cross browser compatibility

+

In IE9, we drop the gradient on all buttons in favor of rounded corners as IE9 doesn't crop background gradients to the corners.

+

Related, IE9 jankifies disabled button elements, rendering text gray with a nasty text-shadow—unfortunately we can't fix this.

+

-- cgit v1.2.3