/* Стили системной панели метрик */ .system-panel { background: linear-gradient(135deg, rgba(26, 37, 47, 0.95), rgba(20, 30, 40, 0.9)); backdrop-filter: blur(20px); border-radius: 16px; border: 1px solid rgba(52, 152, 219, 0.3); box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(52, 152, 219, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1); margin-bottom: 2rem; overflow: hidden; position: relative; } .system-panel::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, #3498db, #2ecc71, #f39c12, #e74c3c, #9b59b6); background-size: 400% 400%; animation: gradientFlow 8s ease-in-out infinite; box-shadow: 0 3px 15px rgba(52, 152, 219, 0.3); } @keyframes gradientFlow { 0%, 100% { background-position: 0% 50%; } 25% { background-position: 100% 50%; } 50% { background-position: 200% 50%; } 75% { background-position: 300% 50%; } } /* Заголовок панели */ .system-panel-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.5rem; border-bottom: 1px solid rgba(52, 152, 219, 0.15); background: linear-gradient(135deg, rgba(52, 152, 219, 0.05), rgba(46, 204, 113, 0.03)); } .system-title { display: flex; align-items: center; font-size: 1.4rem; font-weight: 700; color: #ecf0f1; margin: 0; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); } .system-icon { font-size: 1.5rem; margin-right: 0.8rem; filter: drop-shadow(0 0 8px rgba(52, 152, 219, 0.4)); } /* Uptime информация */ .system-uptime { display: flex; align-items: center; gap: 0.5rem; } .uptime-label { color: #95a5a6; font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .uptime-value { color: #2ecc71; font-size: 0.9rem; font-weight: 700; background: linear-gradient(135deg, #2ecc71, #27ae60); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); font-family: 'Courier New', monospace; letter-spacing: 0.5px; } /* Сетка метрик */ .metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; padding: 1rem 1.5rem; } /* Карточки метрик */ .metric-card { display: flex; align-items: center; background: linear-gradient(135deg, rgba(52, 152, 219, 0.08), rgba(52, 152, 219, 0.03)); border: 1px solid rgba(52, 152, 219, 0.15); border-radius: 12px; padding: 1rem; transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); position: relative; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1); } .metric-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: linear-gradient(135deg, #3498db, #2ecc71); transition: all 0.4s ease; box-shadow: 0 0 10px rgba(52, 152, 219, 0.4); } .metric-card::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent, rgba(52, 152, 219, 0.02)); pointer-events: none; transition: all 0.4s ease; } .metric-card:hover { background: linear-gradient(135deg, rgba(52, 152, 219, 0.12), rgba(52, 152, 219, 0.06)); border-color: rgba(52, 152, 219, 0.25); transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), 0 0 20px rgba(52, 152, 219, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.15); } .metric-card:hover::before { width: 6px; box-shadow: 0 0 15px rgba(52, 152, 219, 0.6); } .metric-card:hover::after { background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent, rgba(52, 152, 219, 0.05)); } /* Специальные цвета для разных метрик */ .metric-card.cpu::before { background: linear-gradient(135deg, #3498db, #2980b9); box-shadow: 0 0 10px rgba(52, 152, 219, 0.4); } .metric-card.cpu:hover::before { box-shadow: 0 0 15px rgba(52, 152, 219, 0.6); } .metric-card.ram::before { background: linear-gradient(135deg, #e74c3c, #c0392b); box-shadow: 0 0 10px rgba(231, 76, 60, 0.4); } .metric-card.ram:hover::before { box-shadow: 0 0 15px rgba(231, 76, 60, 0.6); } .metric-card.disk::before { background: linear-gradient(135deg, #9b59b6, #8e44ad); box-shadow: 0 0 10px rgba(155, 89, 182, 0.4); } .metric-card.disk:hover::before { box-shadow: 0 0 15px rgba(155, 89, 182, 0.6); } /* Иконки метрик */ .metric-icon-wrapper { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; background: linear-gradient(135deg, rgba(52, 152, 219, 0.15), rgba(52, 152, 219, 0.08)); border-radius: 10px; margin-right: 0.8rem; flex-shrink: 0; transition: all 0.4s ease; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1); } .metric-card:hover .metric-icon-wrapper { background: linear-gradient(135deg, rgba(52, 152, 219, 0.2), rgba(52, 152, 219, 0.12)); transform: scale(1.1) rotate(5deg); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15), 0 0 20px rgba(52, 152, 219, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15); } .metric-icon { font-size: 1.3rem; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.3)); } /* Содержимое метрик */ .metric-content { flex: 1; min-width: 0; } .metric-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; } .metric-name { color: #ecf0f1; font-weight: 600; font-size: 0.85rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .metric-value { font-weight: 700; font-size: 1rem; background: linear-gradient(135deg, #3498db, #2ecc71); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; flex-shrink: 0; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3)); } /* Специальные цвета значений */ .metric-card.cpu .metric-value { background: linear-gradient(135deg, #3498db, #2980b9); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .metric-card.ram .metric-value { background: linear-gradient(135deg, #e74c3c, #c0392b); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .metric-card.disk .metric-value { background: linear-gradient(135deg, #9b59b6, #8e44ad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } /* Прогресс-бары */ .metric-progress-bar { width: 100%; height: 5px; background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(52, 152, 219, 0.05)); border-radius: 3px; overflow: hidden; margin-bottom: 0.5rem; position: relative; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2); } .metric-progress { height: 100%; border-radius: 3px; position: relative; overflow: hidden; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 10px rgba(52, 152, 219, 0.3); transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); } .metric-progress::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); animation: shimmer 4s ease-in-out infinite; } @keyframes shimmer { 0% { left: -100%; opacity: 0; } 50% { opacity: 1; } 100% { left: 100%; opacity: 0; } } /* Цвета прогресс-баров */ .cpu-progress { background: linear-gradient(135deg, #3498db, #2980b9); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 10px rgba(52, 152, 219, 0.4); } .ram-progress { background: linear-gradient(135deg, #e74c3c, #c0392b); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 10px rgba(231, 76, 60, 0.4); } .disk-progress { background: linear-gradient(135deg, #9b59b6, #8e44ad); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 10px rgba(155, 89, 182, 0.4); } /* Детали метрик */ .metric-details { display: flex; justify-content: space-between; align-items: center; gap: 0.5rem; } .metric-info { color: #bdc3c7; font-size: 0.7rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } .metric-frequency, .metric-type, .metric-range, .metric-speed { color: #95a5a6; font-size: 0.65rem; flex-shrink: 0; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); } /* Адаптивность */ @media (max-width: 1200px) { .metrics-grid { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 768px) { .metrics-grid { grid-template-columns: 1fr; gap: 1rem; padding: 1rem 1.5rem 1.5rem 1.5rem; } .system-panel-header { flex-direction: column; gap: 1rem; align-items: stretch; padding: 1.5rem; } .metric-card { flex-direction: column; text-align: center; padding: 1rem; } .metric-icon-wrapper { margin-right: 0; margin-bottom: 0.8rem; } .metric-details { flex-direction: column; gap: 0.3rem; } } @media (max-width: 480px) { .system-title { font-size: 1.1rem; } .metric-name { font-size: 0.8rem; } .metric-value { font-size: 1rem; } }