From 2320329a5113afb85ee759b201ed56ca737fd72d Mon Sep 17 00:00:00 2001 From: Bartlomiej Bielawa Date: Mon, 11 Sep 2023 17:07:28 +0200 Subject: [PATCH] [DOCS] Modify dropdowns css --- docs/_static/css/custom.css | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/_static/css/custom.css b/docs/_static/css/custom.css index 57b74a23384..b984dded78c 100644 --- a/docs/_static/css/custom.css +++ b/docs/_static/css/custom.css @@ -102,6 +102,30 @@ ul#navbar-main-elements > li:hover { top: 5px; } +/* Moving dropdown arrows to the left */ +details.sd-dropdown .sd-summary-up, +details.sd-dropdown .sd-summary-down { + left: 10px; +} + + +/* Ttile is at the same place for both open and close states */ +details.sd-dropdown:not([open]).sd-card { + padding: 0px; +} + + +/* Ttile is at the same place for both open and close states */ +details.sd-dropdown[open].sd-card { + padding: 0px; +} + +/* Move title 40px away from the arrow */ +details.sd-dropdown .sd-summary-title { + padding-left: 40px; +} + + /* Second level items */ #bd-docs-nav > div > ul > li > ul {