Skip to content

Commit

Permalink
Extend govuk-link for list links
Browse files Browse the repository at this point in the history
  • Loading branch information
NickColley committed Sep 6, 2018
1 parent 841ba1b commit 74ab674
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions src/core/_lists.scss
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,10 @@
}

%govuk-list a {
&:link {
color: $govuk-link-colour;
}

&:visited {
color: $govuk-link-visited-colour;
}

&:hover {
color: $govuk-link-hover-colour;
}

&:active {
color: $govuk-link-active-colour;
}
// extends .govuk-link;
@include govuk-link-common;
@include govuk-link-style-default;
@include govuk-link-print-friendly;
}

.govuk-list {
Expand Down

0 comments on commit 74ab674

Please sign in to comment.