From d52a0a42b58f54a5558b16473c5098f8a5db311f Mon Sep 17 00:00:00 2001 From: Florian Reimold <11774314+FlorianReimold@users.noreply.github.com> Date: Wed, 13 Mar 2024 16:35:11 +0100 Subject: [PATCH] Doc: Improved tabs in dark mode --- doc/rst/_static/css/tabs-3.4.5-ecaladdon.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/doc/rst/_static/css/tabs-3.4.5-ecaladdon.css b/doc/rst/_static/css/tabs-3.4.5-ecaladdon.css index b589c51364..07065503ea 100644 --- a/doc/rst/_static/css/tabs-3.4.5-ecaladdon.css +++ b/doc/rst/_static/css/tabs-3.4.5-ecaladdon.css @@ -9,12 +9,12 @@ .sphinx-tabs-tab { position: relative; font-family: Lato,'Helvetica Neue',Arial,Helvetica,sans-serif; - color: #6b6b6b;; + color: var(--pst-color-muted); line-height: 24px; margin: 0; font-size: 16px; font-weight: 400; - background-color: rgba(255, 255, 255, 0); + background-color: var(--pst-color-background); border-radius: 5px 5px 0 0; border: 0; padding: 1rem 1.5rem; @@ -24,11 +24,11 @@ .sphinx-tabs-tab[aria-selected="true"] { font-weight: 700; border: 1px solid #a0a0a0; - border-bottom: 1px solid white; + border-bottom: 1px solid var(--pst-color-background); margin: -1px; - background-color: white; + background-color: var(--pst-color-background); - box-shadow: 0 9px 0px -1px rgb(255, 255, 255, 255), 0 3px 3px 0 rgba(0, 0, 0, 0.2); + box-shadow: 0 9px 0px -1px var(--pst-color-background), 0 3px 3px 0 var(--pst-color-shadow); } .sphinx-tabs-tab:focus { @@ -39,13 +39,13 @@ .sphinx-tabs-panel { position: relative; padding: 1rem; - border: 1px solid #a0b3bf; + border: 1px solid #a0a0a0; margin: 0px -1px -1px -1px; border-radius: 0 0 5px 5px; border-top: 0; - background: white; + background: var(--pst-color-background); - box-shadow: 0 3px 3px 0px rgba(0, 0, 0, 0.2); + box-shadow: 0 3px 3px 0px var(--pst-color-shadow); } .sphinx-tabs-panel.code-tab {