@import '../../theme/mixins';

.Container {
  flex-direction: row;
  padding: var(--spacing-xs) var(--spacing-m);
  flex: 0 0 auto;

  &.small {
    padding-left: 0;
    padding-right: 0;

    .Avatar a {
      width: 32px;
      height: 32px;
    }

    .UserInfo {
      span {
        font-size: var(--small-font);
        line-height: 14px;
      }
    }
  }
}

.Avatar {
  margin-right: 12px;
  flex: 0 0 auto;
  justify-content: flex-start;

  a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
  }

  img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
  }
}

.UserInfo {
  flex: 1 1 auto;
  min-height: 0;
  min-width: 0;
  justify-content: center;
  align-items: stretch;
  align-content: stretch;

  a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
    color: var(--color-main)!important;
  }

  span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 400;
    line-height: 18px;
    color: var(--color-neutral-02);
  }
}

.Button {
  align-items: center;
  justify-content: center;
  margin-left: var(--spacing-xs);
}


.SkeletonAvatar {
  margin-right: 12px;
}
