]> git.openstreetmap.org Git - rails.git/blob - app/assets/stylesheets/leaflet-all.scss
Merge remote-tracking branch 'openstreetmap/pull/1436'
[rails.git] / app / assets / stylesheets / leaflet-all.scss
1 /*
2  *= require leaflet
3  *= require leaflet.locationfilter
4  *= require leaflet.contextmenu
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-popup p {
27   margin: 0 0 20px 0;
28 }