/* 语音设置页面样式 */ #voice-settings-page { background-color: #f5f5f5; min-height: 100vh; padding-bottom: 20px; } /* 页面头部 */ .page-header { background: #f6f6f6; color: rgb(43, 42, 42); padding: 15px 0; position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } .header-content { display: flex; align-items: center; max-width: 1200px; margin: 0 auto; padding: 0 20px; } .back-btn { background: none; border: none; color: rgb(0, 0, 0); font-size: 18px; cursor: pointer; padding: 8px; border-radius: 50%; transition: background-color 0.3s ease; margin-right: 15px; } .back-btn:hover { background-color: rgba(255, 255, 255, 0.1); } .page-title { font-size: 18px; font-weight: 600; margin: 0; } /* 设置部分 */ .settings-section { margin-bottom: 1px; } .section-header { padding: 15px 20px 10px 20px; background: #f5f5f5; } .section-title { font-size: 14px; color: #999; font-weight: 400; margin: 0; } /* 设置项 */ .settings-item { background: white; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid #f0f0f0; cursor: pointer; transition: background-color 0.3s ease; min-height: 60px; } .settings-item:hover { background-color: #f9f9f9; } .settings-item:last-child { border-bottom: none; } .item-content { flex: 1; } .item-content h3 { margin: 0 0 5px 0; font-size: 16px; font-weight: 400; color: #333; line-height: 1.4; } .item-description { margin: 0; font-size: 14px; color: #999; line-height: 1.4; } .item-action { margin-left: 15px; display: flex; align-items: center; } .item-action i { font-size: 14px; color: #ccc; } /* 特殊样式调整 */ .settings-section:first-of-type .section-header { padding-top: 20px; } /* 响应式设计 */ @media (max-width: 768px) { .header-content { padding: 0 15px; } .section-header { padding: 15px 15px 10px 15px; } .settings-item { padding: 18px 15px; } .item-content h3 { font-size: 15px; } .item-description { font-size: 13px; } } /* 动画效果 */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } .settings-item { animation: fadeInUp 0.6s ease forwards; } .settings-item:nth-child(1) { animation-delay: 0.1s; } .settings-item:nth-child(2) { animation-delay: 0.2s; } .settings-item:nth-child(3) { animation-delay: 0.3s; } .settings-item:nth-child(4) { animation-delay: 0.4s; } /* 深色模式支持 */ @media (prefers-color-scheme: dark) { #voice-settings-page { background-color: #1a1a1a; } .section-header { background: #1a1a1a; } .settings-item { background: #2d2d2d; color: white; border-color: #404040; } .item-content h3 { color: white; } .item-description { color: #ccc; } .section-title { color: #ccc; } .item-action i { color: #999; } } /* 点击反馈效果 */ .settings-item:active { background-color: #f0f0f0; transform: scale(0.98); transition: all 0.1s ease; } @media (prefers-color-scheme: dark) { .settings-item:active { background-color: #404040; } }