forgeplus-react/src/forge/Server/quality/detail.scss

686 lines
16 KiB
SCSS

.panels{
width: 1200px;
margin:20px auto;
}
.panels-quality {
background:#f3f5f9;
background-image: url("../img/quality/page-bg.png");
background-repeat: no-repeat;
background-size: 100%;
box-sizing: content-box;
width: 100%;
margin: 0;
}
.page-quality {
width: 1200px;
margin: 0 auto;
padding: 20px 0;
.container {
border-radius: 10px;
box-shadow: 0px 0px 6px rgba(7, 70, 165, 0.08);
background: #FFFFFF;
}
}
.bug-details {
max-height: 90vh;
width: 1200px;
background: #ffffff;
padding: 25px 30px;
.details-wrapper {
background: #f6f8ff;
background-image: url("../img/quality/detail-bg.png");
background-repeat: no-repeat;
background-size: 100%;
border: 1px solid;
border-color: #eff0f1;
border-radius: 7px;
width: 100%;
padding: 30px 25px;
.details-header {
position: relative;
p {
color: #0c296e;
font-size: 14px;
max-width: 850px;
line-height:normal;
}
p:first-child {
font-weight: 500;
font-size: 16px;
padding-bottom: 10px;
}
.triangular-arrow {
position: absolute;
left: 260px;
top: -5px;
width: 36px;
height: 44px;
}
.back-btn {
width: 79px;
height: 32px;
background: #466aff;
border-radius: 6px;
position: absolute;
right: 0;
top: 0;
}
}
.details-body {
display: flex;
margin-top: 30px;
max-height: calc(90vh - 175px );
}
}
.left-list {
overflow-y: auto;
width: 350px;
flex-shrink: 0;
max-height: 100%;
.ant-divider {
padding-right: 10px;
width: 330px;
}
.load-more {
text-align: center;
padding: 4px;
margin-right: 10px;
margin-right: 10px;
background: #FAFCFF;
border-radius: 3px 3px 3px 3px;
border: 1px solid rgba(42,97,255,0.23);
font-size: 14px;
color: #111010;
cursor: pointer;
}
.doc-title {
display: flex;
align-items: center;
img {
width: 18px;
margin-right: 10px;
}
span {
display: inline-block;
width: 240px;
overflow: hidden;
white-space: nowrap; /* 防止文本换行 */
overflow: hidden; /* 隐藏溢出的文本 */
text-overflow: ellipsis; /* 显示省略号 */
direction: rtl; /* 文字从右到左排列 */
text-align: left; /* 文字从左边开始剪裁 */
}
margin-top: 15px;
margin-bottom: 20px;
}
.issue {
padding: 15px 20px;
margin-bottom: 15px;
margin-right: 10px;
word-break: break-word;
font-size: 14px;
color: #111010;
cursor: pointer;
background: #ffffff;
border: 1px solid;
border-color: #e5ecf8;
border-radius: 6px;
&:hover {
background-image: url('../img/quality/issue-bg.png');
background-repeat: no-repeat;
background-size: 100% 100%;
}
.issue-typeline {
display: flex;
align-items: center;
img {
width: 14px;
margin-right: 5px;
}
}
.issue-type {
font-weight: 400;
color: #5D6790;
}
.issue-duplication {
margin-left: 5px;
padding: 0 8px;
color: #042182;
font-size: 14px;
height: 20px;
background:#e6f0ff;
border-radius: 4px;
line-height: 20px;
}
.repeat-item {
span {
border-radius: 2px 2px 2px 2px;
color: #FFFFFF;
}
span:nth-of-type(1) {
display: inline-block;
text-align: center;
line-height: 22px;
width: 22px;
height: 22px;
background: #C7797E;
}
span:nth-of-type(2) {
display: inline-block;
line-height: 22px;
padding: 0 7px;
margin-left: 9px;
height: 22px;
background: #A8A8A8;
}
}
.selected-repeat {
span:nth-of-type(1) {
background: #D4333F;
}
span:nth-of-type(2) {
background: #274faf;
color: #FFFFFF;
}
}
}
.selected-issue {
background: #FFFFFF;
background-image: url('../img/quality/issue-bg.png');
background-repeat: no-repeat;
background-size: 100% 100%;
border: 2px solid #2A61FF;
.issue-duplication {
background: #D4333F;
color: #FFFFFF;
}
}
}
.snippets {
width: 100%;
overflow-y: auto;
.head {
width: 100%;
height: 42px;
background: #FAFCFF;
border: 1px solid #ECEEEF;
font-weight: bold;
font-size: 16px;
color: #111010;
padding-left: 20px;
line-height: 42px;
display: flex;
align-items: center;
border-radius:6px 6px 0px 0px;
img {
width: 18px;
margin-right: 10px;
}
span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 780px;
}
}
.content {
display: flex;
border: 1px solid #ECEEEF;
max-height: calc(90vh - 217px);
overflow-y: auto;
tbody {
width: 100%;
}
tr:hover {
background: rgb(239, 242, 249);
}
.td-index {
width: 40px;
padding: 0 20px;
}
.td-code {
border-left: 1px solid rgb(221, 221, 221);
padding-left: 20px;
width: 100%;
.code {
position: relative;
white-space: pre-wrap;
overflow-wrap: anywhere;
tab-size: 4;
}
.issue-info {
padding: 15px 20px;
border-radius: 4px;
border: 1px solid rgb(197, 205, 223);
margin-right: 10px;
margin-bottom: 10px;
cursor: pointer;
word-break: break-word;
span {
font-weight: 400;
font-size: 14px;
color: #466AFF;
margin-left: 16px;
cursor: pointer;
}
}
.selected-issue {
border: 1px solid rgb(253, 162, 155);
}
.special {
text-decoration: underline 2px wavy rgb(253, 162, 155);
text-decoration-skip-ink: none;
}
.special1 {
background-color: rgba(253, 162, 155, 0.15);
cursor: pointer;
}
.selected-flow {
.special1 {
background-color: rgba(253, 162, 155, 0.5);
}
}
}
.td-ellipsis {
text-align: center;
border-top: 1px solid #ECEEEF;
border-bottom: 1px solid #ECEEEF;
}
}
.cd {
font-family: "Ubuntu Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-style: italic;
color: rgb(95, 96, 102);
}
.k {
font-family: "Ubuntu Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
font-weight: 700;
color: rgb(162, 34, 160);
}
.s {
color: rgb(36, 117, 35);
}
}
}
.quality-title {
font-family: 'alibaba';
font-weight: 500;
color: #191919;
font-size: 36px;
text-align: center;
margin-bottom: 38px;
line-height: 1;
span:nth-child(1) {
background-image: linear-gradient(92.79deg,#2569f2 5.43%,#40bcfd 96.17%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
margin-right: 18px;
}
}
.issue-total {
font-family: 'alibabaReg';
display: flex;
align-items: center;
flex-direction: column;
.reanalize {
display: inline-block;
color: rgb(255, 255, 255);
background: linear-gradient(89.95deg, rgb(18, 97, 255) 0.01%, rgb(65, 77, 241) 99.99%);
border-radius: 9px;
padding: 4px 14px;
cursor: pointer;
}
.result-box {
margin-top: 20px;
width: 100%;
}
.nodata {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
img {
width: 400px;
}
p {
margin-top: 20px;
font-size: 16px;
color: #788498;
}
}
.issue-list {
display: flex;
background: #ffffff;
border-radius: 0px 10px 10px 0px;
margin-top: 30px;
padding: 27px 23px;
.show-more-list {
max-height: 2300px;
}
.show-less-list {
max-height: 1400px;
}
.left-content {
width: 218px;
flex-shrink: 0;
transition: max-height 0.4s;
overflow: hidden;
.clear-button {
padding: 0 7px;
height: 23px;
cursor: pointer;
background: #ffffff;
border: 1px solid;
border-color: #d4333f;
border-radius: 3px;
color: #d4333f;
font-size: 13px;
line-height: 23px;
}
.count {
display: flex;
align-items: center;
justify-content: space-between;
.count-title {
font-family: 'alibaba';
color: #191919;
font-size: 16px;
margin-right: 33px;
}
}
.filters {
.filter-title {
color: #9a99b9;
font-size: 13px;
padding: 17px 0 17px 7px;
line-height: 28px;
display: flex;
align-items: center;
justify-content: space-between;
.clear-button {
float: right;
margin: 0;
}
}
.filter-item {
padding: 0 20px;
margin: 2px 0;
display: flex;
justify-content: space-between;
align-items: center;
height: 50px;
cursor: pointer;
color:#403e63;
font-size: 15px;
&:hover {
background:#f6f8ff;
color:#466aff;
border-radius:5px;
}
.item-type {
display: flex;
align-items: center;
.type-icon {
margin-right: 5px;
transform: scale(1.125);
div {
height: 18px;
display: flex;
align-items: center;
}
}
}
}
.selected-item {
background:#f6f8ff;
color:#466aff;
border-radius:5px;
filter: drop-shadow(#466aff 1000px 0)
}
.ant-divider {
margin: 20px;
margin-bottom: 0px;
width: auto;
min-width: unset;
}
.show-more {
cursor: pointer;
font-size: 14px;
color: #5D6790;
margin-left: 20px;
margin-top: 4px;
}
}
}
.right-content {
margin-left: 17px;
flex-grow: 1;
padding-top: 10px;
.content-warap {
background: #f9fafd;
border: 1px solid;
border-color: #eff0f1;
border-radius: 7px;
padding: 0 20px 20px 20px;
margin-bottom: 20px;
}
.has-issues {
background-image: url("../img/quality/right-list-bg.png");
background-repeat: no-repeat;
background-size: 100%;
}
.doc-title {
font-size: 16px;
margin: 30px 0 15px 0;
width: 509px;
color: #191919;
img {
width: 18px;
margin-right: 10px;
}
}
.issue {
padding: 15px 20px;
margin-bottom: 12px;
background: #ffffff;
border: 1px solid;
border-color: rgba(123, 134, 180, 0.11);
border-radius: 6px;
box-shadow: 0px 0px 8px rgba(70, 106, 255, 0.05);
border: 2px solid;
border-color: transparent;
cursor: pointer;
&:hover {
border: 2px solid;
border-color: #466aff;
.issue-message {
color: #466aff;
}
}
.content-info {
font-weight: 400;
font-size: 14px;
color: #5D6790;
margin-top: 10px;
display: flex;
> span:nth-child(2), > span:nth-child(3) {
&::before {
content: "|";
color: rgba(187,189,197,0.61);
margin-right: 13px;
margin-left: 13px;
}
}
span:nth-of-type(n + 4) {
margin-left: auto;
img {
color: #5D6790;
}
}
.icon-text {
display: flex;
align-items: center;
img{
width: 16px;
margin-right: 5px;
}
.svg-icon {
margin-right: 5px;
div {
display: flex;
align-items: center;
}
}
}
}
.issue-message {
font-size: 15px;
color: #000000;
word-break: break-word;
display: flex;
span:nth-of-type(1) {
font-weight: 400;
font-size: 14px;
color: #466AFF;
margin-left: auto;
cursor: pointer;
}
span:nth-of-type(2) {
float: right;
font-family: 'alibaba';
color: #000000;
&::before {
content: "|";
color: rgba(187,189,197,0.61);
margin-right: 13px;
margin-left: 13px;
}
}
}
}
.ant-pagination {
float: right;
}
}
}
.total-info {
padding: 20px;
.sub-container {
background-color: #f6f8ff;
background-image: url("../img/quality/total-bg.png");
background-repeat: no-repeat;
background-size: 100% 100%;
padding: 21px 25px;
position: relative;
}
p {
color: #0c296e;
font-size: 14px;
max-width: 565px;
line-height:normal;
}
p:first-child {
font-family: 'alibaba';
font-weight: 500;
font-size: 16px;
padding-bottom: 10px;
}
.triangular-arrow {
position: absolute;
left: 580px;
top: 40px;
width: 48px;
height: 58px;
}
.info-list {
display: flex;
flex-wrap: wrap;
width: 830px;
.total-item {
width: 260px;
height: 50px;
background: #ffffff;
border-radius: 5px;
box-shadow: 0px 0px 6px rgba(33, 73, 212, 0.06);
display: flex;
align-items: center;
justify-content: space-between;
font-size: 15px;
color: #0c296e;
margin-top: 15px;
margin-right: 15px;
padding: 12px 15px;
.item-text {
display: flex;
align-items: center;
img {
margin-right: 4px;
}
}
.item-value {
font-family: YouSheBiaoTiHei;
color: #182952;
font-size: 20px;
}
.item-more {
font-weight: 400;
font-size: 12px;
margin-right: auto;
}
}
// .total-item:not(:last-child) {
// margin-right: 40px;
// }
// .total-item:nth-child(n + 2) {
// margin-left: 64px;
// position: relative;
// &::after {
// position: absolute;
// left: -40px;
// content: '';
// width: 0px;
// height: 100%;
// border-left: 1px solid rgba(187,189,197,0.61);
// }
// }
}
}
}
.headBox{
width: 100%;
height:60px;
line-height: 60px;
background-color:#fafcff;
border:1px solid rgba(42, 97, 255, 0.23);
border-radius:3px 3px 0px 0px;
color:#333333;
position: relative;
}
.nullStoreBox{
background-color:#fafcff;
border-radius:4px 4px 0px 0px;
text-align: center;
color:#333333;
padding-bottom: 65px;
.loBox{width: 68px;}
.introBox{
color:#666666;
width: 57%;
margin: 15px auto;
}
.borBox{
width: 45%;
margin: 0 auto 20px;
border-bottom: 1px solid rgba(90, 117, 193, 0.23);
}
}
.iframe {
border: 1px solid;
border-color: #eff0f1;
border-radius: 7px;
}