]> git.openstreetmap.org Git - rails.git/blob - app/assets/stylesheets/leaflet-all.css.scss
Remove unused permalink styles
[rails.git] / app / assets / stylesheets / leaflet-all.css.scss
1 /*
2  *= require leaflet
3  *= require leaflet.locationfilter
4  *= require leaflet.pan
5  *= require leaflet.zoom
6  */
7
8 /* Override to serve images through the asset pipeline. */
9 .leaflet-control-zoom-in {
10   background-image: image-url("images/zoom-in.png");
11 }
12
13 .leaflet-control-zoom-out {
14   background-image: image-url("images/zoom-out.png");
15 }
16
17 .leaflet-control-layers-toggle {
18   background-image: image-url("images/layers.png");
19 }
20
21 div.leaflet-marker-icon.location-filter.resize-marker {
22   background-image: image-url("img/resize-handle.png");
23 }
24
25 div.leaflet-marker-icon.location-filter.move-marker {
26   background-image: image-url("img/move-handle.png");
27 }
28
29 /* Override to better match the pan/zoom control. */
30 .leaflet-control-layers {
31   box-shadow: 0px 0px 3px #666;
32   background: #fff;
33   border-radius: 3px;
34 }
35
36 /* Override some conflicting styles.
37    https://github.com/openstreetmap/openstreetmap-website/pull/121#issuecomment-10206946 */
38 .leaflet-popup-content img.user_thumbnail {
39   max-width: 50px !important;
40 }
41
42 .user_popup p {
43   margin: 0px 2px 0px 55px !important;
44 }