]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/stylesheets/leaflet.pan.css.scss
Move non-vendor leaflet assets into app
[rails.git] / app / assets / stylesheets / leaflet.pan.css.scss
diff --git a/app/assets/stylesheets/leaflet.pan.css.scss b/app/assets/stylesheets/leaflet.pan.css.scss
new file mode 100644 (file)
index 0000000..4b5aa65
--- /dev/null
@@ -0,0 +1,41 @@
+.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;
+}