]> git.openstreetmap.org Git - rails.git/blob - app/assets/stylesheets/leaflet-all.css.scss
Remove permalink/add note links
[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-popup p {
27   margin: 0 0 20px 0;
28 }
29
30 .leaflet-control-attribution #permalinkanchor {
31   background: image-url("sprite.png") 0 -45px no-repeat;
32   padding-left:20px;
33 }
34
35 .site .leaflet-control-attribution {
36   box-shadow: none;
37   font-size: inherit;
38 }