File size: 3,109 Bytes
59948ed
 
99b2ed4
8f81680
 
 
 
 
 
 
 
 
 
 
99b2ed4
 
06f7fcc
99b2ed4
8f81680
99b2ed4
8f81680
99b2ed4
 
59948ed
99b2ed4
 
8f81680
99b2ed4
59948ed
99b2ed4
 
8f81680
99b2ed4
 
 
 
 
 
 
 
6f42b99
99b2ed4
 
59948ed
 
99b2ed4
 
 
59948ed
 
99b2ed4
 
 
59948ed
 
99b2ed4
 
 
59948ed
99b2ed4
 
 
59948ed
99b2ed4
 
 
59948ed
99b2ed4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
06f7fcc
 
99b2ed4
 
06f7fcc
 
99b2ed4
 
 
 
06f7fcc
 
99b2ed4
 
 
06f7fcc
 
99b2ed4
 
 
06f7fcc
99b2ed4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59948ed
99b2ed4
 
8f81680
99b2ed4
 
 
 
59948ed
99b2ed4
 
 
 
 
 
 
 
 
 
 
 
 
8f81680
99b2ed4
 
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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');
:root {
  --primary: #8b5cf6;
  --primary-dark: #7c3aed;
  --secondary: #d946ef;
  --danger: #ef4444;
  --warning: #f59e0b;
  --success: #10b981;
  --dark: #111827;
  --light: #f9fafb;
  --muted: #6b7280;
  --card-bg: rgba(255, 255, 255, 0.9);
  --card-border: rgba(139, 92, 246, 0.3);
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  min-height: 100vh;
  color: #111827;
}
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px 0 rgba(139, 92, 246, 0.1);
  transition: all 0.3s ease;
  border: 1px solid var(--card-border);
}
.glass-card:hover {
  box-shadow: 0 8px 40px 0 rgba(139, 92, 246, 0.2);
  transform: translateY(-2px);
}
.led {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.led-green {
  background-color: var(--success);
  border: 1px solid #00d494;
}

.led-yellow {
  background-color: var(--warning);
  border: 1px solid #e69500;
}

.led-red {
  background-color: var(--danger);
  border: 1px solid #ff2e2e;
}

.led-active-green {
  box-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
}

.led-active-yellow {
  box-shadow: 0 0 15px rgba(255, 170, 0, 0.5);
}

.led-active-red {
  box-shadow: 0 0 15px rgba(255, 61, 61, 0.5);
}
.led-pulse {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

.gauge-wrapper {
  position: relative;
  text-align: center;
}

.gauge-readout {
  margin-top: 1rem;
}

.gauge-value {
  font-size: 1.5rem;
  font-weight: bold;
  font-family: 'Orbitron', sans-serif;
}

.gauge-unit {
  font-size: 0.9rem;
  color: var(--muted);
}

#eventsList {
  max-height: 300px;
  overflow-y: auto;
}

#eventsList li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#eventsList li:first-child {
  padding-top: 0;
}

#eventsList li:last-child {
  border-bottom: none;
}

#fullscreenAlarm {
  transition: all 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .glass-card {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  .glass-card {
    padding: 1rem;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.1);
}
::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.4);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}
/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.5s ease forwards;
}

/* Glow effects */
.glow-primary {
  box-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}
.g