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 16: Line 16:
/* professions */
/* professions */
&.guard,
&.guard,
&.guard-foe {
&.guard_foe {
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 {
&.theme-chef,
&.chef_obj {
background: #8E7A6C url(/images/Chef_small_icon.png) no-repeat center / contain;
background: #8E7A6C url(/images/Chef_small_icon.png) no-repeat center / contain;
}
}
Line 46: Line 47:
&.carpenter,
&.carpenter,
&.theme-carpenter,
&.theme-carpenter,
&.carpenter-obj {
&.carpenter_obj {
background: red url(/images/Carpenter_small_icon.png) no-repeat center / contain;
background: red url(/images/Carpenter_small_icon.png) no-repeat center / contain;
}
}

Revision as of 18:46, 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,
		&.guard_foe {
			background: #CA9C62 url(/images/Guard_small_icon.png) no-repeat center / contain;
		}
		&.chef,
		&.theme-chef,
		&.chef_obj {
			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,
		&.carpenter_obj {
			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;
		}
		
		&.theme-item {
			background-color: white;
		}
		
		/* shapes */ 
		
		&.shape-square,
		&.theme-square {
			border-radius: 3px;
		}
		&.shape-circle {
			border-radius: 50px;
		}
		
		/* other */
		
		&.strange_stone,
		&.portal_stone {
			background-color: #949A90;
		}
	}
}