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?
Tim,
Use :
<SPAN class="selector token">.jimu-widget-frame.jimu-container</SPAN> <SPAN class="punctuation token">{</SPAN> <SPAN class="property token">background-color</SPAN><SPAN class="punctuation token">:</SPAN> <SPAN class="token function">rgba</SPAN><SPAN class="punctuation token">(</SPAN>255,255,255,0.2<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN> <SPAN class="punctuation token">}</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
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.
Foldable Theme and Controller Widgets
What theme and where are those widgets located (i.e. on screen widgets or controller widgets)?
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.
Look here:
Larrys Custom WAB Widgets and More
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.