openstreetmap-website/app/assets/stylesheets/leaflet.pan.css.scss
2012-11-09 12:59:30 -08:00

41 lines
731 B
SCSS

.leaflet-control-pan-up,
.leaflet-control-pan-down,
.leaflet-control-pan-left,
.leaflet-control-pan-right {
background-image: image-url("map_sprite.png");
position: absolute;
background-repeat: no-repeat;
cursor: hand;
cursor: pointer;
}
.leaflet-control-pan-up {
left: 10px;
width: 25px;
height: 13px;
background-position: -15px -5px;
}
.leaflet-control-pan-down {
left: 10px;
top: 36px;
width: 25px;
height: 15px;
background-position: -15px -40px;
}
.leaflet-control-pan-left {
left: 0px;
top: 13px;
width: 25px;
height: 24px;
background-position: -5px -17px;
}
.leaflet-control-pan-right {
left: 25px;
top: 13px;
width: 25px;
height: 24px;
background-position: -30px -17px;
}