/** * UI Mobile Adapter CSS - 智能中控台手机端专属样式增强 * * 说明: * 1. 此文件在 ui-core.css 和 ui-mobile.css 之后加载 * 2. 仅包含手机端特有的样式增强 * 3. 不影响其他移动端项目(H5 工具集等) */ /* ========== 手机端专属功能标签样式 ========== */ .function-nav { position: relative; padding: 10px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; /* Firefox */ } .function-nav::-webkit-scrollbar { display: none; /* Chrome/Safari */ } .function-nav button { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .function-nav button:active { transform: scale(0.95); -webkit-transform: scale(0.95); } /* ========== 个人中心弹窗样式 ========== */ .profile-modal { backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } .profile-avatar { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, #667eea, #764ba2); display: flex; align-items: center; justify-content: center; font-size: 40px; color: white; box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3); } /* ========== 多模态输入框样式 ========== */ .multimodal-options { display: none; margin-top: 10px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding: 5px 0; } .multimodal-options::-webkit-scrollbar { display: none; } .mode-btn { min-width: 60px; padding: 8px 12px; background: #f5f5f5; border: 1px solid #ddd; border-radius: 6px; font-size: 13px; cursor: pointer; flex-shrink: 0; transition: all 0.2s ease; -webkit-transition: all 0.2s ease; } .mode-btn:active { transform: scale(0.9); -webkit-transform: scale(0.9); } .mode-btn.active { background: linear-gradient(135deg, #667eea, #764ba2); color: white; border-color: transparent; } /* ========== 底部导航栏样式 ========== */ .bottom-nav { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); } .nav-item { transition: all 0.3s ease; -webkit-transition: all 0.3s ease; } .nav-item:active { transform: scale(0.9); -webkit-transform: scale(0.9); } .nav-item.active span:first-child { transform: scale(1.2); -webkit-transform: scale(1.2); } .nav-item.active { color: #667eea !important; } /* ========== AI 对话气泡样式 ========== */ .ai-message { background: white; border-radius: 16px; padding: 15px; margin-bottom: 15px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08); animation: slideIn 0.3s ease; } .user-message { background: linear-gradient(135deg, #667eea, #764ba2); color: white; border-radius: 16px; padding: 15px; margin-bottom: 15px; animation: slideIn 0.3s ease; } @keyframes slideIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } } /* ========== 加载动画 ========== */ .loading-spinner { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(102, 126, 234, 0.3); border-radius: 50%; border-top-color: #667eea; animation: spin 0.8s linear infinite; -webkit-animation: spin 0.8s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* ========== 按钮效果 ========== */ .btn-primary-mobile { position: relative; overflow: hidden; transition: all 0.3s ease; -webkit-transition: all 0.3s ease; } .btn-primary-mobile::after { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.5); transform: translate(-50%, -50%); transition: width 0.6s, height 0.6s; } .btn-primary-mobile:active::after { width: 200px; height: 200px; } /* ========== 滚动条美化 ========== */ ::-webkit-scrollbar { width: 6px; height: 6px; } ::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.05); border-radius: 3px; } ::-webkit-scrollbar-thumb { background: rgba(102, 126, 234, 0.5); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: rgba(102, 126, 234, 0.7); } /* ========== 毛玻璃效果 ========== */ .glass-effect { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); } /* ========== 安全区域适配 ========== */ @supports (padding-bottom: env(safe-area-inset-bottom)) { .bottom-nav { padding-bottom: env(safe-area-inset-bottom); } .mobile-header { padding-top: env(safe-area-inset-top); } } /* ========== 深色模式支持 ========== */ @media (prefers-color-scheme: dark) { .welcome-card { box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4); } .ai-message { background: rgba(30, 30, 30, 0.95); color: white; } } /* ========== 性能优化 ========== */ .will-animate { will-change: transform, opacity; } .no-delay { transition-delay: 0s !important; } /* ========== 触摸反馈 ========== */ .touch-feedback { position: relative; } .touch-feedback::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.1); opacity: 0; transition: opacity 0.2s; pointer-events: none; } .touch-feedback:active::before { opacity: 1; } /* ===== 2026-09-09 简洁灰化覆盖(多维鹰·AI智能中控台视觉收敛;后置同文件覆盖)===== */ .mobile-btn-primary,.chat-bubble.user,.user-message,.mode-btn.active,.btn-primary-mobile, .form-submit-button,.form-button.form-submit-button,.profile-avatar,.welcome-card,.send-btn,#send-btn{ background:#eef2f7 !important;background-image:none !important;color:#1e293b !important; border:none !important;box-shadow:none !important;} .chat-bubble,.chat-bubble.ai,.chat-bubble.user,.ai-message,.message-bubble{ font-size:14px !important;line-height:1.7 !important;color:#1e293b !important;} .chat-bubble.ai,.ai-message{background:#f1f5f9 !important;background-image:none !important;} .function-nav button{ background:#f1f5f9 !important;background-image:none !important;color:#475569 !important; border:none !important;box-shadow:none !important;font-size:12px !important; padding:5px 11px !important;border-radius:15px !important;margin:0 !important;transform:none !important;} #chat-input,.ai-chat-input{font-size:14px !important;border:1px solid #e2e8f0 !important;border-radius:16px !important;} .mobile-header h1{font-size:15px !important;color:#334155 !important;} .nav-item span{font-size:11px !important;} .text-primary{color:#64748b !important;}