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
.leaflet-marker-pane { z-index: 6; }\r
.leaflet-popup-pane { z-index: 7; }\r
\r
+.leaflet-vml-shape {\r
+ width: 1px;\r
+ height: 1px;\r
+ }\r
+.lvml {\r
+ behavior: url(#default#VML);\r
+ display: inline-block;\r
+ position: absolute;\r
+ }\r
+\r
\r
/* control positioning */\r
\r
.leaflet-control {\r
cursor: auto;\r
}\r
-.leaflet-dragging,\r
-.leaflet-dragging .leaflet-clickable,\r
-.leaflet-dragging .leaflet-container {\r
+.leaflet-dragging .leaflet-container,\r
+.leaflet-dragging .leaflet-clickable {\r
cursor: move;\r
cursor: -webkit-grabbing;\r
cursor: -moz-grabbing;\r
outline: 2px solid orange;\r
}\r
.leaflet-zoom-box {\r
- border: 2px dotted #05f;\r
- background: white;\r
- opacity: 0.5;\r
+ border: 2px dotted #38f;\r
+ background: rgba(255,255,255,0.5);\r
}\r
\r
\r
/* general toolbar styles */\r
\r
.leaflet-bar {\r
- box-shadow: 0 1px 7px rgba(0,0,0,0.65);\r
- -webkit-border-radius: 4px;\r
- border-radius: 4px;\r
+ box-shadow: 0 1px 5px rgba(0,0,0,0.65);\r
+ border-radius: 4px;\r
}\r
-.leaflet-bar a {\r
+.leaflet-bar a,\r
+.leaflet-bar a:hover {\r
background-color: #fff;\r
border-bottom: 1px solid #ccc;\r
width: 26px;\r
background-color: #f4f4f4;\r
}\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
+ border-top-left-radius: 4px;\r
+ border-top-right-radius: 4px;\r
}\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-left-radius: 4px;\r
+ border-bottom-right-radius: 4px;\r
border-bottom: none;\r
}\r
.leaflet-bar a.leaflet-disabled {\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 a {\r
width: 30px;\r
height: 30px;\r
- }\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
+ line-height: 30px;\r
}\r
\r
\r
/* zoom control */\r
\r
-.leaflet-control-zoom-in {\r
+.leaflet-control-zoom-in,\r
+.leaflet-control-zoom-out {\r
font: bold 18px 'Lucida Console', Monaco, monospace;\r
+ text-indent: 1px;\r
}\r
.leaflet-control-zoom-out {\r
- font: bold 22px 'Lucida Console', Monaco, monospace;\r
+ font-size: 20px;\r
}\r
\r
.leaflet-touch .leaflet-control-zoom-in {\r
font-size: 22px;\r
- line-height: 30px;\r
}\r
.leaflet-touch .leaflet-control-zoom-out {\r
- font-size: 28px;\r
- line-height: 30px;\r
+ font-size: 24px;\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: 5px;\r
- border-radius: 5px;\r
+ box-shadow: 0 1px 5px rgba(0,0,0,0.4);\r
+ background: #fff;\r
+ border-radius: 5px;\r
}\r
.leaflet-control-layers-toggle {\r
background-image: url(images/layers.png);\r
/* attribution and scale controls */\r
\r
.leaflet-container .leaflet-control-attribution {\r
- background-color: rgba(255, 255, 255, 0.7);\r
- box-shadow: 0 0 5px #bbb;\r
+ background: #fff;\r
+ background: rgba(255, 255, 255, 0.7);\r
margin: 0;\r
}\r
.leaflet-control-attribution,\r
padding: 0 5px;\r
color: #333;\r
}\r
+.leaflet-control-attribution a {\r
+ text-decoration: none;\r
+ }\r
+.leaflet-control-attribution a:hover {\r
+ text-decoration: underline;\r
+ }\r
.leaflet-container .leaflet-control-attribution,\r
.leaflet-container .leaflet-control-scale {\r
font-size: 11px;\r
.leaflet-control-scale-line {\r
border: 2px solid #777;\r
border-top: none;\r
- color: black;\r
line-height: 1.1;\r
padding: 2px 5px 1px;\r
font-size: 11px;\r
- text-shadow: 1px 1px 1px #fff;\r
- background-color: rgba(255, 255, 255, 0.5);\r
- box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.2);\r
white-space: nowrap;\r
overflow: hidden;\r
+ -moz-box-sizing: content-box;\r
+ box-sizing: content-box;\r
+\r
+ background: #fff;\r
+ background: rgba(255, 255, 255, 0.5);\r
}\r
.leaflet-control-scale-line:not(:first-child) {\r
border-top: 2px solid #777;\r
border-bottom: none;\r
margin-top: -2px;\r
- box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);\r
}\r
.leaflet-control-scale-line:not(:first-child):not(:last-child) {\r
border-bottom: 2px solid #777;\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
- border: 4px solid rgba(0,0,0,0.3);\r
+.leaflet-touch .leaflet-bar {\r
+ border: 2px solid rgba(0,0,0,0.2);\r
+ background-clip: padding-box;\r
}\r
\r
\r
.leaflet-popup-content-wrapper {\r
padding: 1px;\r
text-align: left;\r
- -webkit-border-radius: 12px;\r
- border-radius: 12px;\r
+ border-radius: 12px;\r
}\r
.leaflet-popup-content {\r
margin: 13px 19px;\r
-o-transform: rotate(45deg);\r
transform: rotate(45deg);\r
}\r
-.leaflet-popup-content-wrapper, .leaflet-popup-tip {\r
+.leaflet-popup-content-wrapper,\r
+.leaflet-popup-tip {\r
background: white;\r
\r
box-shadow: 0 3px 14px rgba(0,0,0,0.4);\r
border-top: 1px solid #ddd;\r
}\r
\r
+.leaflet-oldie .leaflet-popup-content-wrapper {\r
+ zoom: 1;\r
+ }\r
+.leaflet-oldie .leaflet-popup-tip {\r
+ width: 24px;\r
+ margin: 0 auto;\r
+\r
+ -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";\r
+ filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);\r
+ }\r
+.leaflet-oldie .leaflet-popup-tip-container {\r
+ margin-top: -1px;\r
+ }\r
+\r
+.leaflet-oldie .leaflet-control-zoom,\r
+.leaflet-oldie .leaflet-control-layers,\r
+.leaflet-oldie .leaflet-popup-content-wrapper,\r
+.leaflet-oldie .leaflet-popup-tip {\r
+ border: 1px solid #999;\r
+ }\r
+\r
\r
/* div icon */\r
\r
background: #fff;\r
border: 1px solid #666;\r
}\r
-.leaflet-editing-icon {\r
- -webkit-border-radius: 2px;\r
- border-radius: 2px;\r
- }\r