mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 00:07:02 -04:00
Make images in key of map SVGs
At the moment, the icons in the key of the map showing what each type of area drawn on the map means change colour in high contrast mode. This causes a mismatch between the areas on the map and the key. These changes remake the images in SVG to prevent the colours changing in high contrast modes. They also add a white background to the icons, to make sure they match the areas they refer to in the map.
This commit is contained in:
@@ -137,17 +137,10 @@
|
||||
padding-left: govuk-spacing(8);
|
||||
line-height: govuk-spacing(7);
|
||||
|
||||
&:before {
|
||||
content: "";
|
||||
display: block;
|
||||
&__icon {
|
||||
position: absolute;
|
||||
top: 3px;
|
||||
left: govuk-spacing(1);
|
||||
width: govuk-spacing(6);
|
||||
height: govuk-spacing(6);
|
||||
box-sizing: border-box;
|
||||
margin-right: govuk-spacing(1);
|
||||
transform: rotate(45deg);
|
||||
left: -5px;
|
||||
top: -7px;
|
||||
}
|
||||
|
||||
&--certain {
|
||||
|
||||
Reference in New Issue
Block a user