126 lines
2.9 KiB
CSS
126 lines
2.9 KiB
CSS
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
|
|
|
|
body {
|
|
font-family: 'Inter', sans-serif;
|
|
background: #0f172a;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.bg-grid {
|
|
background-image:
|
|
linear-gradient(rgba(99, 102, 241, 0.1) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(99, 102, 241, 0.1) 1px, transparent 1px);
|
|
background-size: 40px 40px;
|
|
|
|
}
|
|
|
|
@keyframes gridMove {
|
|
0% { transform: translate(0, 0); }
|
|
100% { transform: translate(20px, 20px); }
|
|
}
|
|
|
|
.glass {
|
|
background: rgba(30, 41, 59, 0.7);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border: 1px solid rgba(255, 255, 255, 0.1);
|
|
}
|
|
|
|
.glass-strong {
|
|
background: rgba(15, 23, 42, 0.9);
|
|
backdrop-filter: blur(20px);
|
|
-webkit-backdrop-filter: blur(20px);
|
|
}
|
|
|
|
.control-btn {
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
.control-btn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
|
|
}
|
|
|
|
.end-call-pulse {
|
|
animation: pulse-red 2s infinite;
|
|
}
|
|
|
|
@keyframes pulse-red {
|
|
0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
|
|
50% { box-shadow: 0 0 0 15px rgba(239, 68, 68, 0); }
|
|
}
|
|
|
|
.chat-bubble {
|
|
animation: messageSlide 0.3s ease-out;
|
|
}
|
|
|
|
@keyframes messageSlide {
|
|
from { opacity: 0; transform: translateX(-10px); }
|
|
to { opacity: 1; transform: translateX(0); }
|
|
}
|
|
|
|
.custom-scrollbar::-webkit-scrollbar {
|
|
width: 6px;
|
|
}
|
|
.custom-scrollbar::-webkit-scrollbar-track {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
.custom-scrollbar::-webkit-scrollbar-thumb {
|
|
background: rgba(255, 255, 255, 0.2);
|
|
border-radius: 3px;
|
|
}
|
|
|
|
.audio-wave {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 3px;
|
|
height: 20px;
|
|
}
|
|
|
|
.audio-wave span {
|
|
width: 3px;
|
|
background: #10b981;
|
|
border-radius: 2px;
|
|
animation: wave 1s ease-in-out infinite;
|
|
}
|
|
|
|
.audio-wave span:nth-child(1) { animation-delay: 0s; height: 40%; }
|
|
.audio-wave span:nth-child(2) { animation-delay: 0.1s; height: 70%; }
|
|
.audio-wave span:nth-child(3) { animation-delay: 0.2s; height: 100%; }
|
|
.audio-wave span:nth-child(4) { animation-delay: 0.3s; height: 60%; }
|
|
.audio-wave span:nth-child(5) { animation-delay: 0.4s; height: 30%; }
|
|
|
|
@keyframes wave {
|
|
0%, 100% { transform: scaleY(0.5); }
|
|
50% { transform: scaleY(1); }
|
|
}
|
|
|
|
.video-fade-in {
|
|
animation: videoFadeIn 0.5s ease-out;
|
|
}
|
|
|
|
@keyframes videoFadeIn {
|
|
from { opacity: 0; transform: scale(1.05); }
|
|
to { opacity: 1; transform: scale(1); }
|
|
}
|
|
|
|
/* 数据绑定标记 - 开发调试时显示 */
|
|
[data-field]::after {
|
|
content: attr(data-field);
|
|
position: absolute;
|
|
top: -18px;
|
|
right: 0;
|
|
background: #f59e0b;
|
|
color: #000;
|
|
font-size: 9px;
|
|
padding: 1px 4px;
|
|
border-radius: 3px;
|
|
opacity: 0;
|
|
transition: opacity 0.2s;
|
|
pointer-events: none;
|
|
z-index: 1000;
|
|
white-space: nowrap;
|
|
}
|
|
[data-field]:hover::after { opacity: 1; }
|
|
[data-field] { position: relative; }
|