mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
Give map attribution links an underline
Makes them identifiable as links based on something other than just colour.
This commit is contained in:
@@ -154,6 +154,8 @@ $zoom-button-hover-colour: govuk-shade($zoom-button-colour, 10%);
|
|||||||
// Map attribution links
|
// Map attribution links
|
||||||
.leaflet-control-attribution {
|
.leaflet-control-attribution {
|
||||||
& a {
|
& a {
|
||||||
|
text-decoration: underline;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
// Link focus is shown by a change in background colour.
|
// Link focus is shown by a change in background colour.
|
||||||
// When colours are overridden, for example when users have Windows high
|
// When colours are overridden, for example when users have Windows high
|
||||||
@@ -164,10 +166,5 @@ $zoom-button-hover-colour: govuk-shade($zoom-button-colour, 10%);
|
|||||||
background: $govuk-focus-colour;
|
background: $govuk-focus-colour;
|
||||||
box-shadow: 0 -2px $govuk-focus-colour, 0 4px $govuk-focus-text-colour;
|
box-shadow: 0 -2px $govuk-focus-colour, 0 4px $govuk-focus-text-colour;
|
||||||
}
|
}
|
||||||
|
|
||||||
// use an extra prefix class to override LeafletJS CSS
|
|
||||||
.leaflet-bottom &:hover {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user