]> git.openstreetmap.org Git - rails.git/blob - app/assets/stylesheets/leaflet-all.css.scss
RTL fix for leaflet controls, Ad concept
[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 div.leaflet-marker-icon.location-filter.resize-marker {
8   background-image: image-url("img/resize-handle.png");
9 }
10
11 div.leaflet-marker-icon.location-filter.move-marker {
12   background-image: image-url("img/move-handle.png");
13 }
14
15 /* Override some conflicting styles.
16    https://github.com/openstreetmap/openstreetmap-website/pull/121#issuecomment-10206946 */
17 .leaflet-popup-content img.user_thumbnail {
18   max-width: 50px !important;
19 }
20
21 .user_popup p {
22   margin: 0 !important;
23 }
24
25 .site .leaflet-popup p {
26   margin: 0 0 20px 0;
27 }
28
29 .leaflet-left .leaflet-control {
30         margin-left: 0;
31 }
32
33 .leaflet-top {
34         margin-top: 16px;
35         .leaflet-control {
36                 margin-top: 0;
37         }
38 }