From 40c62bdf68034d8c60805fa26170aca0d091e088 Mon Sep 17 00:00:00 2001 From: Karol Blaszczak Date: Mon, 3 Jul 2023 12:12:38 +0200 Subject: [PATCH] [DOCS] adjustments for ST and cookie policy 22.3 (#18330) --- docs/_static/css/custom.css | 36 ++++++++++++++++++- .../templates/footer_info.html | 1 + 2 files changed, 36 insertions(+), 1 deletion(-) diff --git a/docs/_static/css/custom.css b/docs/_static/css/custom.css index d4bc812f50f..a16fdb5f14f 100644 --- a/docs/_static/css/custom.css +++ b/docs/_static/css/custom.css @@ -21,7 +21,41 @@ pre { white-space: pre-wrap; word-wrap: break-word; } - +/* cookie wap requirement */ +a#wap_dns {display: none;} +/* Sphinx-design tabs override */ +.sd-tab-set>input:checked+label { + border-color: var(--sd-color-tabs-underline-inactive); + color: var(--sd-color-info-text)!important; + background-color: rgb(0 104 181)!important; +} +.sd-tab-set>input:checked+label:hover { + color: --sd-color-info-text; + background-color: rgb(0,74,134)!important; +} +.sd-tab-set>input:not(:checked)+label:hover { + color: var(--sd-color-black)!important; + background-color: rgb(245, 245, 245)!important; + border-color: var(--sd-color-card-header)!important; +} +.sd-tab-set>label { + border-bottom: 0.125rem solid transparent; + margin-right: 10px!important; + margin-bottom: 8px; + color: var(--sd-color-black)!important; + border-color: var(--sd-color-tabs-underline-inactive); + cursor: pointer; + font-size: var(--sd-fontsize-tabs-label); + font-weight: 400!important; + padding: 5px 16px 2px!important; + transition: color 250ms; + width: auto; + z-index: 1; +} +.sd-tab-content { + box-shadow:none!important; + border-top: solid 2px var(--sd-color-tabs-overline)!important; +} /* Navigation panels override */ /* =================================================== */ diff --git a/docs/openvino_sphinx_theme/openvino_sphinx_theme/templates/footer_info.html b/docs/openvino_sphinx_theme/openvino_sphinx_theme/templates/footer_info.html index 22ffccd8e79..7cd486bab71 100644 --- a/docs/openvino_sphinx_theme/openvino_sphinx_theme/templates/footer_info.html +++ b/docs/openvino_sphinx_theme/openvino_sphinx_theme/templates/footer_info.html @@ -3,5 +3,6 @@ Terms of Use Cookies Privacy + Do Not Share My Personal Information

Intel, the Intel logo, and other Intel marks are trademarks of Intel Corporation or its subsidiaries. Other names and brands may be claimed as the property of others.

\ No newline at end of file