From fd1e0d3943574c2511a040ee07027567144c53fa Mon Sep 17 00:00:00 2001 From: Chris Eppstein Date: Fri, 12 Nov 2010 20:28:54 -0800 Subject: [PATCH] Make the new deprecated library documentation more obviously deprecated. --- doc-src/content/reference/compass/css3/box_shadow.haml | 4 ++-- doc-src/content/reference/compass/css3/text_shadow.haml | 4 ++-- doc-src/content/reference/compass/css3/transform.haml | 4 ++-- doc-src/content/stylesheets/_reference.scss | 7 +++++++ 4 files changed, 13 insertions(+), 6 deletions(-) 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