@import '~antd/es/style/themes/default.less'; .stepForm { margin: 10px; } .stepFormText { margin-bottom: 24px; :global { .ant-form-item-label, .ant-form-item-control { line-height: 22px; } } } .result { max-width: 560px; margin: 0 auto; padding: 24px 0 8px; } .desc { padding: 0 56px; color: @text-color-secondary; h3 { margin: 0 0 12px 0; color: @text-color-secondary; font-size: 16px; line-height: 32px; } h4 { margin: 0 0 4px 0; color: @text-color-secondary; font-size: 14px; line-height: 22px; } p { margin-top: 0; margin-bottom: 12px; line-height: 22px; } } .reportInfoContainer { border: 1px solid #eee; padding: 0 !important; margin: 14px 0 !important; :global { .ant-form-item { margin-bottom: 0; } } } .editReportInfoIcon{ cursor: pointer; margin-top: 20px; } .editReportInfoIcon:hover { color: #1890ff; } .testCaseTitle{ margin-right: 20px; margin-bottom: 10px; display:flex; justify-content: space-between; } .testBugTitle{ margin-left: 10px; margin-bottom: 10px; display:flex; justify-content: space-between; } .testCaseList { width:100%; height: 500px; padding-right: 20px; border-right: 1px solid #eee; .activeCase { color:black; border-left: 5px solid #2490ff; } .testCaseItem { padding:10px; font-size: 16px; box-shadow: 0 0 5px #aaa; margin-bottom:20px; .testCaseItemNo{ color:#aaaaaa; font-size: 8px; } .testCaseItemTitle { width:100%; overflow:hidden; //超出的文本隐藏 text-overflow:ellipsis; //溢出用省略号显示 white-space:nowrap; //溢出不换行 } .editTestBug{ cursor: pointer; } .editTestBug:hover { color: #1890ff; } p { line-height: 28px; height: 28px; margin: 0; } p:hover { color: #1890ff; } .testCaseEditIcon:hover{ color: #1890ff; } } } .recommendBtn,.recommendBtn:active{ background-color:#67c23a; border: 1px solid #67c23a; color: white; margin-left: 15px; &:hover,&:focus{ background-color: #8dd06b; border: 1px solid #67c23a; color: white; } } .testBugList { padding-left: 10px; .testBugItem { padding:10px; font-size: 16px; box-shadow: 0 0 5px #aaa;; margin-bottom:20px; .testBugItemTitleBlock{ display: flex; margin:5px 10px 10px 10px; .testBugItemTitle { display: inline-block; line-height: 22px; } .testBugItemTitleDetail { display: inline-block; line-height: 22px; margin-right: 30px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .testBugItemDesc { overflow: hidden; display: inline-block; text-overflow: ellipsis; display: -webkit-box;// 设置为弹性盒 -webkit-line-clamp: 2;// 在一个块元素内显示的文本行数 line-clamp: 2; -webkit-box-orient: vertical; } } .bugImgList { display: flex; img { width: 100px; height: 100px; margin:30px 10px; } span { display: inline-block; margin: 50px 0; } .switchImgBtn{ width: 14px; height: 14px; } } } :global { .ant-form-item { margin-bottom: 0; } .ant-form-item-label > label { font-weight: bold; } } } .bugForm { .pageSelect { margin-bottom: -24px; } .modalTitle{ color: rgba(0, 0, 0, 0.85); font-weight: 500; font-size: 16px; line-height: 22px; word-wrap: break-word; } .forkBtn { display: inline-block; float: right; width: 320px } :global { .ant-modal-header{ padding-right: 40px; } } } .addModalInfo { color: #1890ff; margin-top: -20px; } .recommendModal{ :global{ .ant-modal-header{ background-color: #94c879; } } } @media screen and (max-width: @screen-md) { .desc { padding: 0; } } .information { line-height: 22px; :global { .ant-row:not(:last-child) { margin-bottom: 24px; } } .label { padding-right: 8px; color: @heading-color; text-align: right; @media screen and (max-width: @screen-sm) { text-align: left; } } } .money { font-weight: 500; font-size: 20px; font-family: 'Helvetica Neue', sans-serif; line-height: 14px; } .uppercase { font-size: 12px; }