common.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. :root {
  2. --themeColor: #D42426;
  3. --themeColorHover: #BB1012;
  4. }
  5. /* flex布局 */
  6. .u-f,
  7. .u-f-ac,
  8. .u-f-ajc,
  9. .u-f-jsb,
  10. .u-f-je,
  11. .u-f1,
  12. .u-f-column,
  13. .u-f-sa {
  14. display: flex;
  15. }
  16. .u-f-ac,
  17. .u-f-ajc {
  18. align-items: center;
  19. }
  20. .u-f-ajc {
  21. justify-content: center;
  22. }
  23. .u-f-jsb {
  24. justify-content: space-between;
  25. }
  26. .u-f-je {
  27. justify-content: flex-end;
  28. }
  29. .u-f-sa {
  30. justify-content: space-around;
  31. }
  32. .u-f1 {
  33. flex: 1;
  34. }
  35. .u-f-column {
  36. flex-direction: column;
  37. }
  38. .flex {
  39. display: flex;
  40. }
  41. .f-wrap {
  42. flex-wrap: wrap;
  43. }
  44. .j-s {
  45. justify-content: space-between;
  46. }
  47. .j-c {
  48. justify-content: center;
  49. }
  50. .j-start {
  51. justify-content: flex-start;
  52. }
  53. .j-end {
  54. justify-content: flex-end;
  55. }
  56. .a-c {
  57. align-items: center;
  58. }
  59. .a-start {
  60. align-items: flex-start;
  61. }
  62. .a-end {
  63. align-items: flex-end;
  64. }
  65. .f-c {
  66. flex-direction: column;
  67. }
  68. .p-1 {
  69. padding: 10px;
  70. }
  71. .p-2 {
  72. padding: 20px;
  73. }
  74. .mrgin-1 {
  75. margin: 10px;
  76. }
  77. .mrgin-2 {
  78. margin: 20px;
  79. }
  80. .m-top-5 {
  81. margin-top: 5px;
  82. }
  83. .m-top-10 {
  84. margin-top: 10px;
  85. }
  86. .m-btn-10 {
  87. margin-bottom: 10px;
  88. }
  89. .m-btn-15 {
  90. margin-bottom: 15px;
  91. }
  92. .el-button:hover,
  93. .el-button:focus {
  94. color: var(--themeColor) ;
  95. }
  96. .el-button--primary,
  97. .el-button--primary:focus {
  98. background-color: var(--themeColor) !important;
  99. color: #fff;
  100. border-color: var(--themeColor) !important;
  101. }
  102. .el-button--primary.is-plain {
  103. background-color: #EAEDF1 !important;
  104. color: var(--themeColor);
  105. border-color: #EAEDF1 !important;
  106. }
  107. .el-button--primary:hover {
  108. color: #fff;
  109. background-color: var(--themeColorHover);
  110. border-color: var(--themeColorHover);
  111. }
  112. .el-button--primary.is-plain:hover,
  113. .el-button--primary.is-disabled,
  114. .el-button--primary.is-disabled:hover {
  115. background-color: #D2D2D2;
  116. color: var(--themeColor);
  117. border-color: #D2D2D2;
  118. }
  119. .el-tabs__active-bar,
  120. .el-date-table td.start-date span,
  121. .el-date-table td.end-date span,
  122. .el-date-table td.current:not(.disabled) span {
  123. background-color: var(--themeColor)
  124. }
  125. .el-tabs__item:hover,
  126. .el-picker-panel__icon-btn:hover,
  127. .el-date-table td.available:hover,
  128. .el-button--text,
  129. .el-pager li:hover,
  130. .el-dialog__headerbtn:hover .el-dialog__close,
  131. .el-button--text:hover,
  132. .el-button--text:focus {
  133. color: var(--themeColorHover);
  134. }
  135. .dialog-title {
  136. font-weight: bold;
  137. padding-bottom: 10px;
  138. }
  139. .el-pager li.active,
  140. .el-select-dropdown__item.selected,
  141. .el-button--text,
  142. .el-tabs__item.is-active,
  143. .el-select-dropdown.is-multiple .el-select-dropdown__item.selected,
  144. .el-checkbox__input.is-checked+.el-checkbox__label,
  145. .el-button--primary.is-plain:focus {
  146. color: var(--themeColorHover);
  147. }
  148. .el-range-editor.is-active,
  149. .el-pagination button,
  150. .el-pager li,
  151. .el-pagination__sizes .el-input .el-input__inner:hover,
  152. .el-checkbox__inner:hover,
  153. .el-range-editor.is-active,
  154. .el-range-editor.is-active:hover {
  155. border-color: var(--themeColorHover);
  156. }
  157. .el-select .el-input.is-focus .el-input__inner,
  158. .el-input__inner:focus,
  159. .el-select .el-input__inner:focus,
  160. .el-button--primary.is-plain:focus {
  161. border-color: var(--themeColor);
  162. }
  163. .el-radio__input.is-checked+.el-radio__label {
  164. color: var(--themeColor) !important;
  165. }
  166. .el-radio__input.is-checked .el-radio__inner,
  167. .el-checkbox__input.is-checked .el-checkbox__inner,
  168. .el-checkbox__input.is-indeterminate .el-checkbox__inner {
  169. background: var(--themeColor) !important;
  170. border-color: var(--themeColor) !important;
  171. }
  172. .el-button--text,
  173. .el-button--text:hover,
  174. .el-button--text:focus {
  175. border: none;
  176. background-color: transparent;
  177. }
  178. .el-button--primary.is-plain:focus {
  179. background-color: #C8CDD9;
  180. }
  181. .themeColor {
  182. color: var(--themeColor);
  183. }
  184. .el-table .flagRow {
  185. background: rgba(64, 158, 255, .1) !important;
  186. }