MediaWiki:Common.less/leaflet.less: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(clear:right the map, and also make the background not perfectly black so we know the image is still loading) |
(Revert 70% to contain) |
||
Line 90: | Line 90: | ||
.generate-map-icon-rules(@classname, @color, @image, @shape) { |
.generate-map-icon-rules(@classname, @color, @image, @shape) { |
||
.leaflet-marker-icon-icon-@{classname} { |
.leaflet-marker-icon-icon-@{classname} { |
||
background: @@color url('/images/@{image}_small_icon.png') no-repeat center / |
background: @@color url('/images/@{image}_small_icon.png') no-repeat center / contain; |
||
border-radius: @shape; |
border-radius: @shape; |
||
} |
} |