Skip to content

Commit 7b3fef4

Browse files
committed
stylesheets: Fix link styling
* Instead of changing the colour of links on hover to the highlight colour (which results in very poor contrast), use the box shadow effect that we already use in Framework and Lost-and-Found. * For the login button on the header, change the cursor to a pointer so it appears as a link, instead of leaving it as an arrow since it actually is a button. This helps POLA / UX. Closes: ADA-668
1 parent c1aa106 commit 7b3fef4

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

app/assets/stylesheets/includes/main.scss

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,10 @@ header {
9999
ul {
100100
a, form.calnet_auth > button {
101101
color: black;
102+
cursor: pointer;
102103

103104
&:hover {
104-
color: $color-anchor-highlight;
105+
box-shadow: inset 0 -4px 0 $color-anchor-highlight;
105106
}
106107
}
107108
}
@@ -119,7 +120,7 @@ footer {
119120
color: white;
120121

121122
&:hover, &:focus {
122-
color: $color-anchor-highlight;
123+
box-shadow: inset 0 -4px 0 $color-anchor-highlight;
123124
}
124125
}
125126

0 commit comments

Comments
 (0)