<commit_before>// Basic primary links and their accompanying hover and focus states
//
// :visited - Foo
// :hover - Foo
// :focus - Foo
// .link-nav - Foo
// .link-nav:visited - Foo
// .link-nav:hover - Foo
// .link-nav:focus - Foo
//
// Styleguide a

a {
  @include links($color-link-default);
}

%link-nav,
.link-nav {
  @include links($color-link-nav, $color-link-nav-visited);
}

a:not([href*="moneyadviceservice"]):after {
  @extend .icon;
  @extend .icon--external-link;
  color: $color-link-external;
  padding-left: 5px;
}

// override for links that do not contain moneyadviceservice but are not external links
a[href^="/"]:after,
a[href^="#"]:after {
  display: none;
}

a[href$=".doc"] {
  margin-top: $baseline-unit*3;

  &:before {
    @extend .icon;
    @extend .icon--doc;
    padding-right: 5px;
  }
}

a[href$=".pdf"] {
  margin-top: $baseline-unit*3;

  &:before {
    @extend .icon;
    @extend .icon--pdf;
    padding-right: 5px;
  }
}<commit_msg>Move links to editorial components directory<commit_after>// Basic primary links and their accompanying hover and focus states
//
// :visited - Foo
// :hover - Foo
// :focus - Foo
// .link-nav - Foo
// .link-nav:visited - Foo
// .link-nav:hover - Foo
// .link-nav:focus - Foo
//
// Styleguide a

a {
  @include links($color-link-default);
}

%link-nav,
.link-nav {
  @include links($color-link-nav, $color-link-nav-visited);
}
{'fraction_non_alphanumeric': 0.18651362984218078, 'fraction_numerical': 0.003586800573888092, 'mean_word_length': 2.875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7234805', 'n_tokens_mistral': 536, 'n_tokens_neox': 512, 'n_words': 121}