adtec-core-package 2.3.0 → 2.3.2

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 (139) hide show
  1. package/.editorconfig +6 -6
  2. package/.prettierrc.json +7 -7
  3. package/.vscode/extensions.json +8 -8
  4. package/README.md +39 -39
  5. package/env.d.ts +1 -1
  6. package/eslint.config.js +56 -56
  7. package/index.html +13 -13
  8. package/package.json +1 -1
  9. package/src/App.vue +9 -9
  10. package/src/assets/base.css +86 -86
  11. package/src/assets/logo.svg +1 -1
  12. package/src/assets/main.css +35 -35
  13. package/src/assets/style/transition.scss +49 -49
  14. package/src/components/icon/ElIcons.vue +38 -38
  15. package/src/css/elementUI/affix.scss +7 -7
  16. package/src/css/elementUI/alert.scss +115 -115
  17. package/src/css/elementUI/anchor-link.scss +41 -41
  18. package/src/css/elementUI/anchor.scss +88 -88
  19. package/src/css/elementUI/aside.scss +8 -8
  20. package/src/css/elementUI/avatar.scss +55 -55
  21. package/src/css/elementUI/backtop.scss +29 -29
  22. package/src/css/elementUI/badge.scss +58 -58
  23. package/src/css/elementUI/base.scss +3 -3
  24. package/src/css/elementUI/breadcrumb.scss +62 -62
  25. package/src/css/elementUI/button-group.scss +80 -80
  26. package/src/css/elementUI/button.scss +304 -304
  27. package/src/css/elementUI/calendar.scss +80 -80
  28. package/src/css/elementUI/card.scss +45 -45
  29. package/src/css/elementUI/carousel-item.scss +58 -58
  30. package/src/css/elementUI/carousel.scss +188 -188
  31. package/src/css/elementUI/cascader-panel.scss +138 -138
  32. package/src/css/elementUI/cascader.scss +230 -230
  33. package/src/css/elementUI/check-tag.scss +60 -60
  34. package/src/css/elementUI/checkbox-button.scss +140 -140
  35. package/src/css/elementUI/checkbox-group.scss +7 -7
  36. package/src/css/elementUI/col.scss +48 -48
  37. package/src/css/elementUI/collapse.scss +70 -70
  38. package/src/css/elementUI/color/index.scss +20 -20
  39. package/src/css/elementUI/color-picker.scss +392 -392
  40. package/src/css/elementUI/common/popup.scss +47 -47
  41. package/src/css/elementUI/common/transition.scss +122 -122
  42. package/src/css/elementUI/container.scss +14 -14
  43. package/src/css/elementUI/dark/css-vars.scss +39 -39
  44. package/src/css/elementUI/dark/var.scss +222 -222
  45. package/src/css/elementUI/date-picker/date-picker.scss +110 -110
  46. package/src/css/elementUI/date-picker/date-range-picker.scss +113 -113
  47. package/src/css/elementUI/date-picker/date-table.scss +158 -158
  48. package/src/css/elementUI/date-picker/month-table.scss +112 -112
  49. package/src/css/elementUI/date-picker/picker-panel.scss +131 -131
  50. package/src/css/elementUI/date-picker/time-picker.scss +90 -90
  51. package/src/css/elementUI/date-picker/time-range-picker.scss +33 -33
  52. package/src/css/elementUI/date-picker/time-spinner.scss +111 -111
  53. package/src/css/elementUI/date-picker/year-table.scss +108 -108
  54. package/src/css/elementUI/date-picker.scss +9 -9
  55. package/src/css/elementUI/descriptions-item.scss +73 -73
  56. package/src/css/elementUI/dialog.scss +199 -199
  57. package/src/css/elementUI/display.scss +12 -12
  58. package/src/css/elementUI/divider.scss +48 -48
  59. package/src/css/elementUI/dropdown.scss +208 -208
  60. package/src/css/elementUI/empty.scss +49 -49
  61. package/src/css/elementUI/footer.scss +12 -12
  62. package/src/css/elementUI/form.scss +243 -243
  63. package/src/css/elementUI/header.scss +12 -12
  64. package/src/css/elementUI/icon.scss +45 -45
  65. package/src/css/elementUI/image-viewer.scss +139 -139
  66. package/src/css/elementUI/image.scss +49 -49
  67. package/src/css/elementUI/index.scss +110 -110
  68. package/src/css/elementUI/input-number.scss +178 -178
  69. package/src/css/elementUI/input.scss +478 -478
  70. package/src/css/elementUI/link.scss +90 -90
  71. package/src/css/elementUI/loading.scss +104 -104
  72. package/src/css/elementUI/main.scss +14 -14
  73. package/src/css/elementUI/mention.scss +88 -88
  74. package/src/css/elementUI/menu.scss +339 -339
  75. package/src/css/elementUI/message-box.scss +213 -213
  76. package/src/css/elementUI/message.scss +98 -98
  77. package/src/css/elementUI/mixins/_button.scss +165 -165
  78. package/src/css/elementUI/mixins/_col.scss +33 -33
  79. package/src/css/elementUI/mixins/_var.scss +67 -67
  80. package/src/css/elementUI/mixins/config.scss +5 -5
  81. package/src/css/elementUI/mixins/function.scss +88 -88
  82. package/src/css/elementUI/mixins/mixins.scss +237 -237
  83. package/src/css/elementUI/mixins/utils.scss +39 -39
  84. package/src/css/elementUI/notification.scss +104 -104
  85. package/src/css/elementUI/option-group.scss +33 -33
  86. package/src/css/elementUI/option.scss +71 -71
  87. package/src/css/elementUI/overlay.scss +17 -17
  88. package/src/css/elementUI/page-header.scss +60 -60
  89. package/src/css/elementUI/pagination.scss +238 -238
  90. package/src/css/elementUI/popconfirm.scss +16 -16
  91. package/src/css/elementUI/popover.scss +61 -61
  92. package/src/css/elementUI/popper.scss +106 -106
  93. package/src/css/elementUI/progress.scss +179 -179
  94. package/src/css/elementUI/radio-button.scss +169 -169
  95. package/src/css/elementUI/radio-group.scss +9 -9
  96. package/src/css/elementUI/rate.scss +108 -108
  97. package/src/css/elementUI/reset.scss +98 -98
  98. package/src/css/elementUI/result.scss +57 -57
  99. package/src/css/elementUI/row.scss +35 -35
  100. package/src/css/elementUI/scrollbar.scss +97 -97
  101. package/src/css/elementUI/segmented.scss +183 -183
  102. package/src/css/elementUI/select-dropdown-v2.scss +1 -1
  103. package/src/css/elementUI/select-dropdown.scss +57 -57
  104. package/src/css/elementUI/select-v2.scss +4 -4
  105. package/src/css/elementUI/select.scss +253 -253
  106. package/src/css/elementUI/skeleton-item.scss +83 -83
  107. package/src/css/elementUI/skeleton.scss +44 -44
  108. package/src/css/elementUI/slider.scss +212 -212
  109. package/src/css/elementUI/space.scss +20 -20
  110. package/src/css/elementUI/spinner.scss +43 -43
  111. package/src/css/elementUI/statistic.scss +35 -35
  112. package/src/css/elementUI/step.scss +316 -316
  113. package/src/css/elementUI/steps.scss +21 -21
  114. package/src/css/elementUI/switch.scss +300 -300
  115. package/src/css/elementUI/table-column.scss +98 -98
  116. package/src/css/elementUI/table-v2.scss +236 -236
  117. package/src/css/elementUI/table.scss +2 -2
  118. package/src/css/elementUI/tag.scss +181 -181
  119. package/src/css/elementUI/text.scss +51 -51
  120. package/src/css/elementUI/time-picker.scss +5 -5
  121. package/src/css/elementUI/time-select.scss +37 -37
  122. package/src/css/elementUI/timeline-item.scss +84 -84
  123. package/src/css/elementUI/timeline.scss +46 -46
  124. package/src/css/elementUI/tooltip-v2.scss +95 -95
  125. package/src/css/elementUI/tour.scss +187 -187
  126. package/src/css/elementUI/transfer.scss +203 -203
  127. package/src/css/elementUI/tree-select.scss +41 -41
  128. package/src/css/elementUI/tree.scss +134 -134
  129. package/src/css/elementUI/upload.scss +654 -654
  130. package/src/css/elementUI/var.scss +87 -87
  131. package/src/css/elementUI/virtual-list.scss +40 -40
  132. package/src/css/vxeTableUI/components/table.scss +1 -1
  133. package/src/interface/enum/FlexEnum.ts +85 -85
  134. package/src/main.ts +14 -14
  135. package/src/router/index.ts +23 -23
  136. package/tsconfig.app.json +12 -12
  137. package/tsconfig.json +11 -11
  138. package/tsconfig.node.json +18 -18
  139. package/vite.config.ts +38 -38
