@import "variables";

.vn-popover {
    z-index: 20;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: $color-font;

    opacity: 0;
    transform: translateY(-9px);
    transition-property: opacity, transform;
    transition-duration: 200ms;
    transition-timing-function: ease-in-out;

    &.shown {
        transform: translateY(0);
        opacity: 1;
    }
    & > .window {
        position: absolute;
        box-shadow: 0 1px 6px $color-shadow;
        z-index: 0;

        & > .arrow {
            width: 16px;
            height: 16px;
            margin: -8px;
            background-color: $color-bg-panel;
            box-shadow: 0 1px 6px $color-shadow;
            position: absolute;
            transform: rotate(45deg);
            z-index: -1;
        }
        & > .content {
            border-radius: 1px;
            background-color: $color-bg-panel;
            height: inherit;
            overflow: auto;
        }
    }
}