MediaWiki:Common.less/leaflet.less: Difference between revisions
Add Pencil icon, and use map_icon instead of small_icon for entities
(Add Builder profession) |
(Add Pencil icon, and use map_icon instead of small_icon for entities) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1:
//<pre>
.map {
float: right;
clear: right;
}▼
background: #444444;
}
.leaflet-wiki-coordinates.leaflet-control {
margin: 0;
Line 5 ⟶ 12:
padding: 5px 10px;
filter: drop-shadow(0 0 2px black);
}
.leaflet-tile-loaded {
image-rendering: pixelated;▼
}
// Prevents stuttery zoom when prefers-reduced-motion
Line 68 ⟶ 78:
obstacle obstacle Obstacle @square,
palette palette Palette @square,
pencil item Pencil @circle,
portal_stone item Portal_Stone @square,
recipe none Recipe @square,
Line 80 ⟶ 91:
.generate-map-icon-rules(@classname, @color, @image, @shape) {
.leaflet-marker-icon-icon-@{classname} {
background: @@color url('/images/@{image}
border-radius: @shape;
}
Line 117 ⟶ 128:
.leaflet-marker-icon-shape-square {
border-radius: @square;
▲}
▲.leaflet-tile-loaded {
▲ image-rendering: pixelated;
}
//</pre>
|