Browse Source

全局layout颜色修故

master
liujiangyong 1 year ago
parent
commit
d334fe305d
  1. 2
      web/client/src/layout/components/header/index.js
  2. 2
      web/client/src/layout/components/header/style.css
  3. 12
      web/client/src/layout/containers/layout/index.less

2
web/client/src/layout/components/header/index.js

@ -46,7 +46,7 @@ const Header = props => {
<Menu
mode='horizontal'
selectedKeys={[current]}
style={{ border: 0, background: '#0B1930' }}
style={{ border: 0, background: '#004093' }}
onClick={handelClick}
theme={'light'}
items={[{

2
web/client/src/layout/components/header/style.css

@ -2,7 +2,7 @@
position: relative;
height: 65px;
min-width: 520px;
background-color: #0B1930;
background-color: #004093;
}
.header-fold {

12
web/client/src/layout/containers/layout/index.less

@ -1,6 +1,17 @@
@import '~perfect-scrollbar/css/perfect-scrollbar.css';
@import '~nprogress/nprogress.css';
.ant-layout-sider,
.ant-menu.ant-menu-dark,
.ant-menu-dark .ant-menu-inline.ant-menu-sub {
background: #004093 !important;
}
.ant-menu-item-selected {
background: #2C6BC9 !important;
}
.global-main {
background: #FFFFFF;
box-shadow: 0 0 12px 2px #dcdee033;
@ -104,6 +115,7 @@
background-color: #F9F9F9;
}
}
.ant-select-selector {
border: none !important;
background-color: #F9F9F9 !important;

Loading…
Cancel
Save