Hello,
Is there a way to make the esri.dijit.Popup transparent? I tried domStyle.set(popup.domNode, "opacity", 0.1) but there is still no transparency. Thanks!
Naci,
Sure it is:
.esriPopup .contentPane { background-color: rgba(257, 247, 247, 0.75); } .esriPopup .titlePane { background-color: rgba(72, 85, 102, 0.75); } .esriPopup .actionsPane { background-color: rgba(257, 247, 247, 0.75); } .esriPopup .pointer, .esriPopup .outerPointer { background-color: rgba(257, 247, 247, 0.75); }
Great! Thanks!
Thank you Robert,
Could you tell what specific overrides they would be. Do you have a CSS example that produces that screenshot?
Thanks, Naci
You can adjust the popups opacity by adding some CSS overrides but the issue is the pointer on the popup is not a real arrow/triangle it is a square rotated and when you set the opacity of the popup the pointers hidden portion of that square is now visible and look horrible.
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.