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

Add Pencil icon, and use map_icon instead of small_icon for entities
(clear:right the map, and also make the background not perfectly black so we know the image is still loading)
(Add Pencil icon, and use map_icon instead of small_icon for entities)
 
(One intermediate revision by the same user not shown)
Line 78:
obstacle obstacle Obstacle @square,
palette palette Palette @square,
pencil item Pencil @circle,
portal_stone item Portal_Stone @square,
recipe none Recipe @square,
Line 90 ⟶ 91:
.generate-map-icon-rules(@classname, @color, @image, @shape) {
.leaflet-marker-icon-icon-@{classname} {
background: @@color url('/images/@{image}_small_icon_map_icon.png') no-repeat center / 70%contain;
border-radius: @shape;
}