@douyinfe/semi-foundation 2.51.3 → 2.52.0-beta.0
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/avatar/animation.scss +19 -0
- package/avatar/avatar.scss +313 -0
- package/avatar/variables.scss +66 -10
- package/datePicker/foundation.ts +7 -4
- package/input/input.scss +12 -3
- package/input/variables.scss +5 -0
- package/lib/cjs/avatar/animation.scss +19 -0
- package/lib/cjs/avatar/avatar.css +261 -0
- package/lib/cjs/avatar/avatar.scss +313 -0
- package/lib/cjs/avatar/variables.scss +66 -10
- package/lib/cjs/datePicker/foundation.d.ts +2 -2
- package/lib/cjs/datePicker/foundation.js +4 -2
- package/lib/cjs/input/input.css +12 -0
- package/lib/cjs/input/input.scss +12 -3
- package/lib/cjs/input/variables.scss +5 -0
- package/lib/cjs/modal/modal.css +3 -0
- package/lib/cjs/modal/modal.scss +5 -1
- package/lib/cjs/modal/modalFoundation.d.ts +1 -0
- package/lib/cjs/modal/variables.scss +4 -0
- package/lib/cjs/slider/constants.d.ts +1 -0
- package/lib/cjs/slider/constants.js +2 -1
- package/lib/cjs/slider/foundation.d.ts +7 -0
- package/lib/cjs/slider/slider.css +9 -0
- package/lib/cjs/slider/slider.scss +10 -0
- package/lib/cjs/slider/variables.scss +2 -0
- package/lib/cjs/treeSelect/foundation.d.ts +1 -0
- package/lib/cjs/treeSelect/foundation.js +1 -0
- package/lib/es/avatar/animation.scss +19 -0
- package/lib/es/avatar/avatar.css +261 -0
- package/lib/es/avatar/avatar.scss +313 -0
- package/lib/es/avatar/variables.scss +66 -10
- package/lib/es/datePicker/foundation.d.ts +2 -2
- package/lib/es/datePicker/foundation.js +4 -2
- package/lib/es/input/input.css +12 -0
- package/lib/es/input/input.scss +12 -3
- package/lib/es/input/variables.scss +5 -0
- package/lib/es/modal/modal.css +3 -0
- package/lib/es/modal/modal.scss +5 -1
- package/lib/es/modal/modalFoundation.d.ts +1 -0
- package/lib/es/modal/variables.scss +4 -0
- package/lib/es/slider/constants.d.ts +1 -0
- package/lib/es/slider/constants.js +2 -1
- package/lib/es/slider/foundation.d.ts +7 -0
- package/lib/es/slider/slider.css +9 -0
- package/lib/es/slider/slider.scss +10 -0
- package/lib/es/slider/variables.scss +2 -0
- package/lib/es/treeSelect/foundation.d.ts +1 -0
- package/lib/es/treeSelect/foundation.js +1 -0
- package/modal/modal.scss +5 -1
- package/modal/modalFoundation.ts +2 -1
- package/modal/variables.scss +4 -0
- package/package.json +3 -3
- package/slider/constants.ts +1 -0
- package/slider/foundation.ts +8 -1
- package/slider/slider.scss +10 -0
- package/slider/variables.scss +2 -0
- package/treeSelect/foundation.ts +2 -0
|
@@ -129,6 +129,170 @@
|
|
|
129
129
|
cursor: pointer;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
+
.semi-avatar-wrapper {
|
|
133
|
+
position: relative;
|
|
134
|
+
display: inline-flex;
|
|
135
|
+
flex-direction: column;
|
|
136
|
+
align-items: center;
|
|
137
|
+
width: fit-content;
|
|
138
|
+
}
|
|
139
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-bg {
|
|
140
|
+
position: absolute;
|
|
141
|
+
display: flex;
|
|
142
|
+
justify-content: center;
|
|
143
|
+
border-radius: 50%;
|
|
144
|
+
overflow: hidden;
|
|
145
|
+
}
|
|
146
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-bg-small {
|
|
147
|
+
width: 32px;
|
|
148
|
+
height: 32px;
|
|
149
|
+
}
|
|
150
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-bg-default {
|
|
151
|
+
width: 40px;
|
|
152
|
+
height: 40px;
|
|
153
|
+
}
|
|
154
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-bg-medium {
|
|
155
|
+
width: 48px;
|
|
156
|
+
height: 48px;
|
|
157
|
+
}
|
|
158
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-bg-large {
|
|
159
|
+
width: 72px;
|
|
160
|
+
height: 72px;
|
|
161
|
+
}
|
|
162
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-bg-extra-large {
|
|
163
|
+
width: 128px;
|
|
164
|
+
height: 128px;
|
|
165
|
+
}
|
|
166
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-bg-svg {
|
|
167
|
+
position: absolute;
|
|
168
|
+
}
|
|
169
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-bg-svg-small {
|
|
170
|
+
top: -28px;
|
|
171
|
+
scale: 0.4;
|
|
172
|
+
}
|
|
173
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-bg-svg-default {
|
|
174
|
+
top: -32px;
|
|
175
|
+
scale: 0.7;
|
|
176
|
+
}
|
|
177
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-bg-svg-medium {
|
|
178
|
+
top: -30px;
|
|
179
|
+
scale: 0.8;
|
|
180
|
+
}
|
|
181
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-bg-svg-large {
|
|
182
|
+
top: -30px;
|
|
183
|
+
scale: 1.1;
|
|
184
|
+
}
|
|
185
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-bg-svg-extra-large {
|
|
186
|
+
top: -32px;
|
|
187
|
+
scale: 1.4;
|
|
188
|
+
}
|
|
189
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-wrapper {
|
|
190
|
+
position: absolute;
|
|
191
|
+
display: flex;
|
|
192
|
+
justify-content: center;
|
|
193
|
+
}
|
|
194
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-wrapper .semi-avatar-top_slot {
|
|
195
|
+
color: var(--semi-color-bg-0);
|
|
196
|
+
font-weight: 600;
|
|
197
|
+
}
|
|
198
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-wrapper .semi-avatar-top_slot-content {
|
|
199
|
+
user-select: none;
|
|
200
|
+
position: relative;
|
|
201
|
+
line-height: normal;
|
|
202
|
+
}
|
|
203
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-wrapper .semi-avatar-top_slot-content-small {
|
|
204
|
+
font-size: 5px;
|
|
205
|
+
margin-top: 0px;
|
|
206
|
+
}
|
|
207
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-wrapper .semi-avatar-top_slot-content-default {
|
|
208
|
+
font-size: 6px;
|
|
209
|
+
margin-top: -2px;
|
|
210
|
+
}
|
|
211
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-wrapper .semi-avatar-top_slot-content-medium {
|
|
212
|
+
font-size: 8px;
|
|
213
|
+
margin-top: 0px;
|
|
214
|
+
}
|
|
215
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-wrapper .semi-avatar-top_slot-content-large {
|
|
216
|
+
font-size: 14px;
|
|
217
|
+
margin-top: 0px;
|
|
218
|
+
}
|
|
219
|
+
.semi-avatar-wrapper .semi-avatar-top_slot-wrapper .semi-avatar-top_slot-content-extra-large {
|
|
220
|
+
font-size: 16px;
|
|
221
|
+
margin-top: 0px;
|
|
222
|
+
}
|
|
223
|
+
.semi-avatar-wrapper .semi-avatar-bottom_slot {
|
|
224
|
+
color: var(--semi-color-bg-0);
|
|
225
|
+
position: absolute;
|
|
226
|
+
cursor: pointer;
|
|
227
|
+
bottom: 3.5px;
|
|
228
|
+
transform: translateY(50%);
|
|
229
|
+
user-select: none;
|
|
230
|
+
}
|
|
231
|
+
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_circle {
|
|
232
|
+
display: flex;
|
|
233
|
+
justify-content: center;
|
|
234
|
+
align-items: center;
|
|
235
|
+
background: var(--semi-color-primary);
|
|
236
|
+
border-radius: var(--semi-border-radius-circle);
|
|
237
|
+
line-height: normal;
|
|
238
|
+
}
|
|
239
|
+
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_circle-small {
|
|
240
|
+
width: 12px;
|
|
241
|
+
height: 12px;
|
|
242
|
+
font-size: 5px;
|
|
243
|
+
}
|
|
244
|
+
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_circle-default {
|
|
245
|
+
width: 16px;
|
|
246
|
+
height: 16px;
|
|
247
|
+
font-size: 12px;
|
|
248
|
+
}
|
|
249
|
+
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_circle-medium {
|
|
250
|
+
width: 18px;
|
|
251
|
+
height: 18px;
|
|
252
|
+
font-size: 12px;
|
|
253
|
+
}
|
|
254
|
+
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_circle-large {
|
|
255
|
+
width: 28px;
|
|
256
|
+
height: 28px;
|
|
257
|
+
font-size: 12px;
|
|
258
|
+
}
|
|
259
|
+
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_circle-extra-large {
|
|
260
|
+
width: 28px;
|
|
261
|
+
height: 28px;
|
|
262
|
+
font-size: 14px;
|
|
263
|
+
}
|
|
264
|
+
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_square {
|
|
265
|
+
display: flex;
|
|
266
|
+
justify-content: center;
|
|
267
|
+
align-items: center;
|
|
268
|
+
background: var(--semi-color-primary);
|
|
269
|
+
border-radius: 4px;
|
|
270
|
+
padding: 1px 4px;
|
|
271
|
+
font-weight: 600;
|
|
272
|
+
border-style: solid;
|
|
273
|
+
border-color: var(--semi-color-bg-0);
|
|
274
|
+
}
|
|
275
|
+
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_square-small {
|
|
276
|
+
font-size: 5px;
|
|
277
|
+
border-width: 2px;
|
|
278
|
+
}
|
|
279
|
+
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_square-default {
|
|
280
|
+
font-size: 12px;
|
|
281
|
+
border-width: 2px;
|
|
282
|
+
}
|
|
283
|
+
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_square-medium {
|
|
284
|
+
font-size: 12px;
|
|
285
|
+
border-width: 2px;
|
|
286
|
+
}
|
|
287
|
+
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_square-large {
|
|
288
|
+
font-size: 12px;
|
|
289
|
+
border-width: 2px;
|
|
290
|
+
}
|
|
291
|
+
.semi-avatar-wrapper .semi-avatar-bottom_slot-shape_square-extra-large {
|
|
292
|
+
font-size: 14px;
|
|
293
|
+
border-width: 2px;
|
|
294
|
+
}
|
|
295
|
+
|
|
132
296
|
.semi-avatar-group {
|
|
133
297
|
display: inline-block;
|
|
134
298
|
}
|
|
@@ -376,6 +540,103 @@
|
|
|
376
540
|
color: rgba(var(--semi-white), 1);
|
|
377
541
|
}
|
|
378
542
|
|
|
543
|
+
.semi-avatar-additionalBorder {
|
|
544
|
+
border-style: solid;
|
|
545
|
+
border-color: var(--semi-color-primary);
|
|
546
|
+
display: inline-block;
|
|
547
|
+
box-sizing: border-box;
|
|
548
|
+
position: absolute;
|
|
549
|
+
border-width: 1.5px;
|
|
550
|
+
top: -3.5px;
|
|
551
|
+
left: -3.5px;
|
|
552
|
+
}
|
|
553
|
+
.semi-avatar-additionalBorder-extra-extra-small {
|
|
554
|
+
width: 27px;
|
|
555
|
+
height: 27px;
|
|
556
|
+
}
|
|
557
|
+
.semi-avatar-additionalBorder-extra-small {
|
|
558
|
+
width: 31px;
|
|
559
|
+
height: 31px;
|
|
560
|
+
}
|
|
561
|
+
.semi-avatar-additionalBorder-small {
|
|
562
|
+
width: 39px;
|
|
563
|
+
height: 39px;
|
|
564
|
+
}
|
|
565
|
+
.semi-avatar-additionalBorder-default {
|
|
566
|
+
width: 47px;
|
|
567
|
+
height: 47px;
|
|
568
|
+
}
|
|
569
|
+
.semi-avatar-additionalBorder-medium {
|
|
570
|
+
width: 55px;
|
|
571
|
+
height: 55px;
|
|
572
|
+
}
|
|
573
|
+
.semi-avatar-additionalBorder-large {
|
|
574
|
+
width: 79px;
|
|
575
|
+
height: 79px;
|
|
576
|
+
}
|
|
577
|
+
.semi-avatar-additionalBorder-extra-large {
|
|
578
|
+
width: 135px;
|
|
579
|
+
height: 135px;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.semi-avatar-square.semi-avatar-additionalBorder-extra_extra_small {
|
|
583
|
+
border-radius: 3px;
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
.semi-avatar-square.semi-avatar-additionalBorder-extra_small {
|
|
587
|
+
border-radius: 3px;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.semi-avatar-square.semi-avatar-additionalBorder-small {
|
|
591
|
+
border-radius: 3px;
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
.semi-avatar-square.semi-avatar-additionalBorder-default {
|
|
595
|
+
border-radius: 3px;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
.semi-avatar-square.semi-avatar-additionalBorder-medium {
|
|
599
|
+
border-radius: 3px;
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
.semi-avatar-square.semi-avatar-additionalBorder-large {
|
|
603
|
+
border-radius: 6px;
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
.semi-avatar-additionalBorder-circle {
|
|
607
|
+
border-radius: var(--semi-border-radius-circle);
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
.semi-avatar-additionalBorder-animated {
|
|
611
|
+
animation: 800ms linear infinite semi-avatar-additionalBorder;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.semi-avatar-animated {
|
|
615
|
+
animation: 1000ms linear infinite semi-avatar-content;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
@keyframes semi-avatar-additionalBorder {
|
|
619
|
+
0% {
|
|
620
|
+
opacity: 1;
|
|
621
|
+
transform: scale(1);
|
|
622
|
+
}
|
|
623
|
+
to {
|
|
624
|
+
border-width: 0;
|
|
625
|
+
opacity: 0;
|
|
626
|
+
transform: scale(1.15);
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
@keyframes semi-avatar-content {
|
|
630
|
+
0% {
|
|
631
|
+
transform: scale(1);
|
|
632
|
+
}
|
|
633
|
+
50% {
|
|
634
|
+
transform: scale(0.9);
|
|
635
|
+
}
|
|
636
|
+
to {
|
|
637
|
+
transform: scale(1);
|
|
638
|
+
}
|
|
639
|
+
}
|
|
379
640
|
.semi-rtl .semi-avatar,
|
|
380
641
|
.semi-portal-rtl .semi-avatar {
|
|
381
642
|
direction: rtl;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
|
+
@import "./animation";
|
|
1
2
|
@import './variables.scss';
|
|
2
3
|
@import './mixin.scss';
|
|
3
4
|
|
|
5
|
+
|
|
4
6
|
$module: #{$prefix}-avatar;
|
|
5
7
|
$colors: 'amber', 'blue', 'cyan', 'green', 'grey', 'indigo', 'light-blue', 'light-green', 'lime', 'orange', 'pink',
|
|
6
8
|
'purple', 'red', 'teal', 'violet', 'yellow';
|
|
@@ -15,6 +17,12 @@ $colors: 'amber', 'blue', 'cyan', 'green', 'grey', 'indigo', 'light-blue', 'ligh
|
|
|
15
17
|
text-align: center;
|
|
16
18
|
vertical-align: middle;
|
|
17
19
|
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
18
26
|
&:focus-visible {
|
|
19
27
|
outline: $width-avatar-outline solid $color-avatar-outline-focus;
|
|
20
28
|
}
|
|
@@ -149,6 +157,197 @@ $colors: 'amber', 'blue', 'cyan', 'green', 'grey', 'indigo', 'light-blue', 'ligh
|
|
|
149
157
|
&:hover {
|
|
150
158
|
cursor: pointer;
|
|
151
159
|
}
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
.#{$module}-wrapper{
|
|
166
|
+
position: relative;
|
|
167
|
+
display: inline-flex;
|
|
168
|
+
flex-direction: column;
|
|
169
|
+
align-items: center;
|
|
170
|
+
width: fit-content;
|
|
171
|
+
.#{$module}-top_slot-bg{
|
|
172
|
+
position: absolute;
|
|
173
|
+
display: flex;
|
|
174
|
+
justify-content: center;
|
|
175
|
+
border-radius: 50%;
|
|
176
|
+
overflow: hidden;
|
|
177
|
+
|
|
178
|
+
&-small{
|
|
179
|
+
width: $width-avatar_small;
|
|
180
|
+
height: $width-avatar_small;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&-default{
|
|
184
|
+
width: $width-avatar_default;
|
|
185
|
+
height: $width-avatar_default;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
&-medium{
|
|
189
|
+
width: $width-avatar_medium;
|
|
190
|
+
height: $width-avatar_medium;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
&-large{
|
|
194
|
+
width: $width-avatar_large;
|
|
195
|
+
height: $width-avatar_large;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
&-extra-large{
|
|
199
|
+
width: $width-avatar_extra_large;
|
|
200
|
+
height: $width-avatar_extra_large;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
&-svg{
|
|
205
|
+
position: absolute;
|
|
206
|
+
}
|
|
207
|
+
&-svg-small{
|
|
208
|
+
top: $spacing-avatar-top_slot_small-shift;
|
|
209
|
+
scale: $spacing-avatar-top_slot_small-scale;
|
|
210
|
+
}
|
|
211
|
+
&-svg-default{
|
|
212
|
+
top: $spacing-avatar-top_slot_default-shift;
|
|
213
|
+
scale: $spacing-avatar-top_slot_default-scale;
|
|
214
|
+
}
|
|
215
|
+
&-svg-medium{
|
|
216
|
+
top: $spacing-avatar-top_slot_medium-shift;
|
|
217
|
+
scale: $spacing-avatar-top_slot_medium-scale;
|
|
218
|
+
}
|
|
219
|
+
&-svg-large{
|
|
220
|
+
top: $spacing-avatar-top_slot_large-shift;
|
|
221
|
+
scale: $spacing-avatar-top_slot_large-scale;
|
|
222
|
+
}
|
|
223
|
+
&-svg-extra-large{
|
|
224
|
+
top: $spacing-avatar-top_slot_extra_large-shift;
|
|
225
|
+
scale: $spacing-avatar-top_slot_extra_large-scale;
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.#{$module}-top_slot-bg-with_border{
|
|
230
|
+
//top: $width-avatar_additional-border;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.#{$module}-top_slot-wrapper{
|
|
234
|
+
position: absolute;
|
|
235
|
+
display: flex;
|
|
236
|
+
justify-content: center;
|
|
237
|
+
.#{$module}-top_slot{
|
|
238
|
+
color:$color-avatar-top_slot_text;
|
|
239
|
+
font-weight: $font-weight-bold;
|
|
240
|
+
&-content{
|
|
241
|
+
user-select: none;
|
|
242
|
+
position: relative;
|
|
243
|
+
line-height: normal;
|
|
244
|
+
&-small{
|
|
245
|
+
font-size: $font-avatar_top_slot-small-fontSize;
|
|
246
|
+
margin-top: $spacing-avatar-top_slot_small-content-marginTop;
|
|
247
|
+
}
|
|
248
|
+
&-default{
|
|
249
|
+
font-size: $font-avatar_top_slot-default-fontSize;
|
|
250
|
+
margin-top: $spacing-avatar-top_slot_default-content-marginTop;
|
|
251
|
+
}
|
|
252
|
+
&-medium{
|
|
253
|
+
font-size: $font-avatar_top_slot-medium-fontSize;
|
|
254
|
+
margin-top: $spacing-avatar-top_slot_medium-content-marginTop;
|
|
255
|
+
}
|
|
256
|
+
&-large{
|
|
257
|
+
font-size: $font-avatar_top_slot-large-fontSize;
|
|
258
|
+
margin-top: $spacing-avatar-top_slot_large-content-marginTop;
|
|
259
|
+
}
|
|
260
|
+
&-extra-large{
|
|
261
|
+
font-size: $font-avatar_top_slot-extra_large-fontSize;
|
|
262
|
+
margin-top: $spacing-avatar-top_slot_extra_large-content-marginTop;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
}
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
.#{$module}-bottom_slot{
|
|
272
|
+
color:var(--semi-color-bg-0);
|
|
273
|
+
position: absolute;
|
|
274
|
+
cursor: pointer;
|
|
275
|
+
bottom: $spacing-avatar_additional-borderGap + $width-avatar_additional-border;
|
|
276
|
+
transform: translateY(50%);
|
|
277
|
+
user-select: none;
|
|
278
|
+
&-shape_circle{
|
|
279
|
+
display: flex;
|
|
280
|
+
justify-content: center;
|
|
281
|
+
align-items: center;
|
|
282
|
+
background: $color-avatar-bottom_slot_bg;
|
|
283
|
+
border-radius: var(--semi-border-radius-circle);
|
|
284
|
+
line-height:normal;
|
|
285
|
+
}
|
|
286
|
+
&-shape_circle-small{
|
|
287
|
+
width:$width-avatar-bottom_slot_circle_small;
|
|
288
|
+
height:$width-avatar-bottom_slot_circle_small;
|
|
289
|
+
font-size: $font-avatar_bottom_slot-small-fontSize;
|
|
290
|
+
}
|
|
291
|
+
&-shape_circle-default{
|
|
292
|
+
width:$width-avatar-bottom_slot_circle_default;
|
|
293
|
+
height:$width-avatar-bottom_slot_circle_default;
|
|
294
|
+
font-size: $font-avatar_bottom_slot-default-fontSize;
|
|
295
|
+
}
|
|
296
|
+
&-shape_circle-medium{
|
|
297
|
+
width:$width-avatar-bottom_slot_circle_medium;
|
|
298
|
+
height:$width-avatar-bottom_slot_circle_medium;
|
|
299
|
+
font-size: $font-avatar_bottom_slot-medium-fontSize;
|
|
300
|
+
}
|
|
301
|
+
&-shape_circle-large{
|
|
302
|
+
width:$width-avatar-bottom_slot_circle_large;
|
|
303
|
+
height:$width-avatar-bottom_slot_circle_large;
|
|
304
|
+
font-size: $font-avatar_bottom_slot-large-fontSize;
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
&-shape_circle-extra-large{
|
|
308
|
+
width:$width-avatar-bottom_slot_circle_extra_large;
|
|
309
|
+
height:$width-avatar-bottom_slot_circle_extra_large;
|
|
310
|
+
font-size: $font-avatar_bottom_slot-extra_large-fontSize;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
&-shape_square{
|
|
316
|
+
display: flex;
|
|
317
|
+
justify-content: center;
|
|
318
|
+
align-items: center;
|
|
319
|
+
background: $color-avatar-bottom_slot_bg;
|
|
320
|
+
border-radius: $radius-avatar-bottom_slot_square;
|
|
321
|
+
padding: $spacing-avatar-bottom_slot_square-paddingY $spacing-avatar-bottom_slot_square-paddingX;
|
|
322
|
+
font-weight: $font-weight-bold;
|
|
323
|
+
border-style: solid;
|
|
324
|
+
border-color: $color-avatar-bottom_slot_square-border;
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
&-shape_square-small{
|
|
328
|
+
font-size: $font-avatar_bottom_slot-small-fontSize;
|
|
329
|
+
border-width: $width-avatar-bottom_slot_square_small-border;
|
|
330
|
+
}
|
|
331
|
+
&-shape_square-default{
|
|
332
|
+
font-size: $font-avatar_bottom_slot-default-fontSize;
|
|
333
|
+
border-width: $width-avatar-bottom_slot_square_default-border;
|
|
334
|
+
|
|
335
|
+
}
|
|
336
|
+
&-shape_square-medium{
|
|
337
|
+
font-size: $font-avatar_bottom_slot-medium-fontSize;
|
|
338
|
+
border-width: $width-avatar-bottom_slot_square_medium-border;
|
|
339
|
+
|
|
340
|
+
}
|
|
341
|
+
&-shape_square-large{
|
|
342
|
+
font-size: $font-avatar_bottom_slot-large-fontSize;
|
|
343
|
+
border-width: $width-avatar-bottom_slot_square_large-border;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
&-shape_square-extra-large{
|
|
347
|
+
font-size: $font-avatar_bottom_slot-extra_large-fontSize;
|
|
348
|
+
border-width: $width-avatar-bottom_slot_square_extra_large-border;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
152
351
|
}
|
|
153
352
|
|
|
154
353
|
.#{$module}-group {
|
|
@@ -206,6 +405,7 @@ $colors: 'amber', 'blue', 'cyan', 'green', 'grey', 'indigo', 'light-blue', 'ligh
|
|
|
206
405
|
}
|
|
207
406
|
}
|
|
208
407
|
|
|
408
|
+
|
|
209
409
|
.#{$module}-item-more {
|
|
210
410
|
background-color: $color-avatar_more_default-bg-default;
|
|
211
411
|
}
|
|
@@ -217,4 +417,117 @@ $colors: 'amber', 'blue', 'cyan', 'green', 'grey', 'indigo', 'light-blue', 'ligh
|
|
|
217
417
|
}
|
|
218
418
|
}
|
|
219
419
|
|
|
420
|
+
|
|
421
|
+
.#{$module}-additionalBorder{
|
|
422
|
+
border-style: solid;
|
|
423
|
+
border-color: $color-avatar_additional-border;
|
|
424
|
+
display: inline-block;
|
|
425
|
+
box-sizing: border-box;
|
|
426
|
+
position: absolute;
|
|
427
|
+
border-width: $width-avatar_additional-border;
|
|
428
|
+
top: -1 * $width-avatar_additional-border - $spacing-avatar_additional-borderGap;
|
|
429
|
+
left: -1 * $width-avatar_additional-border - $spacing-avatar_additional-borderGap;
|
|
430
|
+
|
|
431
|
+
&-extra-extra-small{
|
|
432
|
+
width: $width-avatar_extra_extra_small + 2 * $spacing-avatar_additional-borderGap + 2 * $width-avatar_additional-border;
|
|
433
|
+
height: $width-avatar_extra_extra_small + 2 * $spacing-avatar_additional-borderGap + 2 * $width-avatar_additional-border;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
&-extra-small{
|
|
437
|
+
width: $width-avatar_extra-small + 2 * $spacing-avatar_additional-borderGap + 2 * $width-avatar_additional-border;
|
|
438
|
+
height: $width-avatar_extra-small + 2 * $spacing-avatar_additional-borderGap + 2 * $width-avatar_additional-border;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
&-small{
|
|
442
|
+
width: $width-avatar_small + 2 * $spacing-avatar_additional-borderGap + 2 * $width-avatar_additional-border;
|
|
443
|
+
height: $width-avatar_small + 2 * $spacing-avatar_additional-borderGap + 2 * $width-avatar_additional-border;
|
|
444
|
+
}
|
|
445
|
+
|
|
446
|
+
&-default{
|
|
447
|
+
width: $width-avatar_default + 2 * $spacing-avatar_additional-borderGap + 2 * $width-avatar_additional-border;
|
|
448
|
+
height: $width-avatar_default + 2 * $spacing-avatar_additional-borderGap + 2 * $width-avatar_additional-border;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
&-medium{
|
|
452
|
+
|
|
453
|
+
width: $width-avatar_medium + 2 * $spacing-avatar_additional-borderGap + 2 * $width-avatar_additional-border;
|
|
454
|
+
height: $width-avatar_medium + 2 * $spacing-avatar_additional-borderGap + 2 * $width-avatar_additional-border;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
&-large{
|
|
458
|
+
width: $width-avatar_large + 2 * $spacing-avatar_additional-borderGap + 2 * $width-avatar_additional-border;
|
|
459
|
+
height: $width-avatar_large + 2 * $spacing-avatar_additional-borderGap + 2 * $width-avatar_additional-border;
|
|
460
|
+
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
&-extra-large{
|
|
464
|
+
width: $width-avatar_extra_large + 2 * $spacing-avatar_additional-borderGap + 2 * $width-avatar_additional-border;
|
|
465
|
+
height: $width-avatar_extra_large + 2 * $spacing-avatar_additional-borderGap + 2 * $width-avatar_additional-border;
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.#{$module}-square.#{$module}-additionalBorder-extra_extra_small {
|
|
470
|
+
border-radius: $radius-avatar-extra_extra_small;
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
.#{$module}-square.#{$module}-additionalBorder-extra_small {
|
|
474
|
+
border-radius: $radius-avatar-extra_small;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
.#{$module}-square.#{$module}-additionalBorder-small {
|
|
478
|
+
border-radius: $radius-avatar-small;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.#{$module}-square.#{$module}-additionalBorder-default {
|
|
482
|
+
border-radius: $radius-avatar-default;
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.#{$module}-square.#{$module}-additionalBorder-medium {
|
|
486
|
+
border-radius: $radius-avatar-medium;
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
.#{$module}-square.#{$module}-additionalBorder-large {
|
|
490
|
+
border-radius: $radius-avatar-large;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.#{$module}-additionalBorder-circle{
|
|
494
|
+
border-radius: var(--semi-border-radius-circle);
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
.#{$module}-additionalBorder-animated{
|
|
499
|
+
animation: $animation_duration-additionalBorder linear infinite #{$module}-additionalBorder;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.#{$module}-animated{
|
|
503
|
+
animation: $animation_duration-content linear infinite #{$module}-content ;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
@keyframes #{$module}-additionalBorder {
|
|
507
|
+
0% {
|
|
508
|
+
opacity: $animation_opacity-additionalBorder-start;
|
|
509
|
+
transform: scale($animation_scale-additionalBorder-start)
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
to {
|
|
513
|
+
border-width: $animation_width-additionalBorder-end;
|
|
514
|
+
opacity: $animation_opacity-additionalBorder-end;
|
|
515
|
+
transform: scale($animation_scale-additionalBorder-end);
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
@keyframes #{$module}-content{
|
|
520
|
+
0% {
|
|
521
|
+
transform: scale($animation_scale-content-start)
|
|
522
|
+
}
|
|
523
|
+
|
|
524
|
+
50% {
|
|
525
|
+
transform: scale($animation_scale-content-middle)
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
to {
|
|
529
|
+
transform: scale($animation_scale-content-start)
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
|
|
220
533
|
@import './rtl.scss';
|