1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
| @import "../index";
|
| @avatar-list-prefix-cls: ~"@{ant-pro-prefix}-avatar-list";
| @avatar-list-item-prefix-cls: ~"@{ant-pro-prefix}-avatar-list-item";
|
| .@{avatar-list-prefix-cls} {
| display: inline-block;
|
| ul {
| list-style: none;
| display: inline-block;
| padding: 0;
| margin: 0 0 0 8px;
| font-size: 0;
| }
| }
|
| .@{avatar-list-item-prefix-cls} {
| display: inline-block;
| font-size: @font-size-base;
| margin-left: -8px;
| width: @avatar-size-base;
| height: @avatar-size-base;
|
| :global {
| .ant-avatar {
| border: 1px solid #fff;
| cursor: pointer;
| }
| }
|
| &.large {
| width: @avatar-size-lg;
| height: @avatar-size-lg;
| }
|
| &.small {
| width: @avatar-size-sm;
| height: @avatar-size-sm;
| }
|
| &.mini {
| width: 20px;
| height: 20px;
|
| :global {
| .ant-avatar {
| width: 20px;
| height: 20px;
| line-height: 20px;
|
| .ant-avatar-string {
| font-size: 12px;
| line-height: 18px;
| }
| }
| }
| }
| }
|
|