clean up css a bit, drop ie6-related hacks
This commit is contained in:
parent
60f5d46e53
commit
698fb2e877
21
dist/leaflet.css
vendored
21
dist/leaflet.css
vendored
@ -205,7 +205,8 @@
|
|||||||
-webkit-border-radius: 4px;
|
-webkit-border-radius: 4px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
}
|
}
|
||||||
.leaflet-bar a, .leaflet-bar a:hover {
|
.leaflet-bar a,
|
||||||
|
.leaflet-bar a:hover {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
border-bottom: 1px solid #ccc;
|
border-bottom: 1px solid #ccc;
|
||||||
width: 26px;
|
width: 26px;
|
||||||
@ -290,7 +291,7 @@
|
|||||||
|
|
||||||
.leaflet-control-layers {
|
.leaflet-control-layers {
|
||||||
box-shadow: 0 1px 7px rgba(0,0,0,0.4);
|
box-shadow: 0 1px 7px rgba(0,0,0,0.4);
|
||||||
background: #f8f8f9;
|
background: #fff;
|
||||||
-webkit-border-radius: 5px;
|
-webkit-border-radius: 5px;
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
}
|
}
|
||||||
@ -338,7 +339,8 @@
|
|||||||
/* attribution and scale controls */
|
/* attribution and scale controls */
|
||||||
|
|
||||||
.leaflet-container .leaflet-control-attribution {
|
.leaflet-container .leaflet-control-attribution {
|
||||||
background-color: rgba(255, 255, 255, 0.7);
|
background: #fff;
|
||||||
|
background: rgba(255, 255, 255, 0.7);
|
||||||
box-shadow: 0 0 5px #bbb;
|
box-shadow: 0 0 5px #bbb;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
@ -360,17 +362,19 @@
|
|||||||
.leaflet-control-scale-line {
|
.leaflet-control-scale-line {
|
||||||
border: 2px solid #777;
|
border: 2px solid #777;
|
||||||
border-top: none;
|
border-top: none;
|
||||||
color: black;
|
|
||||||
line-height: 1.1;
|
line-height: 1.1;
|
||||||
padding: 2px 5px 1px;
|
padding: 2px 5px 1px;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
text-shadow: 1px 1px 1px #fff;
|
|
||||||
background-color: rgba(255, 255, 255, 0.5);
|
|
||||||
box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.2);
|
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
-moz-box-sizing: content-box;
|
-moz-box-sizing: content-box;
|
||||||
box-sizing: content-box;
|
box-sizing: content-box;
|
||||||
|
|
||||||
|
color: black;
|
||||||
|
background: #fff;
|
||||||
|
background: rgba(255, 255, 255, 0.5);
|
||||||
|
box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.2);
|
||||||
|
text-shadow: 1px 1px 1px #fff;
|
||||||
}
|
}
|
||||||
.leaflet-control-scale-line:not(:first-child) {
|
.leaflet-control-scale-line:not(:first-child) {
|
||||||
border-top: 2px solid #777;
|
border-top: 2px solid #777;
|
||||||
@ -432,7 +436,8 @@
|
|||||||
-o-transform: rotate(45deg);
|
-o-transform: rotate(45deg);
|
||||||
transform: rotate(45deg);
|
transform: rotate(45deg);
|
||||||
}
|
}
|
||||||
.leaflet-popup-content-wrapper, .leaflet-popup-tip {
|
.leaflet-popup-content-wrapper,
|
||||||
|
.leaflet-popup-tip {
|
||||||
background: white;
|
background: white;
|
||||||
|
|
||||||
box-shadow: 0 3px 14px rgba(0,0,0,0.4);
|
box-shadow: 0 3px 14px rgba(0,0,0,0.4);
|
||||||
|
17
dist/leaflet.ie.css
vendored
17
dist/leaflet.ie.css
vendored
@ -8,19 +8,16 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
}
|
}
|
||||||
|
|
||||||
.leaflet-control {
|
|
||||||
display: inline;
|
|
||||||
}
|
|
||||||
|
|
||||||
.leaflet-popup-tip {
|
.leaflet-popup-tip {
|
||||||
width: 21px;
|
width: 21px;
|
||||||
_width: 27px;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
_margin-top: -3px;
|
|
||||||
|
|
||||||
filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
|
filter: progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678);
|
||||||
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
|
-ms-filter: "progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";
|
||||||
}
|
}
|
||||||
|
.leaflet-popup-content-wrapper {
|
||||||
|
zoom: 1;
|
||||||
|
}
|
||||||
.leaflet-popup-tip-container {
|
.leaflet-popup-tip-container {
|
||||||
margin-top: -1px;
|
margin-top: -1px;
|
||||||
}
|
}
|
||||||
@ -28,19 +25,11 @@
|
|||||||
.leaflet-popup-tip {
|
.leaflet-popup-tip {
|
||||||
border: 1px solid #999;
|
border: 1px solid #999;
|
||||||
}
|
}
|
||||||
.leaflet-popup-content-wrapper {
|
|
||||||
zoom: 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
.leaflet-control-zoom,
|
.leaflet-control-zoom,
|
||||||
.leaflet-control-layers {
|
.leaflet-control-layers {
|
||||||
border: 3px solid #999;
|
border: 3px solid #999;
|
||||||
}
|
}
|
||||||
.leaflet-control-attribution,
|
|
||||||
.leaflet-control-layers,
|
|
||||||
.leaflet-control-scale-line {
|
|
||||||
background: white;
|
|
||||||
}
|
|
||||||
.leaflet-zoom-box {
|
.leaflet-zoom-box {
|
||||||
filter: alpha(opacity=50);
|
filter: alpha(opacity=50);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user