@import "~@/mixins.less"; @header-height: 60px; @sider-width: 110px; @base-color: #FFF; .indexMes { .size(); background: #DCE2E8; overflow: hidden; :global { .header { .flex(); .size(100%, @header-height); position: relative; background: #0069B5; .logo { .flex(center, center); .size(@sider-width, 100%); img { .size(49px, 42px); } } .title { .flex(center, center); .size(auto, 100%); font-size: 22px; color: @base-color; font-weight: bold; cursor: default; } .userInfo { position: absolute; top: 0; left: 266px; .size(calc(100% - 650px), 100%); .flex(center, center); font-size: 22px; color: @base-color; } @media screen and (max-width: 1700px) { .userInfo { font-size: 18px; } } @media screen and (max-width: 1400px) { .userInfo { font-size: 16px; } } .funBar { position: absolute; top: 0; right: 14px; .size(auto, 100%); .flex(center, center); color: @base-color; font-size: 20px; padding: 18px 0px; .timeInfo { .flex(center, center); .size(auto, 100%); background: url(./assets/dateTimeIcon.png) no-repeat; background-size: 22px 22px; background-position-y: center; padding-left: 35px; cursor: default; } .logout { .flex(center, center); .size(32px, 32px); background: url(./assets/shutdownIcon.png) no-repeat; background-size: 22px 22px; background-position: center; cursor: pointer; &:hover { background-size: 26px 26px; } } .ant-divider { border-left: 1px solid rgb(255 255 255 / 50%); height: 100%; margin: 0 18px; } } } .layout { .flex(); .size(100%, calc(100% - @header-height)); width: 100%; } .sider { .size(@sider-width, 100%); background: #000D17; position: relative; .menu { .flex(center, space-between); flex-direction: column; .size(100%, auto); padding: 10px 0; gap: 4px; &:last-child { position: absolute; bottom: 20px; left: 0; } .icon { .size(34px, 34px); // border: 1px solid @base-color; border-radius: 50%; img { .size(100%, 100%); } } .title { font-size: 18px; color: @base-color; cursor: default; font-weight: 500; } &:hover .title { color: #1890FF; } &.checked { background-color: #2F3C45; // .icon { // background-color: #48B2FF; // } .title { color: #1890FF; } } } } .content { .size(calc(100% - @sider-width), 100%); padding: 10px; position: relative; overflow: hidden; .ant-modal-root, .ant-modal-wrap { .size(); position: absolute; top: 0; left: 0; .ant-modal-content, .ant-modal-body { .size(); } } } } } .systemFun { padding-left: 0; :global { .ant-popover-arrow { display: none; } .ant-popover-inner { background: #333333; margin-left: -4px; } .ant-popover-inner-content { padding: 0; } .systemFunContent { &>div { .size(209px, 48px); .flex(center, center); &:hover { background-color: #555555; } span { font-size: 18px; color: @base-color; cursor: default; } } .restDailyReport { span[role="img"] { margin-right: 9px; font-size: 25px; } } .changePwd { background: url(./assets/changePwd.svg) no-repeat; } .logout { background: url(./assets/shutdownIcon.png) no-repeat; } .shutdown { background: url(./assets/shutdown.svg) no-repeat; } .restDailyReport { &:hover { background-size: 24px 24px; span:nth-child(1) { font-size: 28px; } span:nth-child(2) { font-size: 20px; } } } .changePwd, .logout, .shutdown { background-size: 20px 20px; padding-left: 30px; background-position-x: 28%; background-position-y: center; &:hover { background-size: 24px 24px; span { font-size: 20px; } } } } } } .mask { position: absolute; top: 0; left: 0; width: 100%; height: 100%; box-shadow: inset 0px 0px 20px 10px rgb(1 105 181 / 70%); z-index: 99999999; } // 全局加载样式 :global { .mesPageloadingDiv { .size(); } .mesPageloadingDiv.hideDot { .ant-spin-dot { display: none; } } .ant-spin { .size(); .flex(center, center); .ant-spin-dot { font-size: 32px; .ant-spin-dot-item { .size(15px, 15px); } } .ant-spin-text { font-size: 20px; margin-left: 10px; } } } // 状态弹窗 .machineStatusContent { position: absolute; right: 0; top: 0; .size(1076px, 100%); .flex(flex-start, center); padding-left: 160px; flex-direction: column; text-align: left; color: #FFF; :global { .conent1 { font-size: 64px; } .conent2 { font-size: 160px; font-weight: bold; } .conent3 { font-size: 36px; } .conent4 { font-size: 36px; } .conent5 { margin-top: 80px; font-size: 36px; } .conent6 { font-size: 64px; } .conent7 { display: flex; gap: 24px; position: absolute; right: 24px; top: 24px; } } } .btnWg { background-color: #4899d0; border-color: #4899d0; width: 90px; height: 36px; border-radius: 5px; font-size: 20px !important; font-weight: bold; .flex(center, center); &:hover, &:active { background-color: #4899d0; border-color: #4899d0; } } .ztwwwww{ pointer-events: none; :global{ [role="dialog"]{ height: 100vh; width: 100vw; top: 0px; padding: 0; } .ant-modal-content{ height: 100%; background: #fff0; pointer-events: none; } .ant-modal-header{ display: none; } .ant-modal-body{ height: calc(100% - 0px); padding: 0 !important; } .min{ overflow: hidden; background: #fff0 !important; } .max{ pointer-events: auto; } } } .modalBoxStyle{ background-image: url(@/mes/login/asstes/login.jpg); background-size: 100% 100%; height: 100%; width: 100%; position: relative; background-color: #fff; } .maxBoxViews{ width: 400px; height: 250px; border-radius: 8px; box-shadow: 0 7px 38px 0px var(--bgColor); text-align: center; position: relative; opacity: 0.9; background-color: var(--bgColor); display: flex; align-items: center; pointer-events: auto; :global{ .mixbox{ position: absolute; width: 100%; height: max-content; padding: 14px; cursor: move; display: grid; gap: 10px; } .p{ font-size: 18px; color: #fff; } h2{ color: #fff; font-size: 52px; font-weight: 700; margin: 0; line-height: 1.4; } .btn{ display: flex; justify-content: center; gap: 10px; gap: 16px; margin-top:10px; } } }