adtec-core-package 0.0.2 → 0.0.3

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 (152) hide show
  1. package/package.json +9 -4
  2. package/src/App.vue +0 -3
  3. package/src/assets/base.css +0 -86
  4. package/src/assets/main.css +0 -35
  5. package/src/css/elementUI/affix.scss +7 -0
  6. package/src/css/elementUI/alert.scss +115 -0
  7. package/src/css/elementUI/anchor-link.scss +41 -0
  8. package/src/css/elementUI/anchor.scss +88 -0
  9. package/src/css/elementUI/aside.scss +8 -0
  10. package/src/css/elementUI/autocomplete.scss +89 -0
  11. package/src/css/elementUI/avatar.scss +55 -0
  12. package/src/css/elementUI/backtop.scss +29 -0
  13. package/src/css/elementUI/badge.scss +58 -0
  14. package/src/css/elementUI/base.scss +3 -0
  15. package/src/css/elementUI/breadcrumb-item.scss +0 -0
  16. package/src/css/elementUI/breadcrumb.scss +62 -0
  17. package/src/css/elementUI/button-group.scss +80 -0
  18. package/src/css/elementUI/button.scss +304 -0
  19. package/src/css/elementUI/calendar.scss +80 -0
  20. package/src/css/elementUI/card.scss +45 -0
  21. package/src/css/elementUI/carousel-item.scss +58 -0
  22. package/src/css/elementUI/carousel.scss +188 -0
  23. package/src/css/elementUI/cascader-panel.scss +138 -0
  24. package/src/css/elementUI/cascader.scss +230 -0
  25. package/src/css/elementUI/check-tag.scss +60 -0
  26. package/src/css/elementUI/checkbox-button.scss +140 -0
  27. package/src/css/elementUI/checkbox-group.scss +7 -0
  28. package/src/css/elementUI/checkbox.scss +298 -0
  29. package/src/css/elementUI/col.scss +48 -0
  30. package/src/css/elementUI/collapse-item.scss +0 -0
  31. package/src/css/elementUI/collapse-transition.scss +0 -0
  32. package/src/css/elementUI/collapse.scss +70 -0
  33. package/src/css/elementUI/color/index.scss +20 -0
  34. package/src/css/elementUI/color-picker.scss +392 -0
  35. package/src/css/elementUI/common/popup.scss +47 -0
  36. package/src/css/elementUI/common/transition.scss +122 -0
  37. package/src/css/elementUI/common/var.scss +1549 -0
  38. package/src/css/elementUI/config-provider.scss +0 -0
  39. package/src/css/elementUI/container.scss +14 -0
  40. package/src/css/elementUI/dark/css-vars.scss +39 -0
  41. package/src/css/elementUI/dark/var.scss +222 -0
  42. package/src/css/elementUI/date-picker/date-picker.scss +110 -0
  43. package/src/css/elementUI/date-picker/date-range-picker.scss +113 -0
  44. package/src/css/elementUI/date-picker/date-table.scss +158 -0
  45. package/src/css/elementUI/date-picker/month-table.scss +112 -0
  46. package/src/css/elementUI/date-picker/picker-panel.scss +131 -0
  47. package/src/css/elementUI/date-picker/picker.scss +219 -0
  48. package/src/css/elementUI/date-picker/time-picker.scss +90 -0
  49. package/src/css/elementUI/date-picker/time-range-picker.scss +33 -0
  50. package/src/css/elementUI/date-picker/time-spinner.scss +111 -0
  51. package/src/css/elementUI/date-picker/year-table.scss +108 -0
  52. package/src/css/elementUI/date-picker.scss +9 -0
  53. package/src/css/elementUI/descriptions-item.scss +73 -0
  54. package/src/css/elementUI/descriptions.scss +152 -0
  55. package/src/css/elementUI/dialog.scss +199 -0
  56. package/src/css/elementUI/display.scss +12 -0
  57. package/src/css/elementUI/divider.scss +48 -0
  58. package/src/css/elementUI/drawer.scss +164 -0
  59. package/src/css/elementUI/dropdown-item.scss +0 -0
  60. package/src/css/elementUI/dropdown-menu.scss +0 -0
  61. package/src/css/elementUI/dropdown.scss +208 -0
  62. package/src/css/elementUI/empty.scss +49 -0
  63. package/src/css/elementUI/footer.scss +12 -0
  64. package/src/css/elementUI/form-item.scss +0 -0
  65. package/src/css/elementUI/form.scss +243 -0
  66. package/src/css/elementUI/header.scss +12 -0
  67. package/src/css/elementUI/icon.scss +45 -0
  68. package/src/css/elementUI/image-viewer.scss +139 -0
  69. package/src/css/elementUI/image.scss +49 -0
  70. package/src/css/elementUI/index.scss +110 -0
  71. package/src/css/elementUI/infinite-scroll.scss +0 -0
  72. package/src/css/elementUI/input-number.scss +178 -0
  73. package/src/css/elementUI/input.scss +478 -0
  74. package/src/css/elementUI/link.scss +90 -0
  75. package/src/css/elementUI/loading.scss +104 -0
  76. package/src/css/elementUI/main.scss +14 -0
  77. package/src/css/elementUI/mention.scss +88 -0
  78. package/src/css/elementUI/menu-item-group.scss +0 -0
  79. package/src/css/elementUI/menu-item.scss +0 -0
  80. package/src/css/elementUI/menu.scss +339 -0
  81. package/src/css/elementUI/message-box.scss +213 -0
  82. package/src/css/elementUI/message.scss +98 -0
  83. package/src/css/elementUI/mixins/_button.scss +165 -0
  84. package/src/css/elementUI/mixins/_col.scss +33 -0
  85. package/src/css/elementUI/mixins/_var.scss +67 -0
  86. package/src/css/elementUI/mixins/config.scss +5 -0
  87. package/src/css/elementUI/mixins/function.scss +88 -0
  88. package/src/css/elementUI/mixins/mixins.scss +237 -0
  89. package/src/css/elementUI/mixins/utils.scss +39 -0
  90. package/src/css/elementUI/notification.scss +104 -0
  91. package/src/css/elementUI/option-group.scss +33 -0
  92. package/src/css/elementUI/option.scss +71 -0
  93. package/src/css/elementUI/overlay.scss +17 -0
  94. package/src/css/elementUI/page-header.scss +60 -0
  95. package/src/css/elementUI/pagination.scss +238 -0
  96. package/src/css/elementUI/popconfirm.scss +16 -0
  97. package/src/css/elementUI/popover.scss +61 -0
  98. package/src/css/elementUI/popper.scss +106 -0
  99. package/src/css/elementUI/progress.scss +179 -0
  100. package/src/css/elementUI/radio-button.scss +169 -0
  101. package/src/css/elementUI/radio-group.scss +9 -0
  102. package/src/css/elementUI/radio.scss +215 -0
  103. package/src/css/elementUI/rate.scss +108 -0
  104. package/src/css/elementUI/reset.scss +98 -0
  105. package/src/css/elementUI/result.scss +57 -0
  106. package/src/css/elementUI/row.scss +35 -0
  107. package/src/css/elementUI/scrollbar.scss +97 -0
  108. package/src/css/elementUI/segmented.scss +183 -0
  109. package/src/css/elementUI/select-dropdown-v2.scss +1 -0
  110. package/src/css/elementUI/select-dropdown.scss +57 -0
  111. package/src/css/elementUI/select-v2.scss +4 -0
  112. package/src/css/elementUI/select.scss +253 -0
  113. package/src/css/elementUI/skeleton-item.scss +83 -0
  114. package/src/css/elementUI/skeleton.scss +44 -0
  115. package/src/css/elementUI/slider.scss +212 -0
  116. package/src/css/elementUI/space.scss +20 -0
  117. package/src/css/elementUI/spinner.scss +43 -0
  118. package/src/css/elementUI/statistic.scss +35 -0
  119. package/src/css/elementUI/step.scss +316 -0
  120. package/src/css/elementUI/steps.scss +21 -0
  121. package/src/css/elementUI/sub-menu.scss +0 -0
  122. package/src/css/elementUI/switch.scss +300 -0
  123. package/src/css/elementUI/tab-pane.scss +0 -0
  124. package/src/css/elementUI/table-column.scss +98 -0
  125. package/src/css/elementUI/table-v2.scss +236 -0
  126. package/src/css/elementUI/table.scss +694 -0
  127. package/src/css/elementUI/tabs.scss +659 -0
  128. package/src/css/elementUI/tag.scss +181 -0
  129. package/src/css/elementUI/text.scss +51 -0
  130. package/src/css/elementUI/time-picker.scss +5 -0
  131. package/src/css/elementUI/time-select.scss +37 -0
  132. package/src/css/elementUI/timeline-item.scss +84 -0
  133. package/src/css/elementUI/timeline.scss +46 -0
  134. package/src/css/elementUI/tooltip-v2.scss +95 -0
  135. package/src/css/elementUI/tooltip.scss +0 -0
  136. package/src/css/elementUI/tour.scss +187 -0
  137. package/src/css/elementUI/transfer.scss +203 -0
  138. package/src/css/elementUI/tree-select.scss +41 -0
  139. package/src/css/elementUI/tree.scss +134 -0
  140. package/src/css/elementUI/upload.scss +654 -0
  141. package/src/css/elementUI/var.scss +87 -0
  142. package/src/css/elementUI/virtual-list.scss +40 -0
  143. package/src/views/HomeView.vue +2 -2
  144. package/vite.config.ts +2 -9
  145. package/src/components/HelloWorld.vue +0 -41
  146. package/src/components/TheWelcome.vue +0 -94
  147. package/src/components/WelcomeItem.vue +0 -87
  148. package/src/components/icons/IconCommunity.vue +0 -7
  149. package/src/components/icons/IconDocumentation.vue +0 -7
  150. package/src/components/icons/IconEcosystem.vue +0 -7
  151. package/src/components/icons/IconSupport.vue +0 -7
  152. package/src/components/icons/IconTooling.vue +0 -19
