// discussion - elements - labels
// ====================

body.discussion, .discussion-module {
  .post-label {
    @include margin($baseline/4, $baseline/2, 0, 0);
    @extend %t-weight4;
    font-size: $forum-small-font-size;
    display: inline;
    white-space: nowrap;

    .icon {
      @include margin-right($baseline/5);
    }

    &.is-hidden {
      display: none;
    }

    &.post-label-pinned {
      color: $forum-color-pinned;
    }

    &.post-label-following {
      color: $forum-color-following;
    }

    &.post-label-reported {
      color: $forum-color-reported;
    }

    &.post-label-closed {
      color: $forum-color-closed;
    }

    &.post-label-by-staff {
      color: $forum-color-staff;
    }

    &.post-label-by-community-ta {
      color: $forum-color-community-ta;
    }
  }

  .user-label-staff {
    @include forum-user-label($forum-color-staff);
  }

  .user-label-community-ta {
    @include forum-user-label($forum-color-community-ta);
  }
}

// Make post labels tighter when shown inside the left nav
.forum-nav-thread-link {
  .forum-nav-thread-labels {
    .post-label {
      .icon {
        @include margin-right(0);
      }
    }
  }
}
