MediaWiki:Common.less/leaflet.less: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 69: Line 69:
.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 / contain;
background: @@color url('/images/@{image}_small_icon.png') no-repeat center / contain;
border-radius: @shape;
border-radius: @shape;
}
}