feat: Discord-style glass morphism UI redesign + nightly CI/CD
- App shell: gradient title, glass admin modal, avatar, admin login/logout - All plugin empty states: floating icon animations, updated typography - Soundboard: orange accent theme replacing blurple default - Global styles: glass morphism variables, Discord-dark color palette - CI/CD: nightly deploy (stops main, starts nightly on port 8085) + manual restore-main job Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ecd5e96ee2
commit
8abe0775a5
8 changed files with 556 additions and 94 deletions
|
|
@ -4,19 +4,27 @@
|
|||
--bg-primary: #1e1f22;
|
||||
--bg-secondary: #2b2d31;
|
||||
--bg-tertiary: #313338;
|
||||
--text-normal: #dbdee1;
|
||||
--text-muted: #949ba4;
|
||||
--text-faint: #6d6f78;
|
||||
--bg-light: #3a3c41;
|
||||
--bg-lighter: #43464d;
|
||||
--text-normal: #f2f3f5;
|
||||
--text-muted: #b5bac1;
|
||||
--text-faint: #80848e;
|
||||
--accent: #e67e22;
|
||||
--accent-rgb: 230, 126, 34;
|
||||
--accent-hover: #d35400;
|
||||
--success: #57d28f;
|
||||
--accent-glow: rgba(230, 126, 34, 0.5);
|
||||
--accent-dim: rgba(230, 126, 34, 0.35);
|
||||
--accent-subtle: rgba(230, 126, 34, 0.12);
|
||||
--glass-bg: rgba(255, 255, 255, 0.05);
|
||||
--glass-border: rgba(255, 255, 255, 0.08);
|
||||
--glass-bg-hover: rgba(255, 255, 255, 0.09);
|
||||
--success: #23a559;
|
||||
--danger: #ed4245;
|
||||
--warning: #fee75c;
|
||||
--border: rgba(255, 255, 255, 0.06);
|
||||
--radius: 8px;
|
||||
--radius-lg: 12px;
|
||||
--transition: 150ms ease;
|
||||
--transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
||||
--font: 'Segoe UI', system-ui, -apple-system, sans-serif;
|
||||
--header-height: 56px;
|
||||
}
|
||||
|
|
@ -78,14 +86,18 @@ html, body {
|
|||
.hub-logo {
|
||||
font-size: 24px;
|
||||
line-height: 1;
|
||||
filter: drop-shadow(0 0 6px var(--accent-glow));
|
||||
}
|
||||
|
||||
.hub-title {
|
||||
font-size: 18px;
|
||||
font-weight: 700;
|
||||
color: var(--text-normal);
|
||||
letter-spacing: -0.02em;
|
||||
white-space: nowrap;
|
||||
background: linear-gradient(135deg, var(--accent), #f39c12);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
}
|
||||
|
||||
/* ── Connection Status Dot ── */
|
||||
|
|
@ -155,8 +167,8 @@ html, body {
|
|||
}
|
||||
|
||||
.hub-tab.active {
|
||||
color: var(--accent);
|
||||
background: rgba(var(--accent-rgb), 0.1);
|
||||
color: var(--text-normal);
|
||||
background: var(--accent-subtle);
|
||||
}
|
||||
|
||||
.hub-tab.active::after {
|
||||
|
|
@ -165,10 +177,11 @@ html, body {
|
|||
bottom: -1px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
width: calc(100% - 16px);
|
||||
width: 70%;
|
||||
height: 2px;
|
||||
background: var(--accent);
|
||||
border-radius: 1px;
|
||||
border-radius: 2px;
|
||||
box-shadow: 0 0 8px var(--accent-glow), 0 0 16px rgba(230,126,34,0.2);
|
||||
}
|
||||
|
||||
.hub-tab-icon {
|
||||
|
|
@ -616,6 +629,213 @@ html, body {
|
|||
color: var(--text-normal);
|
||||
}
|
||||
|
||||
/* ── Admin Button ── */
|
||||
.hub-admin-btn {
|
||||
background: var(--glass-bg);
|
||||
border: 1px solid var(--glass-border);
|
||||
color: var(--text-muted);
|
||||
font-size: 16px;
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
border-radius: 50%;
|
||||
cursor: pointer;
|
||||
transition: all var(--transition);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.hub-admin-btn:hover {
|
||||
background: var(--glass-bg-hover);
|
||||
border-color: var(--accent-dim);
|
||||
box-shadow: 0 0 12px rgba(230,126,34,0.15);
|
||||
}
|
||||
|
||||
.hub-admin-btn.logged-in {
|
||||
border-color: var(--success);
|
||||
}
|
||||
|
||||
.hub-admin-green-dot {
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: 1px;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
background: var(--success);
|
||||
border-radius: 50%;
|
||||
border: 2px solid var(--bg-primary);
|
||||
}
|
||||
|
||||
/* ── Avatar ── */
|
||||
.hub-avatar {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(135deg, var(--accent), #f39c12);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 14px;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
box-shadow: 0 0 0 2px var(--bg-primary);
|
||||
}
|
||||
|
||||
/* ── Admin Modal ── */
|
||||
.hub-admin-overlay {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgba(0,0,0,0.7);
|
||||
backdrop-filter: blur(6px);
|
||||
-webkit-backdrop-filter: blur(6px);
|
||||
z-index: 1000;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
animation: hub-modal-fade-in 0.2s ease;
|
||||
}
|
||||
|
||||
@keyframes hub-modal-fade-in {
|
||||
from { opacity: 0; }
|
||||
to { opacity: 1; }
|
||||
}
|
||||
|
||||
.hub-admin-modal {
|
||||
background: var(--bg-secondary);
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: var(--radius-lg);
|
||||
padding: 32px;
|
||||
width: 360px;
|
||||
max-width: 90vw;
|
||||
box-shadow: 0 16px 48px rgba(0,0,0,0.5), 0 0 40px rgba(230,126,34,0.08);
|
||||
animation: hub-modal-slide-in 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
|
||||
}
|
||||
|
||||
@keyframes hub-modal-slide-in {
|
||||
from { opacity: 0; transform: scale(0.95) translateY(10px); }
|
||||
to { opacity: 1; transform: scale(1) translateY(0); }
|
||||
}
|
||||
|
||||
.hub-admin-modal-title {
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
margin-bottom: 6px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.hub-admin-modal-subtitle {
|
||||
font-size: 13px;
|
||||
color: var(--text-faint);
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.hub-admin-modal-error {
|
||||
font-size: 13px;
|
||||
color: var(--danger);
|
||||
margin-bottom: 12px;
|
||||
padding: 8px 12px;
|
||||
background: rgba(237, 66, 69, 0.1);
|
||||
border-radius: var(--radius);
|
||||
}
|
||||
|
||||
.hub-admin-modal-input {
|
||||
width: 100%;
|
||||
background: var(--bg-deep);
|
||||
border: 1px solid var(--glass-border);
|
||||
border-radius: var(--radius);
|
||||
color: var(--text-normal);
|
||||
font-family: var(--font);
|
||||
font-size: 14px;
|
||||
padding: 10px 14px;
|
||||
outline: none;
|
||||
transition: border-color var(--transition), box-shadow var(--transition);
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.hub-admin-modal-input:focus {
|
||||
border-color: var(--accent);
|
||||
box-shadow: 0 0 0 3px rgba(230,126,34,0.12);
|
||||
}
|
||||
|
||||
.hub-admin-modal-login {
|
||||
width: 100%;
|
||||
background: var(--accent);
|
||||
border: none;
|
||||
border-radius: var(--radius);
|
||||
color: #fff;
|
||||
font-family: var(--font);
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
padding: 10px;
|
||||
cursor: pointer;
|
||||
transition: all var(--transition);
|
||||
box-shadow: 0 2px 10px var(--accent-dim);
|
||||
}
|
||||
|
||||
.hub-admin-modal-login:hover {
|
||||
background: var(--accent-hover);
|
||||
box-shadow: 0 4px 16px var(--accent-glow);
|
||||
}
|
||||
|
||||
.hub-admin-modal-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.hub-admin-modal-avatar {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
border-radius: 50%;
|
||||
background: linear-gradient(135deg, var(--accent), #f39c12);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 20px;
|
||||
font-weight: 700;
|
||||
color: #fff;
|
||||
box-shadow: 0 0 12px var(--accent-dim);
|
||||
}
|
||||
|
||||
.hub-admin-modal-text {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 2px;
|
||||
}
|
||||
|
||||
.hub-admin-modal-name {
|
||||
font-weight: 600;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.hub-admin-modal-role {
|
||||
font-size: 12px;
|
||||
color: var(--success);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.hub-admin-modal-logout {
|
||||
width: 100%;
|
||||
background: rgba(237,66,69,0.12);
|
||||
border: 1px solid rgba(237,66,69,0.25);
|
||||
border-radius: var(--radius);
|
||||
color: var(--danger);
|
||||
font-family: var(--font);
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
padding: 10px;
|
||||
cursor: pointer;
|
||||
transition: all var(--transition);
|
||||
}
|
||||
|
||||
.hub-admin-modal-logout:hover {
|
||||
background: rgba(237,66,69,0.2);
|
||||
}
|
||||
|
||||
/* ── Focus Styles ── */
|
||||
:focus-visible {
|
||||
outline: 2px solid var(--accent);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue