From f7b4a3e70244ac2eb8c24e532fb335438305ccfa Mon Sep 17 00:00:00 2001 From: Revathyvenugopal162 Date: Wed, 20 Nov 2024 09:47:16 +0100 Subject: [PATCH 1/3] fix: add border styles for button --- doc/source/_static/custom.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/source/_static/custom.css b/doc/source/_static/custom.css index 1a7da734d72..798a04ff41e 100644 --- a/doc/source/_static/custom.css +++ b/doc/source/_static/custom.css @@ -8,6 +8,11 @@ background-color: transparent; } +html .sd-btn { + padding: 4px; + color: var(--ast-color-active-text)!important; + border-color: var(--ast-dropdown-border-color)!important; +} .sd-card-text { font-family: var(--pst-font-family-base); font-size: var(--pst-font-size-base); From b546239800cc47fdcefeef5a2dd19f46285bd3d9 Mon Sep 17 00:00:00 2001 From: Revathyvenugopal162 Date: Wed, 20 Nov 2024 09:49:18 +0100 Subject: [PATCH 2/3] fix: remove code transparency --- doc/source/_static/custom.css | 3 --- 1 file changed, 3 deletions(-) diff --git a/doc/source/_static/custom.css b/doc/source/_static/custom.css index 798a04ff41e..fde0d9c8e13 100644 --- a/doc/source/_static/custom.css +++ b/doc/source/_static/custom.css @@ -18,6 +18,3 @@ html .sd-btn { font-size: var(--pst-font-size-base); } -.sd-sphinx-override .code { - background-color: var(--pst-color-surface); -} From 97e4dc8c8b9a3232e75e9affa3e6ea468aa575a5 Mon Sep 17 00:00:00 2001 From: Revathyvenugopal162 Date: Wed, 20 Nov 2024 10:03:11 +0100 Subject: [PATCH 3/3] fix: remove code and add primay button --- doc/source/_static/custom.css | 16 ---------------- doc/source/operator_reference.rst | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/doc/source/_static/custom.css b/doc/source/_static/custom.css index fde0d9c8e13..c621c7b6474 100644 --- a/doc/source/_static/custom.css +++ b/doc/source/_static/custom.css @@ -2,19 +2,3 @@ .wy-table-responsive table td, .wy-table-responsive table th { white-space: normal; } - - -.bd-content .sd-card .sd-card-body, .bd-content .sd-card .sd-card-footer { - background-color: transparent; -} - -html .sd-btn { - padding: 4px; - color: var(--ast-color-active-text)!important; - border-color: var(--ast-dropdown-border-color)!important; -} -.sd-card-text { - font-family: var(--pst-font-family-base); - font-size: var(--pst-font-size-base); -} - diff --git a/doc/source/operator_reference.rst b/doc/source/operator_reference.rst index c3a06fccae6..d2d8b684553 100644 --- a/doc/source/operator_reference.rst +++ b/doc/source/operator_reference.rst @@ -26,7 +26,7 @@ Click below to access the operators documentation. +++ .. button-link:: OPEN - :color: secondary + :color: primary :expand: :outline: :click-parent: