diff --git a/app/assets/stylesheets/app.scss b/app/assets/stylesheets/app.scss index c195d3eed..f3c76bd47 100644 --- a/app/assets/stylesheets/app.scss +++ b/app/assets/stylesheets/app.scss @@ -1,10 +1,4 @@ // Extra CSS overlaying elements -a { - &:visited { - color: $link-colour; - } -} - .form-control-1-1 { width: 100%; } diff --git a/app/assets/stylesheets/globals.scss b/app/assets/stylesheets/globals.scss index 9da8fb427..369b452e7 100644 --- a/app/assets/stylesheets/globals.scss +++ b/app/assets/stylesheets/globals.scss @@ -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/