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