@@ -1,181 +1,181 @@
1
- @use 'sass:map';
2
-
3
- @use 'mixins/mixins' as *;
4
- @use 'mixins/var' as *;
5
- @use 'common/var' as *;
6
-
7
- @include b(tag) {
8
- @include set-component-css-var('tag', $tag);
9
- }
10
-
11
- $tag-border-width: 1px;
12
-
13
- $tag-icon-span-gap: () !default;
14
- $tag-icon-span-gap: map.merge(
15
- (
16
- 'large': 8px,
17
- 'default': 6px,
18
- 'small': 4px,
19
- ),
20
- $tag-icon-span-gap
21
- );
22
-
23
- @function returnVarList($var, $type: 'primary') {
24
- $list: ('fill-color', 'blank');
25
-
26
- @if $var !=false {
27
- $list: ('color', $type, $var);
28
- }
29
-
30
- @return $list;
31
- }
32
-
33
- // false mean --el-color-white
34
- @mixin genTheme($backgroundColorWeight, $borderColorWeight, $hoverColorWeight) {
35
- @include css-var-from-global(
36
- ('tag', 'bg-color'),
37
- returnVarList($backgroundColorWeight)
38
- );
39
- @include css-var-from-global(
40
- ('tag', 'border-color'),
41
- returnVarList($borderColorWeight)
42
- );
43
- @include css-var-from-global(
44
- ('tag', 'hover-color'),
45
- returnVarList($hoverColorWeight)
46
- );
47
-
48
- @each $type in $types {
49
- &.#{bem('tag', '', $type)} {
50
- @include css-var-from-global(
51
- ('tag', 'bg-color'),
52
- returnVarList($backgroundColorWeight, $type)
53
- );
54
- @include css-var-from-global(
55
- ('tag', 'border-color'),
56
- returnVarList($borderColorWeight, $type)
57
- );
58
- @include css-var-from-global(
59
- ('tag', 'hover-color'),
60
- returnVarList($hoverColorWeight, $type)
61
- );
62
- }
63
- }
64
- }
65
-
66
- @include b(tag) {
67
- background-color: getCssVar('tag-bg-color');
68
- border-color: getCssVar('tag-border-color');
69
- color: getCssVar('tag-text-color');
70
-
71
- display: inline-flex;
72
- justify-content: center;
73
- align-items: center;
74
- vertical-align: middle;
75
- height: map.get($tag-height, 'default');
76
- padding: 0 map.get($tag-padding, 'default') - $border-width;
77
-
78
- font-size: getCssVar('tag-font-size');
79
- line-height: 1;
80
- border-width: $tag-border-width;
81
- border-style: solid;
82
- border-radius: getCssVar('tag-border-radius');
83
- box-sizing: border-box;
84
- white-space: nowrap;
85
-
86
- @include set-css-var-value('icon-size', 14px);
87
- @include genTheme('light-9', 'light-8', '');
88
-
89
- @include when(hit) {
90
- border-color: getCssVar('color', 'primary');
91
- }
92
-
93
- @include when(round) {
94
- border-radius: getCssVar('tag', 'border-radius-rounded');
95
- }
96
-
97
- .#{$namespace}-tag__close {
98
- flex-shrink: 0;
99
- color: getCssVar('tag', 'text-color');
100
-
101
- &:hover {
102
- color: getCssVar('color-white');
103
- background-color: getCssVar('tag-hover-color');
104
- }
105
- }
106
-
107
- @each $type in $types {
108
- &.#{bem('tag', '', $type)} {
109
- @include css-var-from-global(('tag', 'text-color'), ('color', $type));
110
- }
111
- }
112
-
113
- $svg-margin-size: 1px;
114
-
115
- .#{$namespace}-icon {
116
- border-radius: 50%;
117
- cursor: pointer;
118
-
119
- font-size: calc(#{getCssVar('icon-size')} - #{$svg-margin-size * 2});
120
- height: getCssVar('icon-size');
121
- width: getCssVar('icon-size');
122
- }
123
-
124
- .#{$namespace}-tag__close {
125
- margin-left: map.get($tag-icon-span-gap, 'default');
126
- }
127
-
128
- @include m(dark) {
129
- @include css-var-from-global(('tag', 'text-color'), ('color', 'white'));
130
- @include genTheme('', '', 'light-3');
131
-
132
- @each $type in $types {
133
- &.#{bem('tag', '', $type)} {
134
- @include css-var-from-global(('tag', 'text-color'), ('color', 'white'));
135
- }
136
- }
137
- }
138
-
139
- @include m(plain) {
140
- @include css-var-from-global(('tag', 'bg-color'), ('fill-color', 'blank'));
141
- @include genTheme(false, 'light-5', '');
142
- }
143
-
144
- &.is-closable {
145
- padding-right: map.get($tag-icon-span-gap, 'default') - $border-width;
146
- }
147
-
148
- @each $size in (large, small) {
149
- @include m($size) {
150
- padding: 0 map.get($tag-padding, $size) - $tag-border-width;
151
- height: map.get($tag-height, $size);
152
-
153
- @include set-css-var-value(
154
- 'icon-size',
155
- #{map.get($tag-icon-size, $size)}
156
- );
157
-
158
- .#{$namespace}-tag__close {
159
- margin-left: map.get($tag-icon-span-gap, $size);
160
- }
161
-
162
- &.is-closable {
163
- padding-right: map.get($tag-icon-span-gap, $size) - $border-width;
164
- }
165
- }
166
- }
167
-
168
- @include m(small) {
169
- .#{$namespace}-icon-close {
170
- transform: scale(0.8);
171
- }
172
- }
173
-
174
- @each $type in $types {
175
- &.#{bem('tag', '', $type)} {
176
- @include when(hit) {
177
- border-color: getCssVar('color', $type);
178
- }
179
- }
180
- }
181
- }
1
+ @use 'sass:map';
2
+
3
+ @use 'mixins/mixins' as *;
4
+ @use 'mixins/var' as *;
5
+ @use 'common/var' as *;
6
+
7
+ @include b(tag) {
8
+ @include set-component-css-var('tag', $tag);
9
+ }
10
+
11
+ $tag-border-width: 1px;
12
+
13
+ $tag-icon-span-gap: () !default;
14
+ $tag-icon-span-gap: map.merge(
15
+ (
16
+ 'large': 8px,
17
+ 'default': 6px,
18
+ 'small': 4px,
19
+ ),
20
+ $tag-icon-span-gap
21
+ );
22
+
23
+ @function returnVarList($var, $type: 'primary') {
24
+ $list: ('fill-color', 'blank');
25
+
26
+ @if $var !=false {
27
+ $list: ('color', $type, $var);
28
+ }
29
+
30
+ @return $list;
31
+ }
32
+
33
+ // false mean --el-color-white
34
+ @mixin genTheme($backgroundColorWeight, $borderColorWeight, $hoverColorWeight) {
35
+ @include css-var-from-global(
36
+ ('tag', 'bg-color'),
37
+ returnVarList($backgroundColorWeight)
38
+ );
39
+ @include css-var-from-global(
40
+ ('tag', 'border-color'),
41
+ returnVarList($borderColorWeight)
42
+ );
43
+ @include css-var-from-global(
44
+ ('tag', 'hover-color'),
45
+ returnVarList($hoverColorWeight)
46
+ );
47
+
48
+ @each $type in $types {
49
+ &.#{bem('tag', '', $type)} {
50
+ @include css-var-from-global(
51
+ ('tag', 'bg-color'),
52
+ returnVarList($backgroundColorWeight, $type)
53
+ );
54
+ @include css-var-from-global(
55
+ ('tag', 'border-color'),
56
+ returnVarList($borderColorWeight, $type)
57
+ );
58
+ @include css-var-from-global(
59
+ ('tag', 'hover-color'),
60
+ returnVarList($hoverColorWeight, $type)
61
+ );
62
+ }
63
+ }
64
+ }
65
+
66
+ @include b(tag) {
67
+ background-color: getCssVar('tag-bg-color');
68
+ border-color: getCssVar('tag-border-color');
69
+ color: getCssVar('tag-text-color');
70
+
71
+ display: inline-flex;
72
+ justify-content: center;
73
+ align-items: center;
74
+ vertical-align: middle;
75
+ height: map.get($tag-height, 'default');
76
+ padding: 0 map.get($tag-padding, 'default') - $border-width;
77
+
78
+ font-size: getCssVar('tag-font-size');
79
+ line-height: 1;
80
+ border-width: $tag-border-width;
81
+ border-style: solid;
82
+ border-radius: getCssVar('tag-border-radius');
83
+ box-sizing: border-box;
84
+ white-space: nowrap;
85
+
86
+ @include set-css-var-value('icon-size', 14px);
87
+ @include genTheme('light-9', 'light-8', '');
88
+
89
+ @include when(hit) {
90
+ border-color: getCssVar('color', 'primary');
91
+ }
92
+
93
+ @include when(round) {
94
+ border-radius: getCssVar('tag', 'border-radius-rounded');
95
+ }
96
+
97
+ .#{$namespace}-tag__close {
98
+ flex-shrink: 0;
99
+ color: getCssVar('tag', 'text-color');
100
+
101
+ &:hover {
102
+ color: getCssVar('color-white');
103
+ background-color: getCssVar('tag-hover-color');
104
+ }
105
+ }
106
+
107
+ @each $type in $types {
108
+ &.#{bem('tag', '', $type)} {
109
+ @include css-var-from-global(('tag', 'text-color'), ('color', $type));
110
+ }
111
+ }
112
+
113
+ $svg-margin-size: 1px;
114
+
115
+ .#{$namespace}-icon {
116
+ border-radius: 50%;
117
+ cursor: pointer;
118
+
119
+ font-size: calc(#{getCssVar('icon-size')} - #{$svg-margin-size * 2});
120
+ height: getCssVar('icon-size');
121
+ width: getCssVar('icon-size');
122
+ }
123
+
124
+ .#{$namespace}-tag__close {
125
+ margin-left: map.get($tag-icon-span-gap, 'default');
126
+ }
127
+
128
+ @include m(dark) {
129
+ @include css-var-from-global(('tag', 'text-color'), ('color', 'white'));
130
+ @include genTheme('', '', 'light-3');
131
+
132
+ @each $type in $types {
133
+ &.#{bem('tag', '', $type)} {
134
+ @include css-var-from-global(('tag', 'text-color'), ('color', 'white'));
135
+ }
136
+ }
137
+ }
138
+
139
+ @include m(plain) {
140
+ @include css-var-from-global(('tag', 'bg-color'), ('fill-color', 'blank'));
141
+ @include genTheme(false, 'light-5', '');
142
+ }
143
+
144
+ &.is-closable {
145
+ padding-right: map.get($tag-icon-span-gap, 'default') - $border-width;
146
+ }
147
+
148
+ @each $size in (large, small) {
149
+ @include m($size) {
150
+ padding: 0 map.get($tag-padding, $size) - $tag-border-width;
151
+ height: map.get($tag-height, $size);
152
+
153
+ @include set-css-var-value(
154
+ 'icon-size',
155
+ #{map.get($tag-icon-size, $size)}
156
+ );
157
+
158
+ .#{$namespace}-tag__close {
159
+ margin-left: map.get($tag-icon-span-gap, $size);
160
+ }
161
+
162
+ &.is-closable {
163
+ padding-right: map.get($tag-icon-span-gap, $size) - $border-width;
164
+ }
165
+ }
166
+ }
167
+
168
+ @include m(small) {
169
+ .#{$namespace}-icon-close {
170
+ transform: scale(0.8);
171
+ }
172
+ }
173
+
174
+ @each $type in $types {
175
+ &.#{bem('tag', '', $type)} {
176
+ @include when(hit) {
177
+ border-color: getCssVar('color', $type);
178
+ }
179
+ }
180
+ }
181
+ }
@@ -1,51 +1,51 @@
1
- @use 'sass:map';
2
-
3
- @use 'mixins/mixins' as *;
4
- @use 'mixins/var' as *;
5
- @use 'common/var' as *;
6
-
7
- @include b(text) {
8
- @include set-component-css-var('text', $text);
9
- }
10
-
11
- @include b(text) {
12
- align-self: center;
13
- margin: 0;
14
- padding: 0;
15
- font-size: getCssVar('text', 'font-size');
16
- color: getCssVar('text', 'color');
17
- overflow-wrap: break-word;
18
-
19
- @include when(truncated) {
20
- display: inline-block;
21
- max-width: 100%;
22
- text-overflow: ellipsis;
23
- white-space: nowrap;
24
- overflow: hidden;
25
- }
26
-
27
- @include when(line-clamp) {
28
- display: -webkit-inline-box;
29
- -webkit-box-orient: vertical;
30
- overflow: hidden;
31
- }
32
-
33
- @each $size in (large, default, small) {
34
- @include m($size) {
35
- @include set-css-var-value(
36
- ('text', 'font-size'),
37
- map.get($text-font-size, $size)
38
- );
39
- }
40
- }
41
-
42
- @each $type in $types {
43
- &.#{bem('text', '', $type)} {
44
- @include css-var-from-global(('text', 'color'), ('color', $type));
45
- }
46
- }
47
-
48
- & > .#{bem('icon')} {
49
- vertical-align: -2px;
50
- }
51
- }
1
+ @use 'sass:map';
2
+
3
+ @use 'mixins/mixins' as *;
4
+ @use 'mixins/var' as *;
5
+ @use 'common/var' as *;
6
+
7
+ @include b(text) {
8
+ @include set-component-css-var('text', $text);
9
+ }
10
+
11
+ @include b(text) {
12
+ align-self: center;
13
+ margin: 0;
14
+ padding: 0;
15
+ font-size: getCssVar('text', 'font-size');
16
+ color: getCssVar('text', 'color');
17
+ overflow-wrap: break-word;
18
+
19
+ @include when(truncated) {
20
+ display: inline-block;
21
+ max-width: 100%;
22
+ text-overflow: ellipsis;
23
+ white-space: nowrap;
24
+ overflow: hidden;
25
+ }
26
+
27
+ @include when(line-clamp) {
28
+ display: -webkit-inline-box;
29
+ -webkit-box-orient: vertical;
30
+ overflow: hidden;
31
+ }
32
+
33
+ @each $size in (large, default, small) {
34
+ @include m($size) {
35
+ @include set-css-var-value(
36
+ ('text', 'font-size'),
37
+ map.get($text-font-size, $size)
38
+ );
39
+ }
40
+ }
41
+
42
+ @each $type in $types {
43
+ &.#{bem('text', '', $type)} {
44
+ @include css-var-from-global(('text', 'color'), ('color', $type));
45
+ }
46
+ }
47
+
48
+ & > .#{bem('icon')} {
49
+ vertical-align: -2px;
50
+ }
51
+ }
@@ -1,5 +1,5 @@
1
- @use './date-picker/picker.scss';
2
- @use './date-picker/picker-panel.scss';
3
- @use './date-picker/time-spinner.scss';
4
- @use './date-picker/time-picker.scss';
5
- @use './date-picker/time-range-picker.scss';
1
+ @use './date-picker/picker.scss';
2
+ @use './date-picker/picker-panel.scss';
3
+ @use './date-picker/time-spinner.scss';
4
+ @use './date-picker/time-picker.scss';
5
+ @use './date-picker/time-range-picker.scss';
@@ -1,37 +1,37 @@
1
- @use 'mixins/config' as *;
2
- @use 'mixins/mixins' as *;
3
- @use 'common/var' as *;
4
- @use './date-picker/picker.scss';
5
- @use './date-picker/date-picker.scss';
6
-
7
- .time-select {
8
- margin: 5px 0;
9
- min-width: 0;
10
-
11
- .#{$namespace}-picker-panel__content {
12
- max-height: 200px;
13
- margin: 0;
14
- }
15
-
16
- &-item {
17
- padding: 8px 10px;
18
- font-size: 14px;
19
- line-height: 20px;
20
-
21
- &.disabled {
22
- color: getCssVar('datepicker-border-color');
23
- cursor: not-allowed;
24
- }
25
-
26
- &:hover {
27
- background-color: getCssVar('fill-color', 'light');
28
- font-weight: bold;
29
- cursor: pointer;
30
- }
31
- }
32
-
33
- .time-select-item.selected:not(.disabled) {
34
- color: getCssVar('color-primary');
35
- font-weight: bold;
36
- }
37
- }
1
+ @use 'mixins/config' as *;
2
+ @use 'mixins/mixins' as *;
3
+ @use 'common/var' as *;
4
+ @use './date-picker/picker.scss';
5
+ @use './date-picker/date-picker.scss';
6
+
7
+ .time-select {
8
+ margin: 5px 0;
9
+ min-width: 0;
10
+
11
+ .#{$namespace}-picker-panel__content {
12
+ max-height: 200px;
13
+ margin: 0;
14
+ }
15
+
16
+ &-item {
17
+ padding: 8px 10px;
18
+ font-size: 14px;
19
+ line-height: 20px;
20
+
21
+ &.disabled {
22
+ color: getCssVar('datepicker-border-color');
23
+ cursor: not-allowed;
24
+ }
25
+
26
+ &:hover {
27
+ background-color: getCssVar('fill-color', 'light');
28
+ font-weight: bold;
29
+ cursor: pointer;
30
+ }
31
+ }
32
+
33
+ .time-select-item.selected:not(.disabled) {
34
+ color: getCssVar('color-primary');
35
+ font-weight: bold;
36
+ }
37
+ }