/
dstemnik
/
DSServices
Обзор
Документация
Войти
/
dstemnik
/
DSServices
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
test_app/static/css/admin_custom.css
202 строки
4 KB
Tem
first commit
03 дек 2025, 11:03
03 дек 2025, 11:03
8cd0ecb
Код
Авторство
О чём код?
/* Общий фон и типографика */ html, body { background: radial-gradient(circle at top left, #1a2440 0, #050816 45%, #02010f 100%); color: #e5f0ff; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } /* Убираем лишние серые линии, делаем всё более “плоским” */ #header, #content-main, #content-related, .breadcrumbs { border: none; } /* Шапка админки */ #header { background: transparent; padding: 24px 40px 8px; color: #e5f0ff; } /* Брендинг, который мы вывели в base_site.html */ .wb-admin-branding { display: flex; align-items: center; gap: 16px; } .wb-admin-logo-dot { width: 12px; height: 12px; border-radius: 999px; background: radial-gradient(circle at 30% 30%, #3df5ff, #13b5ff 50%, #0b6ff5 100%); box-shadow: 0 0 16px rgba(61, 245, 255, 0.7); } .wb-admin-logo-text { display: flex; flex-direction: column; } .wb-admin-logo-title { font-size: 18px; font-weight: 600; letter-spacing: 0.03em; } .wb-admin-logo-subtitle { font-size: 12px; opacity: 0.7; } /* Контейнер основного контента */ #content { max-width: 1240px; margin: 16px auto 40px; padding: 24px 32px 32px; border-radius: 24px; background: radial-gradient(circle at top left, rgba(72, 142, 255, 0.18), transparent 55%), radial-gradient(circle at bottom right, rgba(34, 197, 159, 0.18), transparent 55%), rgba(8, 18, 40, 0.96); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(120, 146, 255, 0.12); color: #e5f0ff; } /* Заголовки разделов */ #content h1, #content h2, #content h3 { color: #f4f7ff; letter-spacing: 0.02em; } /* Блоки (модули) на главной админки */ .module { background: rgba(5, 12, 32, 0.9); border-radius: 18px; border: 1px solid rgba(120, 146, 255, 0.22); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6); padding: 16px 20px; margin-bottom: 18px; } .module caption { background: transparent; color: #b9c6ff; font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: 0.12em; } /* Таблицы */ #content table { width: 100%; border-collapse: collapse; } #content table thead th { background: rgba(15, 29, 70, 0.9); color: #c7d2ff; font-size: 12px; font-weight: 500; padding: 10px 12px; border-bottom: 1px solid rgba(148, 163, 255, 0.35); } #content table tbody tr { background: transparent; } #content table tbody tr:nth-child(2n) { background: rgba(10, 21, 52, 0.7); } #content table tbody td { padding: 8px 12px; border-bottom: 1px solid rgba(30, 41, 118, 0.5); } /* Ссылки */ a { color: #38bdf8; } a:visited { color: #0ea5e9; } a:hover { color: #22d3ee; text-decoration: none; } /* Кнопки и submit */ .button, input[type="submit"], button { background: linear-gradient(135deg, #2563eb, #22c55e); border-radius: 999px; border: none; color: #f9fafb; padding: 6px 16px; font-size: 13px; font-weight: 500; cursor: pointer; box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4); transition: transform 0.08s ease-out, box-shadow 0.08s ease-out, background 0.12s ease-out; } .button:hover, input[type="submit"]:hover, button:hover { transform: translateY(-1px); box-shadow: 0 18px 40px rgba(37, 99, 235, 0.6); } /* Breadcrumbs */ .breadcrumbs { background: transparent; border-bottom: none; margin-bottom: 12px; padding-left: 0; color: #94a3ff; } /* Формы в админке */ fieldset { border-radius: 18px; border: 1px solid rgba(120, 146, 255, 0.28); padding: 16px 18px 12px; margin-bottom: 20px; background: rgba(7, 16, 44, 0.9); } fieldset h2 { font-size: 14px; color: #e5f0ff; } .form-row { padding: 6px 0; } .form-row label { color: #e5e7f5; } input[type="text"], input[type="password"], input[type="email"], select, textarea { background-color: rgba(15, 23, 42, 0.95); border-radius: 10px; border: 1px solid rgba(148, 163, 255, 0.55); color: #e5f0ff; } /* Сообщения */ ul.messagelist li { background: rgba(21, 128, 61, 0.18); border-color: rgba(34, 197, 94, 0.9); color: #bbf7d0; }