.user-list-item {
  @include outer-container;
  border-top: 1px solid $gray--lightest;
  display: flex;
  position: relative;

  @include media($sm-screen) {
    padding: .7em 0;
  }

  &:first-child {
    border-top: none;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
  }

  &:last-child {
    border-bottom: none;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
  }
}

.project-user {
  &__user {
    min-width: 300px;
    padding: .7em 1em;

    &__avatar {
      float: left;

      a {
        display: flex;
      }
    }

    &__name {
      padding: 3px 10px 3px 35px;

      @include media($sm-screen) {
        padding: 3px 0 3px 35px;
      }

      a {
        color: $text--dark;

        &:hover {
          color: $blue;
          text-decoration: underline;
        }
      }
    }
  }

  &__conversation, &__button-container {
    border-right: 1px solid $gray--lightest;
    width: 50px;

    &:first-child {
      border-left: 1px solid $gray--lightest;
    }

    &:focus, span:focus {
      outline: none;
    }
  }

  &__button {
    align-items: center;
    color: $text--light;
    display: flex;
    font-size: $header-font-size-small;
    height: 100%;
    justify-content: center;
    width: 100%;

    &:hover {
      background: $blue--background;
      color: $blue;
      transition: none;
    }

    &--default {
      &:hover {
        background: $gray--background;
        color: $gray--darkest;
      }
    }

    &--success {
      &:hover {
        background: $green--lighter;
        color: $green;
      }
    }

    &--danger {
      &:hover {
        background: $red--light;
        color: $red;
      }
    }
  }

  &__actions {
    display: flex;
  }
}

.user-list-item {
  h4 {
    color: $text--dark;
    font-size: $body-font-size-normal;
    font-weight: 700;
    margin: 0;
  }
}
