Convert warning links to govuk-link--destructive

Converts links in the following:
- the page-footer component
- the table component
- the browse-list component
- the notification status, when reporting failures
- validation messaging in the whitelist page
This commit is contained in:
Tom Byers
2020-02-10 12:13:24 +00:00
parent 9a6916ff31
commit 2a71cc5481
12 changed files with 26 additions and 72 deletions

View File

@@ -16,19 +16,6 @@
margin-bottom: $gutter-half;
}
&-link-destructive {
color: $error-colour;
&:visited,
&:link {
color: $error-colour;
}
&:hover {
color: $mellow-red;
}
}
&-hint {
@include core-19;
margin: 5px 0 10px 0;

View File

@@ -8,26 +8,9 @@
line-height: 40px;
padding: 1px 0 0 15px;
a {
&:visited,
&:link {
color: $error-colour;
display: inline-block;
vertical-align: center;
}
&:hover,
&:active {
color: $mellow-red;
}
}
}
&-delete-link-without-button {
@include core-19;
padding: 0;
display: inline-block;
}

View File

@@ -212,15 +212,6 @@
color: $error-colour;
font-weight: bold;
a {
&:link,
&:visited {
color: $error-colour;
}
}
.status-hint {
display: block;
font-weight: normal;
@@ -356,22 +347,12 @@
background: transparent;
}
&:hover {
color: $link-hover-colour;
}
&:active,
&:focus {
color: $black;
&:before {
border-color: $yellow;
border-style: solid;
border-width: 15px 3px 15px 15px;
right: -3px;
}
&:active:before,
&:focus:before {
border-color: $yellow;
border-style: solid;
border-width: 15px 3px 15px 15px;
right: -3px;
}
}