.overlayView { position: absolute; pointer-events: none; top: 0px; width: 100vw; height: 100vh; z-index: 2002; // shouold be greater than LightboxView's z-index so that link lines and the presentation mini player appear /* background-color: pink; */ user-select: none; } .overlayWindow-outerDiv { border-radius: 5px; overflow: hidden; display: flex; flex-direction: column; top: 0px; left: 0px; pointer-events: all; box-shadow: black 5px 5px 5px; } .overlayWindow-outerDiv, .overlayView-wrapperDiv { position: absolute; z-index: 1; } .overlayWindow-titleBar { flex: 0 1 20px; background: darkslategray; color: whitesmoke; text-align: center; cursor: move; z-index: 1; } .overlayWindow-content { flex: 1 1 auto; display: flex; flex-direction: column; z-index: 0; } .overlayWindow-closeButton { float: right; height: 20px; width: 20px; padding: 0px; background-color: inherit; } .overlayWindow-resizeDragger { position: absolute; right: 0px; bottom: 0px; width: 10px; height: 10px; cursor: nwse-resize; } .overlayView-doc { z-index: 9002; //so that it appears above chroma position: absolute; top: 0px; left: 0px; }