From dc4af950d1d8202613c4eec4b4988d48c52a0022 Mon Sep 17 00:00:00 2001 From: Emmanuel Pelletier Date: Wed, 15 May 2024 09:59:19 +0200 Subject: [PATCH] gaufre: add a "button pressed" style --- packages/integration/src/styles/gaufre.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/packages/integration/src/styles/gaufre.css b/packages/integration/src/styles/gaufre.css index 10f8f27..5317d96 100644 --- a/packages/integration/src/styles/gaufre.css +++ b/packages/integration/src/styles/gaufre.css @@ -81,10 +81,21 @@ 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 { 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 { visibility: hidden !important; }