@timus-networks/theme 2.0.0 → 2.0.1

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 (190) hide show
  1. package/README.md +128 -0
  2. package/dist/module.cjs +5 -0
  3. package/dist/module.d.mts +11 -0
  4. package/dist/module.d.ts +11 -0
  5. package/dist/module.json +9 -0
  6. package/dist/module.mjs +159 -0
  7. package/dist/runtime/components/example.button.vue +237 -0
  8. package/dist/runtime/components/example.button.vue.d.ts +10 -0
  9. package/dist/runtime/components/example.checkbox.vue +190 -0
  10. package/dist/runtime/components/example.checkbox.vue.d.ts +24 -0
  11. package/dist/runtime/components/example.dialog.vue +82 -0
  12. package/dist/runtime/components/example.form.vue +494 -0
  13. package/dist/runtime/components/example.input.vue +286 -0
  14. package/dist/runtime/components/example.input.vue.d.ts +20 -0
  15. package/dist/runtime/components/example.popover.vue +161 -0
  16. package/dist/runtime/components/example.radio.vue +165 -0
  17. package/dist/runtime/components/example.radio.vue.d.ts +24 -0
  18. package/dist/runtime/components/example.select.vue +591 -0
  19. package/dist/runtime/components/example.select.vue.d.ts +69 -0
  20. package/dist/runtime/components/example.sidebar.vue +104 -0
  21. package/dist/runtime/components/example.table.vue +126 -0
  22. package/dist/runtime/components/example.tag.vue +279 -0
  23. package/dist/runtime/components/html-encode.vue +37 -0
  24. package/dist/runtime/pages/theme.vue +30 -0
  25. package/dist/runtime/plugins/element-extend-plugin.d.ts +38 -0
  26. package/dist/runtime/plugins/element-extend-plugin.js +39 -0
  27. package/dist/runtime/plugins/element-extend-plugin.mjs +39 -0
  28. package/dist/runtime/plugins/experimental-size-plugin.d.ts +2 -0
  29. package/dist/runtime/plugins/experimental-size-plugin.js +13 -0
  30. package/dist/runtime/plugins/experimental-size-plugin.mjs +13 -0
  31. package/dist/runtime/plugins/sample-plugin.d.ts +20 -0
  32. package/dist/runtime/plugins/sample-plugin.js +5 -0
  33. package/dist/runtime/plugins/sample-plugin.mjs +5 -0
  34. package/dist/runtime/plugins/theme-provider.d.ts +30 -0
  35. package/dist/runtime/plugins/theme-provider.js +46 -0
  36. package/dist/runtime/plugins/theme-provider.mjs +46 -0
  37. package/dist/runtime/public/scss/element-plus/affix.css +277 -0
  38. package/dist/runtime/public/scss/element-plus/alert.css +420 -0
  39. package/dist/runtime/public/scss/element-plus/anchor-link.css +304 -0
  40. package/dist/runtime/public/scss/element-plus/anchor.css +348 -0
  41. package/dist/runtime/public/scss/element-plus/aside.css +280 -0
  42. package/dist/runtime/public/scss/element-plus/autocomplete.css +383 -0
  43. package/dist/runtime/public/scss/element-plus/avatar.css +320 -0
  44. package/dist/runtime/public/scss/element-plus/backtop.css +298 -0
  45. package/dist/runtime/public/scss/element-plus/badge.css +348 -0
  46. package/dist/runtime/public/scss/element-plus/base.css +522 -0
  47. package/dist/runtime/public/scss/element-plus/breadcrumb-item.css +0 -0
  48. package/dist/runtime/public/scss/element-plus/breadcrumb.css +330 -0
  49. package/dist/runtime/public/scss/element-plus/button-group.css +413 -0
  50. package/dist/runtime/public/scss/element-plus/button.css +1043 -0
  51. package/dist/runtime/public/scss/element-plus/calendar.css +342 -0
  52. package/dist/runtime/public/scss/element-plus/card.css +312 -0
  53. package/dist/runtime/public/scss/element-plus/carousel-item.css +322 -0
  54. package/dist/runtime/public/scss/element-plus/carousel.css +447 -0
  55. package/dist/runtime/public/scss/element-plus/cascader-panel.css +400 -0
  56. package/dist/runtime/public/scss/element-plus/cascader.css +532 -0
  57. package/dist/runtime/public/scss/element-plus/check-tag.css +358 -0
  58. package/dist/runtime/public/scss/element-plus/checkbox-button.css +418 -0
  59. package/dist/runtime/public/scss/element-plus/checkbox-group.css +279 -0
  60. package/dist/runtime/public/scss/element-plus/checkbox.css +560 -0
  61. package/dist/runtime/public/scss/element-plus/col.css +3242 -0
  62. package/dist/runtime/public/scss/element-plus/collapse-item.css +0 -0
  63. package/dist/runtime/public/scss/element-plus/collapse-transition.css +0 -0
  64. package/dist/runtime/public/scss/element-plus/collapse.css +462 -0
  65. package/dist/runtime/public/scss/element-plus/color/index.css +0 -0
  66. package/dist/runtime/public/scss/element-plus/color-picker.css +622 -0
  67. package/dist/runtime/public/scss/element-plus/common/popup.css +310 -0
  68. package/dist/runtime/public/scss/element-plus/common/transition.css +392 -0
  69. package/dist/runtime/public/scss/element-plus/common/var.css +274 -0
  70. package/dist/runtime/public/scss/element-plus/config-provider.css +0 -0
  71. package/dist/runtime/public/scss/element-plus/container.css +285 -0
  72. package/dist/runtime/public/scss/element-plus/dark/css-vars.css +325 -0
  73. package/dist/runtime/public/scss/element-plus/dark/var.css +274 -0
  74. package/dist/runtime/public/scss/element-plus/date-picker/date-picker.css +496 -0
  75. package/dist/runtime/public/scss/element-plus/date-picker/date-range-picker.css +378 -0
  76. package/dist/runtime/public/scss/element-plus/date-picker/date-table.css +398 -0
  77. package/dist/runtime/public/scss/element-plus/date-picker/month-table.css +360 -0
  78. package/dist/runtime/public/scss/element-plus/date-picker/picker-panel.css +391 -0
  79. package/dist/runtime/public/scss/element-plus/date-picker/picker.css +634 -0
  80. package/dist/runtime/public/scss/element-plus/date-picker/time-picker.css +344 -0
  81. package/dist/runtime/public/scss/element-plus/date-picker/time-range-picker.css +303 -0
  82. package/dist/runtime/public/scss/element-plus/date-picker/time-spinner.css +362 -0
  83. package/dist/runtime/public/scss/element-plus/date-picker/year-table.css +356 -0
  84. package/dist/runtime/public/scss/element-plus/date-picker.css +1447 -0
  85. package/dist/runtime/public/scss/element-plus/descriptions-item.css +307 -0
  86. package/dist/runtime/public/scss/element-plus/descriptions.css +373 -0
  87. package/dist/runtime/public/scss/element-plus/dialog.css +484 -0
  88. package/dist/runtime/public/scss/element-plus/display.css +329 -0
  89. package/dist/runtime/public/scss/element-plus/divider.css +317 -0
  90. package/dist/runtime/public/scss/element-plus/drawer.css +391 -0
  91. package/dist/runtime/public/scss/element-plus/dropdown-item.css +0 -0
  92. package/dist/runtime/public/scss/element-plus/dropdown-menu.css +0 -0
  93. package/dist/runtime/public/scss/element-plus/dropdown.css +464 -0
  94. package/dist/runtime/public/scss/element-plus/empty.css +327 -0
  95. package/dist/runtime/public/scss/element-plus/footer.css +282 -0
  96. package/dist/runtime/public/scss/element-plus/form-item.css +0 -0
  97. package/dist/runtime/public/scss/element-plus/form.css +499 -0
  98. package/dist/runtime/public/scss/element-plus/header.css +282 -0
  99. package/dist/runtime/public/scss/element-plus/icon.css +315 -0
  100. package/dist/runtime/public/scss/element-plus/image-viewer.css +411 -0
  101. package/dist/runtime/public/scss/element-plus/image.css +315 -0
  102. package/dist/runtime/public/scss/element-plus/index.css +16702 -0
  103. package/dist/runtime/public/scss/element-plus/infinite-scroll.css +0 -0
  104. package/dist/runtime/public/scss/element-plus/input-number.css +450 -0
  105. package/dist/runtime/public/scss/element-plus/input.css +742 -0
  106. package/dist/runtime/public/scss/element-plus/link.css +422 -0
  107. package/dist/runtime/public/scss/element-plus/loading.css +363 -0
  108. package/dist/runtime/public/scss/element-plus/main.css +283 -0
  109. package/dist/runtime/public/scss/element-plus/mention.css +385 -0
  110. package/dist/runtime/public/scss/element-plus/menu-item-group.css +0 -0
  111. package/dist/runtime/public/scss/element-plus/menu-item.css +0 -0
  112. package/dist/runtime/public/scss/element-plus/menu.css +709 -0
  113. package/dist/runtime/public/scss/element-plus/message-box.css +501 -0
  114. package/dist/runtime/public/scss/element-plus/message.css +398 -0
  115. package/dist/runtime/public/scss/element-plus/mixins/config.css +0 -0
  116. package/dist/runtime/public/scss/element-plus/mixins/function.css +0 -0
  117. package/dist/runtime/public/scss/element-plus/mixins/mixins.css +274 -0
  118. package/dist/runtime/public/scss/element-plus/mixins/utils.css +0 -0
  119. package/dist/runtime/public/scss/element-plus/notification.css +381 -0
  120. package/dist/runtime/public/scss/element-plus/option-group.css +303 -0
  121. package/dist/runtime/public/scss/element-plus/option.css +325 -0
  122. package/dist/runtime/public/scss/element-plus/overlay.css +289 -0
  123. package/dist/runtime/public/scss/element-plus/page-header.css +323 -0
  124. package/dist/runtime/public/scss/element-plus/pagination.css +533 -0
  125. package/dist/runtime/public/scss/element-plus/popconfirm.css +287 -0
  126. package/dist/runtime/public/scss/element-plus/popover.css +324 -0
  127. package/dist/runtime/public/scss/element-plus/popper.css +372 -0
  128. package/dist/runtime/public/scss/element-plus/progress.css +421 -0
  129. package/dist/runtime/public/scss/element-plus/radio-button.css +402 -0
  130. package/dist/runtime/public/scss/element-plus/radio-group.css +280 -0
  131. package/dist/runtime/public/scss/element-plus/radio.css +533 -0
  132. package/dist/runtime/public/scss/element-plus/rate.css +356 -0
  133. package/dist/runtime/public/scss/element-plus/reset.css +371 -0
  134. package/dist/runtime/public/scss/element-plus/result.css +353 -0
  135. package/dist/runtime/public/scss/element-plus/row.css +311 -0
  136. package/dist/runtime/public/scss/element-plus/scrollbar.css +345 -0
  137. package/dist/runtime/public/scss/element-plus/segmented.css +432 -0
  138. package/dist/runtime/public/scss/element-plus/select-dropdown-v2.css +323 -0
  139. package/dist/runtime/public/scss/element-plus/select-dropdown.css +323 -0
  140. package/dist/runtime/public/scss/element-plus/select-v2.css +740 -0
  141. package/dist/runtime/public/scss/element-plus/select.css +740 -0
  142. package/dist/runtime/public/scss/element-plus/skeleton-item.css +344 -0
  143. package/dist/runtime/public/scss/element-plus/skeleton.css +307 -0
  144. package/dist/runtime/public/scss/element-plus/slider.css +452 -0
  145. package/dist/runtime/public/scss/element-plus/space.css +289 -0
  146. package/dist/runtime/public/scss/element-plus/spinner.css +314 -0
  147. package/dist/runtime/public/scss/element-plus/statistic.css +308 -0
  148. package/dist/runtime/public/scss/element-plus/step.css +558 -0
  149. package/dist/runtime/public/scss/element-plus/steps.css +291 -0
  150. package/dist/runtime/public/scss/element-plus/sub-menu.css +0 -0
  151. package/dist/runtime/public/scss/element-plus/switch.css +498 -0
  152. package/dist/runtime/public/scss/element-plus/tab-pane.css +0 -0
  153. package/dist/runtime/public/scss/element-plus/table-column.css +354 -0
  154. package/dist/runtime/public/scss/element-plus/table-v2.css +492 -0
  155. package/dist/runtime/public/scss/element-plus/table.css +865 -0
  156. package/dist/runtime/public/scss/element-plus/tabs.css +864 -0
  157. package/dist/runtime/public/scss/element-plus/tag.css +596 -0
  158. package/dist/runtime/public/scss/element-plus/text.css +344 -0
  159. package/dist/runtime/public/scss/element-plus/time-picker.css +942 -0
  160. package/dist/runtime/public/scss/element-plus/time-select.css +884 -0
  161. package/dist/runtime/public/scss/element-plus/timeline-item.css +387 -0
  162. package/dist/runtime/public/scss/element-plus/timeline.css +306 -0
  163. package/dist/runtime/public/scss/element-plus/tooltip-v2.css +382 -0
  164. package/dist/runtime/public/scss/element-plus/tooltip.css +0 -0
  165. package/dist/runtime/public/scss/element-plus/tour.css +433 -0
  166. package/dist/runtime/public/scss/element-plus/transfer.css +469 -0
  167. package/dist/runtime/public/scss/element-plus/tree-select.css +297 -0
  168. package/dist/runtime/public/scss/element-plus/tree.css +510 -0
  169. package/dist/runtime/public/scss/element-plus/upload.css +834 -0
  170. package/dist/runtime/public/scss/element-plus/var.css +361 -0
  171. package/dist/runtime/public/scss/element-plus/virtual-list.css +302 -0
  172. package/dist/runtime/public/scss/theme.css +1191 -0
  173. package/dist/runtime/server/tsconfig.json +6 -0
  174. package/dist/runtime/types.d.ts +40 -0
  175. package/dist/types.d.mts +7 -0
  176. package/dist/types.d.ts +7 -0
  177. package/package.json +29 -12
  178. package/components/TimusIcons.vue +0 -54
  179. package/generate-icon.js +0 -22
  180. package/module.ts +0 -84
  181. package/pages/icons.vue +0 -46
  182. package/plugins/sample-plugin.ts +0 -5
  183. package/public/isax/fonts/iconsax.svg +0 -927
  184. package/public/isax/fonts/iconsax.ttf +0 -0
  185. package/public/isax/fonts/iconsax.woff +0 -0
  186. package/public/isax/icons.json +0 -899
  187. package/public/isax/selection.json +0 -1
  188. package/public/isax/style.css +0 -1
  189. package/public/isax/style.scss +0 -5435
  190. package/public/isax/variables.scss +0 -900
