The code below gets me what I need in terms of button color and hover. However, the button color goes back to the default gray when the menu is open and you move your cursor away from the button. How can you customize the button when the menu is open?
Current code that works:
<style scoped>
/deep/ .dropdown > button {
color:#001E61;
background:#ffffff;
border-color:#001E61;
font-weight:bold;
}
/deep/ .dropdown > button:hover {
color:#E81F76;
background:#ffffff;
border-color:#E81F76;
font-weight:bold;
}
</style>
Code I have tried to customize color of the button when menu is open:
<style scoped>
/deep/ .dropdown > button:hover,
.dropdown > button:active,
.dropdown > button:focus {
color:#E81F76;
background:#ffffff;
border-color:#E81F76;
font-weight:bold;
}
</scoped>