/
eugenesic
/
MetaStream-Flask
Обзор
Документация
Войти
/
eugenesic
/
MetaStream-Flask
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
chart/static/style.css
156 строк
2 KB
Evgenii Zagorodskikh
refresh
04 дек 2025, 12:34
04 дек 2025, 12:34
e3f1346
Код
Авторство
О чём код?
/* chart/static/style.css */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: #f5f5f5; color: #333; } .container { display: flex; height: 100vh; } /* SIDEBAR */ .sidebar { width: 280px; background: #ffffff; border-right: 1px solid #e0e0e0; padding: 20px; overflow-y: auto; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .sidebar h2 { font-size: 20px; margin-bottom: 20px; color: #1976d2; } .control-group { margin-bottom: 15px; } .control-group label { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; color: #666; margin-bottom: 5px; } .control-group select { width: 100%; padding: 8px 10px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; background: white; cursor: pointer; transition: border-color 0.2s; } .control-group select:focus { outline: none; border-color: #1976d2; } .btn-load { width: 100%; padding: 10px; background: #1976d2; color: white; border: none; border-radius: 4px; font-size: 14px; font-weight: 600; cursor: pointer; transition: background 0.2s; margin-top: 10px; } .btn-load:hover { background: #1565c0; } .btn-load:active { background: #0d47a1; } .info-panel { margin-top: 30px; padding: 15px; background: #f9f9f9; border-radius: 4px; border: 1px solid #e0e0e0; } .info-panel p { font-size: 12px; color: #666; margin-bottom: 10px; } #stats { font-size: 12px; color: #333; line-height: 1.6; } /* MAIN CHART AREA */ .chart-area { flex: 1; padding: 20px; overflow: hidden; position: relative; } .chart { width: 100%; height: 100%; background: white; border-radius: 4px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); } .loading { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 18px; color: #1976d2; } .error { padding: 20px; background: #ffebee; color: #c62828; border-radius: 4px; font-size: 14px; } /* Responsive */ @media (max-width: 768px) { .container { flex-direction: column; } .sidebar { width: 100%; border-right: none; border-bottom: 1px solid #e0e0e0; max-height: 200px; } .chart-area { flex: 1; } }