VibeVoice / static /index.css
RAM2106's picture
Initial VibeVoice Studio commit
cd5198d
Raw
History Blame Contribute Delete
23.8 kB
/* ==========================================================================
VibeVoice Studio CSS Stylesheet
Design Paradigm: Deep Space Dark Mode Glassmorphism with Neon Accents
========================================================================== */
:root {
--bg-dark: #07090e;
--card-bg: rgba(13, 17, 28, 0.45);
--card-border: rgba(255, 255, 255, 0.08);
--text-primary: #f0f3fa;
--text-secondary: #8e9bb5;
/* Neon Accents HSL */
--accent-cyan: hsl(185, 95%, 48%);
--accent-cyan-glow: hsla(185, 95%, 48%, 0.35);
--accent-purple: hsl(265, 88%, 64%);
--accent-purple-glow: hsla(265, 88%, 64%, 0.35);
--accent-pink: hsl(330, 92%, 60%);
--accent-pink-glow: hsla(330, 92%, 60%, 0.35);
--accent-green: hsl(145, 85%, 50%);
/* Transition Timings */
--ease-smooth: cubic-bezier(0.25, 0.8, 0.25, 1);
--transition-quick: 0.2s var(--ease-smooth);
--transition-mid: 0.4s var(--ease-smooth);
}
/* Reset & Core Styling */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--bg-dark);
color: var(--text-primary);
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
min-height: 100vh;
overflow-x: hidden;
position: relative;
}
/* Stunning Floating Background Gradients */
.glow-bg {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
overflow: hidden;
}
.glow-bg::before, .glow-bg::after {
content: '';
position: absolute;
border-radius: 50%;
filter: blur(140px);
opacity: 0.15;
pointer-events: none;
}
.glow-bg::before {
background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
width: 600px;
height: 600px;
top: -200px;
left: -150px;
animation: floatGlow 25s infinite alternate ease-in-out;
}
.glow-bg::after {
background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
width: 700px;
height: 700px;
bottom: -250px;
right: -150px;
animation: floatGlow 30s infinite alternate-reverse ease-in-out;
}
@keyframes floatGlow {
0% { transform: translate(0, 0) scale(1); }
50% { transform: translate(100px, 80px) scale(1.15); }
100% { transform: translate(-50px, 150px) scale(0.9); }
}
/* Layout Containers */
.container {
width: 100%;
max-width: 1300px;
margin: 0 auto;
padding: 24px 16px;
display: flex;
flex-direction: column;
min-height: 100vh;
}
/* ==========================================================================
Header Styling
========================================================================== */
.app-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 16px 24px;
background: rgba(10, 14, 26, 0.4);
border-radius: 16px;
border: 1px solid var(--card-border);
backdrop-filter: blur(16px);
margin-bottom: 24px;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.logo-area {
display: flex;
align-items: center;
gap: 14px;
}
.logo-icon {
font-size: 28px;
background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
filter: drop-shadow(0 0 10px var(--accent-cyan-glow));
}
.logo-text h1 {
font-size: 22px;
font-weight: 700;
letter-spacing: -0.5px;
color: var(--text-primary);
line-height: 1.1;
}
.logo-text h1 span {
background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.logo-text p {
font-size: 11px;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 1px;
}
.status-controls {
display: flex;
align-items: center;
gap: 16px;
}
/* Model Loading Card widget */
.model-status-card {
display: flex;
align-items: center;
gap: 12px;
background: rgba(255, 255, 255, 0.04);
padding: 8px 14px;
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.05);
}
.status-dot {
width: 8px;
height: 8px;
border-radius: 50%;
display: inline-block;
}
.status-dot.green {
background-color: var(--accent-green);
box-shadow: 0 0 8px var(--accent-green);
}
.status-dot.yellow {
background-color: #ffb703;
box-shadow: 0 0 8px #ffb703;
}
.status-dot.red {
background-color: var(--accent-pink);
box-shadow: 0 0 8px var(--accent-pink);
}
.status-lbl {
font-size: 12px;
color: var(--text-secondary);
}
.status-lbl strong {
color: var(--text-primary);
}
/* Online/Offline connection badge */
.connection-badge {
display: flex;
align-items: center;
gap: 8px;
font-size: 12px;
font-weight: 500;
padding: 8px 14px;
border-radius: 12px;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.05);
color: var(--text-secondary);
}
.connection-badge.online {
color: var(--accent-cyan);
background: rgba(0, 242, 254, 0.06);
border-color: rgba(0, 242, 254, 0.2);
filter: drop-shadow(0 0 4px rgba(0, 242, 254, 0.1));
}
/* ==========================================================================
Dashboard Grid Layout
========================================================================== */
.dashboard-grid {
display: grid;
grid-template-columns: 360px 1fr;
gap: 24px;
flex: 1;
}
/* Premium Glassmorphic Cards */
.glass-card {
background: var(--card-bg);
border: 1px solid var(--card-border);
border-radius: 20px;
padding: 24px;
backdrop-filter: blur(24px);
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
position: relative;
overflow: hidden;
}
.panel-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 8px;
}
.panel-header i {
font-size: 20px;
background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.panel-header h2 {
font-size: 18px;
font-weight: 600;
}
.panel-desc {
font-size: 13px;
color: var(--text-secondary);
line-height: 1.5;
margin-bottom: 20px;
}
/* ==========================================================================
Speaker Profiles / Voice Cloning Center
========================================================================== */
.speaker-profile-box {
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.04);
border-radius: 16px;
padding: 16px;
margin-bottom: 16px;
transition: var(--transition-mid);
}
.speaker-profile-box:hover {
border-color: rgba(255, 255, 255, 0.08);
background: rgba(255, 255, 255, 0.03);
}
.speaker-badge-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 14px;
}
.speaker-num {
font-size: 13px;
font-weight: 700;
color: var(--text-primary);
}
.badge {
font-size: 10px;
font-weight: 600;
padding: 3px 8px;
border-radius: 20px;
text-transform: uppercase;
}
.cyan-glow {
background: rgba(0, 242, 254, 0.08);
border: 1px solid rgba(0, 242, 254, 0.2);
color: var(--accent-cyan);
}
.purple-glow {
background: rgba(162, 89, 255, 0.08);
border: 1px solid rgba(162, 89, 255, 0.2);
color: var(--accent-purple);
}
.speaker-info {
display: flex;
flex-direction: column;
gap: 6px;
margin-bottom: 14px;
}
.speaker-info label {
font-size: 11px;
color: var(--text-secondary);
text-transform: uppercase;
letter-spacing: 0.5px;
}
.form-input {
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.06);
border-radius: 8px;
padding: 8px 12px;
font-size: 13px;
color: var(--text-primary);
transition: var(--transition-quick);
}
.form-input:focus {
border-color: var(--accent-cyan);
box-shadow: 0 0 8px var(--accent-cyan-glow);
outline: none;
}
.cloning-options {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
}
.cloned-status {
display: flex;
flex-direction: column;
gap: 8px;
margin-top: 12px;
padding-top: 12px;
border-top: 1px dashed rgba(255, 255, 255, 0.06);
}
.lbl-status {
font-size: 11px;
color: var(--accent-green);
font-weight: 500;
}
.mini-player {
width: 100%;
height: 28px;
border-radius: 4px;
outline: none;
}
/* Preset Buttons */
.preset-box {
margin-top: 24px;
}
.preset-box h3 {
font-size: 13px;
font-weight: 600;
color: var(--text-secondary);
margin-bottom: 10px;
}
.preset-buttons {
display: flex;
flex-direction: column;
gap: 8px;
}
/* Buttons System */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
border-radius: 12px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
transition: var(--transition-quick);
border: 1px solid transparent;
user-select: none;
}
.btn-primary {
background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
color: #000;
font-weight: 700;
box-shadow: 0 4px 15px rgba(0, 242, 254, 0.25);
}
.btn-primary:hover:not(:disabled) {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(0, 242, 254, 0.4);
}
.btn-primary:active:not(:disabled) {
transform: translateY(0);
}
.btn-secondary {
background: rgba(255, 255, 255, 0.05);
color: var(--text-primary);
border: 1px solid rgba(255, 255, 255, 0.08);
}
.btn-secondary:hover:not(:disabled) {
background: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.15);
}
.btn-outline {
background: transparent;
color: var(--text-primary);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.btn-outline:hover:not(:disabled) {
border-color: var(--accent-cyan);
color: var(--accent-cyan);
background: rgba(0, 242, 254, 0.02);
}
.btn-toggle {
background: linear-gradient(135deg, rgba(162, 89, 255, 0.1) 0%, rgba(255, 92, 141, 0.1) 100%);
border: 1px solid rgba(162, 89, 255, 0.25);
color: var(--text-primary);
padding: 6px 12px;
font-size: 11px;
}
.btn-toggle:hover {
border-color: var(--accent-pink);
box-shadow: 0 0 8px var(--accent-pink-glow);
}
.btn-toggle.active {
background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-pink) 100%);
color: #fff;
border-color: transparent;
}
.btn-preset {
width: 100%;
padding: 10px;
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.05);
justify-content: flex-start;
font-size: 12px;
color: var(--text-secondary);
}
.btn-preset:hover {
background: rgba(255, 255, 255, 0.05);
border-color: rgba(255, 255, 255, 0.1);
color: var(--text-primary);
}
.btn-sm {
padding: 8px 12px;
font-size: 12px;
border-radius: 8px;
}
.btn-xs {
padding: 6px 10px;
font-size: 11px;
border-radius: 6px;
}
.btn-lg {
padding: 14px 28px;
font-size: 15px;
border-radius: 14px;
}
.btn:disabled {
opacity: 0.4;
cursor: not-allowed;
box-shadow: none !important;
}
.btn-file {
position: relative;
overflow: hidden;
}
/* ==========================================================================
Execution Panel Right Column
========================================================================== */
.execution-panel {
display: flex;
flex-direction: column;
gap: 24px;
}
/* ==========================================================================
Visualizer Core & Holographic Orb
========================================================================== */
.visualizer-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 30px;
min-height: 250px;
background: radial-gradient(circle at center, rgba(16, 24, 48, 0.3) 0%, var(--card-bg) 100%);
}
.agent-orb-wrapper {
display: flex;
align-items: center;
gap: 36px;
margin-bottom: 20px;
width: 100%;
max-width: 500px;
justify-content: center;
}
.agent-details {
display: flex;
flex-direction: column;
gap: 4px;
}
.agent-state-text {
font-family: 'Orbitron', monospace;
font-size: 18px;
font-weight: 700;
letter-spacing: 1px;
color: var(--text-primary);
text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
transition: var(--transition-mid);
}
.agent-state-sub {
font-size: 12px;
color: var(--text-secondary);
}
/* The Animated Holographic Orb */
.agent-orb {
width: 90px;
height: 90px;
border-radius: 50%;
position: relative;
display: flex;
align-items: center;
justify-content: center;
transition: var(--transition-mid);
}
.orb-inner {
width: 60px;
height: 60px;
border-radius: 50%;
position: relative;
z-index: 5;
transition: var(--transition-mid);
}
.orb-wave {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
border-radius: 50%;
opacity: 0;
pointer-events: none;
z-index: 2;
}
.orb-glow {
position: absolute;
top: -15px;
left: -15px;
right: -15px;
bottom: -15px;
border-radius: 50%;
filter: blur(25px);
z-index: 1;
opacity: 0.5;
transition: var(--transition-mid);
}
/* ORB STATE: Idle (Slow Breathing) */
.agent-orb.idle .orb-inner {
background: radial-gradient(circle, var(--accent-cyan) 0%, rgba(0, 150, 255, 0.3) 100%);
box-shadow: 0 0 20px var(--accent-cyan-glow);
animation: orbPulse 4s infinite ease-in-out;
}
.agent-orb.idle .orb-glow {
background: var(--accent-cyan);
opacity: 0.3;
}
/* ORB STATE: Thinking (Vibrant Spinning Glow) */
.agent-orb.thinking .orb-inner {
background: radial-gradient(circle, #fff 0%, var(--accent-purple) 70%, var(--accent-cyan) 100%);
box-shadow: 0 0 35px var(--accent-purple-glow);
animation: orbSpin 2s infinite linear, orbPulse 1s infinite ease-in-out;
}
.agent-orb.thinking .orb-glow {
background: var(--accent-purple);
opacity: 0.6;
animation: orbGlowScale 1.5s infinite alternate ease-in-out;
}
/* ORB STATE: Speaking (Dynamic Ring Waves) */
.agent-orb.speaking .orb-inner {
background: radial-gradient(circle, #fff 0%, var(--accent-pink) 60%, var(--accent-purple) 100%);
box-shadow: 0 0 30px var(--accent-pink-glow);
animation: orbPulse 0.4s infinite ease-in-out;
}
.agent-orb.speaking .orb-glow {
background: var(--accent-pink);
opacity: 0.7;
}
.agent-orb.speaking .orb-wave {
border: 2.5px solid var(--accent-pink);
box-shadow: 0 0 10px var(--accent-pink-glow);
animation: waveExpand 1.2s infinite cubic-bezier(0.1, 0.8, 0.3, 1);
opacity: 1;
}
.agent-orb.speaking .orb-wave.wave-2 {
animation-delay: 0.6s;
}
/* ORB STATE: Listening (Green organic pulses) */
.agent-orb.listening .orb-inner {
background: radial-gradient(circle, #fff 0%, var(--accent-green) 70%);
box-shadow: 0 0 25px rgba(0, 230, 115, 0.4);
animation: orbPulse 1.2s infinite ease-in-out;
}
.agent-orb.listening .orb-glow {
background: var(--accent-green);
opacity: 0.4;
}
/* Keyframes animations */
@keyframes orbPulse {
0% { transform: scale(1); }
50% { transform: scale(1.08); }
100% { transform: scale(1); }
}
@keyframes orbSpin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
@keyframes orbGlowScale {
0% { transform: scale(0.95); opacity: 0.4; }
100% { transform: scale(1.2); opacity: 0.75; }
}
@keyframes waveExpand {
0% { transform: scale(0.9); opacity: 0.9; }
100% { transform: scale(1.8); opacity: 0; }
}
/* Real-Time Waveform visualizer container */
.visualizer-canvas-box {
width: 100%;
display: flex;
justify-content: center;
border-top: 1px solid rgba(255, 255, 255, 0.04);
padding-top: 16px;
margin-top: 10px;
}
#canvasWaveform {
width: 100%;
max-width: 600px;
height: 75px;
}
/* ==========================================================================
Script Editor Studio
========================================================================== */
.script-editor-card {
display: flex;
flex-direction: column;
gap: 16px;
}
.editor-header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
padding-bottom: 14px;
}
.title-with-desc {
display: flex;
align-items: center;
gap: 10px;
}
.title-with-desc i {
font-size: 18px;
color: var(--accent-purple);
}
.title-with-desc h2 {
font-size: 16px;
font-weight: 600;
}
/* Real-time Streaming Switch */
.toggle-mode-container {
display: flex;
align-items: center;
gap: 10px;
cursor: pointer;
user-select: none;
}
.toggle-mode-container input {
display: none;
}
.toggle-slider {
width: 42px;
height: 22px;
background-color: rgba(255, 255, 255, 0.08);
border-radius: 20px;
position: relative;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: var(--transition-quick);
}
.toggle-slider::before {
content: '';
position: absolute;
width: 16px;
height: 16px;
background-color: var(--text-primary);
border-radius: 50%;
top: 2px;
left: 2px;
transition: var(--transition-quick);
}
.toggle-mode-container input:checked + .toggle-slider {
background-color: var(--accent-cyan-glow);
border-color: var(--accent-cyan);
}
.toggle-mode-container input:checked + .toggle-slider::before {
transform: translateX(20px);
background-color: var(--accent-cyan);
box-shadow: 0 0 6px var(--accent-cyan);
}
.toggle-label {
font-size: 12px;
font-weight: 500;
color: var(--text-secondary);
}
.toggle-mode-container input:checked ~ .toggle-label {
color: var(--accent-cyan);
}
/* Script Box Elements */
.script-area-wrapper {
background: rgba(0, 0, 0, 0.25);
border: 1px solid var(--card-border);
border-radius: 12px;
overflow: hidden;
}
.script-textarea {
width: 100%;
height: 180px;
background: transparent;
border: none;
resize: none;
padding: 16px;
color: var(--text-primary);
font-family: 'Inter', monospace;
font-size: 14px;
line-height: 1.6;
outline: none;
}
.script-textarea::placeholder {
color: rgba(255, 255, 255, 0.2);
}
.execution-actions {
display: flex;
gap: 16px;
}
.execution-actions .btn {
flex: 1;
}
/* ==========================================================================
Premium Audio Timeline Player Toolbar
========================================================================== */
.audio-control-bar {
padding: 16px 24px;
background: rgba(13, 17, 28, 0.7);
border-color: rgba(0, 242, 254, 0.15);
box-shadow: 0 8px 32px rgba(0, 242, 254, 0.05);
}
.playback-controls {
display: flex;
align-items: center;
gap: 20px;
width: 100%;
}
.playback-btn {
width: 36px;
height: 36px;
border-radius: 50%;
border: 1px solid rgba(255, 255, 255, 0.1);
background: rgba(255, 255, 255, 0.05);
color: var(--text-primary);
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: var(--transition-quick);
}
.playback-btn:hover {
background: var(--accent-cyan);
border-color: transparent;
color: #000;
box-shadow: 0 0 10px var(--accent-cyan-glow);
}
.timeline-container {
display: flex;
align-items: center;
gap: 12px;
flex: 1;
}
.time-stamp {
font-family: 'Orbitron', monospace;
font-size: 11px;
color: var(--text-secondary);
min-width: 40px;
}
.progress-bar-wrapper {
position: relative;
flex: 1;
height: 6px;
display: flex;
align-items: center;
}
/* Sliders Styling (Cross-Browser) */
.slider-theme {
-webkit-appearance: none;
width: 100%;
height: 4px;
background: rgba(255, 255, 255, 0.08);
border-radius: 10px;
outline: none;
cursor: pointer;
position: relative;
z-index: 3;
}
.slider-theme::-webkit-slider-thumb {
-webkit-appearance: none;
width: 12px;
height: 12px;
border-radius: 50%;
background-color: var(--accent-cyan);
box-shadow: 0 0 6px var(--accent-cyan);
transition: 0.15s;
}
.slider-theme::-webkit-slider-thumb:hover {
transform: scale(1.3);
}
.progress-fill {
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
height: 4px;
background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
border-radius: 10px;
pointer-events: none;
z-index: 1;
}
.volume-container {
display: flex;
align-items: center;
gap: 10px;
width: 130px;
}
.volume-container i {
color: var(--text-secondary);
font-size: 13px;
width: 16px;
}
.slider-volume {
width: 90px;
}
.speed-selector {
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 8px;
padding: 6px 10px;
font-size: 12px;
color: var(--text-primary);
outline: none;
cursor: pointer;
}
.speed-selector option {
background-color: var(--bg-dark);
}
.hidden {
display: none !important;
}
/* ==========================================================================
Console Log Viewer
========================================================================== */
.console-card {
background: rgba(4, 5, 8, 0.7);
border: 1px solid rgba(255, 255, 255, 0.04);
}
.console-header {
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
padding-bottom: 8px;
margin-bottom: 10px;
font-size: 12px;
font-weight: 600;
color: var(--text-secondary);
}
.console-header i {
color: var(--accent-cyan);
margin-right: 6px;
}
.console-body {
height: 110px;
overflow-y: auto;
font-family: 'Orbitron', monospace;
font-size: 11px;
line-height: 1.8;
display: flex;
flex-direction: column;
gap: 4px;
padding-right: 6px;
}
/* Custom Scrollbar for console and script text areas */
.console-body::-webkit-scrollbar, .script-textarea::-webkit-scrollbar {
width: 5px;
}
.console-body::-webkit-scrollbar-track, .script-textarea::-webkit-scrollbar-track {
background: transparent;
}
.console-body::-webkit-scrollbar-thumb, .script-textarea::-webkit-scrollbar-thumb {
background: rgba(255, 255, 255, 0.08);
border-radius: 10px;
}
.log-line {
padding: 2px 6px;
border-radius: 4px;
word-break: break-all;
}
.log-line.system {
color: var(--text-secondary);
background: rgba(255, 255, 255, 0.02);
}
.log-line.info {
color: var(--accent-cyan);
background: rgba(0, 242, 254, 0.02);
}
.log-line.success {
color: var(--accent-green);
background: rgba(0, 230, 115, 0.02);
}
.log-line.error {
color: var(--accent-pink);
background: rgba(255, 92, 141, 0.02);
}
.log-line.word {
color: #fff;
font-weight: 500;
text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
}
/* ==========================================================================
Footer
========================================================================== */
.app-footer {
text-align: center;
margin-top: 40px;
padding-top: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.04);
font-size: 12px;
color: var(--text-secondary);
}
/* Responsive Scaling */
@media (max-width: 1024px) {
.dashboard-grid {
grid-template-columns: 1fr;
}
}