mock平台

InterfaceColMenu.scss 3.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. .col-list-tree {
  2. line-height: 25px;
  3. .ant-tree-node-content-wrapper {
  4. width: calc(100% - 28px);
  5. }
  6. .opts-icon,
  7. .case-delete-icon {
  8. line-height: 25px;
  9. width: 30px;
  10. font-weight: bold;
  11. }
  12. .opts-icon:hover,
  13. .case-delete-icon:hover {
  14. color: #2395f1;
  15. }
  16. .menu-title {
  17. display: flex;
  18. justify-content: space-between;
  19. overflow: hidden;
  20. .casename {
  21. overflow: hidden;
  22. }
  23. .case-delete-icon {
  24. margin-left: 5px;
  25. display: none;
  26. }
  27. .btns {
  28. display: none;
  29. }
  30. }
  31. .menu-title:hover {
  32. .case-delete-icon {
  33. display: block;
  34. }
  35. .btns {
  36. display: block;
  37. }
  38. }
  39. }
  40. .container {
  41. display: block;
  42. width: 100%;
  43. padding: 10px;
  44. }
  45. /*
  46. * note that styling gu-mirror directly is a bad practice because it's too generic.
  47. * you're better off giving the draggable elements a unique class and styling that directly!
  48. */
  49. .gu-mirror {
  50. padding: 10px;
  51. background-color: rgba(0, 0, 0, 0.2);
  52. transition: opacity 0.4s ease-in-out;
  53. }
  54. .container div {
  55. cursor: move;
  56. cursor: grab;
  57. cursor: -moz-grab;
  58. cursor: -webkit-grab;
  59. margin-bottom: 10px;
  60. }
  61. .container div:last-child {
  62. margin-bottom: 0;
  63. }
  64. .gu-mirror {
  65. cursor: grabbing;
  66. cursor: -moz-grabbing;
  67. cursor: -webkit-grabbing;
  68. }
  69. .container .ex-moved {
  70. background-color: #e74c3c;
  71. }
  72. .container.ex-over {
  73. background-color: rgba(255, 255, 255, 0.3);
  74. }
  75. .handle {
  76. padding: 0 5px;
  77. margin-right: 5px;
  78. background-color: rgba(0, 0, 0, 0.4);
  79. cursor: move;
  80. }
  81. .report {
  82. min-height: 500px;
  83. .case-report-pane {
  84. margin-top: 10px;
  85. }
  86. .url {
  87. overflow: auto;
  88. }
  89. .case-report {
  90. margin: 10px;
  91. .case-report-title {
  92. font-size: 14px;
  93. font-weight: bold;
  94. text-align: right;
  95. padding-right: 20px;
  96. }
  97. pre {
  98. white-space: pre-wrap;
  99. }
  100. }
  101. }
  102. .interface-col {
  103. padding: 24px;
  104. .interface-col-table-header {
  105. background-color: rgb(238, 238, 238);
  106. height: 50px;
  107. line-height: 50px;
  108. text-align: left;
  109. }
  110. .interface-col-table-body {
  111. height: 50px;
  112. line-height: 50px;
  113. }
  114. .interface-col-table-header th {
  115. padding-left: 5px;
  116. }
  117. .interface-col-table-body td {
  118. padding-left: 5px;
  119. }
  120. .interface-col-table-action button {
  121. margin-right: 5px;
  122. padding: 5px 10px;
  123. max-width: 90px;
  124. }
  125. .component-label-wrapper {
  126. margin-top: -10px;
  127. margin-bottom: 15px;
  128. }
  129. }
  130. .import-case-modal {
  131. .ant-modal-body {
  132. max-height: 800px;
  133. overflow-y: scroll;
  134. }
  135. .select-project {
  136. margin-bottom: 16px;
  137. }
  138. }
  139. .autoTestsModal {
  140. .autoTestUrl {
  141. overflow: auto;
  142. background-color: #f5f5f5;
  143. border: 1px solid #f1f1f1ce;
  144. padding: 16px;
  145. }
  146. .autoTestMsg {
  147. padding: 8px 0 16px;
  148. font-size: 12px;
  149. }
  150. .copy-btn {
  151. margin-left: 16px;
  152. height: 50px;
  153. font-size: 14px;
  154. width: 70px;
  155. }
  156. .ant-modal-body {
  157. padding-top: 32px;
  158. }
  159. .row {
  160. margin-bottom: 0.24rem;
  161. }
  162. .label {
  163. text-align: left;
  164. }
  165. }
  166. .tree-wrapper {
  167. min-height: 500px;
  168. overflow-y: scroll;
  169. }