/*!
 * 
 * Copyright (c) 2019-2023 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA,
 * and/or its subsidiaries and/or its affiliates and/or their licensors.
 * 
 */
@import "../variables";
@import "../variables/links_vars";
@import "../mixins";

.dlt-links {
  color: $links-color-link;
  text-decoration: $links-text-decoration;
  font-size: $links-font-size;
  font-family: $links-font-family;
  
  &:hover:not(.disabled),
  &:focus:not(.disabled) {
    color: $links-color-link-hover;
    text-decoration: $links-text-decoration-hover;
    outline: none;
  }
  
  &:active:not(.disabled) {
    color: $links-color-link-active;
    outline: none;
    text-decoration: $links-text-decoration;
  }
  
  &:visited:not(.disabled){
    color: $links-color-link-visited;
  }
  
}

.dlt-links.inline {
  text-decoration: $links-inline-text-decoration;
  &:hover:not(.disabled) {
    text-decoration: $links-inline-text-decoration-hover;
  }
  &:focus:not(.disabled) {
    text-decoration: $links-inline-text-decoration-focus;
    outline: $links-inline-border-width-focus $links-inline-border-style-focus $links-color-border;
  }
}

.dlt-links.lg-link {
  font-size: $links-font-size-lg;
}

.dlt-links.sm-link {
  font-size: $links-font-size-sm;
}

.dlt-links.disabled {
  cursor: not-allowed;
  opacity: $links-opacity-disabled;
}