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,62 @@
1
+ @use 'mixins/mixins' as *;
2
+ @use 'mixins/utils' as *;
3
+ @use 'common/var' as *;
4
+
5
+ @include b(breadcrumb) {
6
+ font-size: 14px;
7
+ line-height: 1;
8
+ @include utils-clearfix;
9
+
10
+ @include e(separator) {
11
+ margin: 0 9px;
12
+ font-weight: bold;
13
+ color: getCssVar('text-color', 'placeholder');
14
+
15
+ &.#{$namespace}-icon {
16
+ margin: 0 6px;
17
+ font-weight: normal;
18
+ svg {
19
+ vertical-align: middle;
20
+ }
21
+ }
22
+ }
23
+
24
+ @include e(item) {
25
+ float: left;
26
+ display: inline-flex;
27
+ align-items: center;
28
+
29
+ @include e(inner) {
30
+ color: getCssVar('text-color', 'regular');
31
+
32
+ &.is-link,
33
+ & a {
34
+ font-weight: bold;
35
+ text-decoration: none;
36
+ transition: getCssVar('transition', 'color');
37
+ color: getCssVar('text-color', 'primary');
38
+
39
+ &:hover {
40
+ color: getCssVar('color-primary');
41
+ cursor: pointer;
42
+ }
43
+ }
44
+ }
45
+
46
+ &:last-child {
47
+ .#{$namespace}-breadcrumb__inner,
48
+ .#{$namespace}-breadcrumb__inner a {
49
+ &,
50
+ &:hover {
51
+ font-weight: normal;
52
+ color: getCssVar('text-color', 'regular');
53
+ cursor: text;
54
+ }
55
+ }
56
+
57
+ .#{$namespace}-breadcrumb__separator {
58
+ display: none;
59
+ }
60
+ }
61
+ }
62
+ }
@@ -0,0 +1,80 @@
1
+ @use 'sass:map';
2
+
3
+ @use 'common/var' as *;
4
+ @use 'mixins/mixins' as *;
5
+ @use 'mixins/utils' as *;
6
+
7
+ @include b(button-group) {
8
+ display: inline-block;
9
+ vertical-align: middle;
10
+ @include utils-clearfix;
11
+
12
+ & > .#{$namespace}-button {
13
+ float: left;
14
+ position: relative;
15
+ & + .#{$namespace}-button {
16
+ margin-left: 0;
17
+ }
18
+ &:first-child {
19
+ border-top-right-radius: 0;
20
+ border-bottom-right-radius: 0;
21
+ }
22
+ &:last-child {
23
+ border-top-left-radius: 0;
24
+ border-bottom-left-radius: 0;
25
+ }
26
+ &:first-child:last-child {
27
+ border-top-right-radius: map.get($button-border-radius, 'default');
28
+ border-bottom-right-radius: map.get($button-border-radius, 'default');
29
+ border-top-left-radius: map.get($button-border-radius, 'default');
30
+ border-bottom-left-radius: map.get($button-border-radius, 'default');
31
+
32
+ &.is-round {
33
+ border-radius: getCssVar('border-radius', 'round');
34
+ }
35
+
36
+ &.is-circle {
37
+ border-radius: 50%;
38
+ }
39
+ }
40
+ &:not(:first-child):not(:last-child) {
41
+ border-radius: 0;
42
+ }
43
+ &:not(:last-child) {
44
+ margin-right: -1px;
45
+ }
46
+
47
+ &:hover,
48
+ &:focus,
49
+ &:active {
50
+ z-index: 1;
51
+ }
52
+
53
+ @include when(active) {
54
+ z-index: 1;
55
+ }
56
+ }
57
+
58
+ & > .#{$namespace}-dropdown {
59
+ & > .#{$namespace}-button {
60
+ border-top-left-radius: 0;
61
+ border-bottom-left-radius: 0;
62
+ border-left-color: getCssVar('button', 'divide-border-color');
63
+ }
64
+ }
65
+
66
+ @each $type in (primary, success, warning, danger, info) {
67
+ .#{$namespace}-button--#{$type} {
68
+ &:first-child {
69
+ border-right-color: getCssVar('button', 'divide-border-color');
70
+ }
71
+ &:last-child {
72
+ border-left-color: getCssVar('button', 'divide-border-color');
73
+ }
74
+ &:not(:first-child):not(:last-child) {
75
+ border-left-color: getCssVar('button', 'divide-border-color');
76
+ border-right-color: getCssVar('button', 'divide-border-color');
77
+ }
78
+ }
79
+ }
80
+ }
@@ -0,0 +1,304 @@
1
+ @use 'sass:map';
2
+
3
+ @use 'common/var' as *;
4
+ @use 'mixins/button' as *;
5
+ @use 'mixins/mixins' as *;
6
+ @use 'mixins/utils' as *;
7
+ @use 'mixins/var' as *;
8
+
9
+ $button-icon-span-gap: () !default;
10
+ $button-icon-span-gap: map.merge(
11
+ (
12
+ 'large': 8px,
13
+ 'default': 6px,
14
+ 'small': 4px,
15
+ ),
16
+ $button-icon-span-gap
17
+ );
18
+
19
+ @include b(button) {
20
+ @include set-component-css-var('button', $button);
21
+ }
22
+
23
+ @include b(button) {
24
+ display: inline-flex;
25
+ justify-content: center;
26
+ align-items: center;
27
+ font-family: var(--el-font-family);
28
+ line-height: 1;
29
+ // min-height will expand when in flex
30
+ height: map.get($input-height, 'default');
31
+ white-space: nowrap;
32
+ cursor: pointer;
33
+ color: getCssVar('button', 'text-color');
34
+ text-align: center;
35
+ box-sizing: border-box;
36
+ outline: none;
37
+ transition: 0.1s;
38
+ font-weight: getCssVar('button', 'font-weight');
39
+ user-select: none;
40
+ vertical-align: middle;
41
+ -webkit-appearance: none;
42
+ background-color: getCssVar('button', 'bg-color');
43
+ border: getCssVar('border');
44
+ border-color: getCssVar('button', 'border-color');
45
+
46
+ &:hover {
47
+ color: getCssVar('button', 'hover', 'text-color');
48
+ border-color: getCssVar('button', 'hover', 'border-color');
49
+ background-color: getCssVar('button', 'hover', 'bg-color');
50
+ outline: none;
51
+ }
52
+
53
+ &:active {
54
+ color: getCssVar('button', 'active', 'text-color');
55
+ border-color: getCssVar('button', 'active', 'border-color');
56
+ background-color: getCssVar('button', 'active', 'bg-color');
57
+ outline: none;
58
+ }
59
+
60
+ &:focus-visible {
61
+ outline: 2px solid getCssVar('button', 'outline-color');
62
+ outline-offset: 1px;
63
+ transition: outline-offset 0s, outline 0s;
64
+ }
65
+
66
+ > span {
67
+ display: inline-flex;
68
+ align-items: center;
69
+ }
70
+
71
+ & + & {
72
+ margin-left: 8px;
73
+ }
74
+
75
+ & {
76
+ @include button-size(
77
+ map.get($button-padding-vertical, 'default') - $button-border-width,
78
+ map.get($button-padding-horizontal, 'default') - $button-border-width,
79
+ map.get($button-font-size, 'default'),
80
+ map.get($button-border-radius, 'default')
81
+ );
82
+ }
83
+
84
+ &::-moz-focus-inner {
85
+ border: 0;
86
+ }
87
+
88
+ & [class*='#{$namespace}-icon'] {
89
+ & + span {
90
+ margin-left: map.get($button-icon-span-gap, 'default');
91
+ }
92
+ svg {
93
+ vertical-align: bottom;
94
+ }
95
+ }
96
+
97
+ @include when(plain) {
98
+ @include css-var-from-global(
99
+ ('button', 'hover', 'text-color'),
100
+ ('color', 'primary')
101
+ );
102
+ @include css-var-from-global(
103
+ ('button', 'hover', 'bg-color'),
104
+ ('fill-color', 'blank')
105
+ );
106
+ @include css-var-from-global(
107
+ ('button', 'hover', 'border-color'),
108
+ ('color', 'primary')
109
+ );
110
+ }
111
+
112
+ @include when(active) {
113
+ color: getCssVar('button', 'active', 'text-color');
114
+ border-color: getCssVar('button', 'active', 'border-color');
115
+ background-color: getCssVar('button', 'active', 'bg-color');
116
+ outline: none;
117
+ }
118
+
119
+ @include when(disabled) {
120
+ &,
121
+ &:hover {
122
+ color: getCssVar('button', 'disabled', 'text-color');
123
+ cursor: not-allowed;
124
+ background-image: none;
125
+ background-color: getCssVar('button', 'disabled', 'bg-color');
126
+ border-color: getCssVar('button', 'disabled', 'border-color');
127
+ }
128
+ }
129
+
130
+ @include when(loading) {
131
+ position: relative;
132
+ pointer-events: none;
133
+
134
+ &:before {
135
+ // mask the button
136
+ z-index: 1;
137
+ pointer-events: none;
138
+ content: '';
139
+ position: absolute;
140
+ left: -1px;
141
+ top: -1px;
142
+ right: -1px;
143
+ bottom: -1px;
144
+ border-radius: inherit;
145
+ background-color: getCssVar('mask-color', 'extra-light');
146
+ }
147
+ }
148
+ @include when(round) {
149
+ border-radius: getCssVar('border-radius', 'round');
150
+ }
151
+ @include when(circle) {
152
+ width: map.get($input-height, 'default');
153
+ border-radius: 50%;
154
+ padding: map.get($button-padding-vertical, 'default') - $button-border-width;
155
+ }
156
+
157
+ @include when(text) {
158
+ color: getCssVar('button', 'text-color');
159
+ border: 0 solid transparent;
160
+ background-color: transparent;
161
+
162
+ @include when(disabled) {
163
+ color: getCssVar('button', 'disabled', 'text-color');
164
+ background-color: transparent !important;
165
+ }
166
+
167
+ &:not(.is-disabled) {
168
+ &:hover {
169
+ background-color: getCssVar('fill-color', 'light');
170
+ }
171
+
172
+ &:focus-visible {
173
+ outline: 2px solid getCssVar('button', 'outline-color');
174
+ outline-offset: 1px;
175
+ transition: outline-offset 0s, outline 0s;
176
+ }
177
+
178
+ &:active {
179
+ background-color: getCssVar('fill-color');
180
+ }
181
+
182
+ @include when(has-bg) {
183
+ background-color: getCssVar('fill-color', 'light');
184
+
185
+ &:hover {
186
+ background-color: getCssVar('fill-color');
187
+ }
188
+
189
+ &:active {
190
+ background-color: getCssVar('fill-color', 'dark');
191
+ }
192
+ }
193
+ }
194
+ }
195
+
196
+ @include e(text) {
197
+ @include m(expand) {
198
+ letter-spacing: 0.3em;
199
+ margin-right: -0.3em;
200
+ }
201
+ }
202
+
203
+ @include when(link) {
204
+ border-color: transparent;
205
+ color: getCssVar('button', 'text-color');
206
+ background: transparent;
207
+ padding: 2px;
208
+ height: auto;
209
+
210
+ &:hover {
211
+ color: getCssVar('button', 'hover', 'link-text-color');
212
+ }
213
+
214
+ @include when(disabled) {
215
+ color: getCssVar('button', 'disabled', 'text-color');
216
+ background-color: transparent !important;
217
+ border-color: transparent !important;
218
+ }
219
+
220
+ &:not(.is-disabled) {
221
+ &:hover {
222
+ border-color: transparent;
223
+ background-color: transparent;
224
+ }
225
+
226
+ &:active {
227
+ color: getCssVar('button', 'active-color');
228
+ border-color: transparent;
229
+ background-color: transparent;
230
+ }
231
+ }
232
+ }
233
+
234
+ @include m(text) {
235
+ border-color: transparent;
236
+ background: transparent;
237
+ color: getCssVar('color', 'primary');
238
+ padding-left: 0;
239
+ padding-right: 0;
240
+ @include when(disabled) {
241
+ color: getCssVar('button', 'disabled', 'text-color');
242
+ background-color: transparent !important;
243
+ border-color: transparent !important;
244
+ }
245
+
246
+ &:not(.is-disabled) {
247
+ &:hover {
248
+ color: getCssVar('color', 'primary', 'light-3');
249
+ border-color: transparent;
250
+ background-color: transparent;
251
+ }
252
+
253
+ &:active {
254
+ color: getCssVar('color', 'primary', 'dark-2');
255
+ border-color: transparent;
256
+ background-color: transparent;
257
+ }
258
+ }
259
+ }
260
+
261
+ @include e(link) {
262
+ @include m(expand) {
263
+ letter-spacing: 0.3em;
264
+ margin-right: -0.3em;
265
+ }
266
+ }
267
+
268
+ @each $type in (primary, success, warning, danger, info) {
269
+ @include m($type) {
270
+ @include button-variant($type);
271
+ }
272
+ }
273
+
274
+ @each $size in (large, small) {
275
+ @include m($size) {
276
+ @include set-css-var-value(
277
+ ('button', 'size'),
278
+ map.get($input-height, $size)
279
+ );
280
+
281
+ height: getCssVar('button', 'size');
282
+
283
+ & [class*='#{$namespace}-icon'] {
284
+ & + span {
285
+ margin-left: map.get($button-icon-span-gap, $size);
286
+ }
287
+ }
288
+
289
+ & {
290
+ @include button-size(
291
+ map.get($button-padding-vertical, $size) - $button-border-width,
292
+ map.get($button-padding-horizontal, $size) - $button-border-width,
293
+ map.get($button-font-size, $size),
294
+ map.get($button-border-radius, $size)
295
+ );
296
+ }
297
+
298
+ @include when(circle) {
299
+ width: getCssVar('button', 'size');
300
+ padding: map.get($button-padding-vertical, $size) - $button-border-width;
301
+ }
302
+ }
303
+ }
304
+ }
@@ -0,0 +1,80 @@
1
+ @use 'mixins/mixins' as *;
2
+ @use 'mixins/var' as *;
3
+ @use 'common/var' as *;
4
+
5
+ @include b(calendar) {
6
+ @include set-component-css-var('calendar', $calendar);
7
+
8
+ background-color: getCssVar('fill-color', 'blank');
9
+
10
+ @include e(header) {
11
+ display: flex;
12
+ justify-content: space-between;
13
+ padding: 12px 20px;
14
+ border-bottom: getCssVar('calendar', 'header-border-bottom');
15
+ }
16
+
17
+ @include e(title) {
18
+ color: getCssVar('text-color');
19
+ align-self: center;
20
+ }
21
+
22
+ @include e(body) {
23
+ padding: 12px 20px 35px;
24
+ }
25
+ }
26
+
27
+ @include b(calendar-table) {
28
+ table-layout: fixed;
29
+ width: 100%;
30
+
31
+ thead th {
32
+ padding: 12px 0;
33
+ color: getCssVar('text-color', 'regular');
34
+ font-weight: normal;
35
+ }
36
+
37
+ &:not(.is-range) {
38
+ td.prev,
39
+ td.next {
40
+ color: getCssVar('text-color', 'placeholder');
41
+ }
42
+ }
43
+
44
+ td {
45
+ border-bottom: getCssVar('calendar', 'border');
46
+ border-right: getCssVar('calendar', 'border');
47
+ vertical-align: top;
48
+ transition: background-color getCssVar('transition-duration', 'fast') ease;
49
+
50
+ @include when(selected) {
51
+ background-color: getCssVar('calendar', 'selected-bg-color');
52
+ }
53
+
54
+ @include when(today) {
55
+ color: getCssVar('color-primary');
56
+ }
57
+ }
58
+
59
+ tr:first-child td {
60
+ border-top: getCssVar('calendar', 'border');
61
+ }
62
+
63
+ tr td:first-child {
64
+ border-left: getCssVar('calendar', 'border');
65
+ }
66
+
67
+ tr.#{$namespace}-calendar-table__row--hide-border td {
68
+ border-top: none;
69
+ }
70
+
71
+ @include b(calendar-day) {
72
+ box-sizing: border-box;
73
+ padding: 8px;
74
+ height: getCssVar('calendar', 'cell-width');
75
+ &:hover {
76
+ cursor: pointer;
77
+ background-color: getCssVar('calendar', 'selected-bg-color');
78
+ }
79
+ }
80
+ }
@@ -0,0 +1,45 @@
1
+ @use 'mixins/mixins' as *;
2
+ @use 'mixins/var' as *;
3
+ @use 'common/var' as *;
4
+
5
+ @include b(card) {
6
+ @include set-component-css-var('card', $card);
7
+ }
8
+
9
+ @include b(card) {
10
+ border-radius: getCssVar('card', 'border-radius');
11
+ border: 1px solid getCssVar('card', 'border-color');
12
+ background-color: getCssVar('card', 'bg-color');
13
+ overflow: hidden;
14
+ color: getCssVar('text-color', 'primary');
15
+ transition: getCssVar('transition-duration');
16
+
17
+ @include when(always-shadow) {
18
+ box-shadow: getCssVar('box-shadow', 'light');
19
+ }
20
+
21
+ @include when(hover-shadow) {
22
+ &:hover,
23
+ &:focus {
24
+ box-shadow: getCssVar('box-shadow', 'light');
25
+ }
26
+ }
27
+
28
+ @include e(header) {
29
+ padding: calc(#{getCssVar('card', 'padding')} - 2px)
30
+ getCssVar('card', 'padding');
31
+ border-bottom: 1px solid getCssVar('card', 'border-color');
32
+ box-sizing: border-box;
33
+ }
34
+
35
+ @include e(body) {
36
+ padding: getCssVar('card', 'padding');
37
+ }
38
+
39
+ @include e(footer) {
40
+ padding: calc(#{getCssVar('card', 'padding')} - 2px)
41
+ getCssVar('card', 'padding');
42
+ border-top: 1px solid getCssVar('card', 'border-color');
43
+ box-sizing: border-box;
44
+ }
45
+ }
@@ -0,0 +1,58 @@
1
+ @use 'mixins/mixins' as *;
2
+ @use 'common/var' as *;
3
+
4
+ @include b(carousel) {
5
+ @include e(item) {
6
+ position: absolute;
7
+ top: 0;
8
+ left: 0;
9
+ width: 100%;
10
+ height: 100%;
11
+ display: inline-block;
12
+ overflow: hidden;
13
+ z-index: calc(getCssVar('index', 'normal') - 1);
14
+
15
+ @include when(active) {
16
+ z-index: calc(getCssVar('index', 'normal') - 1);
17
+ }
18
+
19
+ @include when(animating) {
20
+ transition: transform 0.4s ease-in-out;
21
+ }
22
+
23
+ @include m(card) {
24
+ width: 50%;
25
+ transition: transform 0.4s ease-in-out;
26
+
27
+ &.is-in-stage {
28
+ cursor: pointer;
29
+ z-index: getCssVar('index', 'normal');
30
+
31
+ &:hover .#{$namespace}-carousel__mask,
32
+ &.is-hover .#{$namespace}-carousel__mask {
33
+ opacity: 0.12;
34
+ }
35
+ }
36
+
37
+ &.is-active {
38
+ z-index: calc(getCssVar('index', 'normal') + 1);
39
+ }
40
+ }
41
+
42
+ @include m(card-vertical) {
43
+ width: 100%;
44
+ height: 50%;
45
+ }
46
+ }
47
+
48
+ @include e(mask) {
49
+ position: absolute;
50
+ width: 100%;
51
+ height: 100%;
52
+ top: 0;
53
+ left: 0;
54
+ background-color: getCssVar('color', 'white');
55
+ opacity: 0.24;
56
+ transition: getCssVar('transition-duration', 'fast');
57
+ }
58
+ }