_account.scss 1.05 KiB
Newer Older
.account {
  display: flex !important;
  &.-header {
    justify-content: center;
    width: 16rem;
  .account_avatar {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    align-content: center;
    canvas {
      display: block;

    .account_avatar_loading {
      width: 100%;
      height: 100%;
    }
  }

  .account_information {
    padding-left: 0.325rem; /* gap from avatar */
  .account_change_blockies {
    align-items: center;
    display: flex;
    padding-left: 1rem;
  }

  .account_name {
    color: $black;
    font-weight: 500;
    margin-bottom: 0.1rem;
    /**
     * Information component when used with components
     * in the header requires more bottom margin than
     * where it is used in the AccountList component
  }

  .account_address {
    font-family: $mono;
    color: $grey;
    font-size: ms(-2);
    line-height: ms(-2) * 1.3;
    user-select: text;