- Added RAM and CPU resource display in the zero-scale dashboard for active applications. - Implemented dynamic updates for resource display based on application state. feat: expand zero-scale control script with new commands and options - Introduced `apply`, `upload-binary`, and `provision-db` commands to the zero-scale control script. - Added options for specifying configuration files, binary uploads, and database provisioning parameters. feat: implement temporal JWKS aggregator service - Created a new service to aggregate JWKS from Gitea and Kubernetes API. - Implemented caching and refresh logic for JWKS keys. feat: deploy shared MySQL and Redis services - Added Kubernetes manifests for shared MySQL and Redis services, including StatefulSet and ConfigMap definitions. - Configured persistent storage and resource limits for MySQL and Redis deployments. feat: add temporal OAuth secret example and values configuration - Created example secret manifest for OAuth credentials required by Temporal. - Added a values file for configuring Temporal server with JWKS integration and resource limits. feat: implement Kubernetes token provider for Temporal client - Developed a K8sTokenHeadersProvider to supply Kubernetes service account tokens to Temporal. - Added tests for token retrieval and environment variable fallback.
171 lines
4.2 KiB
CSS
171 lines
4.2 KiB
CSS
/* Header */
|
|
header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding-bottom: 20px;
|
|
border-bottom: 1px solid var(--border);
|
|
margin-bottom: 24px;
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
}
|
|
.brand { display: flex; align-items: center; gap: 14px; }
|
|
.brand-icon { font-size: 32px; filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.4)); }
|
|
.brand h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
|
|
.brand p { font-size: 13px; color: var(--text-muted); }
|
|
.header-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
|
|
|
|
/* Buttons */
|
|
.btn {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 8px 14px;
|
|
border-radius: 8px;
|
|
font-size: 13px;
|
|
font-weight: 500;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
border: 1px solid var(--border);
|
|
background: var(--card);
|
|
color: var(--text);
|
|
}
|
|
.btn:hover { background: var(--card-hover); border-color: var(--blue); color: #fff; }
|
|
.btn-git {
|
|
background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
|
|
border-color: #f97316;
|
|
color: #fb923c;
|
|
box-shadow: 0 0 12px rgba(249, 115, 22, 0.2);
|
|
}
|
|
.btn-git:hover {
|
|
background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
|
|
color: #fff;
|
|
border-color: #ea580c;
|
|
box-shadow: 0 0 16px rgba(249, 115, 22, 0.5);
|
|
}
|
|
.btn-primary { background: #0284c7; border-color: #38bdf8; color: #fff; }
|
|
.btn-primary:hover { background: #0369a1; }
|
|
|
|
/* Engine Badges in Header */
|
|
.engine-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
padding: 5px 12px;
|
|
border-radius: 9px;
|
|
text-decoration: none;
|
|
cursor: pointer;
|
|
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
|
|
background: rgba(15, 23, 42, 0.85);
|
|
border: 1px solid var(--border);
|
|
}
|
|
.engine-badge-icon {
|
|
font-size: 15px;
|
|
line-height: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
.engine-badge-text {
|
|
display: flex;
|
|
flex-direction: column;
|
|
line-height: 1.15;
|
|
}
|
|
.engine-badge-name {
|
|
font-size: 12px;
|
|
font-weight: 700;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
.engine-badge-role {
|
|
font-size: 9.5px;
|
|
opacity: 0.85;
|
|
font-weight: 500;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
/* Zero-Scale Theme: Electric Cyan */
|
|
.engine-zero {
|
|
border-color: rgba(56, 189, 248, 0.35);
|
|
color: #bae6fd;
|
|
box-shadow: 0 0 10px rgba(56, 189, 248, 0.12);
|
|
}
|
|
.engine-zero .engine-badge-name {
|
|
color: #38bdf8;
|
|
}
|
|
.engine-zero .engine-badge-role {
|
|
color: #7dd3fc;
|
|
}
|
|
.engine-zero:hover {
|
|
background: rgba(56, 189, 248, 0.15);
|
|
border-color: rgba(56, 189, 248, 0.7);
|
|
box-shadow: 0 0 16px rgba(56, 189, 248, 0.35);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* Open-Cream-Cheese Theme: Warm Cheddar Gold */
|
|
.engine-cream {
|
|
border-color: rgba(245, 158, 11, 0.35);
|
|
color: #fde68a;
|
|
box-shadow: 0 0 10px rgba(245, 158, 11, 0.12);
|
|
}
|
|
.engine-cream .engine-badge-name {
|
|
color: #fbbf24;
|
|
}
|
|
.engine-cream .engine-badge-role {
|
|
color: #fcd34d;
|
|
}
|
|
.engine-cream:hover {
|
|
background: rgba(245, 158, 11, 0.15);
|
|
border-color: rgba(245, 158, 11, 0.7);
|
|
box-shadow: 0 0 16px rgba(245, 158, 11, 0.35);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
/* Status Indicator */
|
|
.live-indicator {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
font-size: 12px;
|
|
color: var(--green);
|
|
background: var(--green-glow);
|
|
border: 1px solid rgba(34, 197, 94, 0.3);
|
|
padding: 6px 12px;
|
|
border-radius: 20px;
|
|
}
|
|
.pulse-dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: var(--green);
|
|
box-shadow: 0 0 8px var(--green);
|
|
animation: pulse 2s infinite;
|
|
}
|
|
.pulse-dot.syncing {
|
|
background: var(--blue);
|
|
box-shadow: 0 0 8px var(--blue);
|
|
animation: pulse 0.7s infinite;
|
|
}
|
|
@keyframes pulse { 0% { opacity: 0.4; } 50% { opacity: 1; } 100% { opacity: 0.4; } }
|
|
|
|
/* Section Title */
|
|
.section-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin: 32px 0 16px 0;
|
|
}
|
|
.section-title { font-size: 18px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
|
|
.badge-count { font-size: 11px; background: rgba(56, 189, 248, 0.15); color: var(--blue); padding: 2px 8px; border-radius: 12px; border: 1px solid rgba(56, 189, 248, 0.3); }
|
|
|
|
/* Footer */
|
|
footer {
|
|
text-align: center;
|
|
padding: 32px 0 16px 0;
|
|
font-size: 12px;
|
|
color: var(--text-muted);
|
|
border-top: 1px solid var(--border);
|
|
margin-top: 40px;
|
|
}
|