.button-guide-badge-wrapper { display: inline-block; position: relative; } /* 引导徽章样式 - 改为放在右上角外部 */ .button-guide-badge-wrapper .ant-badge { display: block; } .button-guide-badge-wrapper .ant-badge-count { top: -8px; right: -8px; transform: none; } /* 引导徽章样式 */ .guide-badge { display: flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; background: #1677ff; border-radius: 10px; color: white; font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; animation: pulseBadge 2s ease-in-out infinite; box-shadow: 0 2px 8px rgba(22, 119, 255, 0.4); border: 2px solid white; } .guide-badge:hover { animation: none; transform: scale(1.2); box-shadow: 0 4px 12px rgba(22, 119, 255, 0.6); } .guide-badge-new { background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%); box-shadow: 0 2px 8px rgba(82, 196, 26, 0.4); } .guide-badge-new:hover { box-shadow: 0 4px 12px rgba(82, 196, 26, 0.6); } .guide-badge-help { background: linear-gradient(135deg, #1677ff 0%, #4096ff 100%); box-shadow: 0 2px 8px rgba(22, 119, 255, 0.4); } .guide-badge-help:hover { box-shadow: 0 4px 12px rgba(22, 119, 255, 0.6); } .guide-badge-warn { background: linear-gradient(135deg, #faad14 0%, #ffc53d 100%); box-shadow: 0 2px 8px rgba(250, 173, 20, 0.4); } .guide-badge-warn:hover { box-shadow: 0 4px 12px rgba(250, 173, 20, 0.6); } @keyframes pulseBadge { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.15); opacity: 0.8; } } /* 引导弹窗样式 */ .button-guide-modal .ant-modal-header { padding: 20px 24px; border-bottom: 2px solid #f0f0f0; } .button-guide-modal .ant-modal-body { padding: 24px; max-height: 600px; overflow-y: auto; } .guide-modal-header { display: flex; align-items: center; gap: 12px; } .guide-modal-icon { font-size: 24px; color: #1677ff; } .guide-modal-title { font-size: 18px; font-weight: 600; color: rgba(0, 0, 0, 0.88); } .guide-modal-badge { margin: 0; font-size: 11px; padding: 2px 8px; } /* 引导区块样式 */ .guide-section { margin-bottom: 20px; padding: 16px; background: #f8f9fa; border-radius: 8px; border-left: 3px solid #1677ff; } .guide-section:last-child { margin-bottom: 0; } .guide-section-warning { background: #fff7e6; border-left-color: #faad14; } .guide-section-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: rgba(0, 0, 0, 0.88); margin-bottom: 12px; } .guide-section-icon { font-size: 16px; color: #1677ff; } .guide-section-warning .guide-section-icon { color: #faad14; } .guide-section-content { margin: 0; font-size: 14px; line-height: 1.8; color: rgba(0, 0, 0, 0.65); } .guide-list { margin: 0; padding-left: 20px; list-style-type: disc; } .guide-list li { font-size: 13px; line-height: 1.8; color: rgba(0, 0, 0, 0.65); margin-bottom: 8px; } .guide-list li:last-child { margin-bottom: 0; } /* 步骤样式 */ .guide-steps { margin-top: 12px; } .guide-steps .ant-steps-item-title { font-size: 13px !important; font-weight: 600 !important; } .guide-steps .ant-steps-item-description { font-size: 13px !important; line-height: 1.6 !important; color: rgba(0, 0, 0, 0.65) !important; } /* 引导底部 */ .guide-footer { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 20px; padding: 16px; background: white; border-radius: 8px; border: 1px solid #f0f0f0; } .guide-footer-item { display: flex; align-items: center; gap: 8px; } .guide-footer-label { font-size: 13px; color: rgba(0, 0, 0, 0.65); } .guide-footer-kbd { display: inline-block; padding: 4px 10px; background: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%); border: 1px solid #d9d9d9; border-radius: 6px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 -2px 0 rgba(0, 0, 0, 0.05); font-size: 11px; font-family: 'Monaco', 'Consolas', monospace; color: rgba(0, 0, 0, 0.88); font-weight: 500; } /* 响应式调整 */ @media (max-width: 768px) { .button-guide-modal { max-width: calc(100% - 32px); } .button-guide-modal .ant-modal-body { max-height: 500px; } .guide-footer { flex-direction: column; gap: 12px; } }