Make this the general upgrade guide.
This commit is contained in:
parent
2048309618
commit
78bcd4451a
@ -64,7 +64,7 @@ Our CSS3 module makes writing CSS3 today almost as easy as it will be when all
|
|||||||
the browsers officially support the new features. The second version of the
|
the browsers officially support the new features. The second version of the
|
||||||
compass CSS module brings the API up to date with developments over the past
|
compass CSS module brings the API up to date with developments over the past
|
||||||
6 to 9 months of browser changes and more closely matching the most recent CSS
|
6 to 9 months of browser changes and more closely matching the most recent CSS
|
||||||
specifications. [Upgrade guide](/help/tutorials/upgrading/css3-v2/). Summary of changes.
|
specifications. [Upgrade guide](/help/tutorials/upgrading/antares/). Summary of changes.
|
||||||
|
|
||||||
* Support for multiple box shadows and text shadows
|
* Support for multiple box shadows and text shadows
|
||||||
* Support for 2d and 3d transforms
|
* Support for 2d and 3d transforms
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
---
|
---
|
||||||
title: CSS3 v2 Upgrade
|
title: Compass v0.11 Upgrade
|
||||||
layout: tutorial
|
layout: tutorial
|
||||||
crumb: CSS3 v2 Upgrade
|
crumb: Upgrading to v0.11
|
||||||
classnames:
|
classnames:
|
||||||
- tutorial
|
- tutorial
|
||||||
---
|
---
|
||||||
# Upgrading to Compass CSS3 v2
|
# Upgrading to the Compass Antares Release (v0.11)
|
||||||
|
|
||||||
Many mixins and certain uses of mixins have been deprecated, but your
|
Many mixins and certain uses of mixins have been deprecated, but your
|
||||||
existing stylesheets should still work out of the box with one exception:
|
existing stylesheets should still work out of the box with one exception:
|
||||||
users who are using the `css3/transform` module should update their imports
|
users who are using the `css3/transform` module should update their imports
|
@ -91,7 +91,7 @@ $default-box-shadow-inset : false !default;
|
|||||||
@if $legacy {
|
@if $legacy {
|
||||||
@warn "Passing separate arguments for a single shadow to box-shadow is deprecated. " +
|
@warn "Passing separate arguments for a single shadow to box-shadow is deprecated. " +
|
||||||
"Pass the values as a single space-separated list, or use the single-box-shadow mixin. " +
|
"Pass the values as a single space-separated list, or use the single-box-shadow mixin. " +
|
||||||
"See http://beta.compass-style.org/help/tutorials/upgrading/css3-v2/ for more info.";
|
"See http://beta.compass-style.org/help/tutorials/upgrading/antares/ for more info.";
|
||||||
@include single-box-shadow(
|
@include single-box-shadow(
|
||||||
if($shadow-1, $shadow-1, $default-box-shadow-color),
|
if($shadow-1, $shadow-1, $default-box-shadow-color),
|
||||||
if($shadow-2, $shadow-2, $default-box-shadow-h-offset),
|
if($shadow-2, $shadow-2, $default-box-shadow-h-offset),
|
||||||
|
@ -62,7 +62,7 @@ $default-text-shadow-blur: 1px !default;
|
|||||||
@if $legacy {
|
@if $legacy {
|
||||||
@warn "Passing separate arguments for a single shadow to text-shadow is deprecated. " +
|
@warn "Passing separate arguments for a single shadow to text-shadow is deprecated. " +
|
||||||
"Pass the values as a single space-separated list, or use the single-text-shadow mixin. " +
|
"Pass the values as a single space-separated list, or use the single-text-shadow mixin. " +
|
||||||
"See http://beta.compass-style.org/help/tutorials/upgrading/css3-v2/ for more info.";
|
"See http://beta.compass-style.org/help/tutorials/upgrading/antares/ for more info.";
|
||||||
@include single-text-shadow(
|
@include single-text-shadow(
|
||||||
$shadow-1,
|
$shadow-1,
|
||||||
if($shadow-2, $shadow-2, $default-text-shadow-h-offset),
|
if($shadow-2, $shadow-2, $default-text-shadow-h-offset),
|
||||||
|
Loading…
Reference in New Issue
Block a user