Sha256: 26806a2ee85bfa94b3c1d174f6250f768792f3971fe87d7d7459aa4ed162647e

Contents?: true

Size: 750 Bytes

Versions: 1

Compression:

Stored size: 750 Bytes

Contents

@import "settings.global";

@mixin link--color($color: $link-color) {
  color: $color;
  background-color: transparent;

  &:visited {
    color: darken($color, $color-tint);
  }

  &:hover {
    color: lighten($color, $color-tint);
  }

  &:active {
    color: lighten($color, $color-tint);
  }
}

@mixin link {
  @include link--color;
  text-decoration: $link-text-decoration;
  cursor: pointer;

  &:hover {
    text-decoration: $link-hover-text-decoration;
  }
}

@mixin link--primary {
  @include link--color($link-primary-color);
}

@mixin link--secondary {
  @include link--color($link-secondary-color);
}

@mixin link--success {
  @include link--color($link-success-color);
}

@mixin link--error {
  @include link--color($link-error-color);
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blaze-css-rails-0.0.1 app/assets/stylesheets/mixins/_components.links.scss