.header-container {
|
position: fixed;
|
z-index: 20;
|
left: 0;
|
top: 0;
|
font-weight: bold!important;
|
width: 100%;
|
height: 48px;
|
display: flex;
|
background: var(--mk-sys-background)!important;
|
color: var(--mk-sys-font-color)!important;
|
|
.header-logo {
|
width: 180px;
|
line-height: 48px;
|
text-align: center;
|
padding-left: 5px;
|
box-sizing: border-box;
|
opacity: 1;
|
transition: width 0.2s, opacity 0.15s;
|
img {
|
max-width: 100%;
|
max-height: 40px;
|
}
|
}
|
.header-logo.collapse {
|
opacity: 0;
|
width: 0px;
|
padding-left: 0px;
|
}
|
|
.header-collapse {
|
width: 35px;
|
min-height: 48px;
|
line-height: 48px;
|
padding-left: 10px;
|
margin: 0 10px;
|
transition: padding-left 0.15s;
|
.anticon {
|
cursor: pointer;
|
position: relative;
|
top: 3px;
|
font-size: 20px;
|
color: var(--mk-sys-font-color);
|
}
|
}
|
.header-collapse.collapse {
|
width: 60px;
|
padding-left: 20px;
|
}
|
.header-menu {
|
margin: 0;
|
min-height: 20px;
|
line-height: 48px;
|
flex: 1;
|
overflow-x: auto;
|
overflow-y: hidden;
|
white-space: nowrap;
|
li {
|
font-size: 1.3rem;
|
cursor: pointer;
|
display: inline-block;
|
span {
|
padding: 0 10px;
|
height: 42px;
|
display: inline-block;
|
color: var(--mk-sys-font-color);
|
}
|
|
&:hover {
|
color: #eeeeee;
|
span {
|
color: var(--mk-sys-color);
|
border-bottom: 4px solid var(--mk-sys-color);
|
}
|
}
|
&.active {
|
color: #ffffff;
|
span {
|
color: var(--mk-sys-color);
|
border-bottom: 4px solid var(--mk-sys-color);
|
}
|
}
|
}
|
}
|
.header-menu.vertical-menu {
|
>li {
|
>span {
|
border-color: transparent!important;
|
}
|
}
|
}
|
|
.header-menu::-webkit-scrollbar {
|
height: 5px;
|
}
|
.header-menu::-webkit-scrollbar-thumb {
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13);
|
background: rgba(0, 0, 0, 0.13);
|
border-radius: 5px;
|
}
|
.header-menu::-webkit-scrollbar-track {
|
box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.05);
|
border: 1px solid rgba(255, 255, 255, 0.07);
|
background: rgba(255, 255, 255, 255);
|
border-radius: 3px;
|
}
|
|
.header-setting {
|
line-height: 48px;
|
margin-right: 10px;
|
img {
|
width: 29px;
|
height: 29px;
|
border-radius: 30px;
|
margin-right: 7px;
|
}
|
span {
|
color: var(--mk-sys-font-color);
|
font-size: 0.95rem;
|
.username {
|
vertical-align: middle;
|
display: inline-block;
|
span {
|
display: block;
|
line-height: 15px;
|
padding: 0 3px;
|
font-size: 0.95rem;
|
max-width: 100px;
|
overflow: hidden;
|
text-overflow: ellipsis;
|
white-space: nowrap;
|
}
|
span + span {
|
font-size: 12px;
|
}
|
}
|
}
|
}
|
|
.search-menu {
|
font-size: 18px;
|
margin-top: 17px;
|
margin-right: 20px;
|
margin-left: 10px;
|
cursor: pointer;
|
}
|
.menu-select-dropdown {
|
top: 48px!important;
|
box-shadow: 0px 0px 2px #cdcdcd;
|
border-radius: 0 0 4px 4px;
|
background: #ffffff;
|
.ant-input-affix-wrapper {
|
margin-top: 2px;
|
}
|
.menu-select-box {
|
max-height: 200px;
|
min-height: 50px;
|
overflow-y: auto;
|
background: #ffffff;
|
margin-bottom: 3px;
|
.ant-menu {
|
border-radius: 0 0 4px 4px;
|
}
|
.ant-menu-item {
|
padding: 0px 25px;
|
height: 26px;
|
line-height: 26px;
|
color: rgba(0, 0, 0, 0.85);
|
cursor: pointer;
|
}
|
.ant-menu-item:hover {
|
background-color: #e6f7ff;
|
}
|
}
|
.menu-select-box::-webkit-scrollbar {
|
width: 7px;
|
}
|
.menu-select-box::-webkit-scrollbar-thumb {
|
border-radius: 5px;
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.13);
|
background: rgba(0, 0, 0, 0.13);
|
}
|
.menu-select-box::-webkit-scrollbar-track {
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
|
border-radius: 3px;
|
border: 1px solid rgba(0, 0, 0, 0.07);
|
background: rgba(0, 0, 0, 0);
|
}
|
}
|
}
|
.header-dropdown {
|
>li {
|
padding: 5px 25px;
|
}
|
>li.ant-dropdown-menu-submenu {
|
padding: 0px;
|
.ant-dropdown-menu-submenu-title {
|
padding: 5px 25px;
|
}
|
}
|
}
|
.ant-dropdown.vertical-dropdown-menu {
|
z-index: 1100 !important;
|
}
|
|
.vertical-dropdown-menu, .vertical-dropdown-submenu {
|
ul.ant-dropdown-menu {
|
min-width: 125px;
|
}
|
.ant-dropdown-menu-submenu-title {
|
padding-right: 30px;
|
}
|
}
|
.menu-board {
|
background: #ffffff;
|
padding: 20px 50px;
|
border-radius: 4px;
|
box-shadow: 0 0 3px #959595;
|
position: relative;
|
// left: 11.8%;
|
.menu-wrap {
|
.title {
|
color: var(--mk-sys-color);
|
font-size: 15px;
|
font-weight: 600;
|
}
|
.menu-detail {
|
max-width: 60vw;
|
padding: 5px 0 5px 15px;
|
div {
|
display: inline-block;
|
vertical-align: top;
|
margin-bottom: 8px;
|
width: 120px;
|
cursor: pointer;
|
}
|
div:hover {
|
color: var(--mk-sys-color5);
|
}
|
div:not(:last-child) {
|
margin-right: 15px;
|
}
|
}
|
.menu-detail::after {
|
content: ' ';
|
display: block;
|
clear: both;
|
}
|
}
|
}
|
|
body[class*='-white'] {
|
.header-container {
|
box-shadow: 0 1px 1px #d9d9d9;
|
|
.header-menu::-webkit-scrollbar-track {
|
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
|
border: 1px solid rgba(0, 0, 0, 0.07);
|
background: rgba(0, 0, 0, 0);
|
border-radius: 3px;
|
}
|
}
|
}
|
body[class*='-black'] {
|
.header-container {
|
.header-menu {
|
li {
|
&:hover, &.active {
|
span {
|
color: #ffffff;
|
}
|
}
|
}
|
}
|
}
|
}
|
|
.mk-wx-sms-modal {
|
.ant-modal-title {
|
text-align: center;
|
font-size: 22px;
|
font-weight: 500;
|
color: #151515;
|
margin-top: 15px;
|
letter-spacing: 2px;
|
}
|
.wx-sms-wrap {
|
text-align: center;
|
position: relative;
|
|
.tip {
|
margin: 215px 15px 15px;
|
img {
|
width: 24px;
|
margin-right: 10px;
|
}
|
span {
|
font-size: 16px;
|
letter-spacing: 2px;
|
font-weight: 500;
|
color: #333;
|
}
|
span + span {
|
color: #45B449;
|
font-weight: bold;
|
}
|
}
|
|
.mk-img {
|
width: 258px;
|
height: 258px;
|
position: relative;
|
top: -15px;
|
}
|
.mk-tip {
|
margin: 0px 15px 15px;
|
position: relative;
|
top: -20px;
|
span {
|
font-size: 16px;
|
letter-spacing: 2px;
|
font-weight: 500;
|
color: #333;
|
}
|
span:nth-child(2) {
|
color: #45B449;
|
font-weight: bold;
|
}
|
span:nth-child(3) {
|
display: block;
|
font-size: 13px;
|
}
|
span:nth-child(4) {
|
display: block;
|
position: absolute;
|
right: -10px;
|
bottom: -25px;
|
padding: 0 5px;
|
font-size: 14px;
|
font-weight: 600;
|
cursor: pointer;
|
color: rgba(0, 0, 0, 0.65);
|
transition: color 0.2s;
|
}
|
span:nth-child(4):hover {
|
color: rgba(0, 0, 0, 0.85);
|
}
|
}
|
.qrcode-box + .tip {
|
margin-top: 15px;
|
}
|
}
|
}
|