[openstreetmap-website] Styling a new SimplePanZoom control, similar to the old one (#62)
Tom Hughes
notifications at github.com
Wed Aug 8 00:14:53 BST 2012
> @@ -0,0 +1,76 @@
> +.olControlSimplePanZoom {
> + top: 10px;
> + right: 10px;
> +}
> +
> +.olControlSimplePanZoom .button {
> + background-image: url('img/map_sprite.png');
This needs to be `image-url('theme/openstreetmap/img/map_sprite.png')` in order to work via the assets pipeline.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/62/files#r1327662
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20120807/024bff78/attachment-0001.html>
More information about the rails-dev
mailing list