
  margin-inline-start: 9px;
}

.fxaccounts-enable-button {
  min-width: 120px;
  padding-inline: 16px;
  /* See bug 1626764: The width of button could go lesser than 120px in small window size which could wrap the texts into two lines in systems with different default fonts */
  flex-shrink: 0;
}

.fxaccounts-avatar-button {
  cursor: pointer;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.fxaccount-email {
  font-size: var(--font-size-small);
  vertical-align: middle;
}

.fxaccount-avatar {
  display: inline-block;
  vertical-align: middle;
  background-image: var(--avatar-url), url(chrome://browser/skin/fxa/avatar-color.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: var(--border-radius-circle);
  width: 32px;
  height: 32px;
}

@media not (prefers-contrast) {
  .fxaccounts-avatar-button:hover {
    background-color: transparent !important;
  }

  .fxaccounts-avatar-button:hover > .fxaccount-email {
    text-decoration: underline;
  }
}
PK