Remove global link styles

All links, that need it, now have the GOVUK
Frontend link class so we no longer need this
CSS.
This commit is contained in:
Tom Byers
2019-12-09 16:23:16 +00:00
parent ee9f348ce4
commit 36ddd52db1
2 changed files with 0 additions and 34 deletions

View File

@@ -1,10 +1,4 @@
// Extra CSS overlaying elements
a {
&:visited {
color: $link-colour;
}
}
.form-control-1-1 {
width: 100%;
}

View File

@@ -41,34 +41,6 @@ input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none;
}
// To be removed when all links follow the GOV.UK Frontend conventions:
// https://design-system.service.gov.uk/styles/typography/#links
a {
/* Give a strong clear visual idea as to what is currently in focus */
-webkit-tap-highlight-color: rgba(0, 0, 0, 0.3);
&:link {
color: $link-colour;
}
&:visited {
color: $link-visited-colour;
}
&:hover {
color: $link-hover-colour;
}
&:active {
color: $link-active-colour;
}
&:focus {
background-color: $focus-colour;
outline: 3px solid $focus-colour;
}
}
// Each selector, and then the whole block when only one remains, to be removed when the
// element comes from the corresponding GOV.UK Frontend component:
// - https://design-system.service.gov.uk/components/text-input/