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 60257ed673
commit 955cfa75cf
4 changed files with 13 additions and 6 deletions

View File

@ -12,6 +12,6 @@ classnames:
- css3 - css3
--- ---
- render 'reference' do - render 'reference' do
%p %p.warning
This import is deprecated. Please import 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 - css3
--- ---
- render 'reference' do - render 'reference' do
%p %p.warning
This import is deprecated. Please import 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 - css3
--- ---
- render 'reference' do - render 'reference' do
%p %p.warning
This import is deprecated. Please import 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

@ -102,4 +102,11 @@ body.helpers {
.helper { .helper {
dl { @extend dl.table; } 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; }
} }