assets-product-management.component.less 3.0 KB

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