Sha256: 8ff0f3d2549a498cf79329baee4012995c95c7f8b09031aa08469dd3c2cb567e

Contents?: true

Size: 529 Bytes

Versions: 22

Compression:

Stored size: 529 Bytes

Contents

// Set all the colors for a link with one mixin call
// Order of arguments is:
// normal, hover, active, visited, focus
// states not specified will inherit.
// Mixin like so:
// a
//   +link-colors(#00c, #0cc, #c0c, #ccc, #cc0)

=link-colors(!normal, !hover = false, !active = false, !visited = false, !focus = false)
  color= !normal
  @if !visited
    &:visited
      color= !visited
  @if !focus
    &:focus
      color= !focus
  @if !hover
    &:hover
      color= !hover
  @if !active
    &:active
      color= !active

  

Version data entries

22 entries across 21 versions & 3 rubygems

Version Path
compass-0.10.0.rc1 frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
compass-0.10.0.pre9 frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
compass-0.10.0.pre8 frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
compass-0.10.0.pre7 frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
compass-0.10.0.pre6 frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
middleman-0.13.1 lib/middleman/vendor/gems/ruby/1.8/gems/compass-0.10.0.pre5/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
middleman-0.13.1 lib/middleman/vendor/gems/ruby/1.9.1/gems/compass-0.10.0.pre4/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
compass-0.10.0.pre5 frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
compass-0.10.0.pre4 lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
compass-0.10.0.pre3 lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
middleman-0.12.2 lib/middleman/vendor/gems/gems/compass-0.10.0.pre2/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
middleman-0.12.1 lib/middleman/vendor/gems/gems/compass-0.10.0.pre2/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
middleman-0.12.0.pre3 lib/middleman/vendor/gems/gems/compass-0.10.0.pre2/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
middleman-0.12.0.pre2 lib/middleman/vendor/gems/gems/compass-0.10.0.pre2/lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
compass-0.10.0.pre2 lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
compass-0.10.0.pre1 lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
compass-edge-0.9.5.0 lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
compass-edge-0.9.4 lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
compass-edge-0.9.3 lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass
compass-edge-0.9.2 lib/compass/frameworks/compass/stylesheets/compass/utilities/links/_link_colors.sass