.bim-dialog { position: absolute; background-color: var(--bim-dialog-bg, var(--bim-bg-elevated)); border: 1px solid var(--bim-dialog-border-color, var(--bim-border-default)); border-radius: 6px; box-shadow: var(--bim-shadow-lg); display: flex; flex-direction: column; z-index: 10001; color: var(--bim-dialog-title-color, var(--bim-text-primary)); overflow: hidden; min-width: 200px; min-height: 100px; pointer-events: auto; } .bim-dialog-header { height: 32px; background-color: var(--bim-dialog-header-bg, var(--bim-bg-inset)); display: flex; align-items: center; justify-content: space-between; padding: 0 10px; cursor: default; user-select: none; border-bottom: 1px solid var(--bim-dialog-border-color, var(--bim-border-default)); flex-shrink: 0; } .bim-dialog-header.draggable { cursor: move; } .bim-dialog-title { font-size: 14px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--bim-dialog-title-color); } .bim-dialog-close { cursor: pointer; font-size: 18px; color: var(--bim-text-tertiary); line-height: 1; margin-left: 8px; } .bim-dialog-close:hover { color: var(--bim-text-primary); } .bim-dialog-content { flex: 1; overflow: auto; font-size: 14px; color: var(--bim-dialog-text-color, var(--bim-text-secondary)); } /* 缩放句柄 */ .bim-dialog-resize-handle { position: absolute; width: 10px; height: 10px; bottom: 0; right: 0; cursor: se-resize; z-index: 10; } .bim-dialog-resize-handle::after { content: ''; position: absolute; bottom: 3px; right: 3px; width: 6px; height: 6px; border-right: 2px solid var(--bim-text-tertiary); border-bottom: 2px solid var(--bim-text-tertiary); } .bim-dialog-resize-handle:hover::after { border-color: var(--bim-text-primary); }