@qsxy/element-plus-react 1.0.0-next.18 → 1.0.0-next.21
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.
- package/README.md +12 -39
- package/dist/Breadcrumb/BreadcrumbItem.js +4 -7
- package/dist/Switch/Switch.js +50 -17
- package/dist/Switch/typings.d.ts +4 -0
- package/dist/Tooltip/Tooltip.js +2 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/package.json +1 -2
- package/theme-chalk/{avatar/index.scss → avatar.scss} +1 -1
- package/theme-chalk/{badge/index.scss → badge.scss} +1 -1
- package/theme-chalk/{breadcrumb/index.scss → breadcrumb.scss} +1 -1
- package/theme-chalk/build.scss +1 -1
- package/theme-chalk/button/_mixins.scss +3 -3
- package/theme-chalk/button/button-group.scss +1 -1
- package/theme-chalk/button/button.scss +2 -2
- package/theme-chalk/button/index.scss +2 -2
- package/theme-chalk/button--bak/_mixins.scss +317 -0
- package/theme-chalk/button--bak/button-group.scss +83 -0
- package/theme-chalk/button--bak/button.scss +382 -0
- package/theme-chalk/button--bak/index.scss +2 -0
- package/theme-chalk/button-group.scss +80 -0
- package/theme-chalk/button.scss +304 -0
- package/theme-chalk/calendar/date-picker.scss +1 -1
- package/theme-chalk/calendar/date-range-picker.scss +1 -1
- package/theme-chalk/calendar/date-table.scss +164 -156
- package/theme-chalk/calendar/date-table.scss--bak +156 -0
- package/theme-chalk/calendar/index.scss +6 -6
- package/theme-chalk/calendar/month-table.scss +1 -1
- package/theme-chalk/calendar/picker-panel.scss +1 -1
- package/theme-chalk/calendar/year-table.scss +1 -1
- package/theme-chalk/{card/index.scss → card.scss} +1 -1
- package/theme-chalk/{carousel/index.scss → carousel.scss} +1 -1
- package/theme-chalk/{cascader/cascader-panel.scss → cascader-panel.scss} +1 -1
- package/theme-chalk/{cascader/cascader.scss → cascader.scss} +1 -1
- package/theme-chalk/{checkbox-button/index.scss → checkbox-button.scss} +1 -1
- package/theme-chalk/{checkbox-group/index.scss → checkbox-group.scss} +1 -1
- package/theme-chalk/{checkbox/index.scss → checkbox.scss} +2 -1
- package/theme-chalk/col/_mixins.scss +5 -3
- package/theme-chalk/col/index.scss +2 -2
- package/theme-chalk/{collapse/index.scss → collapse.scss} +1 -1
- package/theme-chalk/color/index.scss +20 -0
- package/theme-chalk/{color-picker/index.scss → color-picker.scss} +3 -3
- package/theme-chalk/common/index.scss +127 -178
- package/theme-chalk/common/var.scss +1632 -0
- package/theme-chalk/dark/css-vars.scss +39 -0
- package/theme-chalk/dark/var.scss +225 -0
- package/theme-chalk/{date-picker/index.scss → date-picker.scss} +1 -1
- package/theme-chalk/{date-time-picker/time-picker.scss → date-time-picker.scss} +1 -1
- package/theme-chalk/{descriptions/descriptions-item.scss → descriptions-item.scss} +1 -1
- package/theme-chalk/{descriptions/descriptions.scss → descriptions.scss} +1 -1
- package/theme-chalk/dev.scss +2 -2
- package/theme-chalk/{dialog/index.scss → dialog.scss} +1 -1
- package/theme-chalk/display.scss +1 -1
- package/theme-chalk/{divider/index.scss → divider.scss} +1 -1
- package/theme-chalk/doc.scss +2 -2
- package/theme-chalk/{drawer/index.scss → drawer.scss} +1 -1
- package/theme-chalk/{dropdown/index.scss → dropdown.scss} +1 -1
- package/theme-chalk/{empty/index.scss → empty.scss} +1 -1
- package/theme-chalk/{form/index.scss → form.scss} +1 -1
- package/theme-chalk/icon/fonts.scss +9 -9
- package/theme-chalk/icon/index.scss +1 -1
- package/theme-chalk/icon/scss/_animated.scss +1 -0
- package/theme-chalk/icon/scss/_bordered-pulled.scss +1 -0
- package/theme-chalk/icon/scss/_core.scss +2 -0
- package/theme-chalk/icon/scss/_duotone-icons.scss +3 -4
- package/theme-chalk/icon/scss/_fixed-width.scss +1 -0
- package/theme-chalk/icon/scss/_functions.scss +2 -1
- package/theme-chalk/icon/scss/_icons.scss +3 -4
- package/theme-chalk/icon/scss/_list.scss +1 -0
- package/theme-chalk/icon/scss/_mixins.scss +10 -7
- package/theme-chalk/icon/scss/_rotated-flipped.scss +1 -0
- package/theme-chalk/icon/scss/_screen-reader.scss +2 -0
- package/theme-chalk/icon/scss/_shims.scss +292 -290
- package/theme-chalk/icon/scss/_sizing.scss +2 -0
- package/theme-chalk/icon/scss/_stacked.scss +1 -0
- package/theme-chalk/icon/scss/brands.scss +8 -6
- package/theme-chalk/icon/scss/duotone.scss +6 -5
- package/theme-chalk/icon/scss/fontawesome.scss +13 -13
- package/theme-chalk/icon/scss/index.scss +12 -15
- package/theme-chalk/icon/scss/light.scss +3 -2
- package/theme-chalk/icon/scss/regular.scss +3 -2
- package/theme-chalk/icon/scss/solid.scss +3 -2
- package/theme-chalk/icon/scss/thin.scss +3 -2
- package/theme-chalk/icon/scss/{_variables.scss → variables.scss} +2 -0
- package/theme-chalk/index.scss +63 -57
- package/theme-chalk/input/_mixins.scss +1 -1
- package/theme-chalk/input/index.scss +2 -3
- package/theme-chalk/input/input-range.scss +2 -1
- package/theme-chalk/input/input.scss +2 -1
- package/theme-chalk/{input-number/index.scss → input-number.scss} +4 -4
- package/theme-chalk/{link/index.scss → link.scss} +1 -1
- package/theme-chalk/{loading/index.scss → loading.scss} +1 -1
- package/theme-chalk/{message-box/index.scss → message-box.scss} +1 -1
- package/theme-chalk/{message/index.scss → message.scss} +2 -1
- package/theme-chalk/mixins/_button.scss +224 -0
- package/theme-chalk/mixins/_col.scss +33 -0
- package/theme-chalk/mixins/_var.scss +67 -0
- package/theme-chalk/{common/_var.scss → mixins/config.scss} +5 -6
- package/theme-chalk/mixins/function.scss +99 -0
- package/theme-chalk/mixins/mixins.scss +240 -0
- package/theme-chalk/mixins/utils.scss +39 -0
- package/theme-chalk/{notification/index.scss → notification.scss} +2 -1
- package/theme-chalk/pagination.scss +303 -0
- package/theme-chalk/{popconfirm/index.scss → popconfirm.scss} +1 -1
- package/theme-chalk/{popover/index.scss → popover.scss} +1 -1
- package/theme-chalk/popper.scss +104 -0
- package/theme-chalk/{popper/index.scss → popper.scss--bak} +1 -1
- package/theme-chalk/{progress/index.scss → progress.scss} +1 -1
- package/theme-chalk/radio-button.scss +169 -0
- package/theme-chalk/{radio/radio-button.scss → radio-button.scss--bak} +1 -1
- package/theme-chalk/{radio-group/index.scss → radio-group.scss} +1 -10
- package/theme-chalk/{radio/radio.scss → radio.scss} +1 -1
- package/theme-chalk/{row/index.scss → row.scss} +1 -1
- package/theme-chalk/{scrollbar/index.scss → scrollbar.scss} +1 -1
- package/theme-chalk/select/index.scss +1 -1
- package/theme-chalk/{skeleton/index.scss → skeleton.scss} +1 -1
- package/theme-chalk/switch.scss +300 -0
- package/theme-chalk/{switch/index.scss → switch.scss--bak} +1 -1
- package/theme-chalk/{table/index.scss → table.scss} +1 -1
- package/theme-chalk/{tabs/index.scss → tabs.scss} +1 -1
- package/theme-chalk/{tag/index.scss → tag.scss} +1 -1
- package/theme-chalk/{time-line/_timeline.scss → time-line.scss} +1 -1
- package/theme-chalk/{time-picker/index.scss → time-picker.scss} +1 -1
- package/theme-chalk/{date-time-picker/time-range-picker.scss → time-range-picker.scss} +1 -1
- package/theme-chalk/{time-line/_timeline-item.scss → timeline-item.scss} +1 -1
- package/theme-chalk/{tooltip/index.scss → tooltip.scss} +1 -1
- package/theme-chalk/{transfer/index.scss → transfer.scss} +1 -1
- package/theme-chalk/{transition/index.scss → transition.scss} +1 -1
- package/theme-chalk/tree/_directory.scss +1 -1
- package/theme-chalk/tree/_tree.scss +1 -1
- package/theme-chalk/tree/index.scss +2 -2
- package/theme-chalk/{tree-select/index.scss → tree-select.scss} +1 -1
- package/theme-chalk/{upload/index.scss → upload.scss} +1 -1
- package/theme-chalk/var.scss +83 -0
- package/theme-chalk/cascader/index.scss +0 -2
- package/theme-chalk/common/index.ts +0 -1
- package/theme-chalk/date-time-picker/index.scss +0 -3
- package/theme-chalk/descriptions/index.scss +0 -2
- package/theme-chalk/icon/scss/v4-shims.scss +0 -3
- package/theme-chalk/pagination/index.scss +0 -303
- package/theme-chalk/placeholder/index.scss +0 -120
- package/theme-chalk/radio/index.scss +0 -2
- package/theme-chalk/time-line/index.scss +0 -2
|
@@ -1,303 +0,0 @@
|
|
|
1
|
-
@use '../common/var';
|
|
2
|
-
|
|
3
|
-
.#{$namespace}-pagination {
|
|
4
|
-
--el-pagination-font-size: 14px;
|
|
5
|
-
--el-pagination-bg-color: var(--el-fill-color-blank);
|
|
6
|
-
--el-pagination-text-color: var(--el-text-color-primary);
|
|
7
|
-
--el-pagination-border-radius: 2px;
|
|
8
|
-
--el-pagination-button-color: var(--el-text-color-primary);
|
|
9
|
-
--el-pagination-button-width: 32px;
|
|
10
|
-
--el-pagination-button-height: 32px;
|
|
11
|
-
--el-pagination-button-disabled-color: var(--el-text-color-placeholder);
|
|
12
|
-
--el-pagination-button-disabled-bg-color: var(--el-fill-color-blank);
|
|
13
|
-
--el-pagination-button-bg-color: var(--el-fill-color);
|
|
14
|
-
--el-pagination-hover-color: var(--el-color-primary);
|
|
15
|
-
--el-pagination-font-size-small: 12px;
|
|
16
|
-
--el-pagination-button-width-small: 24px;
|
|
17
|
-
--el-pagination-button-height-small: 24px;
|
|
18
|
-
--el-pagination-button-width-large: 40px;
|
|
19
|
-
--el-pagination-button-height-large: 40px;
|
|
20
|
-
--el-pagination-item-gap: 16px;
|
|
21
|
-
white-space: nowrap;
|
|
22
|
-
color: var(--el-pagination-text-color);
|
|
23
|
-
font-size: var(--el-pagination-font-size);
|
|
24
|
-
font-weight: 400;
|
|
25
|
-
display: flex;
|
|
26
|
-
align-items: center;
|
|
27
|
-
|
|
28
|
-
.el-input__inner {
|
|
29
|
-
text-align: center;
|
|
30
|
-
-moz-appearance: textfield;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.el-select {
|
|
34
|
-
width: 128px;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
button {
|
|
38
|
-
display: flex;
|
|
39
|
-
justify-content: center;
|
|
40
|
-
align-items: center;
|
|
41
|
-
font-size: var(--el-pagination-font-size);
|
|
42
|
-
min-width: var(--el-pagination-button-width);
|
|
43
|
-
height: var(--el-pagination-button-height);
|
|
44
|
-
line-height: var(--el-pagination-button-height);
|
|
45
|
-
color: var(--el-pagination-button-color);
|
|
46
|
-
background: var(--el-pagination-bg-color);
|
|
47
|
-
padding: 0 4px;
|
|
48
|
-
border: none;
|
|
49
|
-
border-radius: var(--el-pagination-border-radius);
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
text-align: center;
|
|
52
|
-
box-sizing: border-box;
|
|
53
|
-
|
|
54
|
-
* {
|
|
55
|
-
pointer-events: none;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&:focus {
|
|
59
|
-
outline: none;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&:hover {
|
|
63
|
-
color: var(--el-pagination-hover-color);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&.is-active {
|
|
67
|
-
color: var(--el-pagination-hover-color);
|
|
68
|
-
cursor: default;
|
|
69
|
-
font-weight: 700;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&.is-active.is-disabled {
|
|
73
|
-
font-weight: 700;
|
|
74
|
-
color: var(--el-text-color-secondary);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
&:disabled,
|
|
78
|
-
&.is-disabled {
|
|
79
|
-
color: var(--el-pagination-button-disabled-color);
|
|
80
|
-
background-color: var(--el-pagination-button-disabled-bg-color);
|
|
81
|
-
cursor: not-allowed;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&:focus-visible {
|
|
85
|
-
outline: 1px solid var(--el-pagination-hover-color);
|
|
86
|
-
outline-offset: -1px;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.btn-prev .el-icon,
|
|
91
|
-
.btn-next .el-icon {
|
|
92
|
-
display: block;
|
|
93
|
-
font-size: 12px;
|
|
94
|
-
font-weight: 700;
|
|
95
|
-
width: inherit;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.el-pagination-item {
|
|
99
|
-
&:first-child,
|
|
100
|
-
&.is-simple {
|
|
101
|
-
margin-left: 0 !important;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&:last-child {
|
|
105
|
-
margin-right: 0 !important;
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.btn-prev {
|
|
110
|
-
margin-left: var(--el-pagination-item-gap);
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
&.is-background {
|
|
114
|
-
.btn-prev,
|
|
115
|
-
.btn-next,
|
|
116
|
-
li {
|
|
117
|
-
margin: 0 4px;
|
|
118
|
-
background-color: var(--el-pagination-button-bg-color);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
.btn-prev.is-active,
|
|
122
|
-
.btn-next.is-active,
|
|
123
|
-
li.is-active {
|
|
124
|
-
background-color: var(--el-color-primary);
|
|
125
|
-
color: var(--el-color-white);
|
|
126
|
-
}
|
|
127
|
-
|
|
128
|
-
.btn-prev:disabled,
|
|
129
|
-
.btn-prev.is-disabled,
|
|
130
|
-
.btn-next:disabled,
|
|
131
|
-
.btn-next.is-disabled,
|
|
132
|
-
li:disabled,
|
|
133
|
-
li.is-disabled {
|
|
134
|
-
color: var(--el-text-color-placeholder);
|
|
135
|
-
background-color: var(--el-disabled-bg-color);
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.btn-prev:disabled.is-active,
|
|
139
|
-
.btn-prev.is-disabled.is-active,
|
|
140
|
-
.btn-next:disabled.is-active,
|
|
141
|
-
.btn-next.is-disabled.is-active,
|
|
142
|
-
li:disabled.is-active,
|
|
143
|
-
li.is-disabled.is-active {
|
|
144
|
-
color: var(--el-text-color-secondary);
|
|
145
|
-
background-color: var(--el-fill-color-dark);
|
|
146
|
-
}
|
|
147
|
-
|
|
148
|
-
.btn-prev {
|
|
149
|
-
margin-left: var(--el-pagination-item-gap);
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.el-pagination__sizes,
|
|
155
|
-
.el-pagination__total {
|
|
156
|
-
margin-left: var(--el-pagination-item-gap);
|
|
157
|
-
font-weight: 400;
|
|
158
|
-
color: var(--el-text-color-regular);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
.el-pagination__total[disabled='true'] {
|
|
162
|
-
color: var(--el-text-color-placeholder);
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
.el-pagination__jump {
|
|
166
|
-
display: flex;
|
|
167
|
-
align-items: center;
|
|
168
|
-
margin-left: var(--el-pagination-item-gap);
|
|
169
|
-
font-weight: 400;
|
|
170
|
-
color: var(--el-text-color-regular);
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.el-pagination__jump[disabled='true'] {
|
|
174
|
-
color: var(--el-text-color-placeholder);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.el-pagination__goto {
|
|
178
|
-
margin-right: 8px;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.el-pagination__editor {
|
|
182
|
-
text-align: center;
|
|
183
|
-
box-sizing: border-box;
|
|
184
|
-
|
|
185
|
-
&.el-input {
|
|
186
|
-
width: 56px;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
.el-input__inner::-webkit-inner-spin-button,
|
|
190
|
-
.el-input__inner::-webkit-outer-spin-button {
|
|
191
|
-
-webkit-appearance: none;
|
|
192
|
-
margin: 0;
|
|
193
|
-
}
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.el-pagination__classifier {
|
|
197
|
-
margin-left: 8px;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.el-pagination__rightwrapper {
|
|
201
|
-
flex: 1;
|
|
202
|
-
display: flex;
|
|
203
|
-
align-items: center;
|
|
204
|
-
justify-content: flex-end;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.el-pagination--small {
|
|
208
|
-
.btn-prev,
|
|
209
|
-
.btn-next,
|
|
210
|
-
.el-pager li {
|
|
211
|
-
height: var(--el-pagination-button-height-small);
|
|
212
|
-
line-height: var(--el-pagination-button-height-small);
|
|
213
|
-
font-size: var(--el-pagination-font-size-small);
|
|
214
|
-
min-width: var(--el-pagination-button-width-small);
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
span:not([class*='suffix']),
|
|
218
|
-
button {
|
|
219
|
-
font-size: var(--el-pagination-font-size-small);
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
.el-select {
|
|
223
|
-
width: 100px;
|
|
224
|
-
}
|
|
225
|
-
}
|
|
226
|
-
|
|
227
|
-
.el-pagination--large {
|
|
228
|
-
.btn-prev,
|
|
229
|
-
.btn-next,
|
|
230
|
-
.el-pager li {
|
|
231
|
-
height: var(--el-pagination-button-height-large);
|
|
232
|
-
line-height: var(--el-pagination-button-height-large);
|
|
233
|
-
min-width: var(--el-pagination-button-width-large);
|
|
234
|
-
}
|
|
235
|
-
|
|
236
|
-
.el-select {
|
|
237
|
-
width: 160px;
|
|
238
|
-
}
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
.#{$namespace}-pager {
|
|
242
|
-
-webkit-user-select: none;
|
|
243
|
-
user-select: none;
|
|
244
|
-
list-style: none;
|
|
245
|
-
font-size: 0;
|
|
246
|
-
padding: 0;
|
|
247
|
-
margin: 0;
|
|
248
|
-
display: flex;
|
|
249
|
-
align-items: center;
|
|
250
|
-
|
|
251
|
-
li {
|
|
252
|
-
display: flex;
|
|
253
|
-
justify-content: center;
|
|
254
|
-
align-items: center;
|
|
255
|
-
font-size: var(--el-pagination-font-size);
|
|
256
|
-
min-width: var(--el-pagination-button-width);
|
|
257
|
-
height: var(--el-pagination-button-height);
|
|
258
|
-
line-height: var(--el-pagination-button-height);
|
|
259
|
-
color: var(--el-pagination-button-color);
|
|
260
|
-
background: var(--el-pagination-bg-color);
|
|
261
|
-
padding: 0 4px;
|
|
262
|
-
border: none;
|
|
263
|
-
border-radius: var(--el-pagination-border-radius);
|
|
264
|
-
cursor: pointer;
|
|
265
|
-
text-align: center;
|
|
266
|
-
box-sizing: border-box;
|
|
267
|
-
|
|
268
|
-
* {
|
|
269
|
-
pointer-events: none;
|
|
270
|
-
}
|
|
271
|
-
|
|
272
|
-
&:focus {
|
|
273
|
-
outline: none;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
|
-
&:hover {
|
|
277
|
-
color: var(--el-pagination-hover-color);
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
&.is-active {
|
|
281
|
-
color: var(--el-pagination-hover-color);
|
|
282
|
-
cursor: default;
|
|
283
|
-
font-weight: 700;
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
&.is-active.is-disabled {
|
|
287
|
-
font-weight: 700;
|
|
288
|
-
color: var(--el-text-color-secondary);
|
|
289
|
-
}
|
|
290
|
-
|
|
291
|
-
&:disabled,
|
|
292
|
-
&.is-disabled {
|
|
293
|
-
color: var(--el-pagination-button-disabled-color);
|
|
294
|
-
background-color: var(--el-pagination-button-disabled-bg-color);
|
|
295
|
-
cursor: not-allowed;
|
|
296
|
-
}
|
|
297
|
-
|
|
298
|
-
&:focus-visible {
|
|
299
|
-
outline: 1px solid var(--el-pagination-hover-color);
|
|
300
|
-
outline-offset: -1px;
|
|
301
|
-
}
|
|
302
|
-
}
|
|
303
|
-
}
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
@use '../common/var';
|
|
2
|
-
|
|
3
|
-
.#{$namespace}-skeleton {
|
|
4
|
-
--#{$namespace}-skeleton-color: var(--#{$namespace}-fill-color);
|
|
5
|
-
--#{$namespace}-skeleton-to-color: var(--#{$namespace}-fill-color-darker);
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.is-dark {
|
|
9
|
-
.#{$namespace}-skeleton {
|
|
10
|
-
--#{$namespace}-skeleton-color: #3c3f43;
|
|
11
|
-
--#{$namespace}-skeleton-to-color: #484c50;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.#{$namespace}-skeleton {
|
|
16
|
-
-webkit-box-pack: start;
|
|
17
|
-
-ms-flex-pack: start;
|
|
18
|
-
-webkit-box-align: start;
|
|
19
|
-
-ms-flex-align: start;
|
|
20
|
-
align-items: flex-start;
|
|
21
|
-
justify-content: flex-start;
|
|
22
|
-
display: flex;
|
|
23
|
-
|
|
24
|
-
&-paragraph {
|
|
25
|
-
justify-content: flex-start;
|
|
26
|
-
align-items: flex-start;
|
|
27
|
-
|
|
28
|
-
&-graph {
|
|
29
|
-
flex: 0 0 auto;
|
|
30
|
-
width: 60px;
|
|
31
|
-
height: 60px;
|
|
32
|
-
border-radius: 2px;
|
|
33
|
-
margin-right: 20px;
|
|
34
|
-
background-color: var(--#{$namespace}-skeleton-color);
|
|
35
|
-
|
|
36
|
-
&-circle {
|
|
37
|
-
border-radius: 50%;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
&-image {
|
|
41
|
-
width: 200px;
|
|
42
|
-
height: 200px;
|
|
43
|
-
display: flex;
|
|
44
|
-
align-items: center;
|
|
45
|
-
justify-content: center;
|
|
46
|
-
border-radius: 0;
|
|
47
|
-
|
|
48
|
-
& > svg {
|
|
49
|
-
color: var(--el-border-color);
|
|
50
|
-
fill: currentColor;
|
|
51
|
-
width: 22%;
|
|
52
|
-
height: 22%;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
&-image &-inner {
|
|
57
|
-
width: 12px;
|
|
58
|
-
height: 12px;
|
|
59
|
-
right: 18px;
|
|
60
|
-
top: 10px;
|
|
61
|
-
border-radius: 50%;
|
|
62
|
-
position: absolute;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
&-rows {
|
|
67
|
-
width: 100%;
|
|
68
|
-
|
|
69
|
-
.#{$namespace}-skeleton__item {
|
|
70
|
-
background-color: var(--#{$namespace}-skeleton-color);
|
|
71
|
-
border-radius: 4px;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
&-grid {
|
|
77
|
-
&-col {
|
|
78
|
-
flex: 1;
|
|
79
|
-
display: flex;
|
|
80
|
-
flex-direction: column;
|
|
81
|
-
align-items: flex-end;
|
|
82
|
-
|
|
83
|
-
& > p {
|
|
84
|
-
background-color: var(--#{$namespace}-skeleton-color);
|
|
85
|
-
border-radius: 4px;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
&:first-child {
|
|
89
|
-
align-items: flex-start; //first col align left
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&-graph {
|
|
95
|
-
display: inline-block;
|
|
96
|
-
width: 100%;
|
|
97
|
-
background-color: var(--#{$namespace}-skeleton-color);
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
&-active {
|
|
101
|
-
&.#{$namespace}-skeleton-graph,
|
|
102
|
-
.#{$namespace}-skeleton-paragraph-graph-image,
|
|
103
|
-
.#{$namespace}-skeleton-grid-col > p,
|
|
104
|
-
.#{$namespace}-skeleton-paragraph-rows > p {
|
|
105
|
-
background: linear-gradient(-45deg, var(--#{$namespace}-skeleton-color) 25%, var(--#{$namespace}-skeleton-to-color) 37%, var(--#{$namespace}-skeleton-color) 63%);
|
|
106
|
-
background-size: 400% 100% !important;
|
|
107
|
-
animation: skeleton-active 1.4s ease infinite;
|
|
108
|
-
}
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
@keyframes skeleton-active {
|
|
112
|
-
0% {
|
|
113
|
-
background-position: 100% 50%;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
100% {
|
|
117
|
-
background-position: 0 50%;
|
|
118
|
-
}
|
|
119
|
-
}
|
|
120
|
-
}
|