File size: 2,706 Bytes
3c9147e
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
/* SentinelAI Network Page Styles */

body {
    font-family: 'Inter', sans-serif;
}

code, .font-mono {
    font-family: 'JetBrains Mono', monospace;
}

/* Animated Grid Background */
.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); }
}

/* Custom Scrollbar */
::-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;
}

/* Navigation Links */
.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 Cards */
.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);
}

/* Node Status Items */
.node-status-item {
    transition: all 0.2s ease;
    animation: slideInNode 0.3s ease-out forwards;
}
.node-status-item:hover {
    background: rgba(30, 41, 59, 0.5);
}

@keyframes slideInNode {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Connection Items */
.conn-item {
    transition: all 0.2s ease;
}
.conn-item:hover {
    background: rgba(30, 41, 59, 0.5);
}

/* Port Table Row Hover */
#portScanBody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(30, 41, 59, 0.5);
}
#portScanBody tr:hover {
    background: rgba(30, 41, 59, 0.4);
}

/* Pulse Slow Animation */
.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); }
}

/* Toast */
#netToast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Topology Canvas */
#topologyCanvas {
    background: #0a0f1c;
    cursor: grab;
}
#topologyCanvas:active {
    cursor: grabbing;
}

/* Responsive */
@media (max-width: 768px) {
    .stat-card .text-2xl {
        font-size: 1.25rem;
    }
}