/* 帮助面板样式 */ .action-help-panel .ant-drawer-header { border-bottom: 2px solid #f0f0f0; } .help-panel-title { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 600; } .help-panel-header { display: flex; align-items: center; justify-content: space-between; width: 100%; } .help-panel-header-text { font-weight: 500; color: rgba(0, 0, 0, 0.88); } /* 操作详情样式 */ .help-action-detail { display: flex; flex-direction: column; gap: 20px; } .help-action-header { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border-radius: 12px; color: white; } .help-action-icon { font-size: 28px; line-height: 1; opacity: 0.95; } .help-action-info { flex: 1; display: flex; flex-direction: column; gap: 6px; } .help-action-title { margin: 0; font-size: 18px; font-weight: 600; color: white; } .help-action-badge { align-self: flex-start; margin: 0; font-size: 11px; padding: 2px 8px; border-radius: 10px; } /* 帮助区块样式 */ .help-section { padding: 16px; background: #f8f9fa; border-radius: 8px; border-left: 3px solid #1677ff; } .help-section-warning { background: #fff7e6; border-left-color: #faad14; } .help-section-title { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: rgba(0, 0, 0, 0.88); margin-bottom: 12px; } .help-section-content { font-size: 13px; line-height: 1.8; color: rgba(0, 0, 0, 0.65); } .help-section-list { margin: 0; padding-left: 20px; list-style-type: disc; } .help-section-list li { font-size: 13px; line-height: 1.8; color: rgba(0, 0, 0, 0.65); margin-bottom: 8px; } .help-section-list li:last-child { margin-bottom: 0; } .help-section-steps { margin: 0; padding-left: 20px; counter-reset: step-counter; list-style: none; } .help-section-steps li { font-size: 13px; line-height: 1.8; color: rgba(0, 0, 0, 0.65); margin-bottom: 12px; padding-left: 12px; position: relative; counter-increment: step-counter; } .help-section-steps li:before { content: counter(step-counter); position: absolute; left: -20px; top: 0; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; background: #1677ff; color: white; border-radius: 50%; font-size: 11px; font-weight: 600; } .help-section-steps li:last-child { margin-bottom: 0; } .help-shortcut { display: inline-block; } .help-shortcut kbd { display: inline-block; padding: 6px 12px; 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: 12px; font-family: 'Monaco', 'Consolas', monospace; color: rgba(0, 0, 0, 0.88); font-weight: 500; } /* 操作列表样式 */ .help-actions-list { display: flex; flex-direction: column; gap: 12px; } .help-action-item { padding: 12px; background: white; border: 1px solid #f0f0f0; border-radius: 8px; transition: all 0.3s ease; cursor: pointer; } .help-action-item:hover { border-color: #1677ff; box-shadow: 0 2px 8px rgba(22, 119, 255, 0.1); transform: translateY(-2px); } .help-action-item-header { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } .help-action-item-icon { font-size: 16px; color: #1677ff; } .help-action-item-title { flex: 1; font-size: 14px; font-weight: 500; color: rgba(0, 0, 0, 0.88); } .help-action-item-shortcut { padding: 2px 6px; background: #f0f0f0; border: 1px solid #d9d9d9; border-radius: 4px; font-size: 11px; font-family: 'Monaco', 'Consolas', monospace; color: rgba(0, 0, 0, 0.65); } .help-action-item-desc { font-size: 12px; line-height: 1.6; color: rgba(0, 0, 0, 0.45); padding-left: 24px; } /* 折叠面板自定义样式 */ .action-help-panel .ant-collapse-ghost > .ant-collapse-item { margin-bottom: 16px; } .action-help-panel .ant-collapse-ghost > .ant-collapse-item > .ant-collapse-header { padding: 12px 16px; background: #fafafa; border-radius: 8px; font-weight: 500; } .action-help-panel .ant-collapse-ghost > .ant-collapse-item > .ant-collapse-content { padding-top: 12px; } /* 响应式调整 */ @media (max-width: 768px) { .action-help-panel .ant-drawer-content-wrapper { width: 100% !important; } .help-action-header { padding: 12px; } .help-section { padding: 12px; } }