hy-dispatch-ui-v3 0.2.14 → 0.2.16

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.
Files changed (62) hide show
  1. package/dist/tailwind.css +0 -4
  2. package/es/static/hy-svg-icons/hy-icon-analytics-v3-station-operation-into.js +9 -0
  3. package/es/static/hy-svg-icons/hy-icon-analytics-v3-station-operation-time.js +12 -0
  4. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-chezu.js +8 -0
  5. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-clock.js +10 -0
  6. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-creationtime.js +10 -0
  7. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-cunche.js +8 -0
  8. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-fanhang.js +8 -0
  9. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-guidao.js +8 -0
  10. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-qita.js +8 -0
  11. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-renwu.js +8 -0
  12. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-renyuan-1.js +8 -0
  13. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-shangxian.js +8 -0
  14. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-tianchuang.js +10 -0
  15. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-time-button.js +10 -0
  16. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-to-left.js +10 -0
  17. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-to-right.js +10 -0
  18. package/es/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-xunshi.js +8 -0
  19. package/es/static/hy-svg-icons/hy-icon-layout-sidenav-menu-apk-upgrade.js +4 -3
  20. package/es/static/hy-svg-icons/hy-icon-layout-sidenav-menu-cascade-information.js +4 -7
  21. package/es/static/hy-svg-icons/hy-icon-layout-sidenav-menu-department-manage.js +3 -3
  22. package/es/static/hy-svg-icons/hy-icon-layout-sidenav-menu-device-manage.js +4 -3
  23. package/es/static/hy-svg-icons/hy-icon-layout-sidenav-menu-group-manage.js +4 -3
  24. package/es/static/hy-svg-icons/hy-icon-layout-sidenav-menu-people.js +4 -3
  25. package/es/static/hy-svg-icons/hy-icon-layout-sidenav-menu-role-management.js +4 -5
  26. package/es/static/hy-svg-icons/hy-icon-layout-sidenav-menu-rule-setting.js +4 -3
  27. package/es/static/hy-svg-icons/hy-icon-layout-sidenav-menu-up-cascade-information.js +4 -11
  28. package/es/static/hy-svg-icons/hy-icon-ops-button-/347/240/201.js +13 -0
  29. package/es/static/hy-svg-icons/hy-icon-ops-button-/347/255/233/351/200/211.js +9 -0
  30. package/es/style/element/hy-element.scss +0 -981
  31. package/es/version.mjs +1 -1
  32. package/lib/static/hy-svg-icons/hy-icon-analytics-v3-station-operation-into.js +9 -0
  33. package/lib/static/hy-svg-icons/hy-icon-analytics-v3-station-operation-time.js +12 -0
  34. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-chezu.js +8 -0
  35. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-clock.js +10 -0
  36. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-creationtime.js +10 -0
  37. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-cunche.js +8 -0
  38. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-fanhang.js +8 -0
  39. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-guidao.js +8 -0
  40. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-qita.js +8 -0
  41. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-renwu.js +8 -0
  42. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-renyuan-1.js +8 -0
  43. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-shangxian.js +8 -0
  44. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-tianchuang.js +10 -0
  45. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-time-button.js +10 -0
  46. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-to-left.js +10 -0
  47. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-to-right.js +10 -0
  48. package/lib/static/hy-svg-icons/hy-icon-dispatch-linear-v3-station-operation-xunshi.js +8 -0
  49. package/lib/static/hy-svg-icons/hy-icon-layout-sidenav-menu-apk-upgrade.js +4 -3
  50. package/lib/static/hy-svg-icons/hy-icon-layout-sidenav-menu-cascade-information.js +4 -7
  51. package/lib/static/hy-svg-icons/hy-icon-layout-sidenav-menu-department-manage.js +3 -3
  52. package/lib/static/hy-svg-icons/hy-icon-layout-sidenav-menu-device-manage.js +4 -3
  53. package/lib/static/hy-svg-icons/hy-icon-layout-sidenav-menu-group-manage.js +4 -3
  54. package/lib/static/hy-svg-icons/hy-icon-layout-sidenav-menu-people.js +4 -3
  55. package/lib/static/hy-svg-icons/hy-icon-layout-sidenav-menu-role-management.js +4 -5
  56. package/lib/static/hy-svg-icons/hy-icon-layout-sidenav-menu-rule-setting.js +4 -3
  57. package/lib/static/hy-svg-icons/hy-icon-layout-sidenav-menu-up-cascade-information.js +4 -11
  58. package/lib/static/hy-svg-icons/hy-icon-ops-button-/347/240/201.js +13 -0
  59. package/lib/static/hy-svg-icons/hy-icon-ops-button-/347/255/233/351/200/211.js +9 -0
  60. package/lib/style/element/hy-element.scss +0 -981
  61. package/lib/version.js +1 -1
  62. package/package.json +1 -1
