.sky-overlay {
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  pointer-events: auto;

  &-position {
    &-absolute {
      position: absolute;
    }

    &-fixed {
      position: fixed;
    }
  }
}

.sky-overlay-content {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-self: start;
  pointer-events: auto;
}

.sky-overlay-backdrop {
  background: rgba(0, 0, 0, 0.5);
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  position: absolute;
}

.enable-pointer-events-pass-through {
  pointer-events: none;

  .sky-overlay-backdrop {
    pointer-events: none;
  }

  .sky-overlay-content {
    pointer-events: auto;
  }
}
