.header { width: 100%; padding: 12px 10px; box-sizing: border-box; .queryBox { box-sizing: border-box; padding: 5px 0 0 5px; // margin-left: 50px; display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; // justify-content:center; .queryField { //margin: 0 10px; input { width: 180px; height: 22px; line-height: 22px; border-radius: 3px; } @media screen and (min-device-width:1400px) { margin: 3px 20px; } @media screen and (max-device-width:1400px)and (min-device-width:1200px) { margin: 3px 10px; mat-form-field { width: 180px; } } @media screen and (max-device-width:1200px) { margin: 3px 0 3px 10px; mat-form-field { width: 120px; } } } } //queryBox .butclass { button { width: 80px; height: 36px; font-size: 16px; } } .ordiv { position: relative; .organizationbox { width: 450px; height: 200px; background: white; position: absolute; top: 48px; left: 77px; z-index: 999; border: 1px solid grey; overflow-y: auto; li { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } mat-tree-node { cursor: pointer; white-space: pre; } mat-tree-node:hover { background: rgba(225, 225, 225, 0.8); } .closediv { z-index: 100; position: absolute; right: 0; top: 0; width: 30px; height: 30px; cursor: pointer; line-height: 30px; text-align: center; } .closediv:hover { background: rgba(225, 225, 225, 0.8); } } } } .body { .buttonbox { padding-left: 50px; button { margin: 0 10px } } .tablebox { table { width: 100%; // margin-left: 2%; margin-top: 15px; } mat-paginator { width: 100%; // margin-left: 2%; // margin-top: 30px; } } } .mat-header-cell { text-align: center; } .mat-cell { text-align: center; } //完整度 .integrityDiv { width: 180px; height: 30px; background-color: #e2e7ee; // background-image: linear-gradient(to right, #e2e7ee ,#FF4500, #FF8C00,#32cd32); margin: 0 auto; position: relative; .integrityNum { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); color: black; font-weight: 800; font-size: 15px; cursor: default; } .integrityColorDiv { height: 100%; } .integrityDetails { position: absolute; display: none; width: 350px; height: 280px; border: 1px solid rgba(0, 0, 0, 0.22); background-color: white; .integrityDetailsTop { width: 100%; height: 23px; line-height: 23px; border-bottom: 1px solid rgba(0, 0, 0, 0.22); margin-bottom: 1px; font-size: 14px; span { display: inline-block; text-align: center; font-weight: 800; } .span1 { width: 25%; } .span2 { width: 60%; } .span3 { width: 15%; } } .integrityDetailsBody { ul { li { width: 100%; height: 23px; line-height: 23px; margin: 3px 0; div { float: left; font-size: 13px; } .name { width: 25%; height: 100%; } .colorDiv { width: 60%; height: 100%; position: relative; .colorDivBac { width: 90%; height: 100%; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background-color: #dfe5ec; border-radius: 5px; .colorDivCon { border-radius: 5px; height: 100%; background-color: #2398f1; } } span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); // color: white; font-weight: 600; } } .number { width: 15%; height: 100%; } } } } } .bottomposition { top: 2px; left: 188px; } .topposition { top: -252px; left: 188px; } } .integrityDiv:hover { .integrityDetails { display: block; } } @media screen and (max-width:1200px) { .bigimgbox { width: 880px; height: 580px; //预览图片 .previewImgBox { width: 800px; height: 475px; text-align: center; } } } @media screen and (min-width:1200px) and (max-width:1400px) { .bigimgbox { width: 880px; height: 610px; //预览图片 .previewImgBox { width: 800px; height: 500px; text-align: center; } } } @media screen and (min-width:1400px) { .bigimgbox { width: 1110px; height: 860px; //预览图片 .previewImgBox { width: 900px; height: 100%; text-align: center; } .previewImgBottom { text-align: center; height: 30px; margin: 20px auto; } } }