@@ -1,981 +0,0 @@
1
- // 测试
2
- :root {
3
- --hy-el-fill-color-light: rgba(var(--hy-background-2), 1);
4
- --hy-el-fill-color-lighter: rgba(var(--hy-background-4), 1);
5
- --hy-el-fill-color-blank: rgba(var(--hy-background-2), 1);
6
- --hy-el-color-info: rgba(var(--hy-info), 1);
7
- --hy-el-border: var(--hy-el-border-width) var(--hy-el-border-style) rgba(var(--hy-border), 1);
8
- --hy-el-disabled-border-color: rgba(var(--hy-border), 1);
9
- --hy-el-bg-color: rgba(var(--hy-background), 1);
10
- --hy-el-text-color-secondary: rgba(var(--hy-auxiliary), 1);
11
- --hy-el-text-color-regular: rgba(var(--hy-auxiliary), 1);
12
- --hy-el-border-color-light: rgba(var(--hy-border), 1);
13
- --hy-el-border-color-lighter: rgba(var(--hy-border), 1);
14
- --hy-el-color-primary: rgba(var(--hy-theme), 1);
15
- --hy-el-text-color-placeholder: rgba(var(--hy-info), 1);
16
- --hy-el-text-color-primary: rgba(var(--hy-auxiliary), 1);
17
- --hy-el-color-danger: rgba(var(--hy-danger), 1);
18
- }
19
-
20
- // 表格
21
- .hy-el-table {
22
- --hy-el-table-border-color: rgba(var(--hy-border), 1);
23
- --hy-el-table-border: 1px solid rgba(var(--hy-border), 0.5);
24
- --hy-el-table-text-color: rgba(var(--hy-main), 1);
25
- --hy-el-table-header-text-color: rgba(var(--hy-main), 1);
26
- --hy-el-table-row-hover-bg-color: rgba(var(--hy-background-2-50), 1);
27
- --hy-el-table-current-row-bg-color: rgba(var(--hy-background-2-50), 1);
28
- --hy-el-table-header-bg-color: rgba(var(--hy-background-2), 1);
29
- --hy-el-table-fixed-box-shadow: var(--hy-el-box-shadow-light);
30
- --hy-el-table-bg-color: rgba(var(--hy-background), 1);
31
- --hy-el-table-tr-bg-color: rgba(var(--hy-background), 1);
32
- --hy-el-table-expanded-cell-bg-color: rgba(var(--hy-background), 1);
33
- --hy-el-table-fixed-left-column: inset 10px 0 10px -10px rgba(var(--hy-background-3), 1);
34
- --hy-el-table-fixed-right-column: inset -10px 0 10px -10px rgba(var(--hy-background-3), 1);
35
- --hy-el-table-index: var(--hy-el-index-normal);
36
- position: relative;
37
- overflow: hidden;
38
- box-sizing: border-box;
39
- height: -moz-fit-content;
40
- height: fit-content;
41
- width: 100%;
42
- max-width: 100%;
43
- background-color: var(--hy-el-table-bg-color);
44
- font-size: var(--hy-el-font-size-base);
45
- color: var(--hy-el-table-text-color);
46
- }
47
-
48
- .hy-el-table__expand-icon {
49
- color: rgba(var(--hy-main), 1);
50
- font-size: 12px;
51
- line-height: 12px;
52
- font-weight: 700;
53
- width: min(23px, 100%);
54
- height: 23px;
55
- }
56
-
57
- .hy-el-table__expand-icon>.hy-el-icon {
58
- font-size: 12px;
59
- }
60
-
61
- .hy-el-table tr:hover td:first-child {
62
- box-shadow: inset 10px 0 10px -10px rgba(var(--hy-theme), 0.2), inset 0 10px 10px -10px rgba(var(--hy-theme), 0.2), inset 0 -10px 10px -10px rgba(var(--hy-theme), 0.2);
63
- }
64
-
65
- .hy-el-table tr:hover td:last-child {
66
- box-shadow: inset -10px 0 10px -10px rgba(var(--hy-theme), 0.2), inset 0 10px 10px -10px rgba(var(--hy-theme), 0.2), inset 0 -10px 10px -10px rgba(var(--hy-theme), 0.2);
67
- }
68
-
69
- .hy-el-table tr:hover td:not(:first-child):not(:last-child) {
70
- box-shadow: inset 0 10px 10px -10px rgba(var(--hy-theme), 0.2), inset 0 -10px 10px -10px rgba(var(--hy-theme), 0.2);
71
- }
72
-
73
- .hy-el-scrollbar__view {
74
- height: 100%;
75
- }
76
-
77
- // 虚拟表格
78
- .hy-el-table-v2 {
79
- --hy-el-table-border-color: rgba(var(--hy-border), 1);
80
- --hy-el-table-border: 1px solid rgba(var(--hy-border), 0.5);
81
- --hy-el-table-text-color: rgba(var(--hy-main), 1);
82
- --hy-el-table-header-text-color: rgba(var(--hy-main), 1);
83
- --hy-el-table-row-hover-bg-color: rgba(var(--hy-background-2-50), 1);
84
- --hy-el-table-current-row-bg-color: rgba(var(--hy-background-2-50), 1);
85
- --hy-el-table-header-bg-color: rgba(var(--hy-background-2), 1);
86
- --hy-el-table-fixed-box-shadow: var(--hy-el-box-shadow-light);
87
- --hy-el-table-bg-color: rgba(var(--hy-background), 1);
88
- --hy-el-table-tr-bg-color: rgba(var(--hy-background), 1);
89
- --hy-el-table-expanded-cell-bg-color: rgba(var(--hy-background), 1);
90
- --hy-el-table-fixed-left-column: inset 10px 0 10px -10px rgba(var(--hy-background-3), 1);
91
- --hy-el-table-fixed-right-column: inset -10px 0 10px -10px rgba(var(--hy-background-3), 1);
92
- --hy-el-table-index: var(--hy-el-index-normal);
93
- font-size: var(--hy-el-font-size-base);
94
- }
95
-
96
- .hy-el-table-v2__table .hy-el-table-v2__row:hover .hy-el-table-v2__row-cell:first-child {
97
- box-shadow: inset 10px 0 10px -10px rgba(var(--hy-theme), 0.2), inset 0 10px 10px -10px rgba(var(--hy-theme), 0.2), inset 0 -10px 10px -10px rgba(var(--hy-theme), 0.2);
98
- }
99
-
100
- .hy-el-table-v2__table .hy-el-table-v2__row:hover .hy-el-table-v2__row-cell:last-child {
101
- box-shadow: inset -10px 0 10px -10px rgba(var(--hy-theme), 0.2), inset 0 10px 10px -10px rgba(var(--hy-theme), 0.2), inset 0 -10px 10px -10px rgba(var(--hy-theme), 0.2);
102
- }
103
-
104
- .hy-el-table-v2__table .hy-el-table-v2__row:hover .hy-el-table-v2__row-cell:not(:first-child):not(:last-child) {
105
- box-shadow: inset 0 10px 10px -10px rgba(var(--hy-theme), 0.2), inset 0 -10px 10px -10px rgba(var(--hy-theme), 0.2);
106
- }
107
-
108
- .hy-el-table-v2__right {
109
- display: flex;
110
- flex-direction: column-reverse;
111
- position: absolute;
112
- overflow: hidden;
113
- top: 0;
114
- background-color: var(--hy-el-bg-color);
115
- right: 0;
116
- box-shadow: -2px 0 4px 0 rgba(var(--hy-background-3), 1);
117
- }
118
-
119
- .hy-el-table-v2__left {
120
- display: flex;
121
- flex-direction: column-reverse;
122
- position: absolute;
123
- overflow: hidden;
124
- top: 0;
125
- background-color: var(--hy-el-bg-color);
126
- left: 0;
127
- box-shadow: 2px 0 4px 0 rgba(var(--hy-background-3), 1);
128
- }
129
-
130
- .hy-el-empty__image svg {
131
- color: rgba(var(--hy-auxiliary), 1);
132
- fill: currentColor;
133
- width: 100%;
134
- height: 100%;
135
- vertical-align: top;
136
- }
137
-
138
- // input输入框
139
- .hy-el-input {
140
- --hy-el-input-text-color: rgba(var(--hy-main), 1);
141
- --hy-el-input-border: rgba(var(--hy-border), 1);
142
- --hy-el-input-hover-border: rgba(var(--hy-theme), 1);
143
- --hy-el-input-focus-border: rgba(var(--hy-theme), 1);
144
- --hy-el-input-transparent-border: 0 0 0 1px transparent inset;
145
- --hy-el-input-border-color: rgba(var(--hy-border), 1);
146
- --hy-el-input-border-radius: var(--hy-el-border-radius-base);
147
- --hy-el-input-bg-color: rgba(var(--hy-background-2), 1);
148
- --hy-el-input-icon-color: var(--hy-el-text-color-placeholder);
149
- --hy-el-input-placeholder-color: rgba(var(--hy-auxiliary), 1);
150
- --hy-el-input-hover-border-color: rgba(var(--hy-theme), 1);
151
- --hy-el-input-clear-hover-color: var(--hy-el-text-color-secondary);
152
- --hy-el-input-focus-border-color: rgba(var(--hy-theme), 1);
153
- --hy-el-input-width: 100%;
154
- --hy-el-input-height: var(--hy-el-component-size);
155
- position: relative;
156
- font-size: var(--hy-el-font-size-base);
157
- display: inline-flex;
158
- width: var(--hy-el-input-width);
159
- line-height: var(--hy-el-input-height);
160
- box-sizing: border-box;
161
- vertical-align: middle;
162
- }
163
-
164
- .hy-el-input-group__prepend {
165
- border-top-right-radius: 0 !important;
166
- border-bottom-right-radius: 0 !important;
167
- }
168
-
169
- .hy-el-input-group__append {
170
- border-top-left-radius: 0 !important;
171
- border-bottom-left-radius: 0 !important;
172
- }
173
-
174
- .hy-el-input.is-disabled .hy-el-input__wrapper {
175
- background-color: rgba(var(--hy-background-2), 1);
176
- // background-color: var(--hy-el-input-bg-color);
177
- cursor: not-allowed;
178
- box-shadow: 0 0 0 1px rgba(var(--hy-border), 1) inset;
179
- }
180
-
181
- .hy-el-textarea {
182
- --hy-el-input-text-color: rgba(var(--hy-main), 1);
183
- --hy-el-input-border: rgba(var(--hy-border), 1);
184
- --hy-el-input-hover-border: rgba(var(--hy-theme), 1);
185
- --hy-el-input-focus-border: rgba(var(--hy-theme), 1);
186
- --hy-el-input-transparent-border: 0 0 0 1px transparent inset;
187
- --hy-el-input-border-color: rgba(var(--hy-border), 1);
188
- --hy-el-input-border-radius: var(--hy-el-border-radius-base);
189
- --hy-el-input-bg-color: rgba(var(--hy-background-2), 1);
190
- --hy-el-input-icon-color: var(--hy-el-text-color-placeholder);
191
- --hy-el-input-placeholder-color: rgba(var(--hy-auxiliary), 1);
192
- --hy-el-input-hover-border-color: rgba(var(--hy-theme), 1);
193
- --hy-el-input-clear-hover-color: var(--hy-el-text-color-secondary);
194
- --hy-el-input-focus-border-color: rgba(var(--hy-theme), 1);
195
- --hy-el-input-width: 100%;
196
- position: relative;
197
- display: inline-block;
198
- width: 100%;
199
- vertical-align: bottom;
200
- font-size: var(--hy-el-font-size-base);
201
- }
202
-
203
- .hy-el-input-group__append,
204
- .hy-el-input-group__prepend {
205
- background-color: var(--hy-el-fill-color-light);
206
- color: rgba(var(--hy-auxiliary), 1);
207
- position: relative;
208
- display: inline-flex;
209
- align-items: center;
210
- justify-content: center;
211
- min-height: 100%;
212
- border-radius: var(--hy-el-input-border-radius);
213
- padding: 0 20px;
214
- white-space: nowrap;
215
- }
216
-
217
- // 日期选择器
218
- .hy-el-popper.hy-el-tooltip.hy-el-picker__popper {
219
- --hy-el-border-color-light: rgba(var(--hy-auxiliary), 1);
220
- }
221
-
222
- .hy-el-popper {
223
- --hy-el-popper-border-radius: var(--hy-el-popover-border-radius, 4px);
224
- --hy-el-popper-bg-color-light: rgba(var(--hy-background-2), 1);
225
- --hy-el-popper-bg-color-dark: rgba(var(--hy-background-2), 1);
226
- position: absolute;
227
- border-radius: var(--hy-el-popper-border-radius);
228
- padding: 5px 11px;
229
- z-index: 2000;
230
- font-size: 12px;
231
- line-height: 20px;
232
- min-width: 10px;
233
- overflow-wrap: break-word;
234
- word-break: normal;
235
- visibility: visible;
236
- }
237
-
238
- .hy-el-date-picker {
239
- --hy-el-datepicker-text-color: rgba(var(--hy-auxiliary), 1);
240
- --hy-el-datepicker-off-text-color: rgba(var(--hy-info), 1);
241
- --hy-el-datepicker-header-text-color: rgba(var(--hy-auxiliary), 1);
242
- --hy-el-datepicker-icon-color: rgba(var(--hy-auxiliary), 1);
243
- --hy-el-datepicker-border-color: var(--hy-el-disabled-border-color);
244
- --hy-el-datepicker-inner-border-color: var(--hy-el-border-color-light);
245
- --hy-el-datepicker-inrange-bg-color: rgba(var(--hy-background-2), 1);
246
- --hy-el-datepicker-inrange-hover-bg-color: rgba(var(--hy-background-3), 1);
247
- --hy-el-datepicker-active-color: rgba(var(--hy-background-3), 1);
248
- --hy-el-datepicker-hover-text-color: rgba(var(--hy-theme), 1);
249
- --hy-el-datepicker-bg-color: rgba(var(--hy-background-2), 1);
250
- --hy-el-fill-color-blank: rgba(var(--hy-background-2), 1);
251
- }
252
-
253
- .hy-el-date-table td.selected .hy-el-date-table-cell__text {
254
- background-color: var(--hy-el-datepicker-active-color);
255
- color: rgba(var(--hy-theme), 1);
256
- }
257
-
258
- .hy-el-button.is-plain {
259
- --hy-el-button-hover-text-color: rgba(var(--hy-theme), 1);
260
- --hy-el-button-hover-bg-color: rgba(var(--hy-background-2), 1);
261
- --hy-el-button-hover-border-color: rgba(var(--hy-theme), 1);
262
- }
263
-
264
- .hy-el-button {
265
- --hy-el-button-font-weight: var(--hy-el-font-weight-primary);
266
- --hy-el-button-border-color: rgba(var(--hy-border), 1);
267
- --hy-el-button-bg-color: var(--hy-el-fill-color-blank);
268
- --hy-el-button-text-color: var(--hy-el-text-color-regular);
269
- --hy-el-button-disabled-text-color: var(--hy-el-disabled-text-color);
270
- --hy-el-button-disabled-bg-color: var(--hy-el-fill-color-blank);
271
- --hy-el-button-disabled-border-color: var(--hy-el-border-color-light);
272
- --hy-el-button-divide-border-color: rgba(255, 255, 255, 0.5);
273
- --hy-el-button-hover-text-color: var(--hy-el-color-primary);
274
- --hy-el-button-hover-bg-color: var(--hy-el-color-primary-light-9);
275
- --hy-el-button-hover-border-color: var(--hy-el-color-primary-light-7);
276
- --hy-el-button-active-text-color: var(--hy-el-button-hover-text-color);
277
- --hy-el-button-active-border-color: var(--hy-el-color-primary);
278
- --hy-el-button-active-bg-color: var(--hy-el-button-hover-bg-color);
279
- --hy-el-button-outline-color: var(--hy-el-color-primary-light-5);
280
- --hy-el-button-hover-link-text-color: var(--hy-el-text-color-secondary);
281
- --hy-el-button-active-color: var(--hy-el-text-color-primary);
282
- }
283
-
284
- .hy-el-date-table.is-week-mode .hy-el-date-table__row.current .hy-el-date-table-cell {
285
- background-color: rgba(var(--hy-background-3), 1);
286
- }
287
-
288
- .hy-el-date-table td.start-date .hy-el-date-table-cell__text,
289
- .hy-el-date-table td.end-date .hy-el-date-table-cell__text {
290
- background-color: rgba(var(--hy-background-2), 1);
291
- }
292
-
293
- .hy-el-date-table td.start-date .hy-el-date-table-cell,
294
- .hy-el-date-table td.end-date .hy-el-date-table-cell {
295
- color: rgba(var(--hy-theme), 1);
296
- }
297
-
298
- .hy-el-year-table td.current:not(.disabled) .hy-el-date-table-cell__text {
299
- color: rgba(var(--hy-theme), 1);
300
- background-color: var(--hy-el-datepicker-active-color);
301
- }
302
-
303
- .hy-el-month-table td.current:not(.disabled) .hy-el-date-table-cell__text {
304
- color: rgba(var(--hy-theme), 1);
305
- background-color: var(--hy-el-datepicker-active-color);
306
- }
307
-
308
- .hy-el-date-table td.current:not(.disabled) .hy-el-date-table-cell__text {
309
- color: rgba(var(--hy-theme), 1);
310
- background-color: var(--hy-el-datepicker-active-color);
311
- }
312
-
313
- .hy-el-date-range-picker {
314
- --hy-el-datepicker-text-color: rgba(var(--hy-auxiliary), 1);
315
- --hy-el-datepicker-off-text-color: rgba(var(--hy-info), 1);
316
- --hy-el-datepicker-header-text-color: rgba(var(--hy-auxiliary), 1);
317
- --hy-el-datepicker-icon-color: rgba(var(--hy-auxiliary), 1);
318
- --hy-el-datepicker-border-color: rgba(var(--hy-border), 1);
319
- --hy-el-datepicker-inner-border-color: rgba(var(--hy-border), 1);
320
- --hy-el-datepicker-inrange-bg-color: rgba(var(--hy-background-2), 1);
321
- --hy-el-datepicker-inrange-hover-bg-color: rgba(var(--hy-background-3), 1);
322
- --hy-el-datepicker-active-color: rgba(var(--hy-background-3), 1);
323
- --hy-el-datepicker-hover-text-color: rgba(var(--hy-theme), 1);
324
- --hy-el-datepicker-bg-color: rgba(var(--hy-background-2), 1);
325
- }
326
-
327
- .hy-el-date-table td.in-range .hy-el-date-table-cell {
328
- background-color: rgba(var(--hy-background-3), 1);
329
- }
330
-
331
- .hy-el-date-editor.hy-el-input__wrapper {
332
- box-shadow: 0 0 0 1px rgba(var(--hy-border), 1) inset;
333
- }
334
-
335
- .hy-el-date-editor {
336
- --hy-el-input-icon-color: rgba(var(--hy-auxiliary), 1);
337
- --hy-el-input-placeholder-color: rgba(var(--hy-auxiliary), 1);
338
- --hy-el-input-hover-border: rgba(var(--hy-theme), 1);
339
- --hy-el-input-hover-border-color: rgba(var(--hy-theme), 1);
340
- --hy-el-text-color-placeholder: rgba(var(--hy-auxiliary), 1);
341
- --hy-el-text-color-regular: rgba(var(--hy-main), 1);
342
- }
343
-
344
- .hy-el-date-editor .hy-el-range__icon {
345
- color: rgba(var(--hy-auxiliary), 1);
346
- }
347
-
348
- .hy-el-date-picker__editor-wrap .hy-el-input__wrapper {
349
- background-color: rgba(var(--hy-background-2), 1);
350
- }
351
-
352
- .hy-el-scrollbar__wrap .hy-el-time-spinner__list .hy-el-time-spinner__item:hover {
353
- background-color: rgba(var(--hy-background-3), 1);
354
- }
355
-
356
- .hy-el-button.is-text:not(.is-disabled):hover {
357
- background-color: rgba(var(--hy-background-3), 1);
358
- }
359
-
360
- // 单选框
361
- .hy-el-radio__inner {
362
- background-color: rgba(var(--hy-background), 1);
363
- }
364
-
365
- .hy-el-radio__input.is-checked .hy-el-radio__inner::after {
366
- background-color: rgba(var(--hy-theme), 1);
367
- }
368
-
369
- .hy-el-radio__input.is-checked .hy-el-radio__inner {
370
- border-color: var(--hy-el-color-primary);
371
- background: rgba(var(--hy-background), 1);
372
- }
373
-
374
- // 多选框
375
- .hy-el-checkbox__inner {
376
- background-color: rgba(var(--hy-background), 1)
377
- }
378
-
379
- .hy-el-checkbox__input.is-checked .hy-el-checkbox__inner,
380
- .hy-el-checkbox__input.is-indeterminate .hy-el-checkbox__inner {
381
- background: rgba(var(--hy-theme), .5);
382
- box-shadow: 0 0 4px 0 rgba(var(--hy-theme), 1);
383
- border-color: rgba(var(--hy-theme), 1);
384
- }
385
-
386
- .hy-el-checkbox__input.is-disabled .hy-el-checkbox__inner {
387
- background-color: rgba(var(--hy-background), 1);
388
- border-color: rgba(var(--hy-info), 1);
389
- cursor: not-allowed;
390
- }
391
-
392
- .hy-el-checkbox__input.is-disabled.is-checked .hy-el-checkbox__inner {
393
- background-color: rgba(var(--hy-background), 1);
394
- border-color: rgba(var(--hy-info), 1);
395
- box-shadow: 0 0 4px 0 rgba(var(--hy-info), 1);
396
- }
397
-
398
- .hy-el-checkbox__input.is-disabled.is-checked .hy-el-checkbox__inner::after {
399
- border-color: rgba(var(--hy-info), 1);
400
- }
401
-
402
- .hy-el-checkbox-button.is-checked .hy-el-checkbox-button__inner {
403
- color: var(--hy-el-checkbox-button-checked-text-color);
404
- // background: linear-gradient(180deg, rgba(var(--hy-auxiliary), .5), rgba(var(--hy-auxiliary), .8) 53%, rgba(var(--hy-theme), .9));
405
- background: rgba(var(--hy-theme), .5);
406
- // border: 1px solid rgba(var(--hy-theme), 1);
407
- box-shadow: inset 0px 0px 0px 1px rgba(var(--hy-theme), 1) !important;
408
- position: relative;
409
- z-index: 99;
410
- // &::after {
411
- // content: '';
412
- // position: absolute;
413
- // bottom: 0px;
414
- // left: 0px;
415
- // width: 100%;
416
- // height: 2px;
417
- // background: linear-gradient( 90deg, rgba(var(--hy-theme), 0) 0%, rgba(var(--hy-theme), 1) 49.31%, rgba(var(--hy-theme), 0) 100%);
418
- // }
419
- }
420
-
421
- // 选择框
422
- .hy-el-popper.hy-el-tooltip.hy-el-select__popper {
423
- --hy-el-border-color-light: rgba(var(--hy-border), 1);
424
- }
425
-
426
- .hy-el-select__wrapper {
427
- box-shadow: 0 0 0 1px rgba(var(--hy-border), 1) inset;
428
- }
429
-
430
- .hy-el-select__wrapper.is-hovering:not(.is-focused) {
431
- box-shadow: 0 0 0 1px rgba(var(--hy-theme), 1) inset;
432
- }
433
-
434
- .hy-el-select__placeholder.is-transparent {
435
- color: rgba(var(--hy-auxiliary), 1);
436
- }
437
-
438
- .hy-el-select__placeholder {
439
- color: rgba(var(--hy-main), 1);
440
- }
441
-
442
- .hy-el-select__caret {
443
- color: rgba(var(--hy-main), 1);
444
- }
445
-
446
- .hy-el-select-dropdown__item.is-selected {
447
- background-color: rgba(var(--hy-background-2), 1);
448
- }
449
-
450
- .hy-el-select-dropdown__item.is-hovering:hover {
451
- background-color: rgba(var(--hy-background-3), 1);
452
- color: rgba(var(--hy-theme), 1);
453
- }
454
-
455
- .hy-el-select__wrapper.is-disabled {
456
- box-shadow: 0 0 0 1px rgba(var(--hy-info), 1) inset !important;
457
- }
458
-
459
- .hy-el-tag.hy-el-tag--info {
460
- --hy-el-tag-bg-color: rgba(var(--hy-background-2), 1);
461
- --hy-el-tag-border-color: rgba(var(--hy-border), 1);
462
- --hy-el-tag-hover-color: var(--hy-el-color-info);
463
- }
464
-
465
- .hy-el-select__selection .hy-el-tag {
466
- border-color: rgba(var(--hy-border), 1);
467
- }
468
-
469
- .hy-el-tag.hy-el-tag--info {
470
- --hy-el-tag-text-color: rgba(var(--hy-main), 1);
471
- }
472
-
473
- .hy-el-tag .hy-el-tag__close {
474
- background-color: rgba(var(--hy-danger-2), 1) !important;
475
- }
476
-
477
- // 消息提示框
478
- .hy-el-popper,
479
- .hy-el-tooltip {
480
- --hy-el-border-color-light: rgba(var(--hy-theme), 1);
481
- }
482
-
483
- .hy-el-popper.is-dark {
484
- --hy-el-border-color-light: rgba(var(--hy-theme), 1);
485
- --hy-el-text-color-primary: rgba(var(--hy-theme), 1);
486
- color: rgba(var(--hy-main), 1);
487
- background: var(--hy-el-popper-bg-color-dark);
488
- border: 1px solid var(--hy-el-text-color-primary);
489
- }
490
-
491
- .hy-el-popover.hy-el-popper {
492
- color: rgba(var(--hy-main), 1);
493
- padding: 0px;
494
- }
495
-
496
- // 分页器
497
- .hy-el-pagination.is-background .btn-prev {
498
- border-radius: 50%;
499
- background: rgba(var(--hy-background-2), 1);
500
- color: rgba(var(--hy-main), 1);
501
-
502
- &:hover {
503
- color: rgba(var(--hy-theme), 1);
504
- }
505
- }
506
-
507
- .hy-el-pagination.is-background .btn-prev:disabled {
508
- border-radius: 50%;
509
-
510
- &:hover {
511
- color: rgba(var(--hy-main), 1);
512
- }
513
- }
514
-
515
- .hy-el-pagination.is-background .btn-next,
516
- .hy-el-pagination.is-background .hy-el-pager li {
517
- border-radius: 50%;
518
- background: rgba(var(--hy-background-2), 1);
519
- color: rgba(var(--hy-main), 1);
520
-
521
- &:hover {
522
- color: rgba(var(--hy-theme), 1);
523
- }
524
- }
525
-
526
- .hy-el-pagination.is-background .hy-el-pager li {
527
- border-radius: 50%;
528
- background: rgba(var(--hy-background-2), 1);
529
- color: rgba(var(--hy-main), 1);
530
-
531
- &:hover {
532
- color: rgba(var(--hy-theme), 1);
533
- }
534
- }
535
-
536
- .hy-el-pagination.is-background .btn-prev.is-active,
537
- .hy-el-pagination.is-background .btn-next.is-active,
538
- .hy-el-pagination.is-background .hy-el-pager li.is-active {
539
- background: rgba(var(--hy-theme), .5);
540
- box-shadow: 0 0 6px 0 rgba(var(--hy-theme), 1);
541
- border: 1px solid rgba(var(--hy-theme), 1);
542
- color: rgba(var(--hy-main), 1);
543
-
544
- }
545
-
546
- .hy-el-pagination__total {
547
- color: rgba(var(--hy-main), 1);
548
- }
549
-
550
- .hy-el-pagination__jump {
551
- color: rgba(var(--hy-main), 1);
552
- }
553
-
554
- .hy-el-pagination.is-background .btn-prev:disabled,
555
- .hy-el-pagination.is-background .btn-prev.is-disabled,
556
- .hy-el-pagination.is-background .btn-next:disabled,
557
- .hy-el-pagination.is-background .btn-next.is-disabled,
558
- .hy-el-pagination.is-background .hy-el-pager li:disabled,
559
- .hy-el-pagination.is-background .hy-el-pager li.is-disabled {
560
- &:hover {
561
- color: var(--hy-el-text-color-placeholder);
562
- }
563
- }
564
-
565
- // 下拉框
566
- .hy-el-dropdown__popper.hy-el-popper {
567
- --hy-el-border-color-light: rgba(var(--hy-border), 1);
568
- }
569
-
570
- .hy-el-dropdown-menu {
571
- background-color: rgba(var(--hy-background-2), 1);
572
-
573
- .hy-el-dropdown-menu__item {
574
- &:hover {
575
- background-color: rgba(var(--hy-background-3), 1);
576
- }
577
- }
578
- }
579
-
580
- .hy-el-dropdown-menu__item:not(.is-disabled):focus,
581
- .hy-el-dropdown-menu__item:not(.is-disabled):hover {
582
- background-color: rgba(var(--hy-background-3), 1);
583
- }
584
-
585
- .hy-el-dialog {
586
- --hy-el-dialog-bg-color: var(--hy-el-bg-color);
587
- --hy-el-dialog-box-shadow: 0 0 12px 0 rgba(var(--hy-theme), 1);
588
- box-shadow: 0 0 12px 0 transparent;
589
- background-color: rgba(var(--hy-background), .7);
590
- backdrop-filter: blur(2px);
591
- border: 1px solid rgba(var(--hy-theme), 1);
592
- padding: 0px;
593
-
594
- &::before {
595
- content: '';
596
- position: absolute;
597
- left: 2px;
598
- top: 2px;
599
- width: 24px;
600
- height: 24px;
601
- border-left: 1px solid;
602
- border-top: 1px solid;
603
- border-top-left-radius: 4px;
604
- border-image: radial-gradient(circle at 16.27% 15.07%, rgba(var(--hy-theme), 1) 0%, rgba(56, 189, 227, 0) 100%) 1;
605
- pointer-events: none;
606
- }
607
-
608
- &::after {
609
- content: '';
610
- position: absolute;
611
- right: 2px;
612
- top: 2px;
613
- width: 24px;
614
- height: 24px;
615
- border-right: 1px solid;
616
- border-top: 1px solid;
617
- border-top-right-radius: 4px;
618
- border-image: radial-gradient(circle at 83.73% 15.07%, rgba(var(--hy-theme), 1) 0%, rgba(56, 189, 227, 0) 100%) 1;
619
- pointer-events: none;
620
- }
621
- }
622
-
623
- .hy-el-dialog__body {
624
- position: relative;
625
- color: rgba(var(--hy-main), 1);
626
-
627
- &::before {
628
- content: '';
629
- position: absolute;
630
- left: 2px;
631
- bottom: 2px;
632
- width: 24px;
633
- height: 24px;
634
- border-left: 1px solid;
635
- border-bottom: 1px solid;
636
- border-bottom-left-radius: 4px;
637
- border-image: radial-gradient(circle at 16.27% 84.93%, rgba(var(--hy-theme), 1) 0%, rgba(56, 189, 227, 0) 100%) 1;
638
- pointer-events: none;
639
- }
640
-
641
- &::after {
642
- content: '';
643
- position: absolute;
644
- right: 2px;
645
- bottom: 2px;
646
- width: 24px;
647
- height: 24px;
648
- border-right: 1px solid;
649
- border-bottom: 1px solid;
650
- border-bottom-right-radius: 4px;
651
- border-image: radial-gradient(circle at 83.73% 84.93%, rgba(var(--hy-theme), 1) 0%, rgba(56, 189, 227, 0) 100%) 1;
652
- pointer-events: none;
653
- }
654
- }
655
-
656
- .hy-el-dialog__header {
657
- padding: 0px !important;
658
- position: relative;
659
-
660
- &::after {
661
- content: '';
662
- position: absolute;
663
- left: 50%;
664
- top: 2px;
665
- transform: translateX(-50%);
666
- width: 36px;
667
- height: 1px;
668
- background: linear-gradient(90deg, rgba(45, 242, 255, 0) 0%, rgba(var(--hy-theme), 1) 10%, rgba(var(--hy-theme), 1) 90%, rgba(45, 242, 255, 0) 100%);
669
- pointer-events: none;
670
- }
671
- }
672
-
673
- .hy-el-dialog__title {
674
- color: rgba(var(--hy-main), 1);
675
- }
676
-
677
- .hy-el-dialog__headerbtn .hy-el-dialog__close {
678
- color: rgba(var(--hy-main), 1);
679
- }
680
-
681
- .hy-el-drawer__header {
682
- color: rgba(var(--hy-main), 1);
683
- }
684
-
685
- // .hy-el-drawer {
686
- // --hy-el-drawer-bg-color: rgba(var(--hy-background-4), 1);
687
- // }
688
- // 选项卡
689
- .hy-el-tabs {
690
- border-radius: 6px 6px 0 0;
691
- overflow: hidden;
692
- }
693
-
694
- .hy-el-tabs__nav-scroll {
695
- background-color: rgba(var(--hy-background-2), 1);
696
- }
697
-
698
- .hy-el-tabs__nav-wrap::after {
699
- background-color: rgba(var(--hy-background), 1);
700
- }
701
-
702
- .hy-el-tabs__active-bar {
703
- background: transparent;
704
- }
705
-
706
- .hy-el-tabs .hy-el-tabs__item {
707
- border-radius: 6px 6px 0 0;
708
- border: 1px solid rgba(var(--hy-background-2), 1);
709
- padding: 0 20px !important;
710
-
711
- &:hover {
712
- border-color: rgba(var(--hy-theme), .5);
713
- box-shadow: inset 0 0 6px 0 rgba(var(--hy-theme), .5);
714
- }
715
- }
716
-
717
- .hy-el-tabs__header {
718
- margin: 0;
719
- }
720
-
721
- .hy-el-tabs__header .hy-el-tabs__item {
722
- color: rgba(var(--hy-auxiliary), 1);
723
- font-size: 14px;
724
-
725
- &:hover {
726
- color: rgba(var(--hy-main), 1);
727
- }
728
- }
729
-
730
- .hy-el-tabs__content {
731
- border-radius: 0 0 8px 8px;
732
- overflow: hidden;
733
- border: 1px solid rgba(var(--hy-background-2), 1);
734
- }
735
-
736
- .hy-el-tabs__item.is-active {
737
- color: rgba(var(--hy-main), 1);
738
- background-color: rgba(var(--hy-background-3), 1);
739
- font-weight: 700;
740
- position: relative;
741
-
742
- &::after {
743
- content: '';
744
- position: absolute;
745
- width: 100%;
746
- height: 2px;
747
- bottom: 0;
748
- left: 0px;
749
- border-radius: 999px;
750
- background: linear-gradient(90deg,
751
- rgba(45, 242, 255, 0) 0%,
752
- rgba(var(--hy-theme), 1) 50%,
753
- rgba(45, 242, 255, 0) 100%);
754
- pointer-events: none;
755
- }
756
- }
757
-
758
- .childrenTabs {
759
- .hy-el-tabs {
760
- border-radius: 6px 6px 0 0;
761
- overflow: hidden;
762
-
763
- .hy-el-tabs__nav-next,
764
- .hy-el-tabs__nav-prev {
765
- i::before {
766
- top: 2px !important;
767
- }
768
- }
769
-
770
- .hy-el-tabs__header {
771
- margin: 0;
772
-
773
- .hy-el-tabs__active-bar {
774
- transform: translateX(0px);
775
- height: 2px;
776
- border-bottom: 3px solid;
777
- border-image: linear-gradient(50deg,
778
- rgba(0, 216, 247, 0) 0%,
779
- rgba(var(--hy-theme), 1) 50%,
780
- rgba(0, 216, 247, 0)) 2 2 2 2;
781
- background: transparent;
782
- }
783
- }
784
-
785
- .hy-el-tabs__content {
786
- border-radius: 0 0 8px 8px;
787
- overflow: hidden;
788
- border: 0px solid rgba(var(--hy-border), 1);
789
- }
790
-
791
- .hy-el-tabs__item {
792
- border-radius: 6px 6px 0px 0px;
793
- border: 0px solid transparent;
794
- padding: 0 20px !important;
795
- }
796
-
797
- .hy-el-tabs__item:hover {
798
- color: #fff;
799
- box-shadow: transparent 0px 1px 3px 0px inset;
800
- border-bottom: 3px solid;
801
- border-image: linear-gradient(50deg,
802
- rgba(0, 216, 247, 0) 0%,
803
- rgba(var(--hy-theme), 1) 40%,
804
- rgba(0, 216, 247, 0) 80%) 2 2 2 2;
805
- }
806
-
807
- .is-active {
808
- color: #fff !important;
809
- background: transparent;
810
- box-shadow: transparent 0px 1px 3px 0px inset;
811
- border-bottom: 3px solid;
812
- border-image: linear-gradient(50deg,
813
- rgba(0, 216, 247, 0) 0%,
814
- rgba(var(--hy-theme), 1) 40%,
815
- rgba(0, 216, 247, 0) 80%) 2 2 2 2;
816
-
817
- &::after {
818
- content: '';
819
- position: absolute;
820
- width: 100%;
821
- height: 0px;
822
- bottom: 0;
823
- left: 0px;
824
- }
825
- }
826
-
827
- .hy-el-tabs__nav-wrap.is-scrollable,
828
- .hy-el-tabs__nav-scroll {
829
- background: transparent;
830
- }
831
- }
832
- }
833
-
834
- // 级联选择器
835
- .hy-el-cascader__dropdown {
836
- --hy-el-border-color-light: rgba(var(--hy-border), 1);
837
- }
838
-
839
- .hy-el-cascader-panel {
840
- --hy-el-cascader-menu-border: 1px solid rgba(var(--hy-border), 1);
841
- }
842
-
843
- // 表单
844
- .hy-el-form-item--label-top .hy-el-form-item__label {
845
- width: 100%;
846
- color: rgba(var(--hy-main), 1);
847
- }
848
-
849
- .hy-el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.hy-el-form-item__label-wrap>.hy-el-form-item__label:before {
850
- color: transparent;
851
- margin-right: 0px;
852
- display: none;
853
- }
854
-
855
- .hy-el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.hy-el-form-item__label:before {
856
- color: transparent;
857
- margin-right: 0px;
858
- display: none;
859
- }
860
-
861
- .hy-el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.hy-el-form-item__label .form-label {
862
- font-size: 14px;
863
- color: rgba(var(--hy-main), 1);
864
-
865
- &::after {
866
- content: '*';
867
- color: rgba(var(--hy-danger), 1);
868
- margin-left: 4px;
869
- }
870
- }
871
-
872
-
873
-
874
- // .hy-el-switch {
875
- // // --hy-el-switch-on-color: rgba(var(--hy-success-2), 1);
876
- // // --hy-el-switch-off-color: rgba(var(--hy-background-3), 1);
877
- // }
878
-
879
- // .hy-el-switch__core {
880
- // border: 1px solid var(--hy-el-switch-border-color, rgba(var(--hy-border), 1));
881
- // }
882
-
883
- // .hy-el-switch.is-checked .hy-el-switch__core {
884
- // border-color: var(--hy-el-switch-border-color, rgba(var(--hy-auxiliary), 1));
885
-
886
- // .hy-el-switch__inner-wrapper {
887
- // color: rgba(var(--hy-main), 1);
888
- // }
889
- // }
890
-
891
- // .hy-el-switch__core .hy-el-switch__inner-wrapper {
892
- // color: rgba(var(--hy-auxiliary), 1);
893
- // }
894
-
895
- /* 折叠 */
896
- .collapse-item__header_lightColor.hy-el-collapse {
897
-
898
- border-bottom: 1px solid transparent;
899
- border-top: 1px solid transparent;
900
-
901
- .hy-el-collapse-item {
902
- margin-top: 8px;
903
- border-radius: 6px;
904
- overflow: hidden;
905
-
906
- .hy-el-collapse-item__header {
907
- border-bottom: 1px solid transparent;
908
- color: rgba(var(--hy-main), 1);
909
- line-height: inherit;
910
- text-align: left;
911
- font-size: 14px;
912
- font-family: MicrosoftYaHei-Bold, MicrosoftYaHei;
913
- font-weight: 700;
914
- display: flex;
915
- justify-content: space-between;
916
- position: relative;
917
- height: 38px;
918
- padding-left: 20px;
919
- }
920
-
921
- .hy-el-collapse-item__wrap {
922
- border-bottom: 0px solid transparent;
923
-
924
- .hy-el-collapse-item__content {
925
- padding-bottom: 0px;
926
- }
927
- }
928
-
929
- }
930
- }
931
-
932
- // 日历
933
- .hy-el-calendar {
934
- background-color: rgba(var(--hy-background), 1);
935
- --hy-el-calendar-border: var(--hy-el-table-border, 1px solid rgba(157, 167, 178, .5));
936
-
937
- .hy-el-calendar__body {
938
- padding: 0px;
939
- }
940
-
941
- .hy-el-calendar-table {
942
- color: rgba(var(--hy-info), 1);
943
-
944
- thead th {
945
- color: rgba(var(--hy-main), 1);
946
- }
947
-
948
-
949
- td.is-selected {
950
- box-shadow: 0px 0 12px 0px rgba(var(--hy-theme), 1) inset;
951
- background: rgba(var(--hy-background-2), 1);
952
- .hy-el-calendar-day {
953
- border: 1px solid rgba(var(--hy-theme), 1);
954
- }
955
- }
956
-
957
- td.is-today {
958
- color: rgba(var(--hy-info), 1);
959
- }
960
-
961
- td.current {
962
- background-color: rgba(var(--hy-background-2), 1);
963
- }
964
-
965
- .hy-el-calendar-day:hover {
966
- border: 1px solid rgba(var(--hy-theme), 1);
967
- box-shadow: 0px 0 12px 0px rgba(var(--hy-theme), 1) inset;
968
- background: rgba(var(--hy-background-2), 1);
969
- }
970
-
971
- &:not(.is-range) td.next,
972
- &:not(.is-range) td.prev {
973
- background: rgba(var(--hy-background), 1);
974
-
975
- .hy-el-calendar-day:hover {
976
- background: rgba(var(--hy-background), 1);
977
- }
978
- }
979
-
980
- }
981
- }