mock平台

index.scss 2.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. .modal-postman {
  2. .ant-modal-body {
  3. padding: 0;
  4. }
  5. .ant-modal-footer {
  6. background-color: #f5f5f5;
  7. }
  8. .modal-postman-form {
  9. // padding: 0 16px;
  10. max-height: 500px;
  11. min-height: 400px;
  12. overflow-y: scroll;
  13. .ant-radio-group{
  14. width:100%;
  15. }
  16. .mock-search {
  17. padding-right: 8px;
  18. margin-bottom: 16px;
  19. }
  20. .mock-checked{
  21. color:#fff;
  22. background-color:#2395f1;
  23. width:100%
  24. }
  25. .row {
  26. margin-bottom: 8px;
  27. width: 100%;
  28. padding: 8px 16px;
  29. cursor: pointer;
  30. }
  31. .checked{
  32. color:#fff;
  33. background-color:#2395f1;
  34. }
  35. }
  36. .modal-postman-expression, .modal-postman-preview {
  37. border-top: 1px solid #e9e9e9;
  38. padding: 8px 16px;
  39. line-height: 38px;
  40. }
  41. .modal-postman-preview {
  42. background-color: #f5f5f5;
  43. }
  44. .modal-postman-collapse{
  45. .ant-collapse-item > .ant-collapse-header{
  46. // padding-left: 20px;
  47. // margin-left: 8px;
  48. background-color: #f5f5f5;
  49. }
  50. .ant-collapse-item > .ant-collapse-header .arrow{
  51. left: 14px;
  52. font-size: 1.17em;
  53. }
  54. .ant-collapse-content > .ant-collapse-content-box{
  55. padding-top: 8px;
  56. }
  57. .ant-collapse-content {
  58. padding: 0 0 0 8px;
  59. }
  60. }
  61. .title {
  62. border-left: 3px solid #2395f1;
  63. padding-left: 8px;
  64. }
  65. .modal-postman-form-mock, .modal-postman-form-variable{
  66. max-height: 300px;
  67. overflow-y: scroll;
  68. }
  69. .mock-title, .methods-title{
  70. margin-bottom: 8px
  71. }
  72. .modal-postman-form-method{
  73. padding-top: 16px;
  74. margin-left: 8px;
  75. max-height: 500px;
  76. overflow: auto;
  77. }
  78. .methods-row{
  79. position: relative;
  80. // border-bottom: 1px solid #e9e9e9;
  81. .ant-input-sm{
  82. margin-top: 2px;
  83. }
  84. }
  85. .methods-row:nth-child(5){
  86. height: 67px;
  87. }
  88. .modal-postman-col{
  89. border-right: 1px solid #e9e9e9;
  90. }
  91. .show-more{
  92. color: #2395f1;
  93. padding-left: 8px;
  94. cursor:pointer;
  95. }
  96. .ant-row-flex {
  97. flex-wrap: nowrap
  98. }
  99. .input-component {
  100. position: absolute;
  101. top: 2px;
  102. right: 0;
  103. width: 150px;
  104. padding-top: 2px;
  105. margin-right: 16px;
  106. }
  107. .modal-postman-expression{
  108. .expression-item,.expression {
  109. color: rgba(39,56,72,0.85);
  110. font-size: 1.17em;
  111. font-weight: 500;
  112. line-height: 1.5em;
  113. padding-right: 4px;
  114. }
  115. .expression-item{
  116. color: #2395f1;
  117. }
  118. }
  119. .modal-postman-preview{
  120. h3{
  121. word-wrap: break-word;
  122. }
  123. }
  124. }