You need to sign in or sign up before continuing.
_popovers.scss 687 Bytes
Newer Older
DESKTOP-HF0LVOG\myhr committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
@mixin popover-variant($background) {
  background-color: $background;

  .popover-header {
    background-color: $background;
    color: color-yiq($background);
    opacity: .6;
  }

  .popover-body {
    color: color-yiq($background);
  }

  .popover-header{
    border-color: rgba(color-yiq($background), .2);
  }

  &.bs-popover-top {
    .arrow::after {
      border-top-color: $background;
    }
  }

  &.bs-popover-right {
    .arrow::after {
      border-right-color: $background;
    }
  }

  &.bs-popover-bottom {
    .arrow::after {
      border-bottom-color: $background;
    }
  }

  &.bs-popover-left {
    .arrow::after {
      border-left-color: $background;
    }
  }
}