Browse Source

全局layout颜色修故

master
liujiangyong 2 years 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 <Menu
mode='horizontal' mode='horizontal'
selectedKeys={[current]} selectedKeys={[current]}
style={{ border: 0, background: '#0B1930' }} style={{ border: 0, background: '#004093' }}
onClick={handelClick} onClick={handelClick}
theme={'light'} theme={'light'}
items={[{ items={[{

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

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

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

@ -1,6 +1,17 @@
@import '~perfect-scrollbar/css/perfect-scrollbar.css'; @import '~perfect-scrollbar/css/perfect-scrollbar.css';
@import '~nprogress/nprogress.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 { .global-main {
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0 0 12px 2px #dcdee033; box-shadow: 0 0 12px 2px #dcdee033;
@ -104,6 +115,7 @@
background-color: #F9F9F9; background-color: #F9F9F9;
} }
} }
.ant-select-selector { .ant-select-selector {
border: none !important; border: none !important;
background-color: #F9F9F9 !important; background-color: #F9F9F9 !important;

Loading…
Cancel
Save