3 *= require leaflet.locationfilter
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");
11 div.leaflet-marker-icon.location-filter.move-marker {
12 background-image: image-url("img/move-handle.png");
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;
25 .site .leaflet-popup p {
29 img.leaflet-marker-icon:after {
31 position:absolute; left:50%; top:50%;
32 margin:-30px 0 0 -30px;
36 background:rgba(0,0,0,0.2);
37 border:2px solid rgba(0,0,0,0.6);
40 -webkit-animation:place-tmp 2000ms infinite;
41 -moz-animation:place-tmp 2000ms infinite;
42 animation:place-tmp 2000ms infinite;
43 @-webkit-keyframes place-tmp {
44 0% { opacity:1; -webkit-transform:scale(0); }
45 50% { opacity:0; -webkit-transform:scale(1); }
46 100% { opacity:0; -webkit-transform:scale(1); }
48 @-moz-keyframes place-tmp {
49 0% { opacity:1; -moz-transform:scale(0); }
50 50% { opacity:0; -moz-transform:scale(1); }
51 100% { opacity:0; -moz-transform:scale(1); }
53 @keyframes place-tmp {
54 0% { opacity:1; transform:scale(0); }
55 50% { opacity:0; transform:scale(1); }
56 100% { opacity:0; transform:scale(1); }