MediaWiki:Common.less/leaflet.less: Difference between revisions
MediaWiki:Common.less/leaflet.less (view source)
Revision as of 20:17, 14 December 2024
, Yesterday at 20:17Changes suggested by User:Microbrews
(Update stonemason colour to be same as carpenter) |
(Changes suggested by User:Microbrews) |
||
Line 1:
//<pre>
.leaflet-wiki-coordinates.leaflet-control {
margin: 0;
Line 12 ⟶ 13:
}
@square:
@circle: 50%;
Line 77 ⟶ 78:
.generate-map-icon-rules(@classname, @color, @image, @shape) {
.leaflet-marker-icon-icon-@{classname} {
background: @@color url('/images/@{image}_small_icon.png') no-repeat center /
border-radius: @shape;
}
Line 90 ⟶ 91:
.leaflet-marker-icon-entity {
background-color: red;
box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 2px 2px;
}
each(@icons, {
Line 114 ⟶ 116:
border-radius: @square;
}
.leaflet-tile-loaded {
image-rendering: pixelated;
}
//</pre>
|