common.scss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. .w100 {
  2. width: 100%;
  3. }
  4. // 页头
  5. .ele-body {
  6. .page-title {
  7. display: flex;
  8. justify-content: space-between;
  9. align-items: center;
  10. border-bottom: 1px solid #eaeefb;
  11. padding-bottom: 8px;
  12. margin-bottom: 16px;
  13. }
  14. }
  15. // ele-split-layout 左侧盒子充满
  16. .split-layout-right-content {
  17. position: absolute;
  18. top: 0;
  19. bottom: 0;
  20. left: 0;
  21. right: 0;
  22. box-sizing: border-box;
  23. border-width: 1px;
  24. border-style: solid;
  25. overflow: auto;
  26. }
  27. // tab切换框
  28. .switch {
  29. display: flex;
  30. justify-content: space-between;
  31. }
  32. .switch_left ul {
  33. list-style-type: none;
  34. display: flex;
  35. padding: 0;
  36. margin: 0;
  37. }
  38. .switch_left ul li {
  39. min-width: 80px;
  40. padding: 0 10px;
  41. text-align: center;
  42. background: #dfdfdf;
  43. color: #333;
  44. font-size: 14px;
  45. height: 36px;
  46. line-height: 32px;
  47. margin-right: 5px;
  48. border-top: 4px solid #dfdfdf;
  49. cursor: pointer;
  50. }
  51. .switch_left ul .active {
  52. background: #fff;
  53. border-top: 4px solid #157a2c;
  54. color: #157a2c;
  55. }
  56. .ele-form-actions {
  57. padding-left: 10px;
  58. display: flex;
  59. align-items: center;
  60. justify-content: flex-end !important;
  61. }
  62. .form_item_label {
  63. .el-form-item__label {
  64. line-height: 21px !important;
  65. }
  66. }
  67. .el-form-box {
  68. .el-row {
  69. .el-form-item {
  70. margin-bottom: 4px;
  71. .el-form-item__error {
  72. font-size: 11px;
  73. }
  74. .el-col {
  75. .el-form-item {
  76. margin-bottom: 4px;
  77. .el-form-item__error {
  78. font-size: 11px;
  79. }
  80. }
  81. }
  82. }
  83. .el-col {
  84. .el-form-item {
  85. margin-bottom: 4px;
  86. .el-form-item__error {
  87. font-size: 11px;
  88. }
  89. }
  90. }
  91. }
  92. .el-form-item {
  93. margin-bottom: 4px;
  94. .el-form-item__error {
  95. font-size: 11px;
  96. }
  97. }
  98. .el-table {
  99. .el-form-item {
  100. margin-bottom: 0 !important;
  101. .el-form-item__error {
  102. font-size: 11px;
  103. }
  104. }
  105. .el-table__row {
  106. .el-table__cell {
  107. padding: 0 0 !important;
  108. .el-input-group__append{
  109. border: none;
  110. background: none
  111. }
  112. .el-textarea__inner, input {
  113. border: none;
  114. text-align: center;
  115. vertical-align: middle;
  116. }
  117. input::placeholder {
  118. text-align: center;
  119. vertical-align: middle;
  120. }
  121. textarea::placeholder {
  122. text-align: center;
  123. vertical-align: middle;
  124. }
  125. .is-error{
  126. .el-input{
  127. border: 1px solid #ff4d4f !important;
  128. border-collapse: collapse !important;
  129. }
  130. }
  131. .cell {
  132. padding: 0 !important;
  133. }
  134. }
  135. }
  136. }
  137. .el-form-item {
  138. margin-bottom: 4px !important
  139. }
  140. .el-form-item__error {
  141. display: none !important;
  142. }
  143. .ele-form-search .el-form-item, .ele-form-search .ele-form-actions{
  144. margin-bottom: 0 !important;
  145. }
  146. }
  147. .el-dialog {
  148. margin-top: 5vh !important;
  149. }
  150. .el-dialog__body {
  151. max-height: calc(100vh - 129px);
  152. padding-bottom: 30px;
  153. overflow: auto;
  154. }
  155. .el-table--medium .el-table__cell {
  156. padding: 2px 0 !important;
  157. }
  158. .el-button--medium {
  159. padding: 7px 10px !important;
  160. font-size: 12px !important;
  161. border-radius: 3px !important;
  162. }
  163. .el-button--small {
  164. padding: 7px 10px !important;
  165. font-size: 12px !important;
  166. border-radius: 3px !important;
  167. }
  168. .el-input--medium .el-input__inner {
  169. height: 32px !important;
  170. line-height: 32px !important;
  171. }