From 602e5f8f115b6625011e2e6c2d36c1d28715c4b9 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 26 Jan 2014 17:31:11 -0800 Subject: mark .box-shadow() mixin as deprecated; fixes #12396 --- docs/css.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/css.html b/docs/css.html index dea8f5203..3b2cdf813 100644 --- a/docs/css.html +++ b/docs/css.html @@ -2989,7 +2989,8 @@ a { {% endhighlight %}

Box (Drop) shadows

-

If your target audience is using the latest and greatest browsers and devices, be sure to just use the box-shadow property on its own. If you need support for older Android (pre-v4) and iOS devices (pre-iOS 5), use the mixin to pick up the required -webkit prefix.

+

If your target audience is using the latest and greatest browsers and devices, be sure to just use the box-shadow property on its own. If you need support for older Android (pre-v4) and iOS devices (pre-iOS 5), use the deprecated mixin to pick up the required -webkit prefix.

+

The mixin is deprecated as of v3.1.0, since Bootstrap doesn't officially support the outdated platforms that don't support the standard property. To preserve backwards-compatibility, Bootstrap will continue to use the mixin internally until Bootstrap v4.

Be sure to use rgba() colors in your box shadows so they blend as seamlessly as possible with backgrounds.

{% highlight css %} .box-shadow(@shadow: 0 1px 3px rgba(0,0,0,.25)) { -- cgit v1.2.3 From 1a36e4fa1e9d9220a242d01062941a16ef07e660 Mon Sep 17 00:00:00 2001 From: Chris Rebert Date: Sun, 26 Jan 2014 17:48:15 -0800 Subject: docs & comments: v3.1 => v3.1.0 --- docs/about.html | 2 +- docs/components.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/about.html b/docs/about.html index 4aa3bc026..1195a08a0 100644 --- a/docs/about.html +++ b/docs/about.html @@ -88,7 +88,7 @@ lead: "Learn about the project's history, meet the maintaining teams, and find o -

The official Sass port of Bootstrap was created and is maintained by this team. It became part of Bootstrap's organization with v3.1. Read the Sass contributing guidelines for information on how the Sass port is developed.

+

The official Sass port of Bootstrap was created and is maintained by this team. It became part of Bootstrap's organization with v3.1.0. Read the Sass contributing guidelines for information on how the Sass port is developed.

diff --git a/docs/components.html b/docs/components.html index aab22cfd8..06b69ad1a 100644 --- a/docs/components.html +++ b/docs/components.html @@ -111,7 +111,7 @@ lead: "Over a dozen reusable components built to provide iconography, dropdowns,

Deprecated .pull-right alignment

-

As of v3.1, we've deprecated .pull-right on dropdown menus. To right-align a menu, use .dropdown-menu-right. Right-aligned nav components in the navbar use a mixin version of this class to automatically align the menu. To override it, use .dropdown-menu-left.

+

As of v3.1.0, we've deprecated .pull-right on dropdown menus. To right-align a menu, use .dropdown-menu-right. Right-aligned nav components in the navbar use a mixin version of this class to automatically align the menu. To override it, use .dropdown-menu-left.

{% highlight html %}