.screen { width: 100%; height: 100vh; background: url(@/assets/images/screen.jpg); background-size: 100% 100%; padding: 20px; overflow: hidden; .title { display: flex; justify-content: space-between; align-items: center; height: 5.7rem; h3 { font-size: 3.8rem; font-weight: 800; color: #84e0f7; } } .seeting { .tooltips { color: #606266; border: 2px solid #1e60a6; box-shadow: inset 0px 0px 10px 0px rgb(36, 90, 124); background-color: transparent; :deep(span) { color: #5beff9; } margin-left: 10px; } } .layout { display: flex; margin-top: 20px; .sidebar { width: 12%; height: calc(100vh - 5.7rem - 60px); flex-shrink: 0; border: 2px solid #1e60a6; padding: 10px; box-shadow: inset 0px 0px 10px 0px rgb(36, 90, 12); margin-right: 1vw; overflow: scroll; .menu { text-align: center; :deep(.n-submenu) { --n-item-color-hover: auto; .n-menu-item { .n-menu-item-content { padding-left: 18px !important; } .n-menu-item-content-header { font-size: 2.2rem; color: #84e0f7; } } .n-submenu-children { .n-menu-item-content-header { font-size: 1.4rem; } .n-menu-item-content--selected { .n-menu-item-content-header { color: #ffd04b; } } } .n-base-icon { color: #84e0f7; } } } } .main { width: 87%; .headerInfo { border: 2px solid #1e60a6; box-shadow: inset 0px 0px 10px 0px rgb(36, 90, 124); margin-bottom: 10px; .header { display: flex; align-items: center; flex-wrap: wrap; .headerItem { width: 11.1%; color: #fff; text-align: center; .name { font-size: 12px; line-height: 36px; padding: 0 3rem; color: #ffffffb3; background-color: #123f7580; border-top: 1px solid #265a89; border-bottom: 1px solid #265a89; white-space: nowrap; text-overflow: ellipsis; overflow: hidden; } .value { font-size: 18px; color: #5beff9; line-height: 36px; } } } } .mainTable { // height: calc(100vh - 8rem - 202px); // height: calc(100% - 162px); overflow: hidden; .tableGrid { --vxe-table-header-background-color: none; --vxe-table-body-background-color: none; --vxe-table-footer-background-color: none; --vxe-table-border-color: none; --vxe-font-color: #5beff9; --vxe-table-header-font-color: #ffffffb3; border: 2px solid #1e60a6; box-shadow: inset 0px 0px 10px 0px rgb(36, 90, 124); :deep(.vxe-table) { // height: calc(100vh - 5.7rem - 60px) !important; .vxe-table--body-wrapper { // height: calc(100vh - 5.7rem - 182px) !important; } .headerRowClass { .headerCellClass { border: 1px solid rgba(255, 255, 255, 0.1) !important; border-right: none !important; } .headerCellClass.col--fixed { // background-color: #020e38; // box-shadow: inset 0px 0px 10px 0px #245a7c; } } .tableRowClass { .tableCellClass { border-bottom: 1px solid #265a89 !important; .vxe-cell--html { display: flex; justify-content: center; align-items: center; .warning{ font-size: 15px; font-weight: bold; color: red; } .iconfont { font-size: 18px; } .iconfont.icon-rise { color: green; } .iconfont.icon-decline { color: red; } } } } .tips { display: inline-block; width: 10px; height: 10px; margin: 0 auto; border-radius: 10px; margin-right: 5px; } .tips.green { background-color: green; } .tips.red { background-color: red; } .cellName { display: flex; justify-content: center; align-items: center; color: #fef961; } .cellInput { input { color: #222; text-align: center; } } .vxe-table--fixed-left-wrapper.scrolling--middle { background: -webkit-linear-gradient(top, #020e38 0%, #04195b 100%); box-shadow: inset 0px 0px 10px rgb(36, 90, 124) !important; } } } // /*滚动条整体部分*/ // .tableGrid ::-webkit-scrollbar { // width: 8px; // height: 8px; // } // /*滚动条的轨道*/ // .tableGrid ::-webkit-scrollbar-track { // background-color: transparent; // -webkit-border-radius: 8px; // -moz-border-radius: 8px; // border-radius: 8px; // } // /*滚动条里面的小方块,能向上向下移动*/ // .tableGrid ::-webkit-scrollbar-thumb { // background-color: rgb(147, 147, 153, 0.5); // -webkit-border-radius: 8px; // -moz-border-radius: 8px; // border-radius: 8px; // } // .tableGrid ::-webkit-scrollbar-thumb:hover { // background-color: #a8a8a8; // } // .tableGrid ::-webkit-scrollbar-thumb:active { // background-color: #787878; // } // /*边角,即两个滚动条的交汇处*/ // .tableGrid ::-webkit-scrollbar-corner { // background-color: transparent; // } } } /*滚动条整体部分*/ .sidebar::-webkit-scrollbar, .tableGrid ::-webkit-scrollbar { width: 8px; height: 8px; } /*滚动条的轨道*/ .sidebar::-webkit-scrollbar-track, .tableGrid ::-webkit-scrollbar-track { background-color: transparent; -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; } /*滚动条里面的小方块,能向上向下移动*/ .sidebar::-webkit-scrollbar-thumb, .tableGrid ::-webkit-scrollbar-thumb { background-color: rgb(147, 147, 153, 0.5); -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; } .sidebar::-webkit-scrollbar-thumb:hover, .tableGrid ::-webkit-scrollbar-thumb:hover { background-color: #a8a8a8; } .sidebar::-webkit-scrollbar-thumb:active, .tableGrid :-webkit-scrollbar-thumb:active { background-color: #787878; } /*边角,即两个滚动条的交汇处*/ .sidebar::-webkit-scrollbar-corner, .tableGrid ::-webkit-scrollbar-corner { background-color: transparent; } } } // .cardClass { .showTree { .weight { display: flex; align-items: center; margin-left: auto; span { margin-right: 2px; } } } .treeBtn { margin-top: 20px; text-align: right; .n-button { margin-left: 10px; } } // }