Skip to content

Commit 63f264f

Browse files
committed
Fixing links on white inside of purple background
1 parent 72fd3e2 commit 63f264f

File tree

2 files changed

+20
-7
lines changed

2 files changed

+20
-7
lines changed

app/components/cms/horizontal_link_card_component/horizontal_link_card_component.scss

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,6 @@
33
padding: 20px;
44
border-left-width: 13px;
55

6-
.ncce-link {
7-
color: $hyper-link-blue;
8-
&:visited {
9-
color: $hyper-link-blue;
10-
}
11-
}
12-
136
h2 {
147
@extend .govuk-heading-m;
158
}

app/webpacker/stylesheets/settings/_links.scss

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,26 @@ a:not([class]) {
6262
}
6363
}
6464

65+
.white-bg {
66+
.ncce-link {
67+
&:link,
68+
&:visited {
69+
color: $hyper-link-blue;
70+
}
71+
&:hover {
72+
color: $grey-dark-x;
73+
}
74+
&:focus {
75+
background-color: transparent;
76+
color: $grey-dark-x;
77+
}
78+
&:active {
79+
background-color: transparent;
80+
color: $grey-dark-x;
81+
}
82+
}
83+
}
84+
6585
.ncce-link__icon {
6686
height: 30px;
6787
margin-right: 10px;

0 commit comments

Comments
 (0)