Skip to content

Commit d753703

Browse files
Revathyvenugopal162jorgepiloto
authored andcommitted
FIX: Navigation bar drop down styles. (#216)
* Fix: Change the button color always bright * Fix: Change the hovering style * Fix: Change in length of dropdown
1 parent f388017 commit d753703

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/ansys_sphinx_theme/theme/ansys_sphinx_theme/static/css/ansys_sphinx_theme.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,10 @@ Navigation column (according to side column)
607607
.bd-header .navbar-nav li a.nav-link {
608608
color: #ddd;
609609
}
610+
.bd-header .navbar-nav .dropdown button {
611+
color: #ddd;
612+
display: unset;
613+
}
610614

611615
/*
612616
#################################
@@ -633,6 +637,15 @@ b, strong {
633637
border-bottom: 2px solid #fff;
634638
}
635639

640+
.navbar-nav li a:focus, .navbar-nav li a:hover, .navbar-nav li.current>a {
641+
color: white !important;
642+
border-bottom: 2px solid #fff;
643+
}
644+
645+
.bd-header .navbar-nav .dropdown .dropdown-menu{
646+
min-width: 250px;
647+
}
648+
636649
/*
637650
###########################
638651
Left side toc-tree hovering

0 commit comments

Comments
 (0)