You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
72 lines
1.2 KiB
72 lines
1.2 KiB
@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;
|
|
}
|
|
|