@use "../../styles/typography" as type; .target { width: 100%; height: 32px; display: flex; align-items: center; overflow: hidden; background: var(--vscode-input-background); border: 1px solid var(--vscode-input-border, transparent); border-radius: 5px; &:focus-within, &[data-open] { border-color: var(--vscode-focusBorder); } } .trigger { min-width: 0; height: 100%; flex: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; padding: 0 8px; color: var(--vscode-input-foreground); background: transparent; border: 0; font-size: type.$font-size-xs; text-align: left; } .clear { width: 30px; height: 100%; flex: 0 0 30px; display: flex; align-items: center; justify-content: center; padding: 0; color: var(--vscode-descriptionForeground); background: transparent; border: 0; &:hover { color: var(--vscode-foreground); background: var(--vscode-list-hoverBackground); } } .summary { overflow: hidden; color: var(--vscode-descriptionForeground); text-align: right; text-overflow: ellipsis; white-space: nowrap; } .menu { position: fixed; z-index: 14001; display: flex; flex-direction: column; overflow: hidden; padding: 4px; background: var(--vscode-dropdown-background); border: 1px solid var(--vscode-dropdown-border); border-radius: var(--oa-overlay-radius); box-shadow: var(--oa-dropdown-shadow); button { width: 100%; min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 5px 8px; color: var(--vscode-dropdown-foreground); background: transparent; border: 0; border-radius: 4px; font-size: type.$font-size-xs; &:hover { color: var(--vscode-list-hoverForeground, var(--vscode-dropdown-foreground)); background: var(--vscode-list-hoverBackground); } &[aria-selected="true"] { color: var(--vscode-list-activeSelectionForeground); background: var(--vscode-list-activeSelectionBackground); } &[aria-selected="true"]:hover { background: var(--vscode-list-inactiveSelectionBackground, var(--vscode-list-activeSelectionBackground)); } } } .listFrame, .list { min-height: 32px; min-width: 0; } .listFrame { flex: 0 1 auto; overflow: hidden; } .option { min-width: 0; display: flex; align-items: center; gap: 8px; > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } } .check { width: 1.1em; flex: 0 0 1.1em; } .empty { padding: 8px; color: var(--vscode-descriptionForeground); font-size: type.$font-size-xs; } .footer { display: flex; justify-content: flex-end; gap: 4px; margin-top: 4px; padding-top: 4px; border-top: 1px solid var(--vscode-dropdown-border); button { width: auto; min-height: 28px; justify-content: center; color: var(--vscode-textLink-foreground); } }