/
axe
/
gala
Обзор
Документация
Войти
/
axe
/
gala
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
main.css
371 строка
7 KB
gusen
app beautify2
25 июн 2026, 18:05
25 июн 2026, 18:05
143035d
Код
Авторство
О чём код?
@import "mobile.css"; @import "components.css"; @import "animation.css"; /* ============================================ main.css — Глобальные стили + адаптив ============================================ */ /* ---------- БАЗА ---------- */ * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif; background: radial-gradient(ellipse at 50% 0%, #1a1a2e 0%, #0f0f1a 100%); color: #e2e8f0; min-height: 100vh; padding: 20px 20px 80px; background-size: 100% 100%; } .container { max-width: 720px; margin: 0 auto; } /* ---------- ШАПКА ---------- */ .header { text-align: center; padding: 20px 0 10px; } .header h1 { font-size: 28px; font-weight: 700; letter-spacing: -0.5px; background: linear-gradient(135deg, #a78bfa, #60a5fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin: 0; line-height: 1.2; } /* ---------- КАРТОЧКИ ---------- */ .card { display: flex; flex-direction: column; gap: 15px; background: rgba(255,255,255,0.05); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.06); border-radius: 20px; padding: 24px; margin-bottom: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.35); transition: transform 0.2s ease, box-shadow 0.2s ease; } .card:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(0,0,0,0.45); } .card h2 { font-size: 20px; font-weight: 600; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 2px solid rgba(99,102,241,0.30); color: #e2e8f0; display: inline-block; } .card p { color: #94a3b8; font-size: 14px; margin: 0 0 16px; line-height: 1.5; } /* ---------- ПОЛЯ ВВОДА ---------- */ label { display: block; font-size: 13px; font-weight: 500; color: #94a3b8; margin-bottom: 4px; } input, select { width: 100%; padding: 10px 14px; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; background-color: rgba(255,255,255,0.04); color: #e2e8f0; font-size: 15px; font-family: inherit; transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box; } input:focus, select:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99,102,241,0.15); } input[type="number"]::-webkit-inner-spin-button { opacity: 0.5; } /* ---------- РЕЗУЛЬТАТ ---------- */ .result { margin-top: 16px; padding: 16px 20px; background-color: #a78bfa20; border-left: 3px solid #a78bfa; color: #e2e8f0; line-height: 1.6; font-weight: 500; } /* ---------- СЛАЙДЕР РАНГОВ ---------- */ .rank-slider-container { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 16px 0; } .rank-slider { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 8px 0; background: rgba(255,255,255,0.03); border-radius: 14px; border: 1px solid rgba(255,255,255,0.05); } .slider-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.04); color: #94a3b8; font-size: 20px; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; } .slider-btn:hover:not(:disabled) { background: rgba(99,102,241,0.20); color: #a78bfa; border-color: #6366f1; } .slider-btn:disabled { opacity: 0.25; cursor: not-allowed; } .rank-display { display: flex; flex-direction: column; align-items: center; min-width: 100px; padding: 4px 12px; } .aura-icon { width: 60px; height: 60px; object-fit: contain; border-radius: 50%; border: 2px solid rgba(255,255,255,0.06); padding: 4px; background: rgba(255,255,255,0.03); } .rank-name { font-weight: 600; font-size: 17px; margin-top: 4px; color: #e2e8f0; } .rank-votes { font-size: 13px; color: #64748b; } .rank-arrow { font-size: 22px; color: #6366f1; } /* ---------- КОНСТРУКТОР ---------- */ .builder { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; background: rgba(255,255,255,0.03); border-radius: 12px; padding: 8px; border: 1px solid rgba(255,255,255,0.05); } .builder-item { display: flex; flex-direction: column; align-items: center; padding: 6px 4px; border-radius: 10px; transition: background 0.2s; width: 60px; } .builder-item:hover { background: rgba(255,255,255,0.04); } .builder-icon-wrapper { display: flex; flex-direction: column; align-items: center; gap: 4px; } .builder-img { width: 44px; height: 44px; object-fit: contain; cursor: pointer; transition: transform 0.15s; border-radius: 8px; padding: 2px; } .builder-img:hover { transform: scale(1.10); } .builder-minus { width: 28px; height: 28px; border-radius: 8px; border: none; background: rgba(239,68,68,0.12); color: #f87171; font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; } .builder-minus:hover { background: rgba(239,68,68,0.25); color: #fca5a5; } /* ---------- ВИЗУАЛЬНЫЙ РЯД ---------- */ .visual-icons { display: flex; flex-wrap: wrap; align-items: center; gap: 0px; padding: 10px 12px; min-height: 56px; background: rgba(255,255,255,0.03); border-radius: 10px; border: 1px dashed rgba(255,255,255,0.06); margin: 8px 0; } .visual-icons-core { flex-direction: column; } .visual-icons img { width: 34px; height: 34px; object-fit: contain; } .visual-icons img:not(:first-child) { margin-left: -8px; } .visual-icons span { color: #64748b; font-size: 14px; } .total-votes { font-size: 20px; font-weight: 600; text-align: center; padding: 6px 0; color: #a78bfa; } /* ---------- БЛОК 3: ЯДРА ---------- */ .core-icon { width: 24px; height: 24px; vertical-align: middle; margin-right: 6px; } .cores-result { display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 6px 0; } .cores-result .icon { width: 30px; height: 30px; object-fit: contain; } .cores-result .votes-total { color: #64748b; font-size: 13px; margin-top: 4px; width: 100%; } .cores-result .empty-message { color: #64748b; font-size: 14px; } /* ---------- УТИЛИТЫ ---------- */ .builder-actions { display: flex; justify-content: flex-end; gap: 8px; margin: 6px 0 4px; } .input-group { margin-bottom: 14px; } .input-group label { display: flex; align-items: center; gap: 8px; margin-bottom: 2px; }