dept-inspection-statistics.component.less 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. @import "../../../../src/theme.less";
  2. .cont {
  3. width: 100%;
  4. border: 1px solid #dde1e5;
  5. padding: 8px 16px;
  6. border-radius: 2px;
  7. margin-bottom: 8px;
  8. &>div {
  9. display: inline-block;
  10. margin-right: 4px;
  11. &:nth-child(1) {
  12. position: relative;
  13. padding-left: 10px;
  14. &::before {
  15. content: '';
  16. position: absolute;
  17. left: 0;
  18. width: 4px;
  19. height: 100%;
  20. background: @primary-color;
  21. margin-right: 8px;
  22. }
  23. }
  24. span {
  25. margin-right: 8px;
  26. &:nth-child(1) {
  27. font-size: 12px;
  28. color: #999;
  29. }
  30. &:nth-child(2) {
  31. color: #333;
  32. font-weight: 500;
  33. }
  34. &.rate {
  35. font-size: 18px;
  36. color: @primary-color;
  37. }
  38. }
  39. }
  40. }
  41. .save {
  42. position: fixed;
  43. left: 0;
  44. top: 0;
  45. width: 100%;
  46. height: 100%;
  47. background: rgba(0, 0, 0, 0.4);
  48. z-index: 99;
  49. .modalBody {
  50. width: 350px;
  51. background: #fff;
  52. border-radius: 5px;
  53. padding: 10px 20px;
  54. color: #333;
  55. .title {
  56. width: 100%;
  57. text-align: center;
  58. font-size: 18px;
  59. position: relative;
  60. i {
  61. position: absolute;
  62. right: 0;
  63. top: 0;
  64. font-size: 20px;
  65. color: #666;
  66. cursor: pointer;
  67. padding: 0 5px;
  68. }
  69. }
  70. .content {
  71. width: 100%;
  72. height: 117px;
  73. background: #f9fafb;
  74. border: 1px solid #e5e9ed;
  75. border-radius: 5px;
  76. overflow: hidden;
  77. margin-top: 12px;
  78. div {
  79. text-align: center;
  80. margin: 0;
  81. &.icon {
  82. margin-top: 17px;
  83. i {
  84. color: #34b349;
  85. font-size: 30px !important;
  86. &.transport-wenhao {
  87. color: #f5a523;
  88. }
  89. &.transport-shibai {
  90. color: #ff3a52;
  91. }
  92. }
  93. }
  94. &.defeat {
  95. color: #333;
  96. font-size: 18px;
  97. }
  98. &:nth-child(3) {
  99. font-size: 14px;
  100. color: #666;
  101. }
  102. }
  103. }
  104. button {
  105. margin-top: 10px;
  106. &.btn {
  107. margin-left: 8px;
  108. }
  109. }
  110. }
  111. // 新增
  112. &.add {
  113. .modalBody {
  114. width: 480px;
  115. height: auto;
  116. .content {
  117. width: 100%;
  118. height: auto;
  119. padding: 19px 14px 0 14px;
  120. max-height: 500px;
  121. overflow-y: auto;
  122. .addForm {
  123. .ant-form-item {
  124. margin-bottom: 8px;
  125. .ant-form-item-label {
  126. line-height: 14px;
  127. text-align: left;
  128. }
  129. }
  130. }
  131. .editForm {
  132. .ant-form-item {
  133. margin-bottom: 14px;
  134. .ant-form-item-label {
  135. line-height: 0;
  136. }
  137. }
  138. }
  139. }
  140. button:nth-child(1) {
  141. margin-right: 20px;
  142. }
  143. }
  144. }
  145. }