.vmPopup { position: fixed !important; z-index: 999999; border-radius: 20px; height: min(720px, calc(100vh - 24px)); width: min(520px, calc(100vw - 24px)); min-width: min(325px, calc(100vw - 24px)); min-height: min(250px, calc(100vh - 24px)); background: var(--vmd-glass-bg); border: 1px solid var(--vmd-glass-border); border-top-color: var(--vmd-glass-edge); box-shadow: var(--vmd-glass-shadow); -webkit-backdrop-filter: blur(28px) saturate(150%); backdrop-filter: blur(28px) saturate(150%); overflow: hidden; transition: none; &.dragging, &.resizing { opacity: 0.8; } &.dragging { cursor: grabbing; } &[data-position="top-right"] { top: 12px; right: 12px; } &[data-position="top-left"] { top: 12px; left: 12px; } &[data-position="bottom-left"] { bottom: 12px; left: 12px; } &[data-position="bottom-right"] { bottom: 12px; right: 12px; } } .vmPopupContent { width: 100%; height: 100%; border-radius: inherit; } .vmPopupContent :global(.simplebar-track.simplebar-vertical) { right: 6px; z-index: 4; } .vmPopupContent :global(.simplebar-scrollbar) { z-index: 4; } .resizeHandleLeft, .resizeHandleRight { position: absolute; top: 0; bottom: 0; width: 6px; z-index: 2; cursor: ew-resize; } .resizeHandleTop, .resizeHandleBottom { position: absolute; left: 0; right: 0; height: 6px; z-index: 2; cursor: ns-resize; } .resizeHandleTop { top: 0; } .resizeHandleBottom { bottom: 0; } .resizeHandleLeft { left: 0; } .resizeHandleRight { right: 0; } .resizeHandleCornerTopLeft, .resizeHandleCornerTopRight, .resizeHandleCornerBottomLeft, .resizeHandleCornerBottomRight { position: absolute; width: 12px; height: 12px; z-index: 3; } .resizeHandleCornerTopLeft { top: 0; left: 0; cursor: nwse-resize; } .resizeHandleCornerTopRight { top: 0; right: 0; cursor: nesw-resize; } .resizeHandleCornerBottomLeft { bottom: 0; left: 0; cursor: nesw-resize; } .resizeHandleCornerBottomRight { bottom: 0; right: 0; cursor: nwse-resize; } .closePopupButton { width: 28px; height: 28px; padding: 6px; border: 0; background: transparent; color: var(--vmd-control-inactive-color); border-radius: 8px; display: flex; align-items: center; justify-content: center; } .vmPopup.dragging, .vmPopup.resizing { user-select: none; } .closePopupButton:hover { background: var(--vmd-content-highlight-bg); color: var(--vmd-base-color); }