/
Ged52
/
DomainInfo
Обзор
Документация
Войти
/
Ged52
/
DomainInfo
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
static/style.css
532 строки
8 KB
Oleg Korshunov
* что-то рабочее
13 июл 2026, 11:45
13 июл 2026, 11:45
cf6a9cc
Код
Авторство
О чём код?
*, *::before, *::after { box-sizing: border-box; } :root { --bg: #0f1419; --surface: #1a2332; --surface-2: #243044; --border: #2d3a4f; --text: #e8edf4; --text-muted: #8b9cb3; --accent: #3b82f6; --accent-hover: #2563eb; --ok: #22c55e; --caution: #eab308; --warning: #f97316; --error: #ef4444; --radius: 10px; } body { margin: 0; font-family: "Segoe UI", system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.5; min-height: 100vh; } .container { max-width: 1600px; margin: 0 auto; padding: 2rem 1.5rem 4rem; } header { margin-bottom: 2rem; } header h1 { margin: 0 0 0.5rem; font-size: 1.75rem; font-weight: 600; } .subtitle { margin: 0; color: var(--text-muted); } .input-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; } .input-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; } @media (max-width: 768px) { .input-grid { grid-template-columns: 1fr; } } .field label { display: block; font-weight: 500; margin-bottom: 0.5rem; } textarea { width: 100%; padding: 0.75rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-family: "Consolas", "Monaco", monospace; font-size: 0.9rem; resize: vertical; } textarea:focus { outline: none; border-color: var(--accent); } input[type="text"] { width: 100%; padding: 0.65rem 0.75rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 0.95rem; } input[type="text"]:focus { outline: none; border-color: var(--accent); } .hint { display: block; margin-top: 0.4rem; font-size: 0.8rem; color: var(--text-muted); } .dropzone { border: 2px dashed var(--border); border-radius: 8px; padding: 2rem 1rem; text-align: center; cursor: pointer; transition: border-color 0.15s, background 0.15s; background: var(--surface-2); } .dropzone:hover, .dropzone.dragover { border-color: var(--accent); background: rgba(59, 130, 246, 0.08); } .dropzone input { display: none; } .dropzone p { margin: 0; color: var(--text-muted); } .dropzone span { color: var(--accent); text-decoration: underline; } .file-name { margin-top: 0.5rem !important; color: var(--text) !important; font-size: 0.85rem; } .actions { display: flex; gap: 0.75rem; margin-top: 1.5rem; } button { padding: 0.65rem 1.25rem; border: none; border-radius: 8px; font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: background 0.15s; } button[type="submit"], #submit-btn { background: var(--accent); color: white; } button[type="submit"]:hover:not(:disabled), #submit-btn:hover:not(:disabled) { background: var(--accent-hover); } button:disabled { opacity: 0.6; cursor: not-allowed; } button.secondary { background: var(--surface-2); color: var(--text); border: 1px solid var(--border); } button.secondary:hover { background: var(--border); } .status { padding: 0.75rem 1rem; border-radius: 8px; margin-bottom: 1.5rem; } .status.info { background: rgba(59, 130, 246, 0.15); border: 1px solid rgba(59, 130, 246, 0.4); } .status.error { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.4); } .hidden { display: none !important; } .results-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.5rem; } .results-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; gap: 1rem; flex-wrap: wrap; } .header-actions { display: flex; gap: 0.75rem; } .results-header h2 { margin: 0; font-size: 1.15rem; } .results-header h2 span { color: var(--text-muted); font-weight: 400; } .table-wrap { overflow-x: auto; } table { width: 100%; border-collapse: collapse; font-size: 0.9rem; } th, td { padding: 0.65rem 0.75rem; text-align: left; border-bottom: 1px solid var(--border); } th { color: var(--text-muted); font-weight: 500; white-space: nowrap; } tbody tr:hover { background: rgba(255, 255, 255, 0.03); } .row-error { background: rgba(239, 68, 68, 0.06); } .domain { font-family: "Consolas", "Monaco", monospace; font-weight: 500; } .domain a { color: var(--text); text-decoration: none; } .domain a:hover { color: var(--accent); text-decoration: underline; } .ns { max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-muted); font-size: 0.82rem; } .ns-cell { min-width: 180px; max-width: 260px; } .ns-list { display: flex; flex-direction: column; gap: 0.15rem; } .ns-item { display: block; font-family: "Consolas", "Monaco", monospace; font-size: 0.78rem; color: var(--text-muted); line-height: 1.3; word-break: break-all; } .badge { display: inline-block; padding: 0.15rem 0.5rem; border-radius: 999px; font-size: 0.78rem; font-weight: 500; white-space: nowrap; } .badge.ok { background: rgba(34, 197, 94, 0.2); color: var(--ok); } .badge.caution { background: rgba(234, 179, 8, 0.2); color: var(--caution); } .badge.warning { background: rgba(249, 115, 22, 0.2); color: var(--warning); } .badge.expired { background: rgba(239, 68, 68, 0.2); color: var(--error); } .badge.unknown { background: var(--surface-2); color: var(--text-muted); } .muted { color: var(--text-muted); font-size: 0.85rem; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .empty-row td { text-align: center; color: var(--text-muted); padding: 2rem !important; } .actions-cell { white-space: nowrap; width: 1%; } .icon-btn { padding: 0.25rem 0.45rem; background: var(--surface-2); color: var(--text); border: 1px solid var(--border); border-radius: 6px; font-size: 0.9rem; line-height: 1; } .icon-btn:hover { background: var(--border); } .icon-btn.danger:hover { background: rgba(239, 68, 68, 0.25); border-color: rgba(239, 68, 68, 0.5); color: #fca5a5; } .icon-btn { display: inline-flex; align-items: center; justify-content: center; } .icon-btn.danger { font-weight: bold; } .page-nav { display: flex; gap: 0.5rem; } .user-menu { display: flex; align-items: center; gap: 0.75rem; } .header-content { display: flex; align-items: center; gap: 1.5rem; } dialog { border: 1px solid var(--border); border-radius: var(--radius); padding: 0; background: var(--surface); color: var(--text); width: min(480px, calc(100vw - 2rem)); } dialog::backdrop { background: rgba(0, 0, 0, 0.6); } #edit-form { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; } #edit-form h3 { margin: 0 0 0.75rem; font-family: "Consolas", "Monaco", monospace; } #edit-form label { margin-top: 0.5rem; font-size: 0.85rem; color: var(--text-muted); } .dialog-actions { display: flex; justify-content: flex-end; gap: 0.75rem; margin-top: 1rem; } .combo-wrapper { position: relative; display: flex; } .combo-wrapper input { padding-right: 2rem; } .combo-wrapper::after { content: "▼"; position: absolute; right: 0.5rem; top: 50%; transform: translateY(-50%); font-size: 0.75rem; color: var(--text-muted); pointer-events: none; } .checkbox-label { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; margin-top: 0.5rem; cursor: pointer; } .checkbox-label input[type="checkbox"] { width: 1.1rem; height: 1.1rem; accent-color: var(--accent); cursor: pointer; } #esia-date-section input[type="date"] { width: 100%; padding: 0.65rem 0.75rem; background: var(--surface-2); border: 1px solid var(--border); border-radius: 8px; color: var(--text); font-size: 0.95rem; } #esia-date-section input[type="date"]:focus { outline: none; border-color: var(--accent); } .esia { display: inline-flex; align-items: center; justify-content: center; min-width: 1.2rem; padding: 0.15rem 0.5rem; border-radius: 999px; font-size: 0.78rem; font-weight: 500; white-space: nowrap; } .esia.verified { background: rgba(34, 197, 94, 0.2); color: var(--ok); } .esia.pending { background: rgba(249, 115, 22, 0.2); color: var(--warning); }