Created
June 18, 2018 18:28
-
-
Save pmacMaps/06bd1e3d3197f6b5225757ef509f9475 to your computer and use it in GitHub Desktop.
Expanded Layer Widget with Legend for Esri Web AppBuilder
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Introduction | |
CSS rules for the Layer widget is Esri's Web AppBuilder. | |
For layer widgets that are expanded on map load, legend items will show | |
with their symbols instead of a loading icon. | |
Place these style rules within the <style> tag of the index.html file. | |
Or, create a new style.css file and link to it in the index.html file | |
*/ | |
/* Layer list expanded by default */ | |
.jimu-widget-layerList table.layer-sub-node { | |
display: table; | |
} | |
/* layer list legend hidden so it loads properly */ | |
.jimu-widget-layerList table.layer-sub-node .legends-loading-img { | |
display: none; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment