@prefix: graphjs;

@{prefix}-overlay.@{prefix}-root {
    display: table;
    position: fixed;
    z-index: 999999;  // Maximum value is 2147483647 but it will crash all external parts
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    // ThemeOption: color: @text-color-normal;
    background-color: fade(black, 85%);
    &.@{prefix}-scroll {
        display: block;
        overflow-y: auto;
        & > div {
            display: block;
        }
    }
    & > div {
        display: table-cell;
        width: 100%;
        height: auto;
        min-height: 100%;
        padding: 5%;
        text-align: center;
        vertical-align: middle;
        & > * {
            margin-left: auto;
            margin-right: auto;
            text-align: left;
        }
    }
}