form-styles.css
3.19 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
/* 全局表单组件样式 - 灰色背景,无边框 */
/* Element Plus 输入框样式 */
.el-input__wrapper {
background-color: #f3f3f5 !important;
border: none !important;
box-shadow: none !important;
transition: all 0.2s ease-in-out !important;
}
.el-input__wrapper:hover {
border: none !important;
box-shadow: none !important;
}
.el-input__wrapper.is-focus {
background-color: #f3f3f5 !important;
border: none !important;
box-shadow: none !important;
}
/* Element Plus 文本框样式 */
.el-textarea__inner {
background-color: #f3f3f5 !important;
border: none !important;
box-shadow: none !important;
}
.el-textarea__inner:hover {
border: none !important;
box-shadow: none !important;
}
.el-textarea__inner:focus {
background-color: #f3f3f5 !important;
border: none !important;
box-shadow: none !important;
}
/* Element Plus 下拉框样式 */
.el-select .el-input__wrapper {
background-color: #f3f3f5 !important;
border: none !important;
box-shadow: none !important;
}
.el-select .el-input__wrapper:hover {
border: none !important;
box-shadow: none !important;
}
.el-select .el-input__wrapper.is-focus {
background-color: #f3f3f5 !important;
border: none !important;
box-shadow: none !important;
}
/* Element Plus 时间选择器样式 */
.el-date-editor .el-input__wrapper {
background-color: #f3f3f5 !important;
border: none !important;
box-shadow: none !important;
}
.el-date-editor .el-input__wrapper:hover {
border: none !important;
box-shadow: none !important;
}
.el-date-editor .el-input__wrapper.is-focus {
background-color: #f3f3f5 !important;
border: none !important;
box-shadow: none !important;
}
/* Element Plus 数字输入框样式 */
.el-input-number .el-input__wrapper {
background-color: #f3f3f5 !important;
border: none !important;
box-shadow: none !important;
}
.el-input-number .el-input__wrapper:hover {
border: none !important;
box-shadow: none !important;
}
.el-input-number .el-input__wrapper.is-focus {
background-color: #f3f3f5 !important;
border: none !important;
box-shadow: none !important;
}
/* Element Plus 复选框样式 */
.el-checkbox__input .el-checkbox__inner {
background-color: #f3f3f5 !important;
border: none !important;
}
.el-checkbox__input .el-checkbox__inner:hover {
border: none !important;
}
/* Element Plus 单选框样式 */
.el-radio__input .el-radio__inner {
background-color: #f3f3f5 !important;
border: none !important;
}
.el-radio__input .el-radio__inner:hover {
border: none !important;
}
/* Element Plus 开关样式 */
.el-switch__core {
background-color: #f3f3f5 !important;
border: none !important;
}
/* Element Plus 按钮优化 */
.el-button {
transition: all 0.2s ease-in-out !important;
}
.el-button:hover {
transform: translateY(-1px) !important;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}
.el-button:active {
transform: scale(0.95) !important;
}
/* Element Plus 卡片悬停效果 */
.el-card {
transition: box-shadow 0.2s ease-in-out !important;
}
.el-card:hover {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}
/* Element Plus 表格行悬停效果 */
.el-table__row {
transition: background-color 0.15s ease-in-out !important;
}