//== Popover Custom Mixin
//
//##

@mixin popover-custom($header-bg, $header-color) {
  .popover-header {
    background: $header-bg;
    color: $header-color;
  }

  // Popover arrow will have the same bg color as header
  &.bs-popover-bottom,
  &.bs-popover-auto[x-placement^="bottom"] {
    .popover-header::before {
      display: none;
    }

    > .arrow::after {
      border-bottom-color: $header-bg;
    }
  }
}
