css Mai主题导航菜单颜色。
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css Mai主题导航菜单颜色。相关的知识,希望对你有一定的参考价值。
/* Header navigation link color */
.home .nav-header .current-menu-item > a,
.nav-header .nav-search,
.nav-header .nav-search:focus,
.nav-header a {
color: #323232;
}
/* Header navigation current/hover link color */
.nav-header a:hover,
.nav-header a:focus,
.nav-header .current-menu-item > a,
.nav-header .current-menu-ancestor > a,
.nav-header .menu-item-has-children:not(.highlight):hover > a,
.nav-header .menu-item-has-children:not(.highlight):focus > a,
.nav-header .nav-search:hover,
.nav-header .nav-search:focus,
.nav-header .sub-menu a:hover,
.nav-header .sub-menu a:focus,
.nav-header .sub-menu .current-menu-item > a,
.nav-header .sub-menu .current-menu-item > a:hover,
.nav-header .sub-menu .current-menu-item > a:focus {
color: blue;
}
/* Header navigation sub-menu background/color */
.nav-header .sub-menu a {
background-color: #fff;
color: #323232;
}
/* Header navigation sub-menu hover background/color */
.nav-header .sub-menu a:hover,
.nav-header .sub-menu a:focus,
.nav-header .sub-menu .current-menu-item > a,
.nav-header .sub-menu .current-menu-item > a:hover,
.nav-header .sub-menu .current-menu-item > a:focus {
background-color: #f4f4f4;
color: #323232;
}
/* Primary navigation background color */
.home .nav-primary .current-menu-item > a,
.nav-primary {
background-color: #323232;
}
/* Primary navigation link color */
.home .nav-primary .current-menu-item > a,
.nav-primary .nav-search,
.nav-primary .nav-search:focus,
.nav-primary a {
color: #e4e4e4;
}
/* Primary navigation current/hover link color */
.nav-primary a:hover,
.nav-primary a:focus,
.nav-primary .current-menu-item > a,
.nav-primary .current-menu-ancestor > a,
.nav-primary .menu-item-has-children:hover > a,
.nav-primary .menu-item-has-children:focus > a,
.nav-primary .nav-search:hover,
.nav-primary .nav-search:focus {
background-color: #252525;
color: #fff;
}
/* Primary navigation sub-menu background/color */
.nav-primary .sub-menu a {
background-color: #323232;
color: #e4e4e4;
}
/* Primary navigation sub-menu hover background/color */
.nav-primary .sub-menu a:hover,
.nav-primary .sub-menu a:focus,
.nav-primary .sub-menu .current-menu-item > a,
.nav-primary .sub-menu .current-menu-item > a:hover,
.nav-primary .sub-menu .current-menu-item > a:focus {
background-color: #252525;
color: #fff;
}
以上是关于css Mai主题导航菜单颜色。的主要内容,如果未能解决你的问题,请参考以下文章
css 更改Mai主题的按钮颜色。
bootstrap 3 导航栏下拉框颜色
CSS:如何更改活动导航页面菜单的颜色
更改导航抽屉中菜单项的文本颜色
在 bs4Dash R 闪亮应用中永久更改导航栏主题颜色
Pycharm怎样设置代码字体大小和颜色主题