element-ui.scss 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. .el-dropdown-menu__item {
  2. font-size: 12px !important;
  3. line-height: 28px !important;
  4. }
  5. //.el-card.is-always-shadow {
  6. // box-shadow: none;
  7. // border: none !important;
  8. //}
  9. .el-scrollbar__view {
  10. height: 100%;
  11. }
  12. .el-menu--horizontal {
  13. border-bottom: none !important;
  14. }
  15. .el-menu {
  16. border-right: none !important;
  17. }
  18. .el-menu--display,
  19. .el-menu--display + .el-submenu__icon-arrow {
  20. display: none;
  21. }
  22. .el-message__icon,
  23. .el-message__content {
  24. display: inline-block;
  25. }
  26. .el-date-editor .el-range-input,
  27. .el-date-editor .el-range-separator {
  28. height: auto;
  29. overflow: hidden;
  30. }
  31. .el-dialog__wrapper {
  32. z-index: 2048;
  33. }
  34. .el-col {
  35. margin-bottom: 8px;
  36. }
  37. .el-main {
  38. padding: 0 !important;
  39. }
  40. .el-dropdown-menu__item--divided:before, .el-menu, .el-menu--horizontal > .el-menu-item:not(.is-disabled):focus, .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover, .el-menu--horizontal > .el-submenu .el-submenu__title:hover {
  41. background-color: transparent;
  42. }
  43. .el-dropdown-menu__item--divided:before, .el-menu, .el-menu--horizontal > .el-menu-item:not(.is-disabled):focus, .el-menu--horizontal > .el-menu-item:not(.is-disabled):hover, .el-menu--horizontal > .el-submenu .el-submenu__title:hover {
  44. background-color: transparent !important;
  45. }
  46. .el-card__header {
  47. padding: 6px 18px !important;
  48. }
  49. .el-card__body {
  50. //padding: 16px !important;
  51. }
  52. .el-divider--horizontal {
  53. margin: 12px 0 !important;
  54. }
  55. //表单上传组件 img
  56. .hc-upload-table-form {
  57. position: relative;
  58. height: 100%;
  59. display: flex;
  60. justify-content: center;
  61. align-items: center;
  62. }
  63. .hc-upload-table-form .el-upload {
  64. position: relative;
  65. flex: 1;
  66. height: 100%;
  67. color: #ccc;
  68. display: flex;
  69. align-items: center;
  70. justify-content: center;
  71. }
  72. .hc-upload-table-form .el-upload .hc-table-form-icon {
  73. font-size: 24px;
  74. font-weight: 100;
  75. }
  76. .hc-upload-table-form .el-upload .hc-table-form-img {
  77. width: 100%;
  78. height: 100%;
  79. }
  80. //表单样式
  81. .hc-excel-table-form {
  82. td {
  83. padding: 6px;
  84. .el-input {
  85. color: #606266;
  86. border-radius: 3px;
  87. height: initial !important;
  88. background-color: #ffffff !important;
  89. .el-input__wrapper {
  90. background-color: inherit;
  91. caret-color: var(--el-color-primary);
  92. }
  93. .el-input__suffix-inner {
  94. width: 18px;
  95. }
  96. }
  97. .el-textarea {
  98. width: 100%;
  99. .el-textarea__inner {
  100. min-height: initial !important;
  101. background-color: #ffffff;
  102. border-radius: 3px;
  103. color: #606266;
  104. height: 100%;
  105. caret-color: var(--el-color-primary);
  106. }
  107. }
  108. //日期选择框
  109. .el-date-editor.el-input .el-input__wrapper,
  110. .el-date-editor.el-date-editor--datetimerange.el-input__wrapper {
  111. height: 100%;
  112. width: 100%;
  113. }
  114. //焦点
  115. .el-input .el-input__wrapper.is-focus, .el-input .el-input__wrapper:hover,
  116. .el-textarea .el-textarea__inner:hover {
  117. box-shadow: 0 0 0 1.5px var(--el-input-focus-border-color) inset;
  118. background-color: #eddac4;
  119. }
  120. //公式
  121. &[gscolor] {
  122. .el-input, .el-textarea .el-textarea__inner {
  123. background-color: #dcdcdc !important;
  124. }
  125. }
  126. //文本选中颜色
  127. .el-input .el-input__wrapper input,
  128. .el-textarea textarea {
  129. &::selection {
  130. background: var(--el-color-primary-light-9);
  131. color: var(--el-color-primary);
  132. }
  133. &::-moz-selection {
  134. background: var(--el-color-primary-light-9);
  135. color: var(--el-color-primary);
  136. }
  137. }
  138. //下拉框
  139. .el-select {
  140. width: 100%;
  141. height: initial !important;
  142. }
  143. }
  144. td[rowspan] {
  145. height: initial !important;
  146. clear: both;
  147. }
  148. //非输入框颜色
  149. td:not([titlexx]), td[titlexx*=''],
  150. td:not([title]), td[title*=''] {
  151. background-color: white !important;
  152. user-select: none;
  153. }
  154. }