index.less 781 Bytes
Newer Older
jim's avatar
jim committed
1
@import '~antd/lib/style/themes/default.less';
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17

.avatarList {
  display: inline-block;
  ul {
    display: inline-block;
    margin-left: 8px;
    font-size: 0;
  }
}

.avatarItem {
  display: inline-block;
  font-size: @font-size-base;
  margin-left: -8px;
  width: @avatar-size-base;
  height: @avatar-size-base;
nikogu's avatar
nikogu committed
18 19 20 21 22
  :global {
    .ant-avatar {
      border: 1px solid #fff;
    }
  }
23 24 25 26 27 28 29 30 31 32 33
}

.avatarItemLarge {
  width: @avatar-size-lg;
  height: @avatar-size-lg;
}

.avatarItemSmall {
  width: @avatar-size-sm;
  height: @avatar-size-sm;
}
niko's avatar
niko committed
34 35 36 37 38 39 40 41 42

.avatarItemMini {
  width: 20px;
  height: 20px;
  :global {
    .ant-avatar {
      width: 20px;
      height: 20px;
      line-height: 20px;
43 44 45 46 47

      .ant-avatar-string {
        font-size: 12px;
        line-height: 18px;
      }
niko's avatar
niko committed
48 49 50
    }
  }
}