gaufre: add a "button pressed" style

This commit is contained in:
Emmanuel Pelletier
2024-05-15 09:59:19 +02:00
parent 1618bb1d1b
commit dc4af950d1

View File

@@ -81,10 +81,21 @@
background-color: #ededed !important; background-color: #ededed !important;
} }
.lasuite-gaufre-btn.lasuite--gaufre-opened {
background-color: #ededed !important;
box-shadow: inset 0 0 0 1px #000091 !important;
}
[data-fr-scheme="dark"] .lasuite-gaufre-btn.lasuite--gaufre-opened,
[data-fr-scheme="dark"] .lasuite-gaufre-btn--vanilla:active { [data-fr-scheme="dark"] .lasuite-gaufre-btn--vanilla:active {
background-color: #474747 !important; background-color: #474747 !important;
} }
[data-fr-scheme="dark"] .lasuite-gaufre-btn.lasuite--gaufre-opened {
background-color: #474747 !important;
box-shadow: inset 0 0 0 1px #8585f6 !important;
}
html:not(.lasuite--gaufre-loaded) .lasuite-gaufre-btn { html:not(.lasuite--gaufre-loaded) .lasuite-gaufre-btn {
visibility: hidden !important; visibility: hidden !important;
} }