element-ui.scss 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  1. // cover some element-ui styles
  2. // 全局字号大小
  3. .el-table .el-table__cell {
  4. padding: 6px 0px !important;
  5. // font-size: 12px !important
  6. }
  7. // .el-form-item--default .el-form-item__label,
  8. // .el-input,
  9. // .el-textarea__inner,
  10. // .el-upload-dragger .el-upload__text,
  11. // .el-tabs__item,
  12. // .el-button,
  13. // .el-dropdown-menu__item {
  14. // font-size: 12px !important;
  15. // }
  16. .el-breadcrumb__inner,
  17. .el-breadcrumb__inner a {
  18. font-weight: 400 !important;
  19. }
  20. .el-upload {
  21. input[type="file"] {
  22. display: none !important;
  23. }
  24. }
  25. .el-upload__input {
  26. display: none;
  27. }
  28. .cell {
  29. .el-tag {
  30. margin-right: 0px;
  31. }
  32. }
  33. .small-padding {
  34. .cell {
  35. padding-left: 5px;
  36. padding-right: 5px;
  37. }
  38. }
  39. .fixed-width {
  40. .el-button--mini {
  41. padding: 7px 10px;
  42. width: 60px;
  43. }
  44. }
  45. .status-col {
  46. .cell {
  47. padding: 0 10px;
  48. text-align: center;
  49. .el-tag {
  50. margin-right: 0px;
  51. }
  52. }
  53. }
  54. // to fixed https://github.com/ElemeFE/element/issues/2461
  55. .el-dialog {
  56. transform: none;
  57. left: 0;
  58. position: relative;
  59. margin: 0 auto;
  60. }
  61. // refine element ui upload
  62. .upload-container {
  63. .el-upload {
  64. width: 100%;
  65. .el-upload-dragger {
  66. width: 100%;
  67. height: 200px;
  68. }
  69. }
  70. }
  71. // dropdown
  72. .el-dropdown-menu {
  73. a {
  74. display: block
  75. }
  76. }
  77. // fix date-picker ui bug in filter-item
  78. .el-range-editor.el-input__inner {
  79. display: inline-flex !important;
  80. }
  81. // to fix el-date-picker css style
  82. .el-range-separator {
  83. box-sizing: content-box;
  84. }
  85. .el-menu--collapse>div>.el-submenu>.el-submenu__title .el-submenu__icon-arrow {
  86. display: none;
  87. }
  88. .el-dropdown .el-dropdown-link {
  89. color: var(--el-color-primary) !important;
  90. }
  91. .el-form .el-form-item__label {
  92. font-weight: 400 !important;
  93. }
  94. .el-dialog {
  95. background: #EEEEEE !important;
  96. }
  97. .el-dialog__header {
  98. background: #EEEEEE;
  99. padding-bottom: 14px;
  100. }
  101. .el-dialog__body {
  102. background: #fff;
  103. // padding: 20px 30px !important;
  104. }
  105. .el-dialog__footer {
  106. background: #fff;
  107. text-align: center !important;
  108. padding: 40px 0;
  109. }
  110. .el-loading-mask {
  111. z-index: 1000 !important;
  112. }
  113. .el-form-item {
  114. // padding: 0!important;
  115. margin-bottom: 22px !important;
  116. }
  117. .margin-b-0.el-form-item {
  118. margin-bottom: 0px !important;
  119. width: 100% !important;
  120. }
  121. .wid100.el-form-item {
  122. width: 100% !important;
  123. }
  124. .el-form-item__label {
  125. // height: 22px !important;
  126. }
  127. .el-tree-node__content {
  128. height: 40px !important;
  129. font-size: 12px !important;
  130. color: #666 !important;
  131. }
  132. .el-tree-node:focus>.el-tree-node__content {
  133. background-color: #EFF6FF !important;
  134. }
  135. .is-current {
  136. background-color: #EFF6FF !important;
  137. }
  138. .el-input__wrapper {
  139. border-radius: 1px !important;
  140. }
  141. .el-input.is-disabled .el-input__wrapper {
  142. background: #fff !important;
  143. // border: none !important;
  144. // box-shadow: none;
  145. box-shadow: 0 0 0 1px #f1f1f1 inset !important;
  146. }
  147. .el-input.is-disabled .el-input__inner {
  148. -webkit-text-fill-color: #606266 !important;
  149. color: #606266 !important;
  150. }
  151. .el-textarea.is-disabled .el-textarea__inner {
  152. background: #fff !important;
  153. -webkit-text-fill-color: #606266 !important;
  154. color: #606266 !important;
  155. // border: none !important;
  156. // box-shadow: none;e7e8e9
  157. box-shadow: 0 0 0 1px #f1f1f1 inset !important;
  158. }
  159. .el-upload--picture-card {
  160. width: 80px !important;
  161. height: 80px !important;
  162. }
  163. .el-upload-list--picture-card .el-upload-list__item {
  164. width: 80px !important;
  165. height: 80px !important;
  166. }
  167. .el-upload-list--text .el-upload-list__item {
  168. min-width: 200px !important;
  169. width: auto;
  170. }
  171. .el-input-number .el-input__inner {
  172. text-align: left !important;
  173. }
  174. // .el-button--primary {
  175. // background-color: #1b374c !important;
  176. // border-color: #1b374c !important;
  177. // }