doc: _static: css: fix navtree +/- icon margins
Fixed selectors that probably went stale overtime since the custom.css was adopted from Godot and RTD having evolved in the meantime and that were causing +/- icons to expand/collapse the navtree to be putting margins where they shouldn't have. Fixes zephyrproject-rtos/zephyr#78974 Signed-off-by: Benjamin Cabé <benjamin@zephyrproject.org>
This commit is contained in:
parent
ee173abeb3
commit
4f0bbb8fda
14
doc/_static/css/custom.css
vendored
14
doc/_static/css/custom.css
vendored
@ -738,21 +738,21 @@ kbd, .kbd,
|
||||
border: none;
|
||||
}
|
||||
|
||||
.wy-side-nav-search, .wy-menu-vertical a, .wy-menu-vertical a span.toctree-expand,
|
||||
.wy-menu-vertical li.toctree-l2 a span.toctree-expand {
|
||||
.wy-menu-vertical a button.toctree-expand,
|
||||
.wy-menu-vertical li.toctree-l2 a button.toctree-expand {
|
||||
color: var(--navbar-level-3-color);
|
||||
opacity: 0.9;
|
||||
margin-right: 8px;
|
||||
margin-right: 6px;
|
||||
}
|
||||
|
||||
.wy-side-nav-search, .wy-menu-vertical a, .wy-menu-vertical a:hover span.toctree-expand,
|
||||
.wy-menu-vertical li.toctree-l2 a:hover span.toctree-expand {
|
||||
.wy-menu-vertical a:hover button.toctree-expand,
|
||||
.wy-menu-vertical li.toctree-l2 a:hover button.toctree-expand {
|
||||
color: var(--navbar-level-2-color);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.wy-side-nav-search, .wy-menu-vertical a, .wy-menu-vertical a:active span.toctree-expand,
|
||||
.wy-menu-vertical li.toctree-l2 a:active span.toctree-expand {
|
||||
.wy-menu-vertical a:active button.toctree-expand,
|
||||
.wy-menu-vertical li.toctree-l2 a:active button.toctree-expand {
|
||||
color: var(--navbar-level-1-color);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user