committed by
偏右
10 changed files with 115 additions and 103 deletions
@ -1,64 +1,72 @@ |
|||
.head { |
|||
width: 100%; |
|||
transition: background 0.3s, width 0.2s; |
|||
height: 64px; |
|||
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08); |
|||
position: relative; |
|||
:global { |
|||
.ant-menu-submenu.ant-menu-submenu-horizontal { |
|||
line-height: 64px; |
|||
height: 100%; |
|||
.ant-menu-submenu-title { |
|||
height: 100%; |
|||
} |
|||
} |
|||
} |
|||
&.light { |
|||
background-color: #fff; |
|||
} |
|||
.main { |
|||
display: flex; |
|||
height: 64px; |
|||
padding-left: 24px; |
|||
&.wide { |
|||
max-width: 1200px; |
|||
margin: auto; |
|||
padding-left: 0; |
|||
} |
|||
.left { |
|||
flex: 1; |
|||
display: flex; |
|||
} |
|||
.right { |
|||
width: 324px; |
|||
} |
|||
} |
|||
} |
|||
|
|||
.logo { |
|||
width: 165px; |
|||
height: 64px; |
|||
position: relative; |
|||
line-height: 64px; |
|||
transition: all 0.3s; |
|||
overflow: hidden; |
|||
img { |
|||
display: inline-block; |
|||
vertical-align: middle; |
|||
height: 32px; |
|||
} |
|||
h1 { |
|||
color: #fff; |
|||
display: inline-block; |
|||
vertical-align: top; |
|||
font-size: 16px; |
|||
margin: 0 0 0 12px; |
|||
font-weight: 400; |
|||
} |
|||
} |
|||
|
|||
.light { |
|||
h1 { |
|||
color: #002140; |
|||
} |
|||
} |
|||
@import '~antd/lib/style/themes/default.less'; |
|||
|
|||
.head { |
|||
width: 100%; |
|||
transition: background 0.3s, width 0.2s; |
|||
height: @layout-header-height; |
|||
box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08); |
|||
position: relative; |
|||
:global { |
|||
.ant-menu-submenu.ant-menu-submenu-horizontal { |
|||
line-height: @layout-header-height; |
|||
height: 100%; |
|||
.ant-menu-submenu-title { |
|||
height: 100%; |
|||
} |
|||
} |
|||
} |
|||
&.light { |
|||
background-color: #fff; |
|||
} |
|||
.main { |
|||
display: flex; |
|||
height: @layout-header-height; |
|||
padding-left: 24px; |
|||
&.wide { |
|||
max-width: 1200px; |
|||
margin: auto; |
|||
padding-left: 0; |
|||
} |
|||
.left { |
|||
flex: 1; |
|||
display: flex; |
|||
} |
|||
.right { |
|||
width: 324px; |
|||
} |
|||
} |
|||
} |
|||
|
|||
.logo { |
|||
width: 165px; |
|||
height: @layout-header-height; |
|||
position: relative; |
|||
line-height: @layout-header-height; |
|||
transition: all 0.3s; |
|||
overflow: hidden; |
|||
img { |
|||
display: inline-block; |
|||
vertical-align: middle; |
|||
height: 32px; |
|||
} |
|||
h1 { |
|||
color: #fff; |
|||
display: inline-block; |
|||
vertical-align: top; |
|||
font-size: 16px; |
|||
margin: 0 0 0 12px; |
|||
font-weight: 400; |
|||
} |
|||
} |
|||
|
|||
.light { |
|||
h1 { |
|||
color: #002140; |
|||
} |
|||
} |
|||
|
|||
.menu { |
|||
border: none; |
|||
height: @layout-header-height; |
|||
line-height: @layout-header-height; |
|||
} |
|||
|
|||
@ -0,0 +1,6 @@ |
|||
@import '~antd/lib/style/themes/default.less'; |
|||
|
|||
.content { |
|||
margin: 24px; |
|||
padding-top: @layout-header-height; |
|||
} |
|||
Loading…
Reference in new issue