diff --git a/doc-src/content/reference/compass/css3/box_shadow.haml b/doc-src/content/reference/compass/css3/box_shadow.haml index e63de6ec..4258bfcb 100644 --- a/doc-src/content/reference/compass/css3/box_shadow.haml +++ b/doc-src/content/reference/compass/css3/box_shadow.haml @@ -12,6 +12,6 @@ classnames: - css3 --- - render 'reference' do - %p + %p.warning This import is deprecated. Please import - box_shadow_v2 instead. \ No newline at end of file + box_shadow_v2 instead. \ No newline at end of file diff --git a/doc-src/content/reference/compass/css3/text_shadow.haml b/doc-src/content/reference/compass/css3/text_shadow.haml index e16647f6..d5ed7710 100644 --- a/doc-src/content/reference/compass/css3/text_shadow.haml +++ b/doc-src/content/reference/compass/css3/text_shadow.haml @@ -12,6 +12,6 @@ classnames: - css3 --- - render 'reference' do - %p + %p.warning This import is deprecated. Please import - text_shadow_v2 instead. + text_shadow_v2 instead. diff --git a/doc-src/content/reference/compass/css3/transform.haml b/doc-src/content/reference/compass/css3/transform.haml index c671a6a1..fba7bfb8 100644 --- a/doc-src/content/reference/compass/css3/transform.haml +++ b/doc-src/content/reference/compass/css3/transform.haml @@ -12,6 +12,6 @@ classnames: - css3 --- - render 'reference' do - %p + %p.warning This import is deprecated. Please import - transform_v2 instead. + transform_v2 instead. diff --git a/doc-src/content/stylesheets/_reference.scss b/doc-src/content/stylesheets/_reference.scss index 44ec523c..a16706ca 100644 --- a/doc-src/content/stylesheets/_reference.scss +++ b/doc-src/content/stylesheets/_reference.scss @@ -102,4 +102,11 @@ body.helpers { .helper { dl { @extend dl.table; } } +} + +.warning { + $warning-color: #900; + color: $warning-color; + a { color: $warning-color; text-decoration: underline; } + a.better { color: adjust-hue($warning-color, 120deg); @include hover-link; } } \ No newline at end of file