element-ui.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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. .el-dialog__header,
  47. .el-dialog__footer,
  48. .el-dialog__body{
  49. background-color: #0b333f;
  50. }
  51. .el-dialog__header .el-dialog__title{
  52. color: white;
  53. }
  54. .el-upload .el-upload-dragger {
  55. background-color: #0b333f !important;
  56. .el-upload__text{
  57. color: #fff;
  58. }
  59. }
  60. .el-upload__tip {
  61. color: #fff;
  62. }
  63. }
  64. .vue-treeselect__control{
  65. background-color: #0b333f !important;
  66. .vue-treeselect__single-value{
  67. color: #fff !important;
  68. }
  69. }
  70. .el-textarea__inner{
  71. background-color: #0b333f !important;
  72. }
  73. // refine element ui upload
  74. .upload-container {
  75. .el-upload {
  76. width: 100%;
  77. .el-upload-dragger {
  78. width: 100%;
  79. height: 200px;
  80. background-color: #0b333f !important;
  81. }
  82. }
  83. }
  84. // dropdown
  85. .el-dropdown-menu {
  86. a {
  87. display: block
  88. }
  89. }
  90. // fix date-picker ui bug in filter-item
  91. .el-range-editor.el-input__inner {
  92. display: inline-flex !important;
  93. }
  94. .el-range-input{
  95. background-color: #0b333f;
  96. }
  97. // to fix el-date-picker css style
  98. .el-range-separator {
  99. box-sizing: content-box;
  100. }
  101. .el-menu--collapse
  102. > div
  103. > .el-submenu
  104. > .el-submenu__title
  105. .el-submenu__icon-arrow {
  106. display: none;
  107. }
  108. // el-form
  109. .el-form .el-form-item__label{
  110. color: #e4eaef;
  111. }
  112. .el-input__inner{
  113. background: #0b333f !important;
  114. color: white;
  115. }
  116. .el-tree{
  117. background: #0b333f !important;
  118. color: #fefeff;
  119. }
  120. .el-radio__label{
  121. color: white !important;
  122. }
  123. .el-loading-mask{
  124. background-color: rgb(11, 51, 63,0.1) !important;
  125. }