@@ -0,0 +1,834 @@
1
+ @charset "UTF-8";
2
+ /* Element Chalk Variables */
3
+ :root {
4
+ --bs-white-rgb: 255, 255, 255;
5
+ --bs-black-rgb: 0, 0, 0;
6
+ --bs-bg-opacity: 1;
7
+ --el-color-white: white;
8
+ --el-color-black: black;
9
+ }
10
+ :root {
11
+ --el-color-light-light-1: rgba(255, 255, 255, 0.01);
12
+ }
13
+ :root {
14
+ --el-color-light-light-2: rgba(255, 255, 255, 0.01);
15
+ }
16
+ :root {
17
+ --el-color-light-light-3: rgba(255, 255, 255, 0.01);
18
+ }
19
+ :root {
20
+ --el-color-light-light-4: rgba(255, 255, 255, 0.01);
21
+ }
22
+ :root {
23
+ --el-color-light-light-5: rgba(255, 255, 255, 0.01);
24
+ --el-color-light: rgba(255, 255, 255, 0.01);
25
+ }
26
+ :root {
27
+ --el-color-light-light-6: rgba(255, 255, 255, 0.01);
28
+ }
29
+ :root {
30
+ --el-color-light-light-7: rgba(255, 255, 255, 0.01);
31
+ }
32
+ :root {
33
+ --el-color-light-light-8: rgba(255, 255, 255, 0.01);
34
+ }
35
+ :root {
36
+ --el-color-light-light-9: rgba(255, 255, 255, 0.01);
37
+ }
38
+ :root {
39
+ --el-color-default-light-1: #dee2ff;
40
+ }
41
+ :root {
42
+ --el-color-default-light-2: #c3c8ff;
43
+ }
44
+ :root {
45
+ --el-color-default-light-3: #9fa4ff;
46
+ }
47
+ :root {
48
+ --el-color-default-light-4: #7e79ff;
49
+ }
50
+ :root {
51
+ --el-color-default-light-5: #6959fb;
52
+ --el-color-default: #6959fb;
53
+ }
54
+ :root {
55
+ --el-color-default-light-6: #5c3bf0;
56
+ }
57
+ :root {
58
+ --el-color-default-light-7: #5737d6;
59
+ }
60
+ :root {
61
+ --el-color-default-light-8: #4028ab;
62
+ }
63
+ :root {
64
+ --el-color-default-light-9: #151517;
65
+ }
66
+ :root {
67
+ --el-color-primary-light-1: #dee2ff;
68
+ }
69
+ :root {
70
+ --el-color-primary-light-2: #c3c8ff;
71
+ }
72
+ :root {
73
+ --el-color-primary-light-3: #9fa4ff;
74
+ }
75
+ :root {
76
+ --el-color-primary-light-4: #7e79ff;
77
+ }
78
+ :root {
79
+ --el-color-primary-light-5: #6959fb;
80
+ --el-color-primary: #6959fb;
81
+ }
82
+ :root {
83
+ --el-color-primary-light-6: #5c3bf0;
84
+ }
85
+ :root {
86
+ --el-color-primary-light-7: #5737d6;
87
+ }
88
+ :root {
89
+ --el-color-primary-light-8: #4028ab;
90
+ }
91
+ :root {
92
+ --el-color-primary-light-9: #382887;
93
+ }
94
+ :root {
95
+ --el-color-secondary-light-1: #d5f6e8;
96
+ }
97
+ :root {
98
+ --el-color-secondary-light-2: #aeecd4;
99
+ }
100
+ :root {
101
+ --el-color-secondary-light-3: #7eddbf;
102
+ }
103
+ :root {
104
+ --el-color-secondary-light-4: #43c49f;
105
+ }
106
+ :root {
107
+ --el-color-secondary-light-5: #20a987;
108
+ --el-color-secondary: #20a987;
109
+ }
110
+ :root {
111
+ --el-color-secondary-light-6: #12896e;
112
+ }
113
+ :root {
114
+ --el-color-secondary-light-7: #0f6d5a;
115
+ }
116
+ :root {
117
+ --el-color-secondary-light-8: #0e5748;
118
+ }
119
+ :root {
120
+ --el-color-secondary-light-9: #0d473d;
121
+ }
122
+ :root {
123
+ --el-color-neutral-light-1: #f8f7f8;
124
+ }
125
+ :root {
126
+ --el-color-neutral-light-2: #f3f2f4;
127
+ }
128
+ :root {
129
+ --el-color-neutral-light-3: #dad9dd;
130
+ }
131
+ :root {
132
+ --el-color-neutral-light-4: #c1c0c7;
133
+ }
134
+ :root {
135
+ --el-color-neutral-light-5: #a8a6b1;
136
+ --el-color-neutral: #a8a6b1;
137
+ }
138
+ :root {
139
+ --el-color-neutral-light-6: #8f8d9a;
140
+ }
141
+ :root {
142
+ --el-color-neutral-light-7: #83818f;
143
+ }
144
+ :root {
145
+ --el-color-neutral-light-8: #454157;
146
+ }
147
+ :root {
148
+ --el-color-neutral-light-9: #07021f;
149
+ }
150
+ :root {
151
+ --el-color-info-light-1: #e3f1fb;
152
+ }
153
+ :root {
154
+ --el-color-info-light-2: #c0e5f7;
155
+ }
156
+ :root {
157
+ --el-color-info-light-3: #88d1f1;
158
+ }
159
+ :root {
160
+ --el-color-info-light-4: #3cb5e6;
161
+ }
162
+ :root {
163
+ --el-color-info-light-5: #21a1d6;
164
+ --el-color-info: #21a1d6;
165
+ }
166
+ :root {
167
+ --el-color-info-light-6: #1382b6;
168
+ }
169
+ :root {
170
+ --el-color-info-light-7: #116793;
171
+ }
172
+ :root {
173
+ --el-color-info-light-8: #12587a;
174
+ }
175
+ :root {
176
+ --el-color-info-light-9: #144a66;
177
+ }
178
+ :root {
179
+ --el-color-danger-light-1: #fde3e3;
180
+ }
181
+ :root {
182
+ --el-color-danger-light-2: #fdcbcb;
183
+ }
184
+ :root {
185
+ --el-color-danger-light-3: #faa7a7;
186
+ }
187
+ :root {
188
+ --el-color-danger-light-4: #f35c5c;
189
+ }
190
+ :root {
191
+ --el-color-danger-light-5: #eb4848;
192
+ --el-color-danger: #eb4848;
193
+ }
194
+ :root {
195
+ --el-color-danger-light-6: #d82a2a;
196
+ }
197
+ :root {
198
+ --el-color-danger-light-7: #b52020;
199
+ }
200
+ :root {
201
+ --el-color-danger-light-8: #961e1e;
202
+ }
203
+ :root {
204
+ --el-color-danger-light-9: #7d1f1f;
205
+ }
206
+ :root {
207
+ --el-color-success-light-1: #f0f8ed;
208
+ }
209
+ :root {
210
+ --el-color-success-light-2: #d9edd3;
211
+ }
212
+ :root {
213
+ --el-color-success-light-3: #b4daa7;
214
+ }
215
+ :root {
216
+ --el-color-success-light-4: #8ec87b;
217
+ }
218
+ :root {
219
+ --el-color-success-light-5: #69b64f;
220
+ --el-color-success: #69b64f;
221
+ }
222
+ :root {
223
+ --el-color-success-light-6: #488633;
224
+ }
225
+ :root {
226
+ --el-color-success-light-7: #3a6a2b;
227
+ }
228
+ :root {
229
+ --el-color-success-light-8: #315526;
230
+ }
231
+ :root {
232
+ --el-color-success-light-9: #294621;
233
+ }
234
+ :root {
235
+ --el-color-warning-light-1: #fff5c6;
236
+ }
237
+ :root {
238
+ --el-color-warning-light-2: #ffe988;
239
+ }
240
+ :root {
241
+ --el-color-warning-light-3: #ffd643;
242
+ }
243
+ :root {
244
+ --el-color-warning-light-4: #ffc520;
245
+ }
246
+ :root {
247
+ --el-color-warning-light-5: #f9a307;
248
+ --el-color-warning: #f9a307;
249
+ }
250
+ :root {
251
+ --el-color-warning-light-6: #dd7b02;
252
+ }
253
+ :root {
254
+ --el-color-warning-light-7: #b75606;
255
+ }
256
+ :root {
257
+ --el-color-warning-light-8: #94410c;
258
+ }
259
+ :root {
260
+ --el-color-warning-light-9: #7a370d;
261
+ }
262
+ /**
263
+ Bununla selectorun içerisine variable ekleyebiliyorsun
264
+ .selector{
265
+ // --el-button-text-color: var(--el-color-primary); -> bu eklenir
266
+ @include css-var-from-global(('button-text-color'), ('color-primary'));
267
+
268
+ // bununla property'ye değer atayabilirsin (hiyerarşik alıyor)
269
+ color: getCssVar('colors-neutral-light-2');
270
+
271
+ // bununla da property alınabililyor
272
+ font-size: map.get($select, 'font-size');
273
+ }
274
+ **/
275
+ .el-upload {
276
+ --el-upload-dragger-padding-horizontal: 40px;
277
+ --el-upload-dragger-padding-vertical: 10px;
278
+ }
279
+
280
+ .el-upload {
281
+ display: inline-flex;
282
+ justify-content: center;
283
+ align-items: center;
284
+ cursor: pointer;
285
+ outline: none;
286
+ /* Picture Card for Wall */
287
+ }
288
+ .el-upload.is-disabled {
289
+ cursor: not-allowed;
290
+ }
291
+ .el-upload.is-disabled:focus {
292
+ border-color: var(--el-border-color-darker);
293
+ color: inherit;
294
+ }
295
+ .el-upload.is-disabled:focus .el-upload-dragger {
296
+ border-color: var(--el-border-color-darker);
297
+ }
298
+ .el-upload.is-disabled .el-upload-dragger {
299
+ cursor: not-allowed;
300
+ background-color: var(--el-disabled-bg-color);
301
+ }
302
+ .el-upload.is-disabled .el-upload-dragger .el-upload__text {
303
+ color: var(--el-text-color-placeholder);
304
+ }
305
+ .el-upload.is-disabled .el-upload-dragger .el-upload__text em {
306
+ color: var(--el-disabled-text-color);
307
+ }
308
+ .el-upload.is-disabled .el-upload-dragger:hover {
309
+ border-color: var(--el-border-color-darker);
310
+ }
311
+
312
+ .el-upload__input {
313
+ display: none;
314
+ }
315
+
316
+ .el-upload__tip {
317
+ font-size: 12px;
318
+ color: var(--el-text-color-regular);
319
+ margin-top: 7px;
320
+ }
321
+
322
+ .el-upload iframe {
323
+ position: absolute;
324
+ z-index: -1;
325
+ top: 0;
326
+ left: 0;
327
+ opacity: 0;
328
+ filter: alpha(opacity=0);
329
+ }
330
+ .el-upload--picture-card {
331
+ --el-upload-picture-card-size: 148px;
332
+ background-color: var(--el-fill-color-lighter);
333
+ border: 1px dashed var(--el-border-color-darker);
334
+ border-radius: 6px;
335
+ box-sizing: border-box;
336
+ width: var(--el-upload-picture-card-size);
337
+ height: var(--el-upload-picture-card-size);
338
+ cursor: pointer;
339
+ vertical-align: top;
340
+ display: inline-flex;
341
+ justify-content: center;
342
+ align-items: center;
343
+ }
344
+ .el-upload--picture-card > i {
345
+ font-size: 28px;
346
+ color: var(--el-text-color-secondary);
347
+ }
348
+ .el-upload--picture-card:hover {
349
+ border-color: var(--el-color-primary);
350
+ color: var(--el-color-primary);
351
+ }
352
+
353
+ .el-upload.is-drag {
354
+ display: block;
355
+ }
356
+
357
+ .el-upload:focus {
358
+ border-color: var(--el-color-primary);
359
+ color: var(--el-color-primary);
360
+ }
361
+ .el-upload:focus .el-upload-dragger {
362
+ border-color: var(--el-color-primary);
363
+ }
364
+
365
+ .el-upload-dragger {
366
+ padding: var(--el-upload-dragger-padding-horizontal) var(--el-upload-dragger-padding-vertical);
367
+ background-color: var(--el-fill-color-blank);
368
+ border: 1px dashed var(--el-border-color);
369
+ border-radius: 6px;
370
+ box-sizing: border-box;
371
+ text-align: center;
372
+ cursor: pointer;
373
+ position: relative;
374
+ overflow: hidden;
375
+ }
376
+ .el-upload-dragger .el-icon--upload {
377
+ font-size: 67px;
378
+ color: var(--el-text-color-placeholder);
379
+ margin-bottom: 16px;
380
+ line-height: 50px;
381
+ }
382
+ .el-upload-dragger + .el-upload__tip {
383
+ text-align: center;
384
+ }
385
+ .el-upload-dragger ~ .el-upload__files {
386
+ border-top: var(--el-border);
387
+ margin-top: 7px;
388
+ padding-top: 5px;
389
+ }
390
+ .el-upload-dragger .el-upload__text {
391
+ color: var(--el-text-color-regular);
392
+ font-size: 14px;
393
+ text-align: center;
394
+ }
395
+ .el-upload-dragger .el-upload__text em {
396
+ color: var(--el-color-primary);
397
+ font-style: normal;
398
+ }
399
+ .el-upload-dragger:hover {
400
+ border-color: var(--el-color-primary);
401
+ }
402
+ .el-upload-dragger.is-dragover {
403
+ padding: calc(var(--el-upload-dragger-padding-horizontal) - 1px) calc(var(--el-upload-dragger-padding-vertical) - 1px);
404
+ background-color: var(--el-color-primary-light-9);
405
+ border: 2px dashed var(--el-color-primary);
406
+ }
407
+
408
+ .el-upload-list {
409
+ margin: 10px 0 0;
410
+ padding: 0;
411
+ list-style: none;
412
+ position: relative;
413
+ }
414
+ .el-upload-list__item {
415
+ transition: all 0.5s cubic-bezier(0.55, 0, 0.1, 1);
416
+ font-size: 14px;
417
+ color: var(--el-text-color-regular);
418
+ margin-bottom: 5px;
419
+ position: relative;
420
+ box-sizing: border-box;
421
+ border-radius: 4px;
422
+ width: 100%;
423
+ }
424
+ .el-upload-list__item .el-progress {
425
+ position: absolute;
426
+ top: 20px;
427
+ width: 100%;
428
+ }
429
+ .el-upload-list__item .el-progress__text {
430
+ position: absolute;
431
+ right: 0;
432
+ top: -13px;
433
+ }
434
+ .el-upload-list__item .el-progress-bar {
435
+ margin-right: 0;
436
+ padding-right: 0;
437
+ }
438
+ .el-upload-list__item .el-icon--upload-success {
439
+ color: var(--el-color-success);
440
+ }
441
+ .el-upload-list__item .el-icon--close {
442
+ display: none;
443
+ position: absolute;
444
+ right: 5px;
445
+ top: 50%;
446
+ cursor: pointer;
447
+ opacity: 0.75;
448
+ color: var(--el-text-color-regular);
449
+ transition: opacity var(--el-transition-duration);
450
+ transform: translateY(-50%);
451
+ }
452
+ .el-upload-list__item .el-icon--close:hover {
453
+ opacity: 1;
454
+ color: var(--el-color-primary);
455
+ }
456
+ .el-upload-list__item .el-icon--close-tip {
457
+ display: none;
458
+ position: absolute;
459
+ top: 1px;
460
+ right: 5px;
461
+ font-size: 12px;
462
+ cursor: pointer;
463
+ opacity: 1;
464
+ color: var(--el-color-primary);
465
+ font-style: normal;
466
+ }
467
+ .el-upload-list__item:hover {
468
+ background-color: var(--el-fill-color-light);
469
+ }
470
+ .el-upload-list__item:hover .el-icon--close {
471
+ display: inline-flex;
472
+ }
473
+ .el-upload-list__item:hover .el-progress__text {
474
+ display: none;
475
+ }
476
+ .el-upload-list__item .el-upload-list__item-info {
477
+ display: inline-flex;
478
+ justify-content: center;
479
+ flex-direction: column;
480
+ width: calc(100% - 30px);
481
+ margin-left: 4px;
482
+ }
483
+ .el-upload-list__item.is-success .el-upload-list__item-status-label {
484
+ display: inline-flex;
485
+ }
486
+ .el-upload-list__item.is-success .el-upload-list__item-name:hover,
487
+ .el-upload-list__item.is-success .el-upload-list__item-name:focus {
488
+ color: var(--el-color-primary);
489
+ cursor: pointer;
490
+ }
491
+ .el-upload-list__item.is-success:focus:not(:hover) {
492
+ /* 键盘focus */
493
+ }
494
+ .el-upload-list__item.is-success:focus:not(:hover) .el-icon--close-tip {
495
+ display: inline-block;
496
+ }
497
+ .el-upload-list__item.is-success:not(.focusing):focus, .el-upload-list__item.is-success:active {
498
+ /* click时 */
499
+ outline-width: 0;
500
+ }
501
+ .el-upload-list__item.is-success:not(.focusing):focus .el-icon--close-tip, .el-upload-list__item.is-success:active .el-icon--close-tip {
502
+ display: none;
503
+ }
504
+ .el-upload-list__item.is-success:hover .el-upload-list__item-status-label, .el-upload-list__item.is-success:focus .el-upload-list__item-status-label {
505
+ display: none;
506
+ opacity: 0;
507
+ }
508
+
509
+ .el-upload-list__item-name {
510
+ color: var(--el-text-color-regular);
511
+ display: inline-flex;
512
+ text-align: center;
513
+ align-items: center;
514
+ padding: 0 4px;
515
+ transition: color var(--el-transition-duration);
516
+ font-size: var(--el-font-size-base);
517
+ }
518
+ .el-upload-list__item-name .el-icon {
519
+ margin-right: 6px;
520
+ color: var(--el-text-color-secondary);
521
+ }
522
+
523
+ .el-upload-list__item-file-name {
524
+ overflow: hidden;
525
+ text-overflow: ellipsis;
526
+ white-space: nowrap;
527
+ }
528
+
529
+ .el-upload-list__item-status-label {
530
+ position: absolute;
531
+ right: 5px;
532
+ top: 0;
533
+ line-height: inherit;
534
+ display: none;
535
+ height: 100%;
536
+ justify-content: center;
537
+ align-items: center;
538
+ transition: opacity var(--el-transition-duration);
539
+ }
540
+
541
+ .el-upload-list__item-delete {
542
+ position: absolute;
543
+ right: 10px;
544
+ top: 0;
545
+ font-size: 12px;
546
+ color: var(--el-text-color-regular);
547
+ display: none;
548
+ }
549
+ .el-upload-list__item-delete:hover {
550
+ color: var(--el-color-primary);
551
+ }
552
+
553
+ .el-upload-list--picture-card {
554
+ --el-upload-list-picture-card-size: 148px;
555
+ display: inline-flex;
556
+ flex-wrap: wrap;
557
+ margin: 0;
558
+ }
559
+ .el-upload-list--picture-card .el-upload-list__item {
560
+ overflow: hidden;
561
+ background-color: var(--el-fill-color-blank);
562
+ border: 1px solid var(--el-border-color);
563
+ border-radius: 6px;
564
+ box-sizing: border-box;
565
+ width: var(--el-upload-list-picture-card-size);
566
+ height: var(--el-upload-list-picture-card-size);
567
+ margin: 0 8px 8px 0;
568
+ padding: 0;
569
+ display: inline-flex;
570
+ }
571
+ .el-upload-list--picture-card .el-upload-list__item .el-icon--check,
572
+ .el-upload-list--picture-card .el-upload-list__item .el-icon--circle-check {
573
+ color: #ffffff;
574
+ }
575
+ .el-upload-list--picture-card .el-upload-list__item .el-icon--close {
576
+ display: none;
577
+ }
578
+ .el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label {
579
+ opacity: 0;
580
+ display: block;
581
+ }
582
+ .el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text {
583
+ display: block;
584
+ }
585
+ .el-upload-list--picture-card .el-upload-list__item .el-upload-list__item-name {
586
+ display: none;
587
+ }
588
+ .el-upload-list--picture-card .el-upload-list__item-thumbnail {
589
+ width: 100%;
590
+ height: 100%;
591
+ object-fit: contain;
592
+ }
593
+ .el-upload-list--picture-card .el-upload-list__item-status-label {
594
+ right: -15px;
595
+ top: -6px;
596
+ width: 40px;
597
+ height: 24px;
598
+ background: var(--el-color-success);
599
+ text-align: center;
600
+ transform: rotate(45deg);
601
+ }
602
+ .el-upload-list--picture-card .el-upload-list__item-status-label i {
603
+ font-size: 12px;
604
+ margin-top: 11px;
605
+ transform: rotate(-45deg);
606
+ }
607
+ .el-upload-list--picture-card .el-upload-list__item-actions {
608
+ position: absolute;
609
+ width: 100%;
610
+ height: 100%;
611
+ left: 0;
612
+ top: 0;
613
+ cursor: default;
614
+ display: inline-flex;
615
+ justify-content: center;
616
+ align-items: center;
617
+ color: #fff;
618
+ opacity: 0;
619
+ font-size: 20px;
620
+ background-color: var(--el-overlay-color-lighter);
621
+ transition: opacity var(--el-transition-duration);
622
+ }
623
+ .el-upload-list--picture-card .el-upload-list__item-actions span {
624
+ display: none;
625
+ cursor: pointer;
626
+ }
627
+ .el-upload-list--picture-card .el-upload-list__item-actions span + span {
628
+ margin-left: 16px;
629
+ }
630
+ .el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete {
631
+ position: static;
632
+ font-size: inherit;
633
+ color: inherit;
634
+ }
635
+ .el-upload-list--picture-card .el-upload-list__item-actions:hover {
636
+ opacity: 1;
637
+ }
638
+ .el-upload-list--picture-card .el-upload-list__item-actions:hover span {
639
+ display: inline-flex;
640
+ }
641
+ .el-upload-list--picture-card .el-progress {
642
+ top: 50%;
643
+ left: 50%;
644
+ transform: translate(-50%, -50%);
645
+ bottom: auto;
646
+ width: 126px;
647
+ }
648
+ .el-upload-list--picture-card .el-progress .el-progress__text {
649
+ top: 50%;
650
+ }
651
+
652
+ .el-upload-list--picture .el-upload-list__item {
653
+ overflow: hidden;
654
+ z-index: 0;
655
+ background-color: var(--el-fill-color-blank);
656
+ border: 1px solid var(--el-border-color);
657
+ border-radius: 6px;
658
+ box-sizing: border-box;
659
+ margin-top: 10px;
660
+ padding: 10px;
661
+ display: flex;
662
+ align-items: center;
663
+ }
664
+ .el-upload-list--picture .el-upload-list__item .el-icon--check,
665
+ .el-upload-list--picture .el-upload-list__item .el-icon--circle-check {
666
+ color: #ffffff;
667
+ }
668
+ .el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label {
669
+ opacity: 0;
670
+ display: inline-flex;
671
+ }
672
+ .el-upload-list--picture .el-upload-list__item:hover .el-progress__text {
673
+ display: block;
674
+ }
675
+ .el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i {
676
+ display: none;
677
+ }
678
+ .el-upload-list--picture .el-upload-list__item .el-icon--close {
679
+ top: 5px;
680
+ transform: translateY(0);
681
+ }
682
+ .el-upload-list--picture .el-upload-list__item-thumbnail {
683
+ display: inline-flex;
684
+ justify-content: center;
685
+ align-items: center;
686
+ width: 70px;
687
+ height: 70px;
688
+ object-fit: contain;
689
+ position: relative;
690
+ z-index: 1;
691
+ background-color: var(--el-color-white);
692
+ }
693
+ .el-upload-list--picture .el-upload-list__item-status-label {
694
+ position: absolute;
695
+ right: -17px;
696
+ top: -7px;
697
+ width: 46px;
698
+ height: 26px;
699
+ background: var(--el-color-success);
700
+ text-align: center;
701
+ transform: rotate(45deg);
702
+ }
703
+ .el-upload-list--picture .el-upload-list__item-status-label i {
704
+ font-size: 12px;
705
+ margin-top: 12px;
706
+ transform: rotate(-45deg);
707
+ }
708
+ .el-upload-list--picture .el-progress {
709
+ position: relative;
710
+ top: -7px;
711
+ }
712
+
713
+ .el-upload-cover {
714
+ position: absolute;
715
+ left: 0;
716
+ top: 0;
717
+ width: 100%;
718
+ height: 100%;
719
+ overflow: hidden;
720
+ z-index: 10;
721
+ cursor: default;
722
+ }
723
+ .el-upload-cover::after {
724
+ display: inline-block;
725
+ content: "";
726
+ height: 100%;
727
+ vertical-align: middle;
728
+ }
729
+
730
+ .el-upload-cover img {
731
+ display: block;
732
+ width: 100%;
733
+ height: 100%;
734
+ }
735
+ .el-upload-cover__label {
736
+ right: -15px;
737
+ top: -6px;
738
+ width: 40px;
739
+ height: 24px;
740
+ background: var(--el-color-success);
741
+ text-align: center;
742
+ transform: rotate(45deg);
743
+ }
744
+ .el-upload-cover__label i {
745
+ font-size: 12px;
746
+ margin-top: 11px;
747
+ transform: rotate(-45deg);
748
+ color: #fff;
749
+ }
750
+
751
+ .el-upload-cover__progress {
752
+ display: inline-block;
753
+ vertical-align: middle;
754
+ position: static;
755
+ width: 243px;
756
+ }
757
+ .el-upload-cover__progress + .el-upload__inner {
758
+ opacity: 0;
759
+ }
760
+
761
+ .el-upload-cover__content {
762
+ position: absolute;
763
+ top: 0;
764
+ left: 0;
765
+ width: 100%;
766
+ height: 100%;
767
+ }
768
+
769
+ .el-upload-cover__interact {
770
+ position: absolute;
771
+ bottom: 0;
772
+ left: 0;
773
+ width: 100%;
774
+ height: 100%;
775
+ background-color: var(--el-overlay-color-light);
776
+ text-align: center;
777
+ }
778
+ .el-upload-cover__interact .btn {
779
+ display: inline-block;
780
+ color: #ffffff;
781
+ font-size: 14px;
782
+ cursor: pointer;
783
+ vertical-align: middle;
784
+ transition: var(--el-transition-md-fade);
785
+ margin-top: 60px;
786
+ }
787
+ .el-upload-cover__interact .btn i {
788
+ margin-top: 0;
789
+ }
790
+ .el-upload-cover__interact .btn span {
791
+ opacity: 0;
792
+ transition: opacity 0.15s linear;
793
+ }
794
+ .el-upload-cover__interact .btn:not(:first-child) {
795
+ margin-left: 35px;
796
+ }
797
+ .el-upload-cover__interact .btn:hover {
798
+ transform: translateY(-13px);
799
+ }
800
+ .el-upload-cover__interact .btn:hover span {
801
+ opacity: 1;
802
+ }
803
+ .el-upload-cover__interact .btn i {
804
+ color: #ffffff;
805
+ display: block;
806
+ font-size: 24px;
807
+ line-height: inherit;
808
+ margin: 0 auto 5px;
809
+ }
810
+
811
+ .el-upload-cover__title {
812
+ position: absolute;
813
+ bottom: 0;
814
+ left: 0;
815
+ background-color: #ffffff;
816
+ height: 36px;
817
+ width: 100%;
818
+ overflow: hidden;
819
+ text-overflow: ellipsis;
820
+ white-space: nowrap;
821
+ font-weight: normal;
822
+ text-align: left;
823
+ padding: 0 10px;
824
+ margin: 0;
825
+ line-height: 36px;
826
+ font-size: 14px;
827
+ color: var(--el-text-color-primary);
828
+ }
829
+
830
+ .el-upload-cover + .el-upload__inner {
831
+ opacity: 0;
832
+ position: relative;
833
+ z-index: 1;
834
+ }