From a4e15ad385526e33f0d41282b4409af32316ebff Mon Sep 17 00:00:00 2001 From: Daniel Stirba Date: Sun, 12 Jan 2025 16:28:08 +1100 Subject: [PATCH] style: Update OFCGDetails styles for light and dark themes --- styles.css | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/styles.css b/styles.css index 218b9c7..425f4e7 100644 --- a/styles.css +++ b/styles.css @@ -1,4 +1,15 @@ -.OFCGDetails { +.theme-light .OFCGDetails { + border: 1px solid #ccc; + box-shadow: 0px 12px 0px 0px rgba(255, 255, 255, 0.37); + background-color: #f0f0f0; +} + +.theme-light .OFCGDetails[open] summary { + border-bottom: 1px solid #666; + margin-bottom: 0.5em; +} + +.theme-dark .OFCGDetails { border: 1px solid #272727; box-shadow: 0px 12px 0px 0px rgba(0, 0, 0, 0.37); background-color: #313131; @@ -16,7 +27,7 @@ padding: 0.5em; } -.OFCGDetails[open] summary { +.theme-dark .OFCGDetails[open] summary { border-bottom: 1px solid #aaa; margin-bottom: 0.5em; }