/**
 * Copyright (c) HashiCorp, Inc.
 * SPDX-License-Identifier: MPL-2.0
 */

%consul-bucket-list {
  & {
    @extend %horizontal-kv-list;
  }
  .partition::before {
    @extend %with-user-team-mask, %as-pseudo;
  }
  .nspace::before {
    @extend %with-folder-outline-mask, %as-pseudo;
  }
  .service {
    @extend %visually-hidden;
  }
  .peer::before {
    @extend %with-network-alt-mask, %as-pseudo;
  }
  .service + dd {
    @extend .hds-font-weight-semibold;
  }
  /* potential for some sort of %composite-kv thing here */
  dd:not(:last-child)::after {
    display: inline-block;
    content: '/';
    margin: 0 3px;
    /*TODO: In isolation this is not needed */
    margin-right: 6px;
  }
  .service + dd,
  dd + dt {
    margin-left: 0 !important;
  }
  /**/
}
.consul-bucket-list {
  @extend %consul-bucket-list;
}
