element-ui.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  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
  72. > div
  73. > .el-submenu
  74. > .el-submenu__title
  75. .el-submenu__icon-arrow {
  76. display: none;
  77. }
  78. .el-dropdown .el-dropdown-link{
  79. color: var(--el-color-primary) !important;
  80. }
  81. .el-form .el-form-item__label{
  82. font-weight: 400!important;
  83. }
  84. .el-dialog{
  85. background: #EEEEEE!important;
  86. }
  87. .el-dialog__header{
  88. background: #EEEEEE;
  89. padding-bottom: 14px;
  90. }
  91. .el-dialog__body{
  92. background: #fff;
  93. padding: 20px 30px!important;
  94. }
  95. .el-dialog__footer{
  96. background: #fff;
  97. text-align: center!important;
  98. padding: 40px 0;
  99. }
  100. .el-loading-mask{
  101. z-index: 1000!important;
  102. }
  103. .el-form-item{
  104. padding: 0 10px!important;
  105. }
  106. .el-form-item__label{
  107. height: 22px!important;
  108. }
  109. .el-tree-node__content{
  110. height: 40px !important;
  111. font-size: 12px!important;
  112. color: #666!important;
  113. }
  114. .el-tree-node:focus>.el-tree-node__content{
  115. background-color: #EFF6FF!important;
  116. }
  117. .is-current{
  118. background-color: #EFF6FF!important;
  119. }