/
zxclovly
/
BlinkCode
Обзор
Документация
Войти
/
zxclovly
/
BlinkCode
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
src/components/QuickOpen/QuickOpen.css
119 строк
2 KB
lovlygod
feat(quick-open): add fuzzy file picker with Ctrl+P, fix Command Palette position
22 апр 2026, 02:36
22 апр 2026, 02:36
8c2df5c
Код
Авторство
О чём код?
.quickopen-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(0, 0, 0, 0.35); display: flex; align-items: flex-start; justify-content: center; padding-top: 8px; backdrop-filter: blur(2px); } .quickopen-modal { width: 580px; max-width: 90vw; max-height: 70vh; display: flex; flex-direction: column; background: var(--bg-panel, #1e1e1e); border: 1px solid var(--border-subtle, #2a2a2a); border-radius: 8px; box-shadow: 0 12px 40px rgba(0,0,0,0.45); overflow: hidden; } .quickopen-input-wrap { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border-subtle, #2a2a2a); } .quickopen-search-icon { color: var(--text-muted, #858585); flex-shrink: 0; } .quickopen-input { flex: 1; background: transparent; border: none; outline: none; color: var(--text-primary, #d4d4d4); font-size: 14px; font-family: var(--font-ui, 'Segoe UI', system-ui, sans-serif); } .quickopen-input::placeholder { color: var(--text-muted, #858585); } .quickopen-hint { display: flex; align-items: center; gap: 2px; font-size: 10px; color: var(--text-muted, #858585); flex-shrink: 0; white-space: nowrap; } .quickopen-hint-sep { margin: 0 4px; opacity: 0.5; } .quickopen-list { flex: 1; overflow-y: auto; padding: 4px; } .quickopen-empty { padding: 24px; text-align: center; color: var(--text-muted, #858585); font-size: 13px; } .quickopen-item { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 4px; cursor: pointer; font-size: 13px; line-height: 1.4; transition: background 0.08s; } .quickopen-item:hover, .quickopen-item-active { background: var(--bg-hover, #2a2d2e); } .quickopen-icon { display: inline-flex; flex-shrink: 0; opacity: 0.85; } .quickopen-name { color: var(--text-primary, #d4d4d4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-shrink: 0; } .quickopen-dir { color: var(--text-muted, #858585); font-size: 11px; margin-left: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }