董国庆
14 小时以前 70d21cc56b187572a682389fd647cdbe219303d7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/* Element UI 主题色变量 */
@theme-color: #009688;
 
/* Element UI 组件主题色覆盖 */
.el-button--primary {
  background-color: @theme-color;
  border-color: @theme-color;
 
  &:hover,
  &:focus {
    background-color: mix(#fff, @theme-color, 20%);
    border-color: mix(#fff, @theme-color, 20%);
  }
 
  &:active {
    background-color: darken(@theme-color, 10%);
    border-color: darken(@theme-color, 10%);
  }
}
 
.el-radio__input.is-checked .el-radio__inner {
  background-color: @theme-color;
  border-color: @theme-color;
}
 
.el-radio__input.is-checked + .el-radio__label {
  color: @theme-color;
}
 
.el-checkbox__input.is-checked .el-checkbox__inner,
.el-checkbox__input.is-indeterminate .el-checkbox__inner {
  background-color: @theme-color;
  border-color: @theme-color;
}
 
.el-checkbox__input.is-checked + .el-checkbox__label {
  color: @theme-color;
}
 
.el-input__inner:focus,
.el-textarea__inner:focus {
  border-color: @theme-color;
}
 
.el-select .el-input__inner:focus {
  border-color: @theme-color;
}
 
.el-select .el-input.is-focus .el-input__inner {
  border-color: @theme-color;
}
 
.el-select-dropdown__item.selected {
  color: @theme-color;
}
 
.el-switch.is-checked .el-switch__core {
  border-color: @theme-color;
  background-color: @theme-color;
}
 
.el-pagination.is-background .el-pager li:not(.disabled).active {
  background-color: @theme-color;
}
 
.el-menu-item.is-active {
  color: @theme-color;
}
 
.el-submenu.is-active .el-submenu__title {
  border-bottom-color: @theme-color;
}
 
.el-tabs__item.is-active {
  color: @theme-color;
}
 
.el-tabs__active-bar {
  background-color: @theme-color;
}
 
/* 表单验证状态 */
.el-form-item.is-success .el-input__inner,
.el-form-item.is-success .el-textarea__inner,
.el-form-item.is-success .el-input__inner:focus,
.el-form-item.is-success .el-textarea__inner:focus {
  border-color: @theme-color;
}
 
/* 链接和文字选中颜色 */
.el-link.el-link--primary {
  color: @theme-color;
  
  &:hover {
    color: mix(#fff, @theme-color, 20%);
  }
}
 
::selection {
  background: fade(@theme-color, 20%);