Hi! Is there a way to set the color of an element in de CSS editor to change according to the primary/secondary colors chosen in the Look&Feel?
For example, I want the previous/next buttons to be the primary color, then change to the secondary when hovering. If I leave the color empty, the platform will take the secondary color as default. So now I just inserted the hex code there, but I want to avoid changing it every time.
/* Style next & previous buttons */
.Skin #Buttons #NextButton,
.Skin #Buttons #PreviousButton {
text-align: center !important;
padding: 0px !important;
min-width: 100px !important;
height: 50px !important;
border-radius: 25px !important;
font-weight: bold;
font-size: 16px !important;
}
#NextButton,
#PreviousButton {
background-color: #0E55B3 !important; /* PRIMARY */
color: white !important;
}
#NextButton:hover,
#NextButton.q-checked,
#NextButton:focus,
#PreviousButton:hover,
#PreviousButton.q-checked,
#PreviousButton:focus {
background-color: #FBA53C !important;
color: #192743 !important; /* SECONDARY */
}