From 309f4fd5c3ae69cb3785da49941f5e7d0d15d7ae Mon Sep 17 00:00:00 2001 From: Revathy Venugopal <104772255+Revathyvenugopal162@users.noreply.github.com> Date: Tue, 16 Aug 2022 14:39:57 +0200 Subject: [PATCH] Bump version 0.5.1 --- src/ansys_sphinx_theme/__init__.py | 2 +- .../static/css/ansys_sphinx_theme.css | 23 +++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/src/ansys_sphinx_theme/__init__.py b/src/ansys_sphinx_theme/__init__.py index d9732733..3504f193 100644 --- a/src/ansys_sphinx_theme/__init__.py +++ b/src/ansys_sphinx_theme/__init__.py @@ -2,7 +2,7 @@ import os from pathlib import Path -__version__ = "0.5.0" +__version__ = "0.5.1" # get location of this directory _this_path = os.path.dirname(os.path.realpath(__file__)) diff --git a/src/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css b/src/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css index 20b35cbd..5095d2fc 100644 --- a/src/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css +++ b/src/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css @@ -589,4 +589,27 @@ Padding of main content block .bd-content { padding: 1.5rem 1.5rem 2rem 3rem; +} + + +/* +########################### +Left side toc-tree hovering +########################### +*/ + +nav.bd-links .active:hover>a { + font-weight: bold; + color: var(--pst-color-link); + border-left: 2px solid var(--pst-color-link); +} + +nav.bd-links .active>a { + font-weight: bold; + color: var(--pst-color-link); +} + +nav.bd-links li>a:hover { + font-weight: 900; + color: var(--pst-color-text-muted); } \ No newline at end of file