@ganwei-web/gw-base-components-plus 1.0.47 → 1.0.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,273 @@
1
+ .render-form.el-form {
2
+ .el-form-item {
3
+ margin-bottom: 1rem;
4
+ .el-form-item__label {
5
+ height: 16px !important;
6
+ line-height: 16px;
7
+ font-size: 13px;
8
+ font-weight: 600;
9
+ color: var(--form-label-color-1);
10
+ margin-top: 0;
11
+ margin-bottom: 4px !important;
12
+ }
13
+ .el-input__wrapper,.el-select__wrapper,.el-textarea__inner,.el-upload--picture-card {
14
+ border-radius: 0.5rem;
15
+ .el-input__inner {
16
+ border-radius: 0.5rem;
17
+ }
18
+ }
19
+ }
20
+ .el-input__wrapper:has(input[readonly]) {
21
+ background: var(--input-background__disabled);
22
+ box-shadow: 0 0 0 1px var(--input-border) inset;
23
+ .el-input__inner {
24
+ background: var(--input-background__disabled);
25
+ }
26
+ }
27
+ .el-textarea__inner[readonly] {
28
+ background: var(--input-background__disabled);
29
+ }
30
+ .equip-selector {
31
+ border-radius: 0.5rem;
32
+ border-color: var(--frame-main-border);
33
+ .equip-name {
34
+ font-size: 12px;
35
+ color: var(--form-label-color);
36
+ }
37
+ }
38
+ .equip-detail-container {
39
+ margin-top: 8px;
40
+ .equip-detail-box {
41
+ background: var(--frame-main-background-3);
42
+ border-color: var(--frame-main-border);
43
+ .equip-detail-item{
44
+ border-color: var(--frame-main-border);
45
+ }
46
+ .detail-label {
47
+ color: var(--frame-main-color);
48
+ }
49
+ .detail-value {
50
+ color: var(--frame-main-color);
51
+ }
52
+ }
53
+ }
54
+ .el-form-item__content {
55
+ div:has(.ql-toolbar) {
56
+ width: 100%;
57
+ }
58
+ }
59
+
60
+ .ql-toolbar {
61
+ display: none;
62
+ }
63
+ .ql-container {
64
+ border: 1px solid var(--frame-main-border) !important;
65
+ }
66
+
67
+ .equip-container.disabled {
68
+ .equip-selector {
69
+ padding-left: 0;
70
+ border: none;
71
+ .equip-edit-icon {
72
+ display: none;
73
+ }
74
+ }
75
+ .equip-detail-box {
76
+ border: none;
77
+ }
78
+ }
79
+
80
+ .el-select {
81
+ .is-disabled {
82
+ &.el-select__wrapper {
83
+ height: 32px;
84
+ line-height: 32px;
85
+ min-height: 32px;
86
+ font-size: 13px;
87
+ font-weight: 600;
88
+ padding: 0;
89
+ background: transparent;
90
+ border: none;
91
+
92
+ .el-select__suffix,
93
+ .el-input__prefix {
94
+ display: none;
95
+ }
96
+ }
97
+ }
98
+ }
99
+ .auto-full-width {
100
+ .is-disabled {
101
+ &.el-date-editor {
102
+ height: 32px;
103
+ line-height: 32px;
104
+ min-height: 32px;
105
+ font-size: 13px;
106
+ font-weight: 600;
107
+ padding: 0;
108
+ background: transparent;
109
+ border: none;
110
+
111
+ .el-input__inner {
112
+ background: transparent;
113
+ }
114
+
115
+ .el-select__suffix,
116
+ .el-input__prefix {
117
+ display: none;
118
+ }
119
+ }
120
+ }
121
+
122
+ }
123
+
124
+ .el-input {
125
+ &.is-disabled {
126
+ .el-input__wrapper,
127
+ .el-input__inner,
128
+ .el-textarea__inner {
129
+ font-size: 13px;
130
+ color: var(--frame-main-color);
131
+ -webkit-text-fill-color: var(--frame-main-color);
132
+ padding-left: 0;
133
+ background: transparent;
134
+ border: none;
135
+ box-shadow: none;
136
+ }
137
+
138
+ .el-textarea__inner {
139
+ height: 16px;
140
+ line-height: 16px;
141
+ padding: 0;
142
+ resize: none !important;
143
+ }
144
+ }
145
+ }
146
+
147
+ .is-disabled {
148
+ &.el-select__wrapper {
149
+ .el-tag {
150
+ height: 18px !important;
151
+
152
+ .el-tag__content {
153
+ height: 100%;
154
+ }
155
+ }
156
+ }
157
+
158
+ .el-input-number__decrease,
159
+ .el-input-number__increase {
160
+ display: none;
161
+ }
162
+
163
+ &.el-input-number {
164
+ .el-input {
165
+ .el-input__wrapper {
166
+ padding-right: 15px;
167
+
168
+ .el-input__inner {
169
+ text-align: left;
170
+ }
171
+ }
172
+ }
173
+ }
174
+
175
+ &.el-radio {
176
+ height: 16px;
177
+ line-height: 16px;
178
+
179
+ &:not(.is-checked) {
180
+ display: none !important;
181
+ }
182
+
183
+ .el-radio__inner {
184
+ display: none;
185
+ }
186
+
187
+ .el-radio__label {
188
+ height: 16px;
189
+ line-height: 16px;
190
+ color: var(--frame-main-color);
191
+ padding-left: 0;
192
+ }
193
+ }
194
+
195
+ &.el-checkbox {
196
+ height: 16px;
197
+ line-height: 16px;
198
+
199
+ &:not(.is-checked) {
200
+ display: none !important;
201
+ }
202
+
203
+ .el-checkbox__inner {
204
+ display: none;
205
+ }
206
+
207
+ .el-checkbox__label {
208
+ height: 16px;
209
+ line-height: 16px;
210
+ color: var(--frame-main-color);
211
+ padding-left: 0;
212
+ }
213
+ }
214
+
215
+ &.el-switch {
216
+ height: 16px;
217
+ line-height: 16px;
218
+
219
+ .el-switch__core {
220
+ display: none;
221
+ }
222
+
223
+ .el-switch__label.is-active {
224
+ font-size: 13px;
225
+ height: 16px;
226
+ line-height: 16px;
227
+ color: var(--frame-main-color);
228
+ }
229
+
230
+ .el-switch__label--right {
231
+ transform: translateX(-13px);
232
+ }
233
+ }
234
+
235
+ // placeholder 文字颜色透明
236
+ .el-select__placeholder.is-transparent {
237
+ color: transparent !important;
238
+ }
239
+
240
+ .el-input__inner {
241
+
242
+ &::placeholder,
243
+ &::-webkit-input-placeholder,
244
+ &::-moz-placeholder,
245
+ &:-ms-input-placeholder {
246
+ color: transparent !important;
247
+ }
248
+ }
249
+
250
+ .el-textarea__inner {
251
+
252
+ &::placeholder,
253
+ &::-webkit-input-placeholder,
254
+ &::-moz-placeholder,
255
+ &:-ms-input-placeholder {
256
+ color: transparent !important;
257
+ }
258
+ }
259
+
260
+ // 覆盖 Element Plus CSS 变量
261
+ --el-input-placeholder-color: transparent;
262
+ --el-textarea-placeholder-color: transparent;
263
+ }
264
+ }
265
+
266
+ .form-designer-container {
267
+ .indent-left-margin .el-tabs__nav {
268
+ margin-left: 0 !important;
269
+ }
270
+ }
271
+ .drawcomponent-title-custom {
272
+ margin-bottom: 0px;
273
+ }