index.less 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. @import '~antd/es/style/themes/default.less';
  2. .stepForm {
  3. margin: 10px;
  4. }
  5. .stepFormText {
  6. margin-bottom: 24px;
  7. :global {
  8. .ant-form-item-label,
  9. .ant-form-item-control {
  10. line-height: 22px;
  11. }
  12. }
  13. }
  14. .result {
  15. max-width: 560px;
  16. margin: 0 auto;
  17. padding: 24px 0 8px;
  18. }
  19. .desc {
  20. padding: 0 56px;
  21. color: @text-color-secondary;
  22. h3 {
  23. margin: 0 0 12px 0;
  24. color: @text-color-secondary;
  25. font-size: 16px;
  26. line-height: 32px;
  27. }
  28. h4 {
  29. margin: 0 0 4px 0;
  30. color: @text-color-secondary;
  31. font-size: 14px;
  32. line-height: 22px;
  33. }
  34. p {
  35. margin-top: 0;
  36. margin-bottom: 12px;
  37. line-height: 22px;
  38. }
  39. }
  40. .reportInfoContainer {
  41. border: 1px solid #eee;
  42. padding: 0 !important;
  43. margin: 14px 0 !important;
  44. :global {
  45. .ant-form-item {
  46. margin-bottom: 0;
  47. }
  48. }
  49. }
  50. .editReportInfoIcon{
  51. cursor: pointer;
  52. margin-top: 20px;
  53. }
  54. .editReportInfoIcon:hover {
  55. color: #1890ff;
  56. }
  57. .testCaseTitle{
  58. margin-right: 20px;
  59. margin-bottom: 10px;
  60. display:flex;
  61. justify-content: space-between;
  62. }
  63. .testBugTitle{
  64. margin-left: 10px;
  65. margin-bottom: 10px;
  66. display:flex;
  67. justify-content: space-between;
  68. }
  69. .testCaseList {
  70. width:100%;
  71. height: 500px;
  72. padding-right: 20px;
  73. border-right: 1px solid #eee;
  74. .activeCase {
  75. color:black;
  76. border-left: 5px solid #2490ff;
  77. }
  78. .testCaseItem {
  79. padding:10px;
  80. font-size: 16px;
  81. box-shadow: 0 0 5px #aaa;
  82. margin-bottom:20px;
  83. .testCaseItemNo{
  84. color:#aaaaaa;
  85. font-size: 8px;
  86. }
  87. .testCaseItemTitle {
  88. width:100%;
  89. overflow:hidden; //超出的文本隐藏
  90. text-overflow:ellipsis; //溢出用省略号显示
  91. white-space:nowrap; //溢出不换行
  92. }
  93. .editTestBug{
  94. cursor: pointer;
  95. }
  96. .editTestBug:hover {
  97. color: #1890ff;
  98. }
  99. p {
  100. line-height: 28px;
  101. height: 28px;
  102. margin: 0;
  103. }
  104. p:hover {
  105. color: #1890ff;
  106. }
  107. .testCaseEditIcon:hover{
  108. color: #1890ff;
  109. }
  110. }
  111. }
  112. .recommendBtn,.recommendBtn:active{
  113. background-color:#67c23a;
  114. border: 1px solid #67c23a;
  115. color: white;
  116. margin-left: 15px;
  117. &:hover,&:focus{
  118. background-color: #8dd06b;
  119. border: 1px solid #67c23a;
  120. color: white;
  121. }
  122. }
  123. .testBugList {
  124. padding-left: 10px;
  125. .testBugItem {
  126. padding:10px;
  127. font-size: 16px;
  128. box-shadow: 0 0 5px #aaa;;
  129. margin-bottom:20px;
  130. .testBugItemTitleBlock{
  131. display: flex;
  132. margin:5px 10px 10px 10px;
  133. .testBugItemTitle {
  134. display: inline-block;
  135. line-height: 22px;
  136. }
  137. .testBugItemTitleDetail {
  138. display: inline-block;
  139. line-height: 22px;
  140. margin-right: 30px;
  141. overflow: hidden;
  142. text-overflow: ellipsis;
  143. white-space: nowrap;
  144. }
  145. .testBugItemDesc {
  146. overflow: hidden;
  147. display: inline-block;
  148. text-overflow: ellipsis;
  149. display: -webkit-box;// 设置为弹性盒
  150. -webkit-line-clamp: 2;// 在一个块元素内显示的文本行数
  151. line-clamp: 2;
  152. -webkit-box-orient: vertical;
  153. }
  154. }
  155. .bugImgList {
  156. display: flex;
  157. img {
  158. width: 100px;
  159. height: 100px;
  160. margin:30px 10px;
  161. }
  162. span {
  163. display: inline-block;
  164. margin: 50px 0;
  165. }
  166. .switchImgBtn{
  167. width: 14px;
  168. height: 14px;
  169. }
  170. }
  171. }
  172. :global {
  173. .ant-form-item {
  174. margin-bottom: 0;
  175. }
  176. .ant-form-item-label > label {
  177. font-weight: bold;
  178. }
  179. }
  180. }
  181. .bugForm {
  182. .pageSelect {
  183. margin-bottom: -24px;
  184. }
  185. .modalTitle{
  186. color: rgba(0, 0, 0, 0.85);
  187. font-weight: 500;
  188. font-size: 16px;
  189. line-height: 22px;
  190. word-wrap: break-word;
  191. }
  192. .forkBtn {
  193. display: inline-block;
  194. float: right;
  195. width: 320px
  196. }
  197. :global {
  198. .ant-modal-header{
  199. padding-right: 40px;
  200. }
  201. }
  202. }
  203. .addModalInfo {
  204. color: #1890ff;
  205. margin-top: -20px;
  206. }
  207. .recommendModal{
  208. :global{
  209. .ant-modal-header{
  210. background-color: #94c879;
  211. }
  212. }
  213. }
  214. @media screen and (max-width: @screen-md) {
  215. .desc {
  216. padding: 0;
  217. }
  218. }
  219. .information {
  220. line-height: 22px;
  221. :global {
  222. .ant-row:not(:last-child) {
  223. margin-bottom: 24px;
  224. }
  225. }
  226. .label {
  227. padding-right: 8px;
  228. color: @heading-color;
  229. text-align: right;
  230. @media screen and (max-width: @screen-sm) {
  231. text-align: left;
  232. }
  233. }
  234. }
  235. .money {
  236. font-weight: 500;
  237. font-size: 20px;
  238. font-family: 'Helvetica Neue', sans-serif;
  239. line-height: 14px;
  240. }
  241. .uppercase {
  242. font-size: 12px;
  243. }