| |
|
|
| body { |
| font-family: 'Inter', sans-serif; |
| } |
|
|
| code, .font-mono { |
| font-family: 'JetBrains Mono', monospace; |
| } |
|
|
| |
| .grid-bg { |
| position: absolute; |
| inset: 0; |
| background-image: |
| linear-gradient(rgba(6, 182, 212, 0.03) 1px, transparent 1px), |
| linear-gradient(90deg, rgba(6, 182, 212, 0.03) 1px, transparent 1px); |
| background-size: 60px 60px; |
| animation: gridScroll 20s linear infinite; |
| } |
|
|
| @keyframes gridScroll { |
| 0% { transform: translate(0, 0); } |
| 100% { transform: translate(60px, 60px); } |
| } |
|
|
| |
| ::-webkit-scrollbar { |
| width: 6px; |
| height: 6px; |
| } |
|
|
| ::-webkit-scrollbar-track { |
| background: #0f172a; |
| } |
|
|
| ::-webkit-scrollbar-thumb { |
| background: #334155; |
| border-radius: 3px; |
| } |
|
|
| ::-webkit-scrollbar-thumb:hover { |
| background: #475569; |
| } |
|
|
| |
| .nav-link { |
| color: #94a3b8; |
| border: 1px solid transparent; |
| } |
| .nav-link:hover { |
| color: #e2e8f0; |
| background: rgba(30, 41, 59, 0.5); |
| } |
| .nav-link.active { |
| color: #22d3ee; |
| background: rgba(6, 182, 212, 0.1); |
| border-color: rgba(6, 182, 212, 0.2); |
| } |
|
|
| |
| .stat-card { |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); |
| } |
| .stat-card:hover { |
| transform: translateY(-2px); |
| border-color: rgba(148, 163, 184, 0.2); |
| box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3); |
| } |
|
|
| |
| .scan-btn { |
| transition: all 0.2s ease; |
| } |
| .scan-btn:active { |
| transform: scale(0.96); |
| } |
|
|
| |
| .alert-item { |
| animation: slideIn 0.3s ease-out forwards; |
| } |
|
|
| @keyframes slideIn { |
| from { opacity: 0; transform: translateX(-10px); } |
| to { opacity: 1; transform: translateX(0); } |
| } |
|
|
| |
| .log-entry { |
| animation: fadeInLog 0.2s ease-out forwards; |
| } |
|
|
| @keyframes fadeInLog { |
| from { opacity: 0; } |
| to { opacity: 1; } |
| } |
|
|
| |
| .discovery-item { |
| transition: all 0.2s ease; |
| } |
| .discovery-item:hover { |
| background: rgba(30, 41, 59, 0.5); |
| } |
|
|
| |
| .target-item { |
| transition: all 0.2s ease; |
| } |
| .target-item:hover { |
| background: rgba(30, 41, 59, 0.5); |
| } |
|
|
| |
| .animate-pulse-slow { |
| animation: pulseSlow 4s ease-in-out infinite; |
| } |
|
|
| .animate-pulse-slow-delayed { |
| animation: pulseSlow 4s ease-in-out infinite 2s; |
| } |
|
|
| @keyframes pulseSlow { |
| 0%, 100% { opacity: 0.3; transform: scale(1); } |
| 50% { opacity: 0.6; transform: scale(1.05); } |
| } |
|
|
| |
| .threat-low { background-color: rgba(34, 197, 94, 0.1); border-color: rgba(34, 197, 94, 0.2); } |
| .threat-low span, .threat-low .w-2 { color: #22c55e; background-color: #22c55e; } |
|
|
| .threat-medium { background-color: rgba(245, 158, 11, 0.1); border-color: rgba(245, 158, 11, 0.2); } |
| .threat-medium span { color: #f59e0b; } |
|
|
| .threat-high { background-color: rgba(239, 68, 68, 0.1); border-color: rgba(239, 68, 68, 0.2); } |
| .threat-high span { color: #ef4444; } |
|
|
| .threat-critical { background-color: rgba(220, 38, 38, 0.15); border-color: rgba(220, 38, 38, 0.3); } |
| .threat-critical span { color: #dc2626; } |
|
|
| |
| #ccToast.show { |
| transform: translateY(0); |
| opacity: 1; |
| } |
|
|
| |
| #threatMap { |
| background: #0c1222 !important; |
| } |
|
|
| .leaflet-container { |
| background: #0c1222 !important; |
| font-family: 'Inter', sans-serif !important; |
| } |
|
|
| .leaflet-popup-content-wrapper { |
| background: #0f172a !important; |
| color: #e2e8f0 !important; |
| border: 1px solid rgba(6, 182, 212, 0.2) !important; |
| border-radius: 8px !important; |
| box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5) !important; |
| } |
|
|
| .leaflet-popup-tip { |
| background: #0f172a !important; |
| border: 1px solid rgba(6, 182, 212, 0.2) !important; |
| } |
|
|
| .leaflet-popup-close-button { |
| color: #64748b !important; |
| font-size: 18px !important; |
| padding: 6px 8px !important; |
| } |
|
|
| .leaflet-popup-close-button:hover { |
| color: #e2e8f0 !important; |
| } |
|
|
| .threat-tooltip { |
| background: #0f172a !important; |
| border: 1px solid rgba(6, 182, 212, 0.2) !important; |
| color: #e2e8f0 !important; |
| border-radius: 6px !important; |
| font-size: 11px !important; |
| font-family: 'JetBrains Mono', monospace !important; |
| padding: 4px 8px !important; |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important; |
| } |
|
|
| .threat-tooltip::before { |
| display: none !important; |
| } |
|
|
| .leaflet-control-zoom a { |
| background: #1e293b !important; |
| color: #94a3b8 !important; |
| border: 1px solid rgba(6, 182, 212, 0.15) !important; |
| border-radius: 6px !important; |
| } |
|
|
| .leaflet-control-zoom a:hover { |
| background: #334155 !important; |
| color: #22d3ee !important; |
| } |
|
|
| .leaflet-control-zoom-in { |
| margin-bottom: 2px !important; |
| } |
|
|
| |
| @media (max-width: 768px) { |
| .stat-card .text-2xl { |
| font-size: 1.25rem; |
| } |
| } |