Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions src/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,12 @@ html[data-theme="dark"] .highlight pre {
}

#version_switcher_menu a.list-group-item.active {
background-color: var(--pst-color-background);
border-color: var(--pst-color-border);
color: var(--pst-color-text-base)
background-color: #D09735!important;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we really want to use this color, see https://www.color-hex.com/color/d09735.

I am not sure if this is in conflict with our style guidelines. I think it works fine for the dark theme, but for the light one it may not be the best.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, it is not conflicting IMO, since the navigation bar is always black (in dark and in light) and it is only at the time of hovering, if you are putting the dropdown. But i am open to change.

border-color: var(--pst-color-text-base)!important;
color: var(--pst-color-text-base)!important;
}

.list-group-item.active {
z-index: 2;
color: var(--pst-color-text-base)!important;
}