element-ui.scss 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. min-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. }