mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 16:38:59 -04:00
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:
@@ -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%;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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/
|
||||||
|
|||||||
Reference in New Issue
Block a user