@import 'xtend-library/src/core/link/_link.less';

/**
 * link
 */

a:not([class]), .btn-link, .link {
  .link-underline();
  transition: color @time-small @ease-out;
  &:hover, &.hover, &:active, &.active {
    transition: color @time-small @ease-in;
  }
}

// decoration

.link-underline() {
  text-decoration: underline;
  &:hover, &.hover, &:active, &.active {
    text-decoration: underline;
  }
}

.link-none() {
  text-decoration: none !important;
  &:hover, &.hover, &:active, &.active {
    text-decoration: none !important;
  }
}

// variant

.text-inverse {
  a:not([class]), .btn-link, .link {
    color: @text-inverse;
    &:hover, &.hover, &:active, &.active {
      color: @text-inverse-light;
    }
  }
}

.text-default {
  a:not([class]), .btn-link, .link {
    color: @accent;
    &:hover, &.hover, &:active, &.active {
      color: @accent-dark;
    }
  }
}
