/
Alekron
/
Unbeatable_Benchmarking
Обзор
Документация
Войти
/
Alekron
/
Unbeatable_Benchmarking
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
Frontend/css/graph.css
155 строк
3 KB
Alekron
Initial Frontend
23 ноя 2025, 09:12
23 ноя 2025, 09:12
c461277
Код
Авторство
О чём код?
.charts-container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0 20px; margin-bottom: 40px; } .chart-mock { height: 220px; background: var(--panel); border-radius: 10px; position: relative; } .chart-mock::before { content: "Срок"; position: absolute; top: 10px; left: 10px; color: var(--muted); font-size: 1.5em; } .chart-mock .column-label { position: absolute; bottom: 10px; right: 10px; color: var(--accent); font-size: 1.5em; } .bottom-controls-mock { cursor: pointer; width: 100%; max-width: 800px; height: 120px; background: #ffffff; border-radius: 10px; margin: 0 auto; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); } .charts-container { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 0 20px; margin-bottom: 40px; max-width: 1200px; margin-left: auto; margin-right: auto; } .chart-block { height: 280px; background: var(--panel); border-radius: 12px; padding: 15px; position: relative; transition: box-shadow 0.3s ease, border-color 0.3s ease; border: 3px solid transparent; display: flex; flex-direction: column; } .bank-title { margin: 0 0 10px 0; font-size: 1.1rem; color: var(--text-main); font-weight: 500; } .canvas-wrapper { flex-grow: 1; position: relative; width: 100%; height: 100%; } .chart-block.best-bank { border-color: #2eff7e; box-shadow: 0 0 20px rgba(46, 255, 126, 0.4); } .chart-block.worst-bank { border-color: #ff4757; box-shadow: 0 0 15px rgba(255, 71, 87, 0.3); } .bottom-controls-panel { width: 100%; max-width: 800px; background: var(--panel); border-radius: 15px; margin: 0 auto 40px auto; padding: 25px; box-shadow: 0 10px 25px rgba(0,0,0,0.3); color: var(--text-main); } .slider-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; font-size: 1.1rem; } .slider-current-value { font-weight: bold; color: var(--accent); font-size: 1.3rem; } .range-slider-container { position: relative; padding: 0 10px; } input[type=range] { -webkit-appearance: none; width: 100%; height: 8px; border-radius: 5px; background: #4a4d66; outline: none; } input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 24px; height: 24px; border-radius: 50%; background: var(--accent); cursor: pointer; box-shadow: 0 0 10px rgba(94, 129, 244, 0.5); transition: background .3s ease; } input[type=range]::-webkit-slider-thumb:hover { background: #7a97ff; } .slider-ticks { display: flex; justify-content: space-between; margin-top: 10px; color: var(--muted); font-size: 0.9rem; }