MediaWiki:Common.less/leaflet.less: Difference between revisions
Add Pencil icon, and use map_icon instead of small_icon for entities
No edit summary |
(Add Pencil icon, and use map_icon instead of small_icon for entities) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1:
//<pre>
.map {
clear: right;
}
.leaflet-container {
background: #
}
.leaflet-wiki-coordinates.leaflet-control {
Line 77 ⟶ 78:
obstacle obstacle Obstacle @square,
palette palette Palette @square,
pencil item Pencil @circle,
portal_stone item Portal_Stone @square,
recipe none Recipe @square,
Line 89 ⟶ 91:
.generate-map-icon-rules(@classname, @color, @image, @shape) {
.leaflet-marker-icon-icon-@{classname} {
background: @@color url('/images/@{image}
border-radius: @shape;
}
|