本主题介绍了如何修改管理控制台中顶部导航栏的外观。
要修改导航栏,请编辑组织内两个租户设备中的 stylesForCustomBranding.css 文件:
$> /usr/local/desktone/release/dt-platform-20_2_0/deploy/dt-tenant-node-20.2.0-bin/horizonadmin/static/css/production/ stylesForCustomBranding.css
通过取消包含
background
的行的注释,然后更改颜色的值,编辑相应的代码部分,使其类似于以下示例。
/*! Top header and Navigation background change */ .main-container { /*! Navigation background color */ } .main-container .site-header { background: #0177b3;}
下图显示了按照上述方式对代码进行编辑后的页面外观示例。
之前 | 之后 |
---|---|
![]() |
![]() |