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

Jump to navigation Jump to search
Content added Content deleted
(Update stonemason colour to be same as carpenter)
(Changes suggested by User:Microbrews)
Line 1: Line 1:
//<pre>
.leaflet-wiki-coordinates.leaflet-control {
.leaflet-wiki-coordinates.leaflet-control {
margin: 0;
margin: 0;
Line 12: Line 13:
}
}


@square: 3px;
@square: 5px;
@circle: 50%;
@circle: 50%;


Line 77: Line 78:
.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 / 70%;
border-radius: @shape;
border-radius: @shape;
}
}
Line 90: Line 91:
.leaflet-marker-icon-entity {
.leaflet-marker-icon-entity {
background-color: red;
background-color: red;
box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 2px 2px;
}
}
each(@icons, {
each(@icons, {
Line 114: Line 116:
border-radius: @square;
border-radius: @square;
}
}
.leaflet-tile-loaded {
image-rendering: pixelated;
}
//</pre>