Make the new deprecated library documentation more obviously deprecated.

This commit is contained in:
Chris Eppstein 2010-11-12 20:28:54 -08:00
parent 393ed03fcd
commit fd1e0d3943
4 changed files with 13 additions and 6 deletions

View File

@ -12,6 +12,6 @@ classnames:
- css3
---
- render 'reference' do
%p
%p.warning
This import is deprecated. Please import
<a href="/docs/reference/compass/css3/box_shadow_v2/">box_shadow_v2</a> instead.
<a href="/docs/reference/compass/css3/box_shadow_v2/" class="better">box_shadow_v2</a> instead.

View File

@ -12,6 +12,6 @@ classnames:
- css3
---
- render 'reference' do
%p
%p.warning
This import is deprecated. Please import
<a href="/docs/reference/compass/css3/text_shadow_v2/">text_shadow_v2</a> instead.
<a href="/docs/reference/compass/css3/text-shadow-v2/" class="better">text_shadow_v2</a> instead.

View File

@ -12,6 +12,6 @@ classnames:
- css3
---
- render 'reference' do
%p
%p.warning
This import is deprecated. Please import
<a href="/docs/reference/compass/css3/transform_v2/">transform_v2</a> instead.
<a href="/docs/reference/compass/css3/transform-v2/" class="better">transform_v2</a> instead.

View File

@ -103,3 +103,10 @@ body.helpers {
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; }
}