Skip to content

Commit 1fc4ace

Browse files
committed
Merge branch 'feat/map-ui-custom-styles' into refactor/geomap-refinements-review
2 parents 51bff26 + 744eedb commit 1fc4ace

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

vis/stylesheets/modules/_geomap.scss

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,20 @@
3838
transform: translate(-50%, -50%);
3939
}
4040

41+
.leaflet-control-layers-base > label {
42+
font-weight: 400;
43+
color: #818181;
44+
45+
&:hover {
46+
cursor: pointer;
47+
color: #333;
48+
}
49+
50+
.leaflet-control-layers-selector:checked + span {
51+
color: #333;
52+
}
53+
}
54+
4155
.leaflet-control-layers-base > label > span > span {
4256
font-size: 12px;
4357
}
@@ -46,3 +60,28 @@
4660
.leaflet-container * {
4761
font-family: "Open Sans", Helvetica, sans-serif;
4862
}
63+
64+
.leaflet-control-layers {
65+
box-shadow:
66+
0 2px 2px 0 rgba(0, 0, 0, 0.14),
67+
0 3px 1px -2px rgba(0, 0, 0, 0.12),
68+
0 1px 5px 0 rgba(0, 0, 0, 0.2);
69+
border: none;
70+
}
71+
72+
.leaflet-control-zoom {
73+
box-shadow:
74+
0 2px 2px 0 rgba(0, 0, 0, 0.14),
75+
0 3px 1px -2px rgba(0, 0, 0, 0.12),
76+
0 1px 5px 0 rgba(0, 0, 0, 0.2);
77+
border: 0;
78+
79+
& > a > span {
80+
color: #818181;
81+
}
82+
83+
& > a[aria-disabled="false"]:hover > span,
84+
& > a[aria-disabled="false"] > span {
85+
color: #333;
86+
}
87+
}

0 commit comments

Comments
 (0)