I am using WAB DE 2.0. Is there a way to set the transparency of the Legend and Layer List Windows so that when they are first opened they are semi-transparent instead of solid like the default?
Solved! Go to Solution.
Tim,
Use :
.jimu-widget-frame.jimu-container {
background-color: rgba(255,255,255,0.2);
}
Look here:
I saw Larrys Custom Widget, but I am looking for something different.
When a user first opens the Layer List or Legend Windows, they are both semi-transparent. Larry's Widget has the transparency manually set by the user.
Tim,
What theme and where are those widgets located (i.e. on screen widgets or controller widgets)?
Foldable Theme and Controller Widgets
More specifically, I am trying to find the correct section of the CSS Style file to do this in. So far, I have tried background: rgba(76, 175, 80, 0.3) in many locations, and still do not get the default white background of the Layer List Window to be transparent (or even green). I have managed to make a lot of other things green and transparent.
Tim,
Use :
.jimu-widget-frame.jimu-container {
background-color: rgba(255,255,255,0.2);
}