mock平台

interface.scss 5.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298
  1. @import '../../../styles/mixin.scss';
  2. .left-menu {
  3. min-height: 5rem;
  4. // background: #FFF;
  5. // .item-all-interface {
  6. // background-color: red;
  7. // }
  8. // .ant-tabs-bar{
  9. // border-bottom: none;
  10. // margin-bottom: 0
  11. // }
  12. .ant-tag {
  13. margin-right: 0.16rem;
  14. }
  15. .ant-tabs-nav {
  16. width: 100%;
  17. background-color: $color-bg-gray;
  18. }
  19. .ant-tabs-tab {
  20. min-width: 49.4%;
  21. }
  22. .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab {
  23. height: 39px;
  24. background: #fff;
  25. border-bottom: 0;
  26. border-radius: 0;
  27. }
  28. .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab:nth-of-type(2) {
  29. border-left: 0;
  30. }
  31. // .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab:last-of-type {
  32. // border-right: 0;
  33. // }
  34. .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-tab-active {
  35. height: 40px;
  36. background-color: #ddd;
  37. // color: $color-white;
  38. }
  39. .ant-tabs.ant-tabs-card > .ant-tabs-bar .ant-tabs-nav-container {
  40. height: 40px;
  41. }
  42. .ant-tabs.ant-tabs-card > .ant-tabs-bar {
  43. text-align: center;
  44. // background: #ececec;
  45. }
  46. .ant-tabs-nav-wrap {
  47. height: 40px;
  48. line-height: 31px;
  49. // border-bottom: 1px solid #d9d9d9;
  50. }
  51. .ant-input {
  52. width: 100%;
  53. }
  54. .interface-filter {
  55. padding: 12px 16px;
  56. padding-right: 110px;
  57. line-height: 32px;
  58. background-color: #ddd;
  59. position: relative;
  60. }
  61. .btn-filter {
  62. position: absolute;
  63. right: 16px;
  64. top: 50%;
  65. transform: translateY(-50%);
  66. }
  67. .ant-tree li .ant-tree-node-content-wrapper {
  68. width: calc(100% - 28px);
  69. position: relative;
  70. .container-title {
  71. overflow: hidden;
  72. text-overflow: ellipsis;
  73. white-space: nowrap;
  74. }
  75. .btns {
  76. background-color: #eef7fe;
  77. position: absolute;
  78. top: 50%;
  79. right: 0;
  80. transform: translateY(-60%);
  81. transition: all 0.2s;
  82. }
  83. }
  84. .ant-tree li .ant-tree-node-selected {
  85. .btns {
  86. background-color: #d5ebfc;
  87. transition: all 0.2s;
  88. }
  89. }
  90. .interface-delete-icon {
  91. position: relative;
  92. right: 0;
  93. float: right;
  94. line-height: 25px;
  95. width: 24px;
  96. font-weight: bold;
  97. }
  98. .anticon-ellipsis {
  99. transform: rotate(90deg);
  100. }
  101. .interface-delete-icon:hover {
  102. color: #2395f1;
  103. }
  104. .interface-list {
  105. //max-height: 600px;
  106. //overflow-y: scroll;
  107. .cat_switch_hidden {
  108. .ant-tree-switcher {
  109. visibility: hidden;
  110. }
  111. }
  112. a {
  113. color: rgba(13, 27, 62, 0.65);
  114. }
  115. .btn-http {
  116. height: 23px;
  117. font-size: 10px;
  118. margin-right: 7px;
  119. padding: 0 5px;
  120. width: auto !important;
  121. }
  122. .interface-item {
  123. display: inline-block;
  124. overflow: hidden;
  125. top: 0px;
  126. }
  127. .interface-item-nav {
  128. line-height: 25px;
  129. }
  130. .interface-list {
  131. .cat_switch_hidden {
  132. .ant-tree-switcher {
  133. visibility: hidden;
  134. }
  135. }
  136. .btn-http {
  137. height: 23px;
  138. font-size: 10px;
  139. margin-right: 7px;
  140. padding: 0 5px;
  141. width: auto !important;
  142. }
  143. .interface-item {
  144. display: inline-block;
  145. overflow: hidden;
  146. top: 0px;
  147. line-height: 100%;
  148. text-decoration: none;
  149. }
  150. .interface-item-nav {
  151. line-height: 25px;
  152. }
  153. }
  154. }
  155. }
  156. .right-content {
  157. min-height: 5rem;
  158. background: #fff;
  159. .caseContainer {
  160. table {
  161. border-radius: 4px;
  162. // border-collapse: collapse;
  163. }
  164. .ant-table-small .ant-table-thead > tr > th {
  165. text-align: left;
  166. background-color: #f8f8f8;
  167. }
  168. tr:nth-child(even) {
  169. background: #f8f8f8;
  170. }
  171. }
  172. .interface-content {
  173. .ant-tabs-nav {
  174. width: 100%;
  175. // background-color: #ddd;
  176. // color: $color-white;
  177. }
  178. .ant-tabs-nav-wrap {
  179. text-align: left;
  180. }
  181. }
  182. .interface-title {
  183. clear: both;
  184. font-weight: normal;
  185. margin-top: 0.48rem;
  186. margin-bottom: 0.16rem;
  187. border-left: 3px solid #2395f1;
  188. padding-left: 8px;
  189. .tooltip {
  190. font-size: 13px;
  191. font-weight: normal;
  192. }
  193. }
  194. .container-radiogroup {
  195. text-align: center;
  196. margin-bottom: 0.16rem;
  197. }
  198. .panel-sub {
  199. background: rgba(236, 238, 241, 0.67);
  200. padding: 0.1rem;
  201. .bulk-import {
  202. color: #2395f1;
  203. text-align: right;
  204. margin-right: 16px;
  205. cursor: pointer;
  206. }
  207. }
  208. .ant-radio-button-wrapper-checked {
  209. color: #fff;
  210. background-color: #2395f1;
  211. &:hover {
  212. color: #ddd;
  213. }
  214. }
  215. .href {
  216. color: #2395f1;
  217. cursor: pointer;
  218. }
  219. .remark-editor {
  220. background-color: #fff;
  221. }
  222. .remark {
  223. table {
  224. border-collapse: collapse;
  225. }
  226. th {
  227. text-align: left;
  228. font-weight: normal;
  229. background-color: #f8f8f8;
  230. text-indent: 0.4em;
  231. }
  232. tr {
  233. text-indent: 0.4em;
  234. }
  235. th,
  236. td {
  237. border: 1px solid #e9e9e9;
  238. }
  239. tr:nth-child(odd) {
  240. background: #f8f8f8;
  241. }
  242. tr:nth-child(even) {
  243. background: #fff;
  244. }
  245. }
  246. }
  247. .addcatmodal {
  248. .ant-modal-body {
  249. padding: 10px 0px;
  250. .ant-form-item {
  251. margin-bottom: 10px;
  252. }
  253. .catModalfoot {
  254. border-top: 1px solid #e9e9e9;
  255. margin-bottom: 0px;
  256. padding-top: 10px;
  257. margin-top: 0px;
  258. .ant-form-item-control-wrapper {
  259. margin-left: 0px;
  260. }
  261. .ant-form-item-control {
  262. float: right;
  263. margin-right: 10px;
  264. }
  265. }
  266. }
  267. }
  268. .common-setting-modal{
  269. .setting-item{
  270. margin: 10px;
  271. line-height: 35px;
  272. .col-item{
  273. padding:5px;
  274. }
  275. }
  276. .case-script{
  277. min-height: 200px;
  278. margin: 10px;
  279. width: 98%;
  280. }
  281. .insert-code{
  282. padding-top: 45px;
  283. }
  284. }