Files
DemonGatanjieu-Anomalous_Mo…/web/styles/11-audio-studio.css
T

369 lines
9.0 KiB
CSS

/**
* 11-audio-studio.css
* Dark Glassmorphism Studio / DAW Design for Audio & Voice Ecosystem
*/
/* Equalizer bar keyframes */
@keyframes eq-pulse-1 {
0%, 100% { height: 4px; }
50% { height: 12px; }
}
@keyframes eq-pulse-2 {
0%, 100% { height: 12px; }
50% { height: 5px; }
}
@keyframes eq-pulse-3 {
0%, 100% { height: 7px; }
50% { height: 14px; }
}
.anomalous-eq-bar-1 { animation: eq-pulse-1 0.65s ease-in-out infinite; }
.anomalous-eq-bar-2 { animation: eq-pulse-2 0.5s ease-in-out infinite; }
.anomalous-eq-bar-3 { animation: eq-pulse-3 0.8s ease-in-out infinite; }
/* Workspace Containers */
.anomalous-audio-studio-wrapper,
.anomalous-audio-gallery-wrapper {
height: 100%;
overflow-y: auto;
padding: 20px;
box-sizing: border-box;
display: flex;
flex-direction: column;
gap: 16px;
background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent 40%),
radial-gradient(circle at bottom left, rgba(56, 189, 248, 0.04), transparent 40%);
}
/* Header & Toolbars */
.anomalous-audio-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
padding-bottom: 14px;
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
flex-shrink: 0;
}
.anomalous-audio-title-group {
display: flex;
align-items: center;
gap: 10px;
}
.anomalous-audio-icon-box {
display: flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 8px;
background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(56, 189, 248, 0.15));
border: 1px solid rgba(129, 140, 248, 0.3);
color: #818cf8;
box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}
.anomalous-audio-title-text {
font-size: 15px;
font-weight: 600;
color: #f8fafc;
letter-spacing: 0.3px;
}
.anomalous-audio-sub-text {
font-size: 12px;
color: #64748b;
margin-left: 6px;
}
/* Character Voice Cards */
.anomalous-character-voice-card {
background: rgba(18, 18, 23, 0.75);
border: 1px solid rgba(255, 255, 255, 0.07);
border-radius: 12px;
padding: 16px;
display: flex;
flex-direction: column;
gap: 12px;
backdrop-filter: blur(20px);
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, box-shadow 0.2s ease;
}
.anomalous-character-voice-card:hover {
border-color: rgba(99, 102, 241, 0.25);
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 15px rgba(99, 102, 241, 0.08);
}
.anomalous-voice-slice-row {
display: flex;
align-items: center;
gap: 10px;
padding: 8px 12px;
border-radius: 8px;
background: rgba(255, 255, 255, 0.02);
border: 1px solid rgba(255, 255, 255, 0.04);
transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
cursor: grab;
user-select: none;
}
.anomalous-voice-slice-row:hover {
background: rgba(255, 255, 255, 0.06);
border-color: rgba(255, 255, 255, 0.12);
transform: translateX(2px);
}
.anomalous-voice-slice-row:active {
cursor: grabbing;
}
/* Play Buttons */
.anomalous-audio-play-btn {
display: inline-flex;
align-items: center;
justify-content: center;
width: 28px;
height: 28px;
border-radius: 50%;
border: 1px solid rgba(255, 255, 255, 0.12);
background: rgba(255, 255, 255, 0.04);
color: #cbd5e1;
cursor: pointer;
flex-shrink: 0;
transition: all 0.15s ease;
}
.anomalous-audio-play-btn:hover {
background: rgba(56, 189, 248, 0.15);
border-color: rgba(56, 189, 248, 0.4);
color: #38bdf8;
transform: scale(1.06);
}
.anomalous-audio-play-btn.is-playing {
background: rgba(56, 189, 248, 0.2);
border-color: #38bdf8;
color: #38bdf8;
box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}
/* Audio Gallery Tracks */
.anomalous-audio-track-item {
display: flex;
align-items: center;
gap: 12px;
padding: 10px 14px;
border-radius: 10px;
background: rgba(22, 22, 28, 0.7);
border: 1px solid rgba(255, 255, 255, 0.06);
backdrop-filter: blur(14px);
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
.anomalous-audio-track-item:hover {
background: rgba(28, 28, 36, 0.85);
border-color: rgba(129, 140, 248, 0.3);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.anomalous-track-progress-bar {
flex: 1;
height: 4px;
border-radius: 2px;
background: rgba(255, 255, 255, 0.08);
position: relative;
overflow: hidden;
cursor: pointer;
}
.anomalous-track-progress-fill {
height: 100%;
width: 0%;
background: linear-gradient(90deg, #38bdf8, #818cf8);
border-radius: 2px;
transition: width 0.1s linear;
}
/* Audio Sidebar Nav */
.anomalous-audio-nav-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 12px;
margin: 2px 8px;
border-radius: 8px;
cursor: pointer;
font-size: 12px;
color: #cbd5e1;
transition: all 0.15s ease;
border-left: 2px solid transparent;
}
.anomalous-audio-nav-item:hover {
background: rgba(255, 255, 255, 0.04);
color: #f1f5f9;
}
.anomalous-audio-nav-item.active {
background: rgba(99, 102, 241, 0.14);
color: #818cf8;
border-left-color: #818cf8;
font-weight: 600;
}
/* Audio Voice Ingestion Modal */
.anomalous-voice-modal-overlay {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.75);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
animation: ambModalFadeIn 0.2s ease-out;
}
@keyframes ambModalFadeIn {
from { opacity: 0; transform: scale(0.98); }
to { opacity: 1; transform: scale(1); }
}
.anomalous-voice-modal {
background: #141722;
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 16px;
padding: 24px;
width: 520px;
max-width: 92vw;
max-height: 90vh;
overflow-y: auto;
box-shadow: 0 24px 60px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(129, 140, 248, 0.15);
display: flex;
flex-direction: column;
gap: 16px;
color: #f1f5f9;
}
.anomalous-voice-modal-header {
display: flex;
align-items: flex-start;
justify-content: space-between;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
padding-bottom: 14px;
}
.anomalous-audio-dropzone {
border: 1.5px dashed rgba(129, 140, 248, 0.35);
background: rgba(99, 102, 241, 0.04);
border-radius: 12px;
padding: 20px 16px;
text-align: center;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 8px;
}
.anomalous-audio-dropzone:hover,
.anomalous-audio-dropzone.dragover {
border-color: #818cf8;
background: rgba(99, 102, 241, 0.1);
transform: translateY(-1px);
}
.anomalous-uploader-input,
.anomalous-uploader-textarea {
width: 100%;
box-sizing: border-box;
background: rgba(0, 0, 0, 0.35);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 8px;
padding: 8px 12px;
color: #f1f5f9;
font-size: 13px;
transition: border-color 0.2s;
outline: none;
}
.anomalous-uploader-input:focus,
.anomalous-uploader-textarea:focus {
border-color: #818cf8;
box-shadow: 0 0 0 2px rgba(129, 140, 248, 0.2);
}
.anomalous-tag-chip {
display: inline-flex;
align-items: center;
padding: 3px 8px;
font-size: 11px;
border-radius: 6px;
background: rgba(255, 255, 255, 0.05);
border: 1px solid rgba(255, 255, 255, 0.1);
color: #cbd5e1;
cursor: pointer;
user-select: none;
transition: all 0.15s ease;
}
.anomalous-tag-chip:hover {
background: rgba(99, 102, 241, 0.2);
border-color: rgba(129, 140, 248, 0.4);
color: #e0e7ff;
}
.anomalous-tag-chip.active {
background: rgba(99, 102, 241, 0.35);
border-color: #818cf8;
color: #ffffff;
font-weight: 600;
}
/* Romanize Action Button */
.anomalous-romanize-btn {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 2px 8px;
border-radius: 6px;
background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(168, 85, 247, 0.15));
border: 1px solid rgba(236, 72, 153, 0.35);
color: #f472b6;
font-size: 11px;
font-weight: 500;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
box-shadow: 0 1px 4px rgba(236, 72, 153, 0.1);
}
.anomalous-romanize-btn:hover {
background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(168, 85, 247, 0.25));
border-color: rgba(236, 72, 153, 0.6);
color: #fbcfe8;
transform: translateY(-1px);
box-shadow: 0 2px 8px rgba(236, 72, 153, 0.25);
}
.anomalous-romanize-btn:active {
transform: translateY(0);
}
.anomalous-romanize-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
transform: none;
}