mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 02:23:19 -04:00
Rotate the map key icons
We’ve had some feedback that the map key icons look a bit like checkboxes, and that this might have confused a user during the research. So we need a way of making them look different to checkboxes. We don’t want to change the border thickness because it matches what’s on the map. A different approach is changing the shape. Shapes that might still be confusing: - circles (look like radio buttons) - triangles (look like a warning) So this commit changes the shape to a diamond, which is easy to acheive by rotating the square 45 degrees.
This commit is contained in:
@@ -94,12 +94,13 @@
|
|||||||
content: "";
|
content: "";
|
||||||
display: block;
|
display: block;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
top: 4px;
|
||||||
left: 0;
|
left: govuk-spacing(1);
|
||||||
width: govuk-spacing(7);
|
width: govuk-spacing(6);
|
||||||
height: govuk-spacing(7);
|
height: govuk-spacing(6);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
margin-right: govuk-spacing(1);
|
margin-right: govuk-spacing(1);
|
||||||
|
transform: rotate(45deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
&--certain {
|
&--certain {
|
||||||
|
|||||||
Reference in New Issue
Block a user