common.css 3.2 KB

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