Use the compass link-colors mixin on blueprint.

This commit is contained in:
Chris Eppstein 2008-10-01 22:31:52 -07:00
parent 39ba715973
commit 59addd99fb
3 changed files with 3 additions and 13 deletions

View File

@ -24,14 +24,3 @@
!error_color = #8a1f11
!error_bg_color = #FBE3E4
!error_border_color = #FBC2C4
=link-colors(!normal = !link_color, !hover = !link_hover_color, !active = !link_active_color, !visited = !link_visited_color, !focus = !link_focus_color)
:color= !normal
&:visited
:color= !visited
&:focus
:color= !focus
&:hover
:color= !hover
&:active
:color= !active

View File

@ -1,4 +1,5 @@
@import colors
@import compass/utilities/links/link_colors
=normal-text
:font-family "Helvetica Neue", Helvetica, Arial, sans-serif
@ -67,7 +68,7 @@
:margin 1.5em 0 1.5em 1.5em
a
:text-decoration underline
+link-colors
+link-colors(!link_color, !link_hover_color, !link_active_color, !link_visited_color, !link_focus_color)
blockquote
:margin 1.5em
:color #666

View File

@ -1,4 +1,4 @@
@import compass/utilities
@import compass/utilities/text/nowrap, compass/utilities/general/clearfix
// Most of these utility classes are not "semantic". If you use them,
// you are mixing your content and presentation. For shame!