margin-bottom: 10px;
}
+.leaflet-control a.zoomin,
+.control-layers a,
+.control-note a {
+ margin-bottom: 0px;
+ border-radius: 4px 4px 0px 0px;
+}
+
+.leaflet-control a.zoomout {
+ margin-bottom: 0px;
+ border-radius: 0px;
+}
+
+.control-locate a,
+.control-key a,
+.control-share a {
+ border-radius: 0px 0px 4px 4px;
+}
+
.leaflet-control a:hover {
background-color: white;
}
margin: 10px;
}
-.leaflet-map-ui-layers {
- box-shadow: 0 1px 7px rgba(0, 0, 0, 0.4);
- background: #f8f8f9;
- -webkit-border-radius: 8px;
- border-radius: 8px;
- background-position: 50% 50%;
- background-repeat: no-repeat;
- display: block;
- width: 36px;
- height: 36px;
+#map-ui {
+ position: absolute;
+ display: none;
+ right: 0;
+ width: 200px;
+ height: 100%;
+ background: white;
}
-.leaflet-control-layers-separator {
- margin: 5px -10px !important;
+.layers-ui {
+ section {
+ border-top: 1px solid #868e85;
+ padding: 15px;
+ }
+
+ li {
+ border-radius: 4px;
+ overflow: hidden;
+ margin-bottom: 10px;
+ }
+
+ label {
+ display: block;
+ padding: 5px;
+ background-color: #868e85;
+ cursor: pointer;
+ }
+
+ li.active label {
+ background-color: #68c879;
+ }
+
+ .base-layers {
+ .leaflet-container {
+ width: 100%;
+ height: 50px;
+ cursor: pointer;
+ }
+ }
}
.leaflet-control-attribution {