@fabioplunser/epd 0.3.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/cli.js +2105 -654
- package/docs/.vitepress/config.mts +49 -16
- package/docs/.vitepress/theme/DeployAnimation.vue +1259 -0
- package/docs/.vitepress/theme/index.ts +10 -0
- package/docs/.vitepress/theme/style.css +109 -0
- package/docs/ci-cd.md +8 -0
- package/docs/getting-started.md +244 -0
- package/docs/guide/accessories.md +103 -0
- package/docs/guide/architecture.md +94 -0
- package/docs/guide/blue-green.md +93 -0
- package/docs/guide/deployment-modes.md +135 -0
- package/docs/guide/getting-started.md +244 -0
- package/docs/guide/high-availability.md +89 -0
- package/docs/guide/installation.md +127 -0
- package/docs/guide/multi-site.md +101 -0
- package/docs/guide/routing.md +129 -0
- package/docs/guide/secrets.md +109 -0
- package/docs/guide/troubleshooting.md +109 -0
- package/docs/guide.md +172 -535
- package/docs/hetzner-dns.md +8 -0
- package/docs/index.md +20 -25
- package/docs/public/CNAME +1 -0
- package/docs/public/favicon.svg +52 -0
- package/docs/reference/cli.md +299 -0
- package/docs/reference/config.md +177 -0
- package/package.json +1 -1
|
@@ -0,0 +1,1259 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="deploy-showcase">
|
|
3
|
+
<!-- Header tabs navigation: full-width segmented control -->
|
|
4
|
+
<div class="showcase-tabs">
|
|
5
|
+
<button
|
|
6
|
+
v-for="(tab, idx) in tabs"
|
|
7
|
+
:key="tab.id"
|
|
8
|
+
class="showcase-tab-btn"
|
|
9
|
+
:class="{ active: currentTab === idx }"
|
|
10
|
+
@click="selectTab(idx)"
|
|
11
|
+
>
|
|
12
|
+
<span class="tab-badge desktop-only">{{ idx + 1 }}</span>
|
|
13
|
+
<span class="tab-icon">{{ tab.icon }}</span>
|
|
14
|
+
<span class="tab-label desktop-only">{{ tab.title }}</span>
|
|
15
|
+
<span class="tab-label mobile-only">{{ tab.shortTitle }}</span>
|
|
16
|
+
<span v-if="currentTab === idx && isPlaying" class="tab-progress-bar"></span>
|
|
17
|
+
</button>
|
|
18
|
+
</div>
|
|
19
|
+
|
|
20
|
+
<!-- Window container with fixed height -->
|
|
21
|
+
<div class="showcase-window">
|
|
22
|
+
<!-- Top window bar -->
|
|
23
|
+
<div class="window-bar">
|
|
24
|
+
<div class="window-dots">
|
|
25
|
+
<span class="dot dot-red"></span>
|
|
26
|
+
<span class="dot dot-yellow"></span>
|
|
27
|
+
<span class="dot dot-green"></span>
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
<div class="window-title">
|
|
31
|
+
<span class="title-desktop">{{ windowTitles[currentTab].full }}</span>
|
|
32
|
+
<span class="title-mobile">{{ windowTitles[currentTab].short }}</span>
|
|
33
|
+
</div>
|
|
34
|
+
|
|
35
|
+
<div class="window-controls">
|
|
36
|
+
<button
|
|
37
|
+
class="ctrl-btn"
|
|
38
|
+
:title="isPlaying ? 'Pause auto-play' : 'Resume auto-play'"
|
|
39
|
+
@click="togglePlay"
|
|
40
|
+
aria-label="Toggle auto-play"
|
|
41
|
+
>
|
|
42
|
+
<span>{{ isPlaying ? '⏸' : '▶' }}</span>
|
|
43
|
+
</button>
|
|
44
|
+
<button
|
|
45
|
+
class="ctrl-btn"
|
|
46
|
+
title="Restart animation"
|
|
47
|
+
@click="restartAnimation"
|
|
48
|
+
aria-label="Restart animation"
|
|
49
|
+
>
|
|
50
|
+
↺
|
|
51
|
+
</button>
|
|
52
|
+
<span class="badge-tag desktop-only" :class="currentTab === 2 ? 'tag-live' : 'tag-active'">
|
|
53
|
+
{{ currentTab === 0 ? 'CLI RUNNER' : currentTab === 1 ? 'GITHUB CI/CD' : 'PRODUCTION LIVE' }}
|
|
54
|
+
</span>
|
|
55
|
+
</div>
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
<!-- Tab 1: Terminal CLI Execution -->
|
|
59
|
+
<div v-show="currentTab === 0" class="tab-content terminal-body">
|
|
60
|
+
<div class="term-line prompt-line">
|
|
61
|
+
<span class="term-prompt">$</span>
|
|
62
|
+
<span class="term-cmd">epd deploy</span>
|
|
63
|
+
<span class="cursor" :class="{ blink: step1Lines >= terminalLines.length }"></span>
|
|
64
|
+
</div>
|
|
65
|
+
|
|
66
|
+
<div
|
|
67
|
+
v-for="(line, idx) in terminalLines.slice(0, step1Lines)"
|
|
68
|
+
:key="idx"
|
|
69
|
+
class="term-line"
|
|
70
|
+
:class="line.type"
|
|
71
|
+
>
|
|
72
|
+
<span class="term-stamp">{{ line.stamp }}</span>
|
|
73
|
+
<span class="term-sym">{{ line.sym }}</span>
|
|
74
|
+
<span class="term-text" v-html="line.text"></span>
|
|
75
|
+
</div>
|
|
76
|
+
</div>
|
|
77
|
+
|
|
78
|
+
<!-- Tab 2: GitHub Actions Workflow -->
|
|
79
|
+
<div v-show="currentTab === 1" class="tab-content github-body">
|
|
80
|
+
<div class="gh-header">
|
|
81
|
+
<div class="gh-status-icon">
|
|
82
|
+
<span class="gh-spinner" v-if="step2ActiveIndex < ghSteps.length"></span>
|
|
83
|
+
<span class="gh-check-main" v-else>✓</span>
|
|
84
|
+
</div>
|
|
85
|
+
<div class="gh-meta">
|
|
86
|
+
<div class="gh-run-title">
|
|
87
|
+
<strong>Deploy to Production</strong>
|
|
88
|
+
<span class="gh-badge">#42</span>
|
|
89
|
+
<span class="gh-duration mobile-only">⏱ <strong>{{ step2Timer }}s</strong></span>
|
|
90
|
+
</div>
|
|
91
|
+
<div class="gh-sub">
|
|
92
|
+
Commit <code class="commit-hash">a9d4f21</code> to <strong>main</strong> · by <strong>@fabioplunser</strong>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
<div class="gh-duration desktop-only">
|
|
96
|
+
⏱ <strong>{{ step2Timer }}s</strong>
|
|
97
|
+
</div>
|
|
98
|
+
</div>
|
|
99
|
+
|
|
100
|
+
<div class="gh-steps-list">
|
|
101
|
+
<div
|
|
102
|
+
v-for="(step, idx) in ghSteps"
|
|
103
|
+
:key="idx"
|
|
104
|
+
class="gh-step-item"
|
|
105
|
+
:class="{
|
|
106
|
+
done: idx < step2ActiveIndex,
|
|
107
|
+
running: idx === step2ActiveIndex,
|
|
108
|
+
pending: idx > step2ActiveIndex
|
|
109
|
+
}"
|
|
110
|
+
>
|
|
111
|
+
<div class="step-status">
|
|
112
|
+
<span v-if="idx < step2ActiveIndex" class="step-icon-done">✓</span>
|
|
113
|
+
<span v-else-if="idx === step2ActiveIndex" class="step-spinner"></span>
|
|
114
|
+
<span v-else class="step-icon-pending">○</span>
|
|
115
|
+
</div>
|
|
116
|
+
<div class="step-name">{{ step.name }}</div>
|
|
117
|
+
<div class="step-time">{{ idx <= step2ActiveIndex ? step.duration : '' }}</div>
|
|
118
|
+
</div>
|
|
119
|
+
</div>
|
|
120
|
+
|
|
121
|
+
<div class="gh-log-box" v-if="step2ActiveIndex >= 2">
|
|
122
|
+
<div class="log-title">Run npx @fabioplunser/epd deploy</div>
|
|
123
|
+
<div class="log-row"><span class="log-green">✓</span> SSH connected to root@203.0.113.10</div>
|
|
124
|
+
<div class="log-row"><span class="log-cyan">›</span> Building image app:a9d4f21 ... [BuildKit cached]</div>
|
|
125
|
+
<div class="log-row"><span class="log-green">✓</span> Healthcheck passed: 200 OK (/health)</div>
|
|
126
|
+
<div class="log-row"><span class="log-yellow">🔀</span> Switched Traefik route to slot green</div>
|
|
127
|
+
<div class="log-row log-success">✨ Deployed in 14.8s with 0 downtime!</div>
|
|
128
|
+
</div>
|
|
129
|
+
</div>
|
|
130
|
+
|
|
131
|
+
<!-- Tab 3: Running on the Server (Traefik & Live Traffic) -->
|
|
132
|
+
<div v-show="currentTab === 2" class="tab-content server-body">
|
|
133
|
+
<div class="server-topology">
|
|
134
|
+
<!-- Desktop & Mobile: Ingress Section -->
|
|
135
|
+
<div class="topology-ingress">
|
|
136
|
+
<!-- User Traffic -->
|
|
137
|
+
<div class="node user-node">
|
|
138
|
+
<div class="node-icon">🌍</div>
|
|
139
|
+
<div class="node-title">Live Traffic</div>
|
|
140
|
+
<div class="node-sub">HTTPS :443</div>
|
|
141
|
+
</div>
|
|
142
|
+
|
|
143
|
+
<!-- Flow Connector 1 -->
|
|
144
|
+
<div class="flow-arrow ingress-arrow">
|
|
145
|
+
<span class="packet-dot"></span>
|
|
146
|
+
<span class="packet-dot delayed"></span>
|
|
147
|
+
<div class="flow-line"></div>
|
|
148
|
+
</div>
|
|
149
|
+
|
|
150
|
+
<!-- Shared Traefik Proxy -->
|
|
151
|
+
<div class="node traefik-node">
|
|
152
|
+
<div class="node-badge">SHARED PROXY</div>
|
|
153
|
+
<div class="node-icon">⚡</div>
|
|
154
|
+
<div class="node-title">Traefik v3</div>
|
|
155
|
+
<div class="node-sub">Auto SSL & TLS 1.3</div>
|
|
156
|
+
</div>
|
|
157
|
+
</div>
|
|
158
|
+
|
|
159
|
+
<!-- Flow Connector 2 -->
|
|
160
|
+
<div class="flow-arrow gateway-arrow">
|
|
161
|
+
<span class="packet-dot packet-active"></span>
|
|
162
|
+
<div class="flow-line"></div>
|
|
163
|
+
</div>
|
|
164
|
+
|
|
165
|
+
<!-- Slots Container -->
|
|
166
|
+
<div class="slots-container">
|
|
167
|
+
<!-- Slot Green (Active) -->
|
|
168
|
+
<div class="slot-box slot-active">
|
|
169
|
+
<div class="slot-header">
|
|
170
|
+
<span class="slot-indicator active-indicator"></span>
|
|
171
|
+
<strong>Slot GREEN (Live)</strong>
|
|
172
|
+
<span class="slot-tag">ACTIVE 100%</span>
|
|
173
|
+
</div>
|
|
174
|
+
<div class="replica-boxes">
|
|
175
|
+
<div class="replica">
|
|
176
|
+
<span class="rep-dot"></span>
|
|
177
|
+
<code>epd-app-web-green-1</code>
|
|
178
|
+
<span class="rep-health">200 OK</span>
|
|
179
|
+
</div>
|
|
180
|
+
<div class="replica">
|
|
181
|
+
<span class="rep-dot"></span>
|
|
182
|
+
<code>epd-app-web-green-2</code>
|
|
183
|
+
<span class="rep-health">200 OK</span>
|
|
184
|
+
</div>
|
|
185
|
+
</div>
|
|
186
|
+
</div>
|
|
187
|
+
|
|
188
|
+
<!-- Slot Blue (Idle / Standby) -->
|
|
189
|
+
<div class="slot-box slot-idle">
|
|
190
|
+
<div class="slot-header">
|
|
191
|
+
<span class="slot-indicator idle-indicator"></span>
|
|
192
|
+
<strong>Slot BLUE (Standby)</strong>
|
|
193
|
+
<span class="slot-tag tag-idle">STANDBY</span>
|
|
194
|
+
</div>
|
|
195
|
+
<div class="slot-sub">Ready for 3s instant rollback (<code>epd rollback</code>)</div>
|
|
196
|
+
</div>
|
|
197
|
+
</div>
|
|
198
|
+
</div>
|
|
199
|
+
|
|
200
|
+
<!-- Live Curl Inspector -->
|
|
201
|
+
<div class="server-probe-card">
|
|
202
|
+
<div class="probe-header">
|
|
203
|
+
<span class="probe-dot"></span>
|
|
204
|
+
<strong>Verification:</strong>
|
|
205
|
+
<span class="probe-url">curl -I https://myapp.example.com</span>
|
|
206
|
+
</div>
|
|
207
|
+
<div class="probe-output">
|
|
208
|
+
<span class="http-status">HTTP/2 200 OK</span>
|
|
209
|
+
<span class="header-item">server: Traefik</span>
|
|
210
|
+
<span class="header-item">x-epd-slot: green</span>
|
|
211
|
+
<span class="header-item header-zero">zero-downtime: 0 dropped</span>
|
|
212
|
+
</div>
|
|
213
|
+
</div>
|
|
214
|
+
</div>
|
|
215
|
+
</div>
|
|
216
|
+
</div>
|
|
217
|
+
</template>
|
|
218
|
+
|
|
219
|
+
<script setup lang="ts">
|
|
220
|
+
import { ref, onMounted, onUnmounted } from "vue";
|
|
221
|
+
|
|
222
|
+
interface Tab {
|
|
223
|
+
id: string;
|
|
224
|
+
title: string;
|
|
225
|
+
shortTitle: string;
|
|
226
|
+
icon: string;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
const tabs: Tab[] = [
|
|
230
|
+
{ id: "cli", title: "Terminal CLI", shortTitle: "Terminal", icon: "💻" },
|
|
231
|
+
{ id: "github", title: "GitHub Actions CI", shortTitle: "GitHub CI", icon: "🐙" },
|
|
232
|
+
{ id: "server", title: "Live on Server", shortTitle: "Live Server", icon: "⚡" },
|
|
233
|
+
];
|
|
234
|
+
|
|
235
|
+
const windowTitles = [
|
|
236
|
+
{ full: "💻 terminal — zsh — epd deploy", short: "💻 epd deploy" },
|
|
237
|
+
{ full: "🐙 github.com/my-org/app — .github/workflows/deploy.yml", short: "🐙 deploy.yml" },
|
|
238
|
+
{ full: "⚡ server (203.0.113.10) — traefik proxy & live slots", short: "⚡ traefik & slots" },
|
|
239
|
+
];
|
|
240
|
+
|
|
241
|
+
const currentTab = ref(0);
|
|
242
|
+
const isPlaying = ref(true);
|
|
243
|
+
|
|
244
|
+
// Tab 1 state
|
|
245
|
+
const step1Lines = ref(1);
|
|
246
|
+
const terminalLines = [
|
|
247
|
+
{ stamp: " 0.1s", sym: "›", text: "Deploying <strong>my-app</strong> <span class='hl-cyan'>v1.2.0</span> to 1 host(s)", type: "step" },
|
|
248
|
+
{ stamp: " 0.4s", sym: "›", text: "Building image <strong>my-app:v1.2.0</strong> ... <span class='hl-green'>done (cached)</span>", type: "step" },
|
|
249
|
+
{ stamp: " 2.1s", sym: "›", text: "203.0.113.10: starting 2 replica(s) on <span class='hl-green'>slot green</span>", type: "step" },
|
|
250
|
+
{ stamp: " 3.8s", sym: "·", text: "203.0.113.10: probing health endpoint <span class='hl-cyan'>http://127.0.0.1:3000/health</span>", type: "debug" },
|
|
251
|
+
{ stamp: " 4.2s", sym: "✓", text: "203.0.113.10: all 2 replica(s) healthy <span class='hl-green'>(200 OK)</span>", type: "ok" },
|
|
252
|
+
{ stamp: " 5.0s", sym: "›", text: "203.0.113.10: updating Traefik dynamic routing <span class='hl-yellow'>→ slot green</span>", type: "step" },
|
|
253
|
+
{ stamp: " 6.5s", sym: "›", text: "203.0.113.10: draining previous blue slot (10s)", type: "step" },
|
|
254
|
+
{ stamp: " 8.0s", sym: "✓", text: "<span class='hl-green'><strong>my-app v1.2.0</strong> is live at https://app.example.com with 0 dropped requests!</span>", type: "ok" },
|
|
255
|
+
];
|
|
256
|
+
|
|
257
|
+
// Tab 2 state
|
|
258
|
+
const step2ActiveIndex = ref(0);
|
|
259
|
+
const step2Timer = ref(1);
|
|
260
|
+
const ghSteps = [
|
|
261
|
+
{ name: "Set up job & Ubuntu 24.04 runner", duration: "1.2s" },
|
|
262
|
+
{ name: "Checkout repository @ main", duration: "0.8s" },
|
|
263
|
+
{ name: "Configure SSH Agent key", duration: "0.3s" },
|
|
264
|
+
{ name: "Deploy with EPD (npx @fabioplunser/epd deploy)", duration: "14.8s" },
|
|
265
|
+
{ name: "Post Run actions & verify Traefik routes", duration: "0.4s" },
|
|
266
|
+
];
|
|
267
|
+
|
|
268
|
+
let cycleTimer: any = null;
|
|
269
|
+
let tickTimer: any = null;
|
|
270
|
+
|
|
271
|
+
function startCycle() {
|
|
272
|
+
stopCycle();
|
|
273
|
+
if (!isPlaying.value) return;
|
|
274
|
+
|
|
275
|
+
cycleTimer = setInterval(() => {
|
|
276
|
+
selectTab((currentTab.value + 1) % 3);
|
|
277
|
+
}, 7500);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
function stopCycle() {
|
|
281
|
+
if (cycleTimer) clearInterval(cycleTimer);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
function selectTab(idx: number) {
|
|
285
|
+
currentTab.value = idx;
|
|
286
|
+
resetTabState(idx);
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
function resetTabState(idx: number) {
|
|
290
|
+
if (idx === 0) {
|
|
291
|
+
step1Lines.value = 1;
|
|
292
|
+
} else if (idx === 1) {
|
|
293
|
+
step2ActiveIndex.value = 0;
|
|
294
|
+
step2Timer.value = 1;
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
function togglePlay() {
|
|
299
|
+
isPlaying.value = !isPlaying.value;
|
|
300
|
+
if (isPlaying.value) {
|
|
301
|
+
startCycle();
|
|
302
|
+
} else {
|
|
303
|
+
stopCycle();
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
function restartAnimation() {
|
|
308
|
+
currentTab.value = 0;
|
|
309
|
+
resetTabState(0);
|
|
310
|
+
if (isPlaying.value) {
|
|
311
|
+
startCycle();
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
onMounted(() => {
|
|
316
|
+
startCycle();
|
|
317
|
+
|
|
318
|
+
tickTimer = setInterval(() => {
|
|
319
|
+
if (currentTab.value === 0) {
|
|
320
|
+
if (step1Lines.value < terminalLines.length) {
|
|
321
|
+
step1Lines.value++;
|
|
322
|
+
}
|
|
323
|
+
} else if (currentTab.value === 1) {
|
|
324
|
+
step2Timer.value++;
|
|
325
|
+
if (step2ActiveIndex.value < ghSteps.length) {
|
|
326
|
+
if (step2Timer.value % 2 === 0) {
|
|
327
|
+
step2ActiveIndex.value++;
|
|
328
|
+
}
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
}, 800);
|
|
332
|
+
});
|
|
333
|
+
|
|
334
|
+
onUnmounted(() => {
|
|
335
|
+
stopCycle();
|
|
336
|
+
if (tickTimer) clearInterval(tickTimer);
|
|
337
|
+
});
|
|
338
|
+
</script>
|
|
339
|
+
|
|
340
|
+
<style scoped>
|
|
341
|
+
.deploy-showcase {
|
|
342
|
+
margin: 1.5rem 0 2.5rem;
|
|
343
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
344
|
+
width: 100%;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/* Responsive Visibility Helpers */
|
|
348
|
+
.desktop-only {
|
|
349
|
+
display: inline-block;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
.mobile-only {
|
|
353
|
+
display: none;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
@media (max-width: 640px) {
|
|
357
|
+
.desktop-only {
|
|
358
|
+
display: none !important;
|
|
359
|
+
}
|
|
360
|
+
.mobile-only {
|
|
361
|
+
display: inline-block !important;
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
/* Tabs Bar: Equal segmented control across 100% width */
|
|
366
|
+
.showcase-tabs {
|
|
367
|
+
display: flex;
|
|
368
|
+
align-items: stretch;
|
|
369
|
+
gap: 0.35rem;
|
|
370
|
+
margin-bottom: -1px;
|
|
371
|
+
position: relative;
|
|
372
|
+
z-index: 2;
|
|
373
|
+
width: 100%;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.showcase-tab-btn {
|
|
377
|
+
flex: 1;
|
|
378
|
+
position: relative;
|
|
379
|
+
display: flex;
|
|
380
|
+
align-items: center;
|
|
381
|
+
justify-content: center;
|
|
382
|
+
gap: 0.45rem;
|
|
383
|
+
padding: 0.65rem 0.6rem;
|
|
384
|
+
min-width: 0;
|
|
385
|
+
background: var(--vp-c-bg-mute);
|
|
386
|
+
border: 1px solid var(--vp-c-border);
|
|
387
|
+
border-bottom: none;
|
|
388
|
+
border-top-left-radius: 8px;
|
|
389
|
+
border-top-right-radius: 8px;
|
|
390
|
+
color: var(--vp-c-text-2);
|
|
391
|
+
font-size: 0.85rem;
|
|
392
|
+
font-weight: 500;
|
|
393
|
+
cursor: pointer;
|
|
394
|
+
transition: all 0.2s ease;
|
|
395
|
+
overflow: hidden;
|
|
396
|
+
white-space: nowrap;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.showcase-tab-btn:hover {
|
|
400
|
+
color: var(--vp-c-text-1);
|
|
401
|
+
background: var(--vp-c-bg-soft);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
.showcase-tab-btn.active {
|
|
405
|
+
background: #131722;
|
|
406
|
+
border-color: #2e384d;
|
|
407
|
+
color: #fff;
|
|
408
|
+
font-weight: 600;
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
.tab-badge {
|
|
412
|
+
display: inline-flex;
|
|
413
|
+
align-items: center;
|
|
414
|
+
justify-content: center;
|
|
415
|
+
width: 1.15rem;
|
|
416
|
+
height: 1.15rem;
|
|
417
|
+
background: rgba(255, 255, 255, 0.1);
|
|
418
|
+
border-radius: 50%;
|
|
419
|
+
font-size: 0.68rem;
|
|
420
|
+
flex-shrink: 0;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
.showcase-tab-btn.active .tab-badge {
|
|
424
|
+
background: var(--vp-c-brand-1, #6366f1);
|
|
425
|
+
color: #fff;
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.tab-icon {
|
|
429
|
+
flex-shrink: 0;
|
|
430
|
+
font-size: 0.95rem;
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
.tab-label {
|
|
434
|
+
overflow: hidden;
|
|
435
|
+
text-overflow: ellipsis;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.tab-progress-bar {
|
|
439
|
+
position: absolute;
|
|
440
|
+
bottom: 0;
|
|
441
|
+
left: 0;
|
|
442
|
+
height: 2px;
|
|
443
|
+
width: 100%;
|
|
444
|
+
background: var(--vp-c-brand-1, #6366f1);
|
|
445
|
+
animation: progressFill 7.5s linear infinite;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
@keyframes progressFill {
|
|
449
|
+
0% { transform: scaleX(0); transform-origin: left; }
|
|
450
|
+
100% { transform: scaleX(1); transform-origin: left; }
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
/* Window Shell */
|
|
454
|
+
.showcase-window {
|
|
455
|
+
background: #0d1117;
|
|
456
|
+
border: 1px solid #2e384d;
|
|
457
|
+
border-radius: 12px;
|
|
458
|
+
border-top-left-radius: 0;
|
|
459
|
+
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
|
|
460
|
+
overflow: hidden;
|
|
461
|
+
color: #e6edf3;
|
|
462
|
+
width: 100%;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.window-bar {
|
|
466
|
+
display: flex;
|
|
467
|
+
align-items: center;
|
|
468
|
+
justify-content: space-between;
|
|
469
|
+
gap: 0.5rem;
|
|
470
|
+
padding: 0.65rem 0.85rem;
|
|
471
|
+
background: #161b22;
|
|
472
|
+
border-bottom: 1px solid #2e384d;
|
|
473
|
+
font-size: 0.8rem;
|
|
474
|
+
height: 42px;
|
|
475
|
+
box-sizing: border-box;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
.window-dots {
|
|
479
|
+
display: flex;
|
|
480
|
+
gap: 0.35rem;
|
|
481
|
+
flex-shrink: 0;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.dot {
|
|
485
|
+
width: 10px;
|
|
486
|
+
height: 10px;
|
|
487
|
+
border-radius: 50%;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
.dot-red { background: #ff5f56; }
|
|
491
|
+
.dot-yellow { background: #ffbd2e; }
|
|
492
|
+
.dot-green { background: #27c93f; }
|
|
493
|
+
|
|
494
|
+
.window-title {
|
|
495
|
+
color: #8b949e;
|
|
496
|
+
font-family: monospace;
|
|
497
|
+
font-size: 0.78rem;
|
|
498
|
+
overflow: hidden;
|
|
499
|
+
text-overflow: ellipsis;
|
|
500
|
+
white-space: nowrap;
|
|
501
|
+
text-align: center;
|
|
502
|
+
flex: 1;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.window-controls {
|
|
506
|
+
display: flex;
|
|
507
|
+
align-items: center;
|
|
508
|
+
gap: 0.35rem;
|
|
509
|
+
flex-shrink: 0;
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.ctrl-btn {
|
|
513
|
+
display: inline-flex;
|
|
514
|
+
align-items: center;
|
|
515
|
+
justify-content: center;
|
|
516
|
+
width: 1.65rem;
|
|
517
|
+
height: 1.65rem;
|
|
518
|
+
background: #21262d;
|
|
519
|
+
border: 1px solid #30363d;
|
|
520
|
+
border-radius: 5px;
|
|
521
|
+
color: #c9d1d9;
|
|
522
|
+
font-size: 0.78rem;
|
|
523
|
+
cursor: pointer;
|
|
524
|
+
transition: all 0.15s ease;
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
.ctrl-btn:hover {
|
|
528
|
+
background: #30363d;
|
|
529
|
+
color: #fff;
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
.badge-tag {
|
|
533
|
+
font-size: 0.65rem;
|
|
534
|
+
padding: 0.15rem 0.45rem;
|
|
535
|
+
border-radius: 4px;
|
|
536
|
+
font-weight: 600;
|
|
537
|
+
letter-spacing: 0.04em;
|
|
538
|
+
margin-left: 0.3rem;
|
|
539
|
+
}
|
|
540
|
+
|
|
541
|
+
.tag-active {
|
|
542
|
+
background: rgba(99, 102, 241, 0.2);
|
|
543
|
+
color: #a5b4fc;
|
|
544
|
+
border: 1px solid rgba(99, 102, 241, 0.4);
|
|
545
|
+
}
|
|
546
|
+
|
|
547
|
+
.tag-live {
|
|
548
|
+
background: rgba(34, 197, 94, 0.2);
|
|
549
|
+
color: #4ade80;
|
|
550
|
+
border: 1px solid rgba(34, 197, 94, 0.4);
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
/* Common Tab Body: EXACT FIXED HEIGHT TO PREVENT CONTENT JUMPING */
|
|
554
|
+
.tab-content {
|
|
555
|
+
padding: 1.25rem;
|
|
556
|
+
height: 400px;
|
|
557
|
+
box-sizing: border-box;
|
|
558
|
+
overflow-y: auto;
|
|
559
|
+
display: flex;
|
|
560
|
+
flex-direction: column;
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
/* Elegant Slim Scrollbar */
|
|
564
|
+
.tab-content::-webkit-scrollbar {
|
|
565
|
+
width: 4px;
|
|
566
|
+
}
|
|
567
|
+
.tab-content::-webkit-scrollbar-thumb {
|
|
568
|
+
background: #30363d;
|
|
569
|
+
border-radius: 4px;
|
|
570
|
+
}
|
|
571
|
+
.tab-content::-webkit-scrollbar-track {
|
|
572
|
+
background: transparent;
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
/* Tab 1: Terminal */
|
|
576
|
+
.terminal-body {
|
|
577
|
+
font-family: "JetBrains Mono", Menlo, Monaco, Consolas, monospace;
|
|
578
|
+
font-size: 0.84rem;
|
|
579
|
+
line-height: 1.6;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
.term-line {
|
|
583
|
+
display: flex;
|
|
584
|
+
gap: 0.55rem;
|
|
585
|
+
margin-bottom: 0.35rem;
|
|
586
|
+
animation: fadeIn 0.25s ease-in-out;
|
|
587
|
+
word-break: break-word;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.prompt-line {
|
|
591
|
+
margin-bottom: 0.85rem;
|
|
592
|
+
font-size: 0.9rem;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
.term-prompt {
|
|
596
|
+
color: #38bdf8;
|
|
597
|
+
font-weight: bold;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
.term-cmd {
|
|
601
|
+
color: #f8fafc;
|
|
602
|
+
font-weight: bold;
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
.cursor {
|
|
606
|
+
display: inline-block;
|
|
607
|
+
width: 8px;
|
|
608
|
+
height: 15px;
|
|
609
|
+
background: #f8fafc;
|
|
610
|
+
margin-left: 2px;
|
|
611
|
+
vertical-align: middle;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.cursor.blink {
|
|
615
|
+
animation: blink 1s step-start infinite;
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
@keyframes blink {
|
|
619
|
+
50% { opacity: 0; }
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
.term-stamp {
|
|
623
|
+
color: #6e7681;
|
|
624
|
+
min-width: 40px;
|
|
625
|
+
user-select: none;
|
|
626
|
+
font-size: 0.76rem;
|
|
627
|
+
flex-shrink: 0;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
.term-sym {
|
|
631
|
+
font-weight: bold;
|
|
632
|
+
flex-shrink: 0;
|
|
633
|
+
}
|
|
634
|
+
|
|
635
|
+
.term-line.step .term-sym { color: #3b82f6; }
|
|
636
|
+
.term-line.ok .term-sym { color: #22c55e; }
|
|
637
|
+
.term-line.debug .term-sym { color: #8b949e; }
|
|
638
|
+
|
|
639
|
+
.term-text {
|
|
640
|
+
flex: 1;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
.term-text :deep(.hl-cyan) { color: #38bdf8; }
|
|
644
|
+
.term-text :deep(.hl-green) { color: #4ade80; }
|
|
645
|
+
.term-text :deep(.hl-yellow) { color: #facc15; }
|
|
646
|
+
|
|
647
|
+
/* Tab 2: GitHub Actions */
|
|
648
|
+
.github-body {
|
|
649
|
+
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
.gh-header {
|
|
653
|
+
display: flex;
|
|
654
|
+
align-items: center;
|
|
655
|
+
gap: 0.85rem;
|
|
656
|
+
padding-bottom: 0.75rem;
|
|
657
|
+
border-bottom: 1px solid #2e384d;
|
|
658
|
+
margin-bottom: 0.75rem;
|
|
659
|
+
flex-shrink: 0;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
.gh-status-icon {
|
|
663
|
+
width: 2rem;
|
|
664
|
+
height: 2rem;
|
|
665
|
+
display: flex;
|
|
666
|
+
align-items: center;
|
|
667
|
+
justify-content: center;
|
|
668
|
+
background: #1c2128;
|
|
669
|
+
border-radius: 50%;
|
|
670
|
+
border: 1px solid #30363d;
|
|
671
|
+
flex-shrink: 0;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
.gh-check-main {
|
|
675
|
+
color: #3fb950;
|
|
676
|
+
font-size: 1.1rem;
|
|
677
|
+
font-weight: bold;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
.gh-spinner {
|
|
681
|
+
width: 16px;
|
|
682
|
+
height: 16px;
|
|
683
|
+
border: 2px solid #30363d;
|
|
684
|
+
border-top-color: #38bdf8;
|
|
685
|
+
border-radius: 50%;
|
|
686
|
+
animation: spin 0.8s linear infinite;
|
|
687
|
+
}
|
|
688
|
+
|
|
689
|
+
.gh-meta {
|
|
690
|
+
flex: 1;
|
|
691
|
+
min-width: 0;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
.gh-run-title {
|
|
695
|
+
font-size: 0.98rem;
|
|
696
|
+
color: #f0f6fc;
|
|
697
|
+
display: flex;
|
|
698
|
+
align-items: center;
|
|
699
|
+
flex-wrap: wrap;
|
|
700
|
+
gap: 0.4rem;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
.gh-badge {
|
|
704
|
+
background: #30363d;
|
|
705
|
+
color: #8b949e;
|
|
706
|
+
font-size: 0.72rem;
|
|
707
|
+
padding: 0.05rem 0.35rem;
|
|
708
|
+
border-radius: 10px;
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
.gh-sub {
|
|
712
|
+
font-size: 0.78rem;
|
|
713
|
+
color: #8b949e;
|
|
714
|
+
margin-top: 0.2rem;
|
|
715
|
+
overflow: hidden;
|
|
716
|
+
text-overflow: ellipsis;
|
|
717
|
+
white-space: nowrap;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
.commit-hash {
|
|
721
|
+
background: rgba(110, 118, 129, 0.2);
|
|
722
|
+
padding: 0.08rem 0.3rem;
|
|
723
|
+
border-radius: 4px;
|
|
724
|
+
color: #58a6ff;
|
|
725
|
+
font-size: 0.75rem;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
.gh-duration {
|
|
729
|
+
margin-left: auto;
|
|
730
|
+
font-size: 0.82rem;
|
|
731
|
+
color: #8b949e;
|
|
732
|
+
flex-shrink: 0;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
.gh-steps-list {
|
|
736
|
+
background: #161b22;
|
|
737
|
+
border: 1px solid #30363d;
|
|
738
|
+
border-radius: 8px;
|
|
739
|
+
overflow: hidden;
|
|
740
|
+
margin-bottom: 0.75rem;
|
|
741
|
+
flex-shrink: 0;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
.gh-step-item {
|
|
745
|
+
display: flex;
|
|
746
|
+
align-items: center;
|
|
747
|
+
gap: 0.65rem;
|
|
748
|
+
padding: 0.45rem 0.8rem;
|
|
749
|
+
border-bottom: 1px solid #21262d;
|
|
750
|
+
font-size: 0.82rem;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
.gh-step-item:last-child {
|
|
754
|
+
border-bottom: none;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
.step-status {
|
|
758
|
+
display: flex;
|
|
759
|
+
align-items: center;
|
|
760
|
+
justify-content: center;
|
|
761
|
+
width: 16px;
|
|
762
|
+
flex-shrink: 0;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
.step-icon-done {
|
|
766
|
+
color: #3fb950;
|
|
767
|
+
font-weight: bold;
|
|
768
|
+
}
|
|
769
|
+
|
|
770
|
+
.step-spinner {
|
|
771
|
+
display: inline-block;
|
|
772
|
+
width: 13px;
|
|
773
|
+
height: 13px;
|
|
774
|
+
border: 2px solid #30363d;
|
|
775
|
+
border-top-color: #58a6ff;
|
|
776
|
+
border-radius: 50%;
|
|
777
|
+
animation: spin 0.8s linear infinite;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
.step-icon-pending {
|
|
781
|
+
color: #484f58;
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
.step-name {
|
|
785
|
+
flex: 1;
|
|
786
|
+
min-width: 0;
|
|
787
|
+
overflow: hidden;
|
|
788
|
+
text-overflow: ellipsis;
|
|
789
|
+
white-space: nowrap;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
.step-time {
|
|
793
|
+
margin-left: auto;
|
|
794
|
+
color: #8b949e;
|
|
795
|
+
font-size: 0.74rem;
|
|
796
|
+
font-family: monospace;
|
|
797
|
+
flex-shrink: 0;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
.gh-log-box {
|
|
801
|
+
background: #090d13;
|
|
802
|
+
border: 1px solid #2e384d;
|
|
803
|
+
border-radius: 8px;
|
|
804
|
+
padding: 0.65rem 0.85rem;
|
|
805
|
+
font-family: monospace;
|
|
806
|
+
font-size: 0.76rem;
|
|
807
|
+
line-height: 1.45;
|
|
808
|
+
overflow-x: auto;
|
|
809
|
+
flex-shrink: 0;
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
.log-title {
|
|
813
|
+
color: #8b949e;
|
|
814
|
+
margin-bottom: 0.3rem;
|
|
815
|
+
font-weight: 600;
|
|
816
|
+
}
|
|
817
|
+
|
|
818
|
+
.log-green { color: #3fb950; }
|
|
819
|
+
.log-cyan { color: #38bdf8; }
|
|
820
|
+
.log-yellow { color: #d29922; }
|
|
821
|
+
.log-success {
|
|
822
|
+
margin-top: 0.3rem;
|
|
823
|
+
color: #3fb950;
|
|
824
|
+
font-weight: 600;
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
/* Tab 3: Server & Live Topology */
|
|
828
|
+
.server-body {
|
|
829
|
+
display: flex;
|
|
830
|
+
flex-direction: column;
|
|
831
|
+
justify-content: space-between;
|
|
832
|
+
gap: 0.85rem;
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
.server-topology {
|
|
836
|
+
display: flex;
|
|
837
|
+
align-items: center;
|
|
838
|
+
justify-content: space-between;
|
|
839
|
+
gap: 0.5rem;
|
|
840
|
+
flex: 1;
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
.topology-ingress {
|
|
844
|
+
display: flex;
|
|
845
|
+
align-items: center;
|
|
846
|
+
gap: 0.5rem;
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
.node {
|
|
850
|
+
background: #161b22;
|
|
851
|
+
border: 1px solid #30363d;
|
|
852
|
+
border-radius: 10px;
|
|
853
|
+
padding: 0.75rem 0.9rem;
|
|
854
|
+
text-align: center;
|
|
855
|
+
position: relative;
|
|
856
|
+
min-width: 125px;
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
.user-node {
|
|
860
|
+
border-color: #38bdf8;
|
|
861
|
+
box-shadow: 0 0 16px rgba(56, 189, 248, 0.12);
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
.traefik-node {
|
|
865
|
+
border-color: #a855f7;
|
|
866
|
+
box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
|
|
867
|
+
min-width: 135px;
|
|
868
|
+
}
|
|
869
|
+
|
|
870
|
+
.node-badge {
|
|
871
|
+
position: absolute;
|
|
872
|
+
top: -9px;
|
|
873
|
+
left: 50%;
|
|
874
|
+
transform: translateX(-50%);
|
|
875
|
+
background: #7c3aed;
|
|
876
|
+
color: #fff;
|
|
877
|
+
font-size: 0.62rem;
|
|
878
|
+
font-weight: 700;
|
|
879
|
+
padding: 0.08rem 0.45rem;
|
|
880
|
+
border-radius: 10px;
|
|
881
|
+
white-space: nowrap;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
.node-icon {
|
|
885
|
+
font-size: 1.5rem;
|
|
886
|
+
margin-bottom: 0.2rem;
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
.node-title {
|
|
890
|
+
font-weight: 700;
|
|
891
|
+
font-size: 0.88rem;
|
|
892
|
+
color: #f0f6fc;
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
.node-sub {
|
|
896
|
+
font-size: 0.7rem;
|
|
897
|
+
color: #8b949e;
|
|
898
|
+
margin-top: 0.15rem;
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
/* Flow Arrows & Animated Packets */
|
|
902
|
+
.flow-arrow {
|
|
903
|
+
position: relative;
|
|
904
|
+
flex: 1;
|
|
905
|
+
min-width: 30px;
|
|
906
|
+
height: 20px;
|
|
907
|
+
display: flex;
|
|
908
|
+
align-items: center;
|
|
909
|
+
}
|
|
910
|
+
|
|
911
|
+
.flow-line {
|
|
912
|
+
width: 100%;
|
|
913
|
+
height: 2px;
|
|
914
|
+
background: #30363d;
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
.packet-dot {
|
|
918
|
+
position: absolute;
|
|
919
|
+
width: 7px;
|
|
920
|
+
height: 7px;
|
|
921
|
+
border-radius: 50%;
|
|
922
|
+
background: #38bdf8;
|
|
923
|
+
box-shadow: 0 0 6px #38bdf8;
|
|
924
|
+
animation: flowPacket 1.8s infinite linear;
|
|
925
|
+
}
|
|
926
|
+
|
|
927
|
+
.packet-dot.delayed {
|
|
928
|
+
animation-delay: 0.9s;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
.packet-dot.packet-active {
|
|
932
|
+
background: #4ade80;
|
|
933
|
+
box-shadow: 0 0 6px #4ade80;
|
|
934
|
+
animation: flowPacket 1.5s infinite linear;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
@keyframes flowPacket {
|
|
938
|
+
0% { left: 0%; opacity: 0; }
|
|
939
|
+
20% { opacity: 1; }
|
|
940
|
+
80% { opacity: 1; }
|
|
941
|
+
100% { left: 95%; opacity: 0; }
|
|
942
|
+
}
|
|
943
|
+
|
|
944
|
+
/* Slots */
|
|
945
|
+
.slots-container {
|
|
946
|
+
display: flex;
|
|
947
|
+
flex-direction: column;
|
|
948
|
+
gap: 0.55rem;
|
|
949
|
+
flex: 1.3;
|
|
950
|
+
min-width: 210px;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
.slot-box {
|
|
954
|
+
border-radius: 8px;
|
|
955
|
+
padding: 0.65rem 0.8rem;
|
|
956
|
+
border: 1px solid #30363d;
|
|
957
|
+
background: #161b22;
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
.slot-active {
|
|
961
|
+
border-color: #22c55e;
|
|
962
|
+
background: rgba(34, 197, 94, 0.06);
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
.slot-idle {
|
|
966
|
+
border-color: #30363d;
|
|
967
|
+
opacity: 0.75;
|
|
968
|
+
}
|
|
969
|
+
|
|
970
|
+
.slot-header {
|
|
971
|
+
display: flex;
|
|
972
|
+
align-items: center;
|
|
973
|
+
gap: 0.45rem;
|
|
974
|
+
font-size: 0.8rem;
|
|
975
|
+
margin-bottom: 0.35rem;
|
|
976
|
+
}
|
|
977
|
+
|
|
978
|
+
.slot-indicator {
|
|
979
|
+
width: 7px;
|
|
980
|
+
height: 7px;
|
|
981
|
+
border-radius: 50%;
|
|
982
|
+
}
|
|
983
|
+
|
|
984
|
+
.active-indicator {
|
|
985
|
+
background: #22c55e;
|
|
986
|
+
box-shadow: 0 0 6px #22c55e;
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
.idle-indicator {
|
|
990
|
+
background: #64748b;
|
|
991
|
+
}
|
|
992
|
+
|
|
993
|
+
.slot-tag {
|
|
994
|
+
margin-left: auto;
|
|
995
|
+
font-size: 0.64rem;
|
|
996
|
+
font-weight: 700;
|
|
997
|
+
color: #4ade80;
|
|
998
|
+
background: rgba(34, 197, 94, 0.15);
|
|
999
|
+
padding: 0.08rem 0.35rem;
|
|
1000
|
+
border-radius: 4px;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
.tag-idle {
|
|
1004
|
+
color: #94a3b8;
|
|
1005
|
+
background: rgba(148, 163, 184, 0.15);
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
.replica-boxes {
|
|
1009
|
+
display: flex;
|
|
1010
|
+
flex-direction: column;
|
|
1011
|
+
gap: 0.25rem;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
.replica {
|
|
1015
|
+
display: flex;
|
|
1016
|
+
align-items: center;
|
|
1017
|
+
gap: 0.45rem;
|
|
1018
|
+
background: #0d1117;
|
|
1019
|
+
padding: 0.25rem 0.45rem;
|
|
1020
|
+
border-radius: 4px;
|
|
1021
|
+
font-size: 0.72rem;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
.replica code {
|
|
1025
|
+
overflow: hidden;
|
|
1026
|
+
text-overflow: ellipsis;
|
|
1027
|
+
white-space: nowrap;
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
.rep-dot {
|
|
1031
|
+
width: 5px;
|
|
1032
|
+
height: 5px;
|
|
1033
|
+
border-radius: 50%;
|
|
1034
|
+
background: #22c55e;
|
|
1035
|
+
flex-shrink: 0;
|
|
1036
|
+
}
|
|
1037
|
+
|
|
1038
|
+
.rep-health {
|
|
1039
|
+
margin-left: auto;
|
|
1040
|
+
color: #4ade80;
|
|
1041
|
+
font-weight: 600;
|
|
1042
|
+
flex-shrink: 0;
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
.slot-sub {
|
|
1046
|
+
font-size: 0.72rem;
|
|
1047
|
+
color: #8b949e;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
/* Probe Card */
|
|
1051
|
+
.server-probe-card {
|
|
1052
|
+
background: #161b22;
|
|
1053
|
+
border: 1px solid #30363d;
|
|
1054
|
+
border-radius: 8px;
|
|
1055
|
+
padding: 0.65rem 0.8rem;
|
|
1056
|
+
flex-shrink: 0;
|
|
1057
|
+
}
|
|
1058
|
+
|
|
1059
|
+
.probe-header {
|
|
1060
|
+
display: flex;
|
|
1061
|
+
align-items: center;
|
|
1062
|
+
gap: 0.45rem;
|
|
1063
|
+
font-size: 0.76rem;
|
|
1064
|
+
margin-bottom: 0.35rem;
|
|
1065
|
+
flex-wrap: wrap;
|
|
1066
|
+
}
|
|
1067
|
+
|
|
1068
|
+
.probe-dot {
|
|
1069
|
+
width: 6px;
|
|
1070
|
+
height: 6px;
|
|
1071
|
+
border-radius: 50%;
|
|
1072
|
+
background: #22c55e;
|
|
1073
|
+
flex-shrink: 0;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
.probe-url {
|
|
1077
|
+
font-family: monospace;
|
|
1078
|
+
color: #58a6ff;
|
|
1079
|
+
background: #0d1117;
|
|
1080
|
+
padding: 0.1rem 0.35rem;
|
|
1081
|
+
border-radius: 4px;
|
|
1082
|
+
font-size: 0.72rem;
|
|
1083
|
+
word-break: break-all;
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
.probe-output {
|
|
1087
|
+
display: flex;
|
|
1088
|
+
flex-wrap: wrap;
|
|
1089
|
+
gap: 0.45rem;
|
|
1090
|
+
font-family: monospace;
|
|
1091
|
+
font-size: 0.72rem;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
.http-status {
|
|
1095
|
+
color: #3fb950;
|
|
1096
|
+
font-weight: bold;
|
|
1097
|
+
}
|
|
1098
|
+
|
|
1099
|
+
.header-item {
|
|
1100
|
+
color: #8b949e;
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
.header-zero {
|
|
1104
|
+
color: #a5b4fc;
|
|
1105
|
+
font-weight: 600;
|
|
1106
|
+
background: rgba(99, 102, 241, 0.15);
|
|
1107
|
+
padding: 0 0.3rem;
|
|
1108
|
+
border-radius: 4px;
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
@keyframes spin {
|
|
1112
|
+
to { transform: rotate(360deg); }
|
|
1113
|
+
}
|
|
1114
|
+
|
|
1115
|
+
@keyframes fadeIn {
|
|
1116
|
+
from { opacity: 0; transform: translateY(2px); }
|
|
1117
|
+
to { opacity: 1; transform: translateY(0); }
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
/* MOBILE SPECIFIC OVERRIDES */
|
|
1121
|
+
@media (max-width: 640px) {
|
|
1122
|
+
.deploy-showcase {
|
|
1123
|
+
margin: 1rem 0 2rem;
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
.showcase-tabs {
|
|
1127
|
+
gap: 0.25rem;
|
|
1128
|
+
}
|
|
1129
|
+
|
|
1130
|
+
.showcase-tab-btn {
|
|
1131
|
+
padding: 0.55rem 0.4rem;
|
|
1132
|
+
font-size: 0.78rem;
|
|
1133
|
+
gap: 0.35rem;
|
|
1134
|
+
}
|
|
1135
|
+
|
|
1136
|
+
.tab-icon {
|
|
1137
|
+
font-size: 0.85rem;
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
.window-bar {
|
|
1141
|
+
padding: 0.5rem 0.65rem;
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
.window-title {
|
|
1145
|
+
font-size: 0.72rem;
|
|
1146
|
+
}
|
|
1147
|
+
|
|
1148
|
+
/* Fixed height on mobile: constant 390px, never jumps */
|
|
1149
|
+
.tab-content {
|
|
1150
|
+
padding: 0.75rem 0.65rem;
|
|
1151
|
+
height: 380px;
|
|
1152
|
+
}
|
|
1153
|
+
|
|
1154
|
+
/* Terminal mobile */
|
|
1155
|
+
.terminal-body {
|
|
1156
|
+
font-size: 0.74rem;
|
|
1157
|
+
line-height: 1.45;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
.term-stamp {
|
|
1161
|
+
min-width: 32px;
|
|
1162
|
+
font-size: 0.68rem;
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
.prompt-line {
|
|
1166
|
+
font-size: 0.82rem;
|
|
1167
|
+
margin-bottom: 0.55rem;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
/* GitHub mobile */
|
|
1171
|
+
.gh-header {
|
|
1172
|
+
gap: 0.65rem;
|
|
1173
|
+
padding-bottom: 0.55rem;
|
|
1174
|
+
margin-bottom: 0.55rem;
|
|
1175
|
+
}
|
|
1176
|
+
|
|
1177
|
+
.gh-status-icon {
|
|
1178
|
+
width: 1.75rem;
|
|
1179
|
+
height: 1.75rem;
|
|
1180
|
+
}
|
|
1181
|
+
|
|
1182
|
+
.gh-run-title {
|
|
1183
|
+
font-size: 0.9rem;
|
|
1184
|
+
}
|
|
1185
|
+
|
|
1186
|
+
.gh-sub {
|
|
1187
|
+
font-size: 0.72rem;
|
|
1188
|
+
margin-top: 0.15rem;
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1191
|
+
.gh-step-item {
|
|
1192
|
+
padding: 0.4rem 0.55rem;
|
|
1193
|
+
font-size: 0.75rem;
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
.gh-log-box {
|
|
1197
|
+
font-size: 0.7rem;
|
|
1198
|
+
padding: 0.55rem 0.65rem;
|
|
1199
|
+
}
|
|
1200
|
+
|
|
1201
|
+
/* Server Topology Mobile: Clean Two-Row Layout */
|
|
1202
|
+
.server-topology {
|
|
1203
|
+
flex-direction: column;
|
|
1204
|
+
align-items: stretch;
|
|
1205
|
+
gap: 0.3rem;
|
|
1206
|
+
}
|
|
1207
|
+
|
|
1208
|
+
.topology-ingress {
|
|
1209
|
+
width: 100%;
|
|
1210
|
+
justify-content: space-between;
|
|
1211
|
+
}
|
|
1212
|
+
|
|
1213
|
+
.node {
|
|
1214
|
+
flex: 1;
|
|
1215
|
+
min-width: 0;
|
|
1216
|
+
padding: 0.55rem 0.6rem;
|
|
1217
|
+
}
|
|
1218
|
+
|
|
1219
|
+
.ingress-arrow {
|
|
1220
|
+
flex: 0 0 35px;
|
|
1221
|
+
min-width: 35px;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1224
|
+
.gateway-arrow {
|
|
1225
|
+
width: 2px;
|
|
1226
|
+
height: 18px;
|
|
1227
|
+
margin: 0 auto;
|
|
1228
|
+
min-width: 0;
|
|
1229
|
+
flex: none;
|
|
1230
|
+
justify-content: center;
|
|
1231
|
+
}
|
|
1232
|
+
|
|
1233
|
+
.gateway-arrow .flow-line {
|
|
1234
|
+
width: 2px;
|
|
1235
|
+
height: 100%;
|
|
1236
|
+
}
|
|
1237
|
+
|
|
1238
|
+
.gateway-arrow .packet-dot {
|
|
1239
|
+
animation: flowPacketVertical 1.5s infinite linear;
|
|
1240
|
+
}
|
|
1241
|
+
|
|
1242
|
+
.slots-container {
|
|
1243
|
+
width: 100%;
|
|
1244
|
+
min-width: 0;
|
|
1245
|
+
gap: 0.4rem;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
.slot-box {
|
|
1249
|
+
padding: 0.55rem 0.65rem;
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
@keyframes flowPacketVertical {
|
|
1254
|
+
0% { top: 0%; opacity: 0; left: 50%; transform: translateX(-50%); }
|
|
1255
|
+
20% { opacity: 1; }
|
|
1256
|
+
80% { opacity: 1; }
|
|
1257
|
+
100% { top: 85%; opacity: 0; left: 50%; transform: translateX(-50%); }
|
|
1258
|
+
}
|
|
1259
|
+
</style>
|