/
hamster75
/
Life
Обзор
Документация
Войти
/
hamster75
/
Life
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
6
CI/CD
Аналитика
Безопасность
master
css/shared.css
102 строки
3 KB
Dmitry Smirnov
my collection wip
28 май 2026, 17:27
28 май 2026, 17:27
3293513
Код
Авторство
О чём код?
/* ── Modal corner resize handles ──────────────────────────── */ .modal-resize-handle { position: absolute; width: 14px; height: 14px; z-index: 10; } .modal-resize-handle[data-dir="nw"] { top: 0; left: 0; cursor: nw-resize; } .modal-resize-handle[data-dir="ne"] { top: 0; right: 0; cursor: ne-resize; } .modal-resize-handle[data-dir="sw"] { bottom: 0; left: 0; cursor: sw-resize; } .modal-resize-handle[data-dir="se"] { bottom: 0; right: 0; cursor: se-resize; } /* ── data-tip tooltip ─────────────────────────────────────── */ #data-tip-box { position: fixed; max-width: 250px; background: var(--bg-panel); color: var(--text-mid); border: 1px solid var(--border-hi); border-radius: 4px; padding: 5px 8px; font-family: monospace; font-size: var(--fs-sm); line-height: 1.45; white-space: normal; pointer-events: none; z-index: 9999; opacity: 0; transition: opacity 0.1s; } #data-tip-box.visible { opacity: 1; } /* ── Shared sub-UI back button ────────────────────────────── */ .sub-ui-back { background: none; border: none; color: var(--text-dim); font-family: monospace; font-size: var(--fs-base); cursor: pointer; padding: 4px 10px; border-radius: 3px; transition: color 0.15s; white-space: nowrap; flex-shrink: 0; } .sub-ui-back:hover { color: var(--accent); } .sub-ui-nav-group { display: flex; gap: 4px; } /* Override old × sizing for buttons that became ← Назад */ #logic-close, #gates-close, #sl-search-close { font-size: var(--fs-base); padding: 4px 10px; } /* ── Quest completion toast (bottom-right) ───────────────── */ #quest-toast { position: fixed; bottom: 24px; right: 20px; z-index: 8000; background: var(--bg-panel); border: 1px solid var(--border-hi); border-radius: 7px; box-shadow: 0 8px 32px rgba(0,0,0,0.55); padding: 12px 36px 12px 14px; max-width: 260px; width: max-content; font-family: monospace; font-size: var(--fs-sm); color: var(--text-mid); opacity: 0; pointer-events: none; transform: translateX(calc(100% + 24px)); transition: opacity 0.2s, transform 0.22s; } #quest-toast.visible { opacity: 1; pointer-events: auto; transform: translateX(0); } #quest-toast-label { color: var(--accent); font-size: var(--fs-xs, 11px); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; } #quest-toast-title { color: var(--text-hi); font-size: var(--fs-base); line-height: 1.3; } #quest-toast-close { position: absolute; top: 7px; right: 9px; background: none; border: none; color: var(--text-dim); font-size: var(--fs-xl); line-height: 1; padding: 0 3px; cursor: pointer; font-family: monospace; } #quest-toast-close:hover { color: var(--text); }