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

From Brighter Shores Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 13: Line 13:
.leaflet-marker-icon {
.leaflet-marker-icon {
border-radius: 3px;
border-radius: 3px;
/* professions */
&.guard {
&.guard {
background: #CA9C62 url(/images/Guard_small_icon.png) no-repeat center / contain;
background: #CA9C62 url(/images/Guard_small_icon.png) no-repeat center / contain;
}
}
&.chef {
&.chef,
&.theme-chef {
background: #8E7A6C url(/images/Chef_small_icon.png) no-repeat center / contain;
background: #8E7A6C url(/images/Chef_small_icon.png) no-repeat center / contain;
}
}
&.fisher {
&.fisher,
&.theme-fisher {
background: #98D3CC url(/images/Fisher_small_icon.png) no-repeat center / contain;
background: #98D3CC url(/images/Fisher_small_icon.png) no-repeat center / contain;
}
}
Line 25: Line 29:
background: #DDDB93 url(/images/Forager_small_icon.png) no-repeat center / contain;
background: #DDDB93 url(/images/Forager_small_icon.png) no-repeat center / contain;
}
}
&.alchemist {
&.alchemist,
&.theme-alchemist {
background: #84CAA2 url(/images/Alchemist_small_icon.png) no-repeat center / contain;
background: #84CAA2 url(/images/Alchemist_small_icon.png) no-repeat center / contain;
}
}
Line 34: Line 39:
background: #C8C87C url(/images/Gatherer_small_icon.png) no-repeat center / contain;
background: #C8C87C url(/images/Gatherer_small_icon.png) no-repeat center / contain;
}
}
&.woodcutter {
&.woodcutter,
&.theme-woodcutter {
background: #78C86C url(/images/Woodcutter_small_icon.png) no-repeat center / contain;
background: #78C86C url(/images/Woodcutter_small_icon.png) no-repeat center / contain;
}
}
&.carpenter {
&.carpenter,
&.theme-carpenter {
background: red url(/images/Carpenter_small_icon.png) no-repeat center / contain;
background: red url(/images/Carpenter_small_icon.png) no-repeat center / contain;
}
}
Line 43: Line 50:
background: #B2865D url(/images/Minefighter_small_icon.png) no-repeat center / contain;
background: #B2865D url(/images/Minefighter_small_icon.png) no-repeat center / contain;
}
}
&.bonewright {
&.bonewright,
&.theme-bonewright {
background: #B0B897 url(/images/Bonewright_small_icon.png) no-repeat center / contain;
background: #B0B897 url(/images/Bonewright_small_icon.png) no-repeat center / contain;
}
}
Line 52: Line 60:
background: #B4A432 url(/images/Blacksmith_small_icon.png) no-repeat center / contain;
background: #B4A432 url(/images/Blacksmith_small_icon.png) no-repeat center / contain;
}
}
&.stonemason {
&.stonemason,
&.theme-stonemason {
background: #808789 url(/images/Stonemason_small_icon.png) no-repeat center / contain;
background: #808789 url(/images/Stonemason_small_icon.png) no-repeat center / contain;
}
}
Line 75: Line 84:
&.armorer {
&.armorer {
background: red url(/images/Armorer_small_icon.png) no-repeat center / contain;
background: red url(/images/Armorer_small_icon.png) no-repeat center / contain;
}
/* extra themes */
&.theme-neutral {
background-color: #C0925A;
}
&.theme-aggressive {
background-color: #C44A44;
}
/* shapes */
&.shape-square,
&.theme-square {
border-radius: none;
}
&.shape-circle {
border-radius: 50px;
}
/* other */
&.strange_stone,
&.portal_stone {
background-color: #949A90;
}
}
}
}

Revision as of 15:01, 24 November 2024

/* MAPS */

.map.leaflet-container {
	.leaflet-wiki-coordinates.leaflet-control {
		margin: 0;
		color: white;
		padding: 5px 10px;
		filter: drop-shadow(0 0 2px black);
	}
	
	/* ICONS */
	
	.leaflet-marker-icon {
		border-radius: 3px;
		
		/* professions */
		&.guard {
			background: #CA9C62 url(/images/Guard_small_icon.png) no-repeat center / contain;
		}
		&.chef,
		&.theme-chef {
			background: #8E7A6C url(/images/Chef_small_icon.png) no-repeat center / contain;
		}
		&.fisher,
		&.theme-fisher {
			background: #98D3CC url(/images/Fisher_small_icon.png) no-repeat center / contain;
		}
		&.forager {
			background: #DDDB93 url(/images/Forager_small_icon.png) no-repeat center / contain;
		}
		&.alchemist,
		&.theme-alchemist {
			background: #84CAA2 url(/images/Alchemist_small_icon.png) no-repeat center / contain;
		}
		&.scout {
			background: #C09A60 url(/images/Scout_small_icon.png) no-repeat center / contain;
		}
		&.gatherer {
			background: #C8C87C url(/images/Gatherer_small_icon.png) no-repeat center / contain;
		}
		&.woodcutter,
		&.theme-woodcutter {
			background: #78C86C url(/images/Woodcutter_small_icon.png) no-repeat center / contain;
		}
		&.carpenter,
		&.theme-carpenter {
			background: red url(/images/Carpenter_small_icon.png) no-repeat center / contain;
		}
		&.minefighter {
			background: #B2865D url(/images/Minefighter_small_icon.png) no-repeat center / contain;
		}
		&.bonewright,
		&.theme-bonewright {
			background: #B0B897 url(/images/Bonewright_small_icon.png) no-repeat center / contain;
		}
		&.miner {
			background: #749696 url(/images/Miner_small_icon.png) no-repeat center / contain;
		}
		&.blacksmith {
			background: #B4A432 url(/images/Blacksmith_small_icon.png) no-repeat center / contain;
		}
		&.stonemason,
		&.theme-stonemason {
			background: #808789 url(/images/Stonemason_small_icon.png) no-repeat center / contain;
		}
		&.watchperson {
			background: #AE8653 url(/images/Watchperson_small_icon.png) no-repeat center / contain;
		}
		&.detective {
			background: #5AB2BE url(/images/Detective_small_icon.png) no-repeat center / contain;
		}
		&.leatherworker {
			background: #866E62 url(/images/Leatherworker_small_icon.png) no-repeat center / contain;
		}
		&.merchant {
			background: #78B492 url(/images/Merchant_small_icon.png) no-repeat center / contain;
		}
		&.shieldbearer {
			background: red url(/images/Shieldbearer_small_icon.png) no-repeat center / contain;
		}
		&.builder {
			background: red url(/images/Builder_small_icon.png) no-repeat center / contain;
		}
		&.armorer {
			background: red url(/images/Armorer_small_icon.png) no-repeat center / contain;
		}
		
		/* extra themes */
		&.theme-neutral {
			background-color: #C0925A;
		}
		&.theme-aggressive {
			background-color: #C44A44;
		}
		
		/* shapes */ 
		
		&.shape-square,
		&.theme-square {
			border-radius: none;
		}
		&.shape-circle {
			border-radius: 50px;
		}
		
		/* other */
		
		&.strange_stone,
		&.portal_stone {
			background-color: #949A90;
		}
	}
}