@@ -0,0 +1,478 @@
1
+ @use 'sass:map';
2
+
3
+ @use 'mixins/mixins' as *;
4
+ @use 'mixins/var' as *;
5
+ @use 'common/var' as *;
6
+
7
+ @mixin inset-prepend-border($color) {
8
+ box-shadow: 1px 0 0 0 $color inset, 0 1px 0 0 $color inset,
9
+ 0 -1px 0 0 $color inset;
10
+ }
11
+
12
+ @mixin inset-append-border($color) {
13
+ box-shadow: 0 1px 0 0 $color inset, 0 -1px 0 0 $color inset,
14
+ -1px 0 0 0 $color inset;
15
+ }
16
+
17
+ @mixin inset-prepend-input-border($color) {
18
+ box-shadow: 1px 0 0 0 $color inset, 1px 0 0 0 $color, 0 1px 0 0 $color inset,
19
+ 0 -1px 0 0 $color inset !important;
20
+ }
21
+
22
+ @mixin inset-append-input-border($color) {
23
+ box-shadow: -1px 0 0 0 $color, -1px 0 0 0 $color inset, 0 1px 0 0 $color inset,
24
+ 0 -1px 0 0 $color inset !important;
25
+ }
26
+
27
+ @mixin mixed-input-border($color) {
28
+ box-shadow: 0 0 0 1px $color inset;
29
+ }
30
+
31
+ @include b(textarea) {
32
+ @include set-component-css-var('input', $input);
33
+ }
34
+
35
+ @include b(textarea) {
36
+ position: relative;
37
+ display: inline-block;
38
+ width: 100%;
39
+ vertical-align: bottom;
40
+ font-size: getCssVar('font-size', 'base');
41
+
42
+ @include e(inner) {
43
+ position: relative;
44
+ display: block;
45
+ resize: vertical;
46
+ padding: 5px map.get($input-padding-horizontal, 'default')-$border-width;
47
+ line-height: 1.5;
48
+ box-sizing: border-box;
49
+ width: 100%;
50
+ font-size: inherit;
51
+ font-family: inherit;
52
+ color: var(
53
+ #{getCssVarName('input-text-color')},
54
+ map.get($input, 'text-color')
55
+ );
56
+ background-color: var(
57
+ #{getCssVarName('input-bg-color')},
58
+ map.get($input, 'bg-color')
59
+ );
60
+ background-image: none;
61
+ -webkit-appearance: none;
62
+ @include inset-input-border(
63
+ var(
64
+ #{getCssVarName('input-border-color')},
65
+ map.get($input, 'border-color')
66
+ )
67
+ );
68
+ border-radius: getCssVarWithDefault(
69
+ 'input-border-radius',
70
+ map.get($input, 'border-radius')
71
+ );
72
+ transition: getCssVar('transition-box-shadow');
73
+ border: none;
74
+
75
+ &::placeholder {
76
+ color: getCssVarWithDefault(
77
+ 'input-placeholder-color',
78
+ map.get($input, 'placeholder-color')
79
+ );
80
+ }
81
+
82
+ &:hover {
83
+ @include inset-input-border(#{getCssVar('input', 'hover-border-color')});
84
+ }
85
+
86
+ &:focus {
87
+ outline: none;
88
+ @include inset-input-border(#{getCssVar('input', 'focus-border-color')});
89
+ }
90
+ }
91
+
92
+ & .#{$namespace}-input__count {
93
+ color: getCssVar('color-info');
94
+ background: getCssVar('fill-color', 'blank');
95
+ position: absolute;
96
+ font-size: 12px;
97
+ line-height: 14px;
98
+ bottom: 5px;
99
+ right: 10px;
100
+ }
101
+
102
+ @include when(disabled) {
103
+ .#{$namespace}-textarea__inner {
104
+ @include inset-input-border(#{getCssVar('disabled-border-color')});
105
+ background-color: map.get($input-disabled, 'fill');
106
+ color: map.get($input-disabled, 'text-color');
107
+ cursor: not-allowed;
108
+
109
+ &::placeholder {
110
+ color: map.get($input-disabled, 'placeholder-color');
111
+ }
112
+ }
113
+ }
114
+
115
+ @include when(exceed) {
116
+ .#{$namespace}-textarea__inner {
117
+ @include mixed-input-border(#{getCssVar('color-danger')});
118
+ }
119
+
120
+ .#{$namespace}-input__count {
121
+ color: getCssVar('color-danger');
122
+ }
123
+ }
124
+ }
125
+
126
+ @include b(input) {
127
+ @include set-component-css-var('input', $input);
128
+ }
129
+
130
+ @include b(input) {
131
+ @include css-var-from-global('input-height', 'component-size');
132
+
133
+ position: relative;
134
+ font-size: getCssVar('font-size', 'base');
135
+ display: inline-flex;
136
+ width: getCssVar('input-width');
137
+ line-height: getCssVar('input-height');
138
+ box-sizing: border-box;
139
+ vertical-align: middle;
140
+ @include scroll-bar;
141
+
142
+ & .#{$namespace}-input__clear,
143
+ & .#{$namespace}-input__password {
144
+ color: getCssVar('input-icon-color');
145
+ font-size: map.get($input-font-size, 'default');
146
+ cursor: pointer;
147
+
148
+ &:hover {
149
+ color: getCssVar('input-clear-hover-color');
150
+ }
151
+ }
152
+
153
+ & .#{$namespace}-input__count {
154
+ height: 100%;
155
+ display: inline-flex;
156
+ align-items: center;
157
+ color: getCssVar('color-info');
158
+ font-size: 12px;
159
+
160
+ .#{$namespace}-input__count-inner {
161
+ background: getCssVar('fill-color', 'blank');
162
+ line-height: initial;
163
+ display: inline-block;
164
+ padding-left: 8px;
165
+ }
166
+ }
167
+
168
+ @include e(wrapper) {
169
+ display: inline-flex;
170
+ flex-grow: 1;
171
+ align-items: center;
172
+ justify-content: center;
173
+ padding: $border-width map.get($input-padding-horizontal, 'default')-$border-width;
174
+ background-color: var(
175
+ #{getCssVarName('input-bg-color')},
176
+ map.get($input, 'bg-color')
177
+ );
178
+ background-image: none;
179
+ border-radius: getCssVarWithDefault(
180
+ 'input-border-radius',
181
+ map.get($input, 'border-radius')
182
+ );
183
+ cursor: text;
184
+ transition: getCssVar('transition-box-shadow');
185
+ transform: translate3d(0, 0, 0);
186
+ @include inset-input-border(
187
+ var(
188
+ #{getCssVarName('input-border-color')},
189
+ map.get($input, 'border-color')
190
+ )
191
+ );
192
+
193
+ &:hover {
194
+ @include inset-input-border(#{getCssVar('input', 'hover-border-color')});
195
+ }
196
+
197
+ @include when(focus) {
198
+ @include inset-input-border(#{getCssVar('input', 'focus-border-color')});
199
+ }
200
+ }
201
+
202
+ @include e(inner) {
203
+ // use map.get as default value for date picker range
204
+ @include set-css-var-value(
205
+ 'input-inner-height',
206
+ calc(
207
+ var(
208
+ #{getCssVarName('input-height')},
209
+ #{map.get($input-height, 'default')}
210
+ ) - $border-width * 2
211
+ )
212
+ );
213
+
214
+ width: 100%;
215
+ flex-grow: 1;
216
+ -webkit-appearance: none;
217
+ color: var(
218
+ #{getCssVarName('input-text-color')},
219
+ map.get($input, 'text-color')
220
+ );
221
+ font-size: inherit;
222
+ height: getCssVar('input-inner-height');
223
+ line-height: getCssVar('input-inner-height');
224
+ padding: 0;
225
+ outline: none;
226
+ border: none;
227
+ background: none;
228
+ box-sizing: border-box;
229
+
230
+ &:focus {
231
+ outline: none;
232
+ }
233
+
234
+ &::placeholder {
235
+ color: getCssVarWithDefault(
236
+ 'input-placeholder-color',
237
+ map.get($input, 'placeholder-color')
238
+ );
239
+ }
240
+
241
+ // override edge default style
242
+ &[type='password']::-ms-reveal {
243
+ display: none;
244
+ }
245
+
246
+ &[type='number'] {
247
+ line-height: 1;
248
+ }
249
+ }
250
+
251
+ @each $slot in (prefix, suffix) {
252
+ @include e($slot) {
253
+ display: inline-flex;
254
+ white-space: nowrap;
255
+ flex-shrink: 0;
256
+ flex-wrap: nowrap;
257
+ height: 100%;
258
+ text-align: center;
259
+ color: var(
260
+ #{getCssVarName('input-icon-color')},
261
+ map.get($input, 'icon-color')
262
+ );
263
+ transition: all getCssVar('transition-duration');
264
+ pointer-events: none;
265
+ }
266
+
267
+ @include e(#{$slot}-inner) {
268
+ pointer-events: all;
269
+ display: inline-flex;
270
+ align-items: center;
271
+ justify-content: center;
272
+
273
+ @if $slot == prefix {
274
+ > :last-child {
275
+ margin-right: 8px;
276
+ }
277
+
278
+ > :first-child {
279
+ &,
280
+ &.#{$namespace}-input__icon {
281
+ margin-left: 0;
282
+ }
283
+ }
284
+ } @else {
285
+ > :first-child {
286
+ margin-left: 8px;
287
+ }
288
+ }
289
+ }
290
+ }
291
+
292
+ & .#{$namespace}-input__icon {
293
+ height: inherit;
294
+ line-height: inherit;
295
+ display: flex;
296
+ justify-content: center;
297
+ align-items: center;
298
+ transition: all getCssVar('transition-duration');
299
+ margin-left: 8px;
300
+ }
301
+
302
+ @include e(validateIcon) {
303
+ pointer-events: none;
304
+ }
305
+
306
+ @include when(active) {
307
+ .#{$namespace}-input__wrapper {
308
+ @include mixed-input-border(
309
+ var(
310
+ #{getCssVarName('input-focus-color')},
311
+ map.get($input, 'focus-color')
312
+ )
313
+ );
314
+ }
315
+ }
316
+
317
+ @include when(disabled) {
318
+ cursor: not-allowed;
319
+
320
+ .#{$namespace}-input__wrapper {
321
+ background-color: map.get($input-disabled, 'fill');
322
+ @include mixed-input-border(map.get($input-disabled, 'border'));
323
+ }
324
+
325
+ .#{$namespace}-input__inner {
326
+ color: map.get($input-disabled, 'text-color');
327
+ -webkit-text-fill-color: map.get($input-disabled, 'text-color');
328
+ cursor: not-allowed;
329
+
330
+ &::placeholder {
331
+ color: map.get($input-disabled, 'placeholder-color');
332
+ }
333
+ }
334
+
335
+ .#{$namespace}-input__icon {
336
+ cursor: not-allowed;
337
+ }
338
+ }
339
+
340
+ @include when(exceed) {
341
+ .#{$namespace}-input__wrapper {
342
+ @include mixed-input-border(#{getCssVar('color-danger')});
343
+ }
344
+
345
+ .#{$namespace}-input__suffix {
346
+ .#{$namespace}-input__count {
347
+ color: getCssVar('color-danger');
348
+ }
349
+ }
350
+ }
351
+
352
+ @each $size in (large, small) {
353
+ @include m($size) {
354
+ @include css-var-from-global('input-height', ('component-size', $size));
355
+
356
+ font-size: map.get($input-font-size, $size);
357
+
358
+ @include e(wrapper) {
359
+ padding: $border-width map.get($input-padding-horizontal, $size)-$border-width;
360
+ }
361
+
362
+ @include e(inner) {
363
+ @include set-css-var-value(
364
+ 'input-inner-height',
365
+ calc(
366
+ var(
367
+ #{getCssVarName('input-height')},
368
+ #{map.get($input-height, $size)}
369
+ ) - $border-width * 2
370
+ )
371
+ );
372
+ }
373
+ }
374
+ }
375
+ }
376
+
377
+ @include b(input-group) {
378
+ display: inline-flex;
379
+ width: 100%;
380
+ align-items: stretch;
381
+
382
+ @include e((append, prepend)) {
383
+ background-color: getCssVar('fill-color', 'light');
384
+ color: getCssVar('color-info');
385
+ position: relative;
386
+ display: inline-flex;
387
+ align-items: center;
388
+ justify-content: center;
389
+ min-height: 100%;
390
+ border-radius: getCssVar('input-border-radius');
391
+ padding: 0 15px;
392
+ white-space: nowrap;
393
+
394
+ &:focus {
395
+ outline: none;
396
+ }
397
+
398
+ .#{$namespace}-select,
399
+ .#{$namespace}-button {
400
+ display: inline-block;
401
+ margin: 0 -15px;
402
+ //border-left: 1px solid transparent;
403
+ border-radius: 0px 4px 4px 0px;
404
+ padding: 8px 10px;
405
+ }
406
+
407
+ button.#{$namespace}-button,
408
+ button.#{$namespace}-button:hover,
409
+ div.#{$namespace}-select .#{$namespace}-select__wrapper,
410
+ div.#{$namespace}-select:hover .#{$namespace}-select__wrapper {
411
+ //border-color: transparent;
412
+ //background-color: transparent;
413
+ //border-left: 1px solid transparent;
414
+ color: inherit;
415
+ //color: getCssVar('button', 'hover', 'text-color');
416
+ //border-color: getCssVar('button', 'hover', 'border-color');
417
+ //background-color: getCssVar('button', 'hover', 'bg-color');
418
+ //outline: none;
419
+ }
420
+
421
+ .#{$namespace}-button,
422
+ .#{$namespace}-input {
423
+ font-size: inherit;
424
+ }
425
+ }
426
+
427
+ @include e(prepend) {
428
+ border-right: 0;
429
+ border-top-right-radius: 0;
430
+ border-bottom-right-radius: 0;
431
+ @include inset-prepend-border(#{getCssVar('input-border-color')});
432
+ }
433
+
434
+ @include e(append) {
435
+ border-left: 0;
436
+ border-top-left-radius: 0;
437
+ border-bottom-left-radius: 0;
438
+ @include inset-append-border(#{getCssVar('input-border-color')});
439
+ }
440
+
441
+ @include m(prepend) {
442
+ > .#{$namespace}-input__wrapper {
443
+ border-top-left-radius: 0;
444
+ border-bottom-left-radius: 0;
445
+ }
446
+
447
+ @include e(prepend) {
448
+ .#{$namespace}-select {
449
+ .#{$namespace}-select__wrapper {
450
+ border-top-right-radius: 0;
451
+ border-bottom-right-radius: 0;
452
+ @include inset-prepend-border(#{getCssVar('input-border-color')});
453
+ }
454
+ }
455
+ }
456
+ }
457
+
458
+ @include m(append) {
459
+ > .#{$namespace}-input__wrapper {
460
+ border-top-right-radius: 0;
461
+ border-bottom-right-radius: 0;
462
+ }
463
+
464
+ @include e(append) {
465
+ .#{$namespace}-select {
466
+ .#{$namespace}-select__wrapper {
467
+ border-top-left-radius: 0;
468
+ border-bottom-left-radius: 0;
469
+ @include inset-append-border(#{getCssVar('input-border-color')});
470
+ }
471
+ }
472
+ }
473
+ }
474
+ }
475
+
476
+ @include b(input-hidden) {
477
+ display: none !important;
478
+ }
@@ -0,0 +1,90 @@
1
+ @use 'sass:map';
2
+
3
+ @use 'mixins/mixins' as *;
4
+ @use 'mixins/var' as *;
5
+ @use 'mixins/utils' as *;
6
+ @use 'common/var' as *;
7
+
8
+ @include b(link) {
9
+ @include set-component-css-var('link', $link);
10
+ }
11
+
12
+ @include b(link) {
13
+ display: inline-flex;
14
+ flex-direction: row;
15
+ align-items: center;
16
+ justify-content: center;
17
+ vertical-align: middle;
18
+ position: relative;
19
+ text-decoration: none;
20
+ outline: none;
21
+ cursor: pointer;
22
+ padding: 0;
23
+ font-size: getCssVar('link', 'font-size');
24
+ font-weight: getCssVar('link', 'font-weight');
25
+
26
+ color: getCssVar('link', 'text-color');
27
+
28
+ &:hover {
29
+ color: getCssVar('link', 'hover-text-color');
30
+ }
31
+
32
+ @include when(underline) {
33
+ &:hover:after {
34
+ content: '';
35
+ position: absolute;
36
+ left: 0;
37
+ right: 0;
38
+ height: 0;
39
+ bottom: 0;
40
+ border-bottom: 1px solid getCssVar('link', 'hover-text-color');
41
+ }
42
+ }
43
+
44
+ @include when(disabled) {
45
+ color: getCssVar('link', 'disabled-text-color');
46
+ cursor: not-allowed;
47
+ }
48
+
49
+ & [class*='#{$namespace}-icon-'] {
50
+ & + span {
51
+ margin-left: 5px;
52
+ }
53
+ }
54
+
55
+ &.#{$namespace}-link--default {
56
+ &:after {
57
+ border-color: getCssVar('link', 'hover-text-color');
58
+ }
59
+ }
60
+
61
+ @include e(inner) {
62
+ display: inline-flex;
63
+ justify-content: center;
64
+ align-items: center;
65
+ }
66
+
67
+ @each $type in $types {
68
+ &.#{$namespace}-link--#{$type} {
69
+ @include css-var-from-global(('link', 'text-color'), ('color', $type));
70
+ @include css-var-from-global(
71
+ ('link', 'hover-text-color'),
72
+ ('color', $type, 'light-3')
73
+ );
74
+ @include css-var-from-global(
75
+ ('link', 'disabled-text-color'),
76
+ ('color', $type, 'light-5')
77
+ );
78
+
79
+ &:after {
80
+ border-color: getCssVar('link', 'text-color');
81
+ }
82
+
83
+ @include when(underline) {
84
+ &:hover:after {
85
+ border-color: getCssVar('link', 'text-color');
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
@@ -0,0 +1,104 @@
1
+ @use 'mixins/mixins' as *;
2
+ @use 'mixins/var' as *;
3
+ @use 'common/var' as *;
4
+
5
+ :root {
6
+ @include set-component-css-var('loading', $loading);
7
+ }
8
+
9
+ @include b(loading-parent) {
10
+ @include m(relative) {
11
+ position: relative !important;
12
+ }
13
+
14
+ @include m(hidden) {
15
+ overflow: hidden !important;
16
+ }
17
+ }
18
+
19
+ @include b(loading-mask) {
20
+ position: absolute;
21
+ z-index: 2000;
22
+ background-color: getCssVar('mask-color');
23
+ margin: 0;
24
+ top: 0;
25
+ right: 0;
26
+ bottom: 0;
27
+ left: 0;
28
+ transition: opacity getCssVar('transition-duration');
29
+
30
+ @include when(fullscreen) {
31
+ position: fixed;
32
+
33
+ .#{$namespace}-loading-spinner {
34
+ margin-top: calc(
35
+ (0px - getCssVar('loading-fullscreen-spinner-size')) / 2
36
+ );
37
+
38
+ .circular {
39
+ height: getCssVar('loading-fullscreen-spinner-size');
40
+ width: getCssVar('loading-fullscreen-spinner-size');
41
+ }
42
+ }
43
+ }
44
+ }
45
+
46
+ @include b(loading-spinner) {
47
+ top: 50%;
48
+ margin-top: calc((0px - getCssVar('loading-spinner-size')) / 2);
49
+ width: 100%;
50
+ text-align: center;
51
+ position: absolute;
52
+
53
+ .#{$namespace}-loading-text {
54
+ color: getCssVar('color-primary');
55
+ margin: 3px 0;
56
+ font-size: 14px;
57
+ }
58
+
59
+ .circular {
60
+ display: inline;
61
+ height: getCssVar('loading-spinner-size');
62
+ width: getCssVar('loading-spinner-size');
63
+ animation: loading-rotate 2s linear infinite;
64
+ }
65
+
66
+ .path {
67
+ animation: loading-dash 1.5s ease-in-out infinite;
68
+ stroke-dasharray: 90, 150;
69
+ stroke-dashoffset: 0;
70
+ stroke-width: 2;
71
+ stroke: getCssVar('color-primary');
72
+ stroke-linecap: round;
73
+ }
74
+
75
+ i {
76
+ color: getCssVar('color-primary');
77
+ }
78
+ }
79
+
80
+ .#{$namespace}-loading-fade-enter-from,
81
+ .#{$namespace}-loading-fade-leave-to {
82
+ opacity: 0;
83
+ }
84
+
85
+ @keyframes loading-rotate {
86
+ 100% {
87
+ transform: rotate(360deg);
88
+ }
89
+ }
90
+
91
+ @keyframes loading-dash {
92
+ 0% {
93
+ stroke-dasharray: 1, 200;
94
+ stroke-dashoffset: 0;
95
+ }
96
+ 50% {
97
+ stroke-dasharray: 90, 150;
98
+ stroke-dashoffset: -40px;
99
+ }
100
+ 100% {
101
+ stroke-dasharray: 90, 150;
102
+ stroke-dashoffset: -120px;
103
+ }
104
+ }
@@ -0,0 +1,14 @@
1
+ @use 'mixins/mixins' as *;
2
+ @use 'mixins/var' as *;
3
+ @use 'common/var' as *;
4
+
5
+ @include b(main) {
6
+ @include set-component-css-var('main', $main);
7
+
8
+ display: block;
9
+ flex: 1;
10
+ flex-basis: auto;
11
+ overflow: auto;
12
+ box-sizing: border-box;
13
+ padding: getCssVar('main-padding');
14
+ }