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 cd36182ea6
commit 7ec191bbac
2 changed files with 0 additions and 34 deletions

View File

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

View File

@@ -41,34 +41,6 @@ input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none; -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 // 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: // element comes from the corresponding GOV.UK Frontend component:
// - https://design-system.service.gov.uk/components/text-input/ // - https://design-system.service.gov.uk/components/text-input/