unit-management.component.less 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. @import "../../../../src/theme.less";
  2. .save {
  3. position: fixed;
  4. left: 0;
  5. top: 0;
  6. width: 100%;
  7. height: 100%;
  8. background: rgba(0, 0, 0, 0.4);
  9. z-index: 99;
  10. .modalBody {
  11. width: 350px;
  12. background: #fff;
  13. border-radius: 5px;
  14. padding: 10px 20px;
  15. color: #333;
  16. .title {
  17. width: 100%;
  18. text-align: center;
  19. font-size: 18px;
  20. position: relative;
  21. i {
  22. position: absolute;
  23. right: 0;
  24. top: 0;
  25. font-size: 20px;
  26. color: #666;
  27. cursor: pointer;
  28. padding: 0 5px;
  29. }
  30. }
  31. .content {
  32. width: 100%;
  33. height: 117px;
  34. background: #f9fafb;
  35. border: 1px solid #e5e9ed;
  36. border-radius: 5px;
  37. overflow: hidden;
  38. margin-top: 12px;
  39. div {
  40. // text-align: center;
  41. // margin: 0;
  42. &.icon {
  43. margin-top: 17px;
  44. i {
  45. color: #34b349;
  46. font-size: 30px !important;
  47. &.transport-wenhao {
  48. color: #f5a523;
  49. }
  50. &.transport-shibai {
  51. color: #ff3a52;
  52. }
  53. }
  54. }
  55. &.defeat {
  56. color: #333;
  57. font-size: 18px;
  58. }
  59. &:nth-child(3) {
  60. font-size: 14px;
  61. color: #666;
  62. }
  63. }
  64. }
  65. button {
  66. margin-top: 10px;
  67. margin-bottom: 10px;
  68. &.btn {
  69. margin-left: 8px;
  70. }
  71. }
  72. }
  73. // 新增
  74. &.add {
  75. .modalBody {
  76. width: 480px;
  77. height: auto;
  78. .content {
  79. width: 100%;
  80. height: auto;
  81. padding: 19px 14px;
  82. max-height: 500px;
  83. overflow-y: auto;
  84. .addForm {
  85. .ant-form-item {
  86. margin-bottom: 8px;
  87. .ant-form-item-label {
  88. line-height: 14px;
  89. text-align: left;
  90. }
  91. }
  92. }
  93. .editForm {
  94. .ant-form-item {
  95. margin-bottom: 14px;
  96. .ant-form-item-label {
  97. line-height: 0;
  98. }
  99. }
  100. }
  101. }
  102. button:nth-child(1) {
  103. margin-right: 20px;
  104. }
  105. }
  106. }
  107. }