]> git.openstreetmap.org Git - rails.git/blob - app/assets/stylesheets/leaflet-all.scss
Use grid for dashboard map popups
[rails.git] / app / assets / stylesheets / leaflet-all.scss
1 /*
2  *= require leaflet/dist/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
19 .user_popup p {
20   margin: 0 !important;
21 }
22
23 .site .leaflet-popup p {
24   margin: 0 0 20px 0;
25 }