Spaces:
Runtime error
Runtime error
Download static/style.css from cytopa99/universal-fast-dubbing: direct link, hf CLI and curl.
- Browser
- Download file 3.57 kB
-
https://huggingface.co/spaces/cytopa99/universal-fast-dubbing/resolve/e25b15a24b18f9f4a89101efe078dfd7fee15b62/static/style.css
- Command line
-
hf download hf://spaces/cytopa99/universal-fast-dubbing@e25b15a24b18f9f4a89101efe078dfd7fee15b62/static/style.css
-
curl -L -o style.css https://huggingface.co/spaces/cytopa99/universal-fast-dubbing/resolve/e25b15a24b18f9f4a89101efe078dfd7fee15b62/static/style.css
3.57 kB
| /* Universal Fast Dubbing - 自定义样式 */ | |
| :root { | |
| --primary-color: #667eea; | |
| --secondary-color: #764ba2; | |
| --success-color: #10b981; | |
| --error-color: #ef4444; | |
| --warning-color: #f59e0b; | |
| --text-light: #f8fafc; | |
| --text-dark: #1f2937; | |
| } | |
| /* 渐变背景 */ | |
| .gradient-bg { | |
| background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); | |
| min-height: 100vh; | |
| } | |
| /* 玻璃效果卡片 */ | |
| .glass-card { | |
| backdrop-filter: blur(10px); | |
| background: rgba(255, 255, 255, 0.1); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| border-radius: 12px; | |
| box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1); | |
| } | |
| /* 按钮样式 */ | |
| .btn-primary { | |
| background: linear-gradient(45deg, var(--primary-color), var(--secondary-color)); | |
| border: none; | |
| color: white; | |
| padding: 12px 24px; | |
| border-radius: 8px; | |
| font-weight: 600; | |
| transition: all 0.3s ease; | |
| cursor: pointer; | |
| } | |
| .btn-primary:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); | |
| } | |
| .btn-primary:disabled { | |
| opacity: 0.6; | |
| cursor: not-allowed; | |
| transform: none; | |
| } | |
| /* 输入框样式 */ | |
| .input-glass { | |
| background: rgba(255, 255, 255, 0.1); | |
| border: 1px solid rgba(255, 255, 255, 0.3); | |
| border-radius: 8px; | |
| padding: 12px 16px; | |
| color: white; | |
| width: 100%; | |
| transition: all 0.3s ease; | |
| } | |
| .input-glass:focus { | |
| outline: none; | |
| border-color: var(--primary-color); | |
| box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); | |
| } | |
| .input-glass::placeholder { | |
| color: rgba(255, 255, 255, 0.6); | |
| } | |
| /* 进度条动画 */ | |
| .progress-bar { | |
| transition: width 0.5s ease-in-out; | |
| background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); | |
| } | |
| /* 状态指示器 */ | |
| .status-indicator { | |
| display: inline-block; | |
| width: 8px; | |
| height: 8px; | |
| border-radius: 50%; | |
| margin-right: 8px; | |
| } | |
| .status-healthy { | |
| background-color: var(--success-color); | |
| box-shadow: 0 0 8px var(--success-color); | |
| } | |
| .status-error { | |
| background-color: var(--error-color); | |
| box-shadow: 0 0 8px var(--error-color); | |
| } | |
| .status-warning { | |
| background-color: var(--warning-color); | |
| box-shadow: 0 0 8px var(--warning-color); | |
| } | |
| /* 响应式设计 */ | |
| @media (max-width: 768px) { | |
| .container { | |
| padding: 16px; | |
| } | |
| .glass-card { | |
| margin-bottom: 16px; | |
| padding: 16px; | |
| } | |
| .grid-cols-2 { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| /* 动画效果 */ | |
| @keyframes fadeIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(20px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .fade-in { | |
| animation: fadeIn 0.5s ease-out; | |
| } | |
| /* 音频播放器样式 */ | |
| audio { | |
| width: 100%; | |
| height: 40px; | |
| background: rgba(255, 255, 255, 0.1); | |
| border-radius: 8px; | |
| } | |
| /* 代码块样式 */ | |
| code { | |
| background: rgba(0, 0, 0, 0.3); | |
| padding: 4px 8px; | |
| border-radius: 4px; | |
| font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace; | |
| font-size: 0.9em; | |
| } | |
| /* 加载动画 */ | |
| .loading-spinner { | |
| border: 2px solid rgba(255, 255, 255, 0.3); | |
| border-radius: 50%; | |
| border-top: 2px solid white; | |
| width: 20px; | |
| height: 20px; | |
| animation: spin 1s linear infinite; | |
| display: inline-block; | |
| margin-right: 8px; | |
| } | |
| @keyframes spin { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } |