I have incorporated a Calcite button that opens a Calcite modal with some general information about the app.
The interaction with the calcite button is different than the regular ESRI JavaScript widgets. I am using the light stylesheet. When the user hovers over one of the ESRI widgets (Home, Zoom in/Out/Expand), the button background changes from white to light grey. For the Calcite button, it changes the color of the outline slightly but not the background. I would like the Calcite button to match the background color/styling of the ESRI widgets when the user hovers over.
In addition, the Calcite button has a blue outline when the user clicks it and remains until something else in the UI is clicked. I would prefer not to have this blue outline.
How do I access these properties via CSS if possible? The Calcite Button documentation page has limited options.
Thanks in advance!
#infoIcon {
display: block;
position: absolute;
top: 200px;
left: 15px;
}
/* css below works if I want to change background color of .esri-widget buttons */
.esri-widget--button:hover {
background-color: #992727;
color: #2e2e2e
}
/*This does nothing to change calcite-button behavior*/
calcite-button {
background-color: #773838;
}
/*html for calcite button*/
<div id="infoIcon">
<calcite-button id="example-button" icon-start="information" scale= "m" appearance="outline-fill" kind="neutral"></calcite-button>
</div>