// Lightning Design System 2.264.0-beta.1
// Copyright (c) 2015-present, salesforce.com, inc. All rights reserved
// Licensed under BSD 3-Clause - see LICENSE.txt or git.io/sfdc-license

@include deprecate('4.0.0', 'Feeds have been redesigned') {
  // Comment with replies
  .slds-comment__replies {
    padding-top: $spacing-medium;
    margin-left: ($square-icon-large-boundary + $spacing-small);

    > :last-child,
    > :last-child .slds-comment {
      padding-bottom: 0;

      &:before {
        content: none;
      }
    }

    .slds-comment {
      margin-bottom: 0;
      padding-bottom: $spacing-medium;
      position: relative;

      &:before {
        content: '';
        background: var(--slds-g-color-border-base-4, #{$color-border});
        height: 100%;
        width: $border-width-thin;
        position: absolute;
        left: ($square-icon-medium-boundary-alt * 0.5);
        top: 0;
        bottom: 0;
        margin-left: (($square-icon-medium-boundary-alt * 0.5) * -1);
        z-index: -1;
      }
    }

    .slds-avatar {
      border: $border-width-thick solid var(--slds-g-color-neutral-base-100, #{$color-background-alt});
    }
  }

  // Comment entity tags
  .slds-tags {
    display: flex;
  }

  .slds-tags__list {
    display: flex;
  }

  .slds-tags__item {
    margin-left: $spacing-xx-small;

    &:after {
      content: ', ';
    }

    &:last-child:after {
      content: none;
    }
  }

  // Comment + Publisher Attachments
  .slds-attachments {
    padding-bottom: $spacing-x-small;

    &:empty {
      padding: 0;
    }
  }

  .slds-attachments__item + .slds-attachments__item {
    margin-top: $spacing-medium;
  }
}
