Sha256: 0998707e36a47f9d7f4133338fa721ae2992ebb642a619d6330170c1b77eb520

Contents?: true

Size: 695 Bytes

Versions: 1

Compression:

Stored size: 695 Bytes

Contents

=link-generator
  .link
    box-shadow: inset 0 -.15em 0 $color-accent
    cursor: pointer
    display: inline
    text-decoration: none
    transition: box-shadow $transition-duration $transition-easing, color $transition-duration $transition-easing
    &:hover, &:active, &:focus
      box-shadow: inset 0 -1.5em 0 $color-accent
      color: dyanmic-text-lightness($color-accent)
    @each $name, $color in $all-function-colors
      &--#{$name}
        @if lightness($color) > 90%
          $color: darken($color, 10%)
        box-shadow: inset 0 -.15em 0 $color
        &:active, &:focus, &:hover
          box-shadow: inset 0 -1.5em 0 $color
          color: dynamic-text-lightness($color)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ceo-0.2.0 app/assets/stylesheets/admin/tools/link-generator.sass