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.
107 lines
1.8 KiB
107 lines
1.8 KiB
@import "~antd/lib/style/themes/default.less";
|
|
|
|
.header {
|
|
padding: 0 16px 0 0;
|
|
background: #fff;
|
|
box-shadow: 0 1px 4px rgba(0, 21, 41, .12);
|
|
position: relative;
|
|
}
|
|
|
|
.logo {
|
|
height: 64px;
|
|
position: relative;
|
|
line-height: 64px;
|
|
padding-left: 32px;
|
|
transition: all .3s;
|
|
background: #00284d;
|
|
overflow: hidden;
|
|
img {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
height: 32px;
|
|
}
|
|
h1 {
|
|
color: #fff;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
font-size: 22px;
|
|
margin-left: 12px;
|
|
font-family: Lato, 'Helvetica Neue', Arial, Helvetica, sans-serif;
|
|
margin-top: -2px;
|
|
}
|
|
}
|
|
|
|
:global(.ant-layout-sider-collapsed) .logo {
|
|
padding-left: 24px;
|
|
> a {
|
|
width: 32px;
|
|
}
|
|
}
|
|
|
|
.trigger {
|
|
font-size: 20px;
|
|
line-height: 64px;
|
|
cursor: pointer;
|
|
transition: all .3s;
|
|
padding: 0 28px;
|
|
&:hover {
|
|
background: rgba(0, 0, 0, .04);
|
|
}
|
|
}
|
|
|
|
.right {
|
|
float: right;
|
|
height: 100%;
|
|
.action {
|
|
cursor: pointer;
|
|
padding: 0 12px;
|
|
display: inline-block;
|
|
transition: all .3s;
|
|
height: 100%;
|
|
> i {
|
|
font-size: 16px;
|
|
vertical-align: middle;
|
|
}
|
|
&:global(.ant-popover-open),
|
|
&:hover {
|
|
background: rgba(0, 0, 0, .04);
|
|
}
|
|
}
|
|
.search {
|
|
padding: 0;
|
|
margin: 0 12px;
|
|
&:hover {
|
|
background: transparent;
|
|
}
|
|
}
|
|
.account {
|
|
.avatar {
|
|
margin: 20px 8px 20px 0;
|
|
color: @primary-color;
|
|
background: rgba(255, 255, 255, .85);
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
}
|
|
|
|
.menu {
|
|
:global(.anticon) {
|
|
margin-right: 8px;
|
|
}
|
|
:global(.ant-dropdown-menu-item) {
|
|
width: 160px;
|
|
}
|
|
}
|
|
|
|
:global {
|
|
.ant-layout {
|
|
overflow-x: hidden;
|
|
}
|
|
}
|
|
|
|
.sider {
|
|
min-height: 100vh;
|
|
box-shadow: 2px 0 6px rgba(0, 21, 41, .35);
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|