.leaflet-marker-icon,\r
.leaflet-marker-shadow,\r
.leaflet-tile-pane,\r
+.leaflet-tile-container,\r
.leaflet-overlay-pane,\r
.leaflet-shadow-pane,\r
.leaflet-marker-pane,\r
-webkit-user-select: none;\r
-moz-user-select: none;\r
user-select: none;\r
+ -webkit-user-drag: none;\r
}\r
.leaflet-marker-icon,\r
.leaflet-marker-shadow {\r
width: 0;\r
height: 0;\r
}\r
+/* workaround for https://bugzilla.mozilla.org/show_bug.cgi?id=888319 */\r
+.leaflet-overlay-pane svg {\r
+ -moz-user-select: none;\r
+ }\r
\r
.leaflet-tile-pane { z-index: 2; }\r
.leaflet-objects-pane { z-index: 3; }\r
/* general toolbar styles */\r
\r
.leaflet-bar {\r
- box-shadow: 0 0 8px rgba(0,0,0,0.4);\r
- border: 1px solid #888;\r
- -webkit-border-radius: 5px;\r
- border-radius: 5px;\r
+ box-shadow: 0 1px 7px rgba(0,0,0,0.65);\r
+ -webkit-border-radius: 4px;\r
+ border-radius: 4px;\r
+ }\r
+.leaflet-bar a, .leaflet-bar a:hover {\r
+ background-color: #fff;\r
+ border-bottom: 1px solid #ccc;\r
+ width: 26px;\r
+ height: 26px;\r
+ line-height: 26px;\r
+ display: block;\r
+ text-align: center;\r
+ text-decoration: none;\r
+ color: black;\r
+ }\r
+.leaflet-bar a,\r
+.leaflet-control-layers-toggle {\r
+ background-position: 50% 50%;\r
+ background-repeat: no-repeat;\r
+ display: block;\r
}\r
-.leaflet-bar-part {\r
- background-color: rgba(255, 255, 255, 0.8);\r
- border-bottom: 1px solid #aaa;\r
+.leaflet-bar a:hover {\r
+ background-color: #f4f4f4;\r
}\r
-.leaflet-bar-part-top {\r
- -webkit-border-radius: 4px 4px 0 0;\r
- border-radius: 4px 4px 0 0;\r
+.leaflet-bar a:first-child {\r
+ -webkit-border-top-left-radius: 4px;\r
+ border-top-left-radius: 4px;\r
+ -webkit-border-top-right-radius: 4px;\r
+ border-top-right-radius: 4px;\r
}\r
-.leaflet-bar-part-bottom {\r
- -webkit-border-radius: 0 0 4px 4px;\r
- border-radius: 0 0 4px 4px;\r
+.leaflet-bar a:last-child {\r
+ -webkit-border-bottom-left-radius: 4px;\r
+ border-bottom-left-radius: 4px;\r
+ -webkit-border-bottom-right-radius: 4px;\r
+ border-bottom-right-radius: 4px;\r
border-bottom: none;\r
}\r
+.leaflet-bar a.leaflet-disabled {\r
+ cursor: default;\r
+ background-color: #f4f4f4;\r
+ color: #bbb;\r
+ }\r
\r
.leaflet-touch .leaflet-bar {\r
-webkit-border-radius: 10px;\r
border-radius: 10px;\r
}\r
-.leaflet-touch .leaflet-bar-part {\r
- border-bottom: 4px solid rgba(0,0,0,0.3);\r
- }\r
-.leaflet-touch .leaflet-bar-part-top {\r
- -webkit-border-radius: 7px 7px 0 0;\r
- border-radius: 7px 7px 0 0;\r
+.leaflet-touch .leaflet-bar a {\r
+ width: 30px;\r
+ height: 30px;\r
}\r
-.leaflet-touch .leaflet-bar-part-bottom {\r
- -webkit-border-radius: 0 0 7px 7px;\r
- border-radius: 0 0 7px 7px;\r
+.leaflet-touch .leaflet-bar a:first-child {\r
+ -webkit-border-top-left-radius: 7px;\r
+ border-top-left-radius: 7px;\r
+ -webkit-border-top-right-radius: 7px;\r
+ border-top-right-radius: 7px;\r
+ }\r
+.leaflet-touch .leaflet-bar a:last-child {\r
+ -webkit-border-bottom-left-radius: 7px;\r
+ border-bottom-left-radius: 7px;\r
+ -webkit-border-bottom-right-radius: 7px;\r
+ border-bottom-right-radius: 7px;\r
border-bottom: none;\r
}\r
\r
\r
/* zoom control */\r
\r
-.leaflet-container .leaflet-control-zoom {\r
- margin-left: 13px;\r
- margin-top: 12px;\r
- }\r
-.leaflet-control-zoom a {\r
- width: 22px;\r
- height: 22px;\r
- text-align: center;\r
- text-decoration: none;\r
- color: black;\r
- }\r
-.leaflet-control-zoom a,\r
-.leaflet-control-layers-toggle {\r
- background-position: 50% 50%;\r
- background-repeat: no-repeat;\r
- display: block;\r
- }\r
-.leaflet-control-zoom a:hover {\r
- background-color: #fff;\r
- color: #777;\r
- }\r
.leaflet-control-zoom-in {\r
- font: bold 18px/24px Arial, Helvetica, sans-serif;\r
+ font: bold 18px 'Lucida Console', Monaco, monospace;\r
}\r
.leaflet-control-zoom-out {\r
- font: bold 23px/20px Tahoma, Verdana, sans-serif;\r
- }\r
-.leaflet-control-zoom a.leaflet-control-zoom-disabled {\r
- cursor: default;\r
- background-color: rgba(255, 255, 255, 0.8);\r
- color: #bbb;\r
+ font: bold 22px 'Lucida Console', Monaco, monospace;\r
}\r
\r
-.leaflet-touch .leaflet-control-zoom a {\r
- width: 30px;\r
- height: 30px;\r
- }\r
.leaflet-touch .leaflet-control-zoom-in {\r
- font-size: 24px;\r
- line-height: 29px;\r
+ font-size: 22px;\r
+ line-height: 30px;\r
}\r
.leaflet-touch .leaflet-control-zoom-out {\r
font-size: 28px;\r
- line-height: 24px;\r
+ line-height: 30px;\r
}\r
\r
+\r
/* layers control */\r
\r
.leaflet-control-layers {\r
box-shadow: 0 1px 7px rgba(0,0,0,0.4);\r
background: #f8f8f9;\r
- -webkit-border-radius: 8px;\r
- border-radius: 8px;\r
+ -webkit-border-radius: 5px;\r
+ border-radius: 5px;\r
}\r
.leaflet-control-layers-toggle {\r
background-image: url(images/layers.png);\r
width: 36px;\r
height: 36px;\r
}\r
+.leaflet-retina .leaflet-control-layers-toggle {\r
+ background-image: url(images/layers-2x.png);\r
+ background-size: 26px 26px;\r
+ }\r
.leaflet-touch .leaflet-control-layers-toggle {\r
width: 44px;\r
height: 44px;\r
\r
.leaflet-touch .leaflet-control-attribution,\r
.leaflet-touch .leaflet-control-layers,\r
-.leaflet-touch .leaflet-control-zoom {\r
+.leaflet-touch .leaflet-bar {\r
box-shadow: none;\r
}\r
.leaflet-touch .leaflet-control-layers,\r
-.leaflet-touch .leaflet-control-zoom {\r
+.leaflet-touch .leaflet-bar {\r
border: 4px solid rgba(0,0,0,0.3);\r
}\r
\r
.leaflet-popup-content-wrapper {\r
padding: 1px;\r
text-align: left;\r
- -webkit-border-radius: 20px;\r
- border-radius: 20px;\r
+ -webkit-border-radius: 12px;\r
+ border-radius: 12px;\r
}\r
.leaflet-popup-content {\r
- margin: 14px 20px;\r
+ margin: 13px 19px;\r
line-height: 1.4;\r
}\r
.leaflet-popup-content p {\r
overflow: hidden;\r
}\r
.leaflet-popup-tip {\r
- width: 15px;\r
- height: 15px;\r
+ width: 17px;\r
+ height: 17px;\r
padding: 1px;\r
\r
- margin: -8px auto 0;\r
+ margin: -10px auto 0;\r
\r
-webkit-transform: rotate(45deg);\r
-moz-transform: rotate(45deg);\r
position: absolute;\r
top: 0;\r
right: 0;\r
- padding: 4px 5px 0 0;\r
+ padding: 4px 4px 0 0;\r
text-align: center;\r
width: 18px;\r
height: 14px;\r