@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: 430px; .size(calc(100% - 850px), 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: 20px 0; gap: 8px; &: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; } } }