element-ui.scss 3.1 KB

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