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