/* 处理监控页面专用样式 */ .process-container { max-width: 1200px; margin: 0 auto; padding: 20px; } /* 头部 */ .process-header { background: white; padding: 20px 30px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; } .header-left { display: flex; align-items: center; gap: 20px; } .back-link { color: #667eea; text-decoration: none; display: flex; align-items: center; gap: 5px; font-size: 14px; } .back-link:hover { text-decoration: underline; } .process-header h1 { color: #333; font-size: 24px; display: flex; align-items: center; gap: 10px; } /* 活动处理列表 */ .active-list { display: flex; flex-direction: column; gap: 15px; } .active-process-item { border: 2px solid #667eea; border-radius: 12px; padding: 20px; background: linear-gradient(135deg, #f5f3ff 0%, #e0e7ff 100%); } .active-process-item.paused { border-color: #f59e0b; background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%); } .process-info { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 15px; } .process-name { font-size: 18px; font-weight: 600; color: #333; } .process-meta { font-size: 13px; color: #666; margin-top: 5px; } .process-status-badge { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 500; } .status-running { background: #d1fae5; color: #065f46; } .status-paused { background: #fef3c7; color: #92400e; } /* 步骤进度条 */ .steps-progress { display: flex; align-items: center; gap: 0; margin: 15px 0; } .step-node { display: flex; flex-direction: column; align-items: center; flex: 1; position: relative; } .step-node::before { content: ''; position: absolute; top: 15px; left: 50%; width: 100%; height: 3px; background: #e9ecef; z-index: 0; } .step-node:last-child::before { display: none; } .step-circle { width: 30px; height: 30px; border-radius: 50%; background: #e9ecef; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: bold; color: #999; z-index: 1; position: relative; } .step-node.completed .step-circle { background: #10b981; color: white; } .step-node.running .step-circle { background: #667eea; color: white; animation: pulse 1.5s infinite; } .step-node.failed .step-circle { background: #ef4444; color: white; } .step-node.skipped .step-circle { background: #9ca3af; color: white; } .step-label { font-size: 11px; color: #666; margin-top: 5px; text-align: center; max-width: 80px; } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.1); } } /* 步骤简要数值 */ .steps-summary { display: flex; flex-wrap: wrap; gap: 10px; padding: 12px 15px; background: #f8f9fa; border-radius: 8px; margin-top: 10px; } .step-summary-item { display: flex; align-items: center; gap: 5px; padding: 4px 10px; background: white; border-radius: 4px; font-size: 13px; } .step-summary-item.completed { background: #d1fae5; } .step-summary-item.running { background: #e0e7ff; } .step-summary-item.failed { background: #fee2e2; } .step-summary-item.skipped { background: #f3f4f6; } .step-summary-label { color: #666; } .step-summary-value { font-weight: 600; color: #333; } /* 操作按钮 */ .process-actions { display: flex; gap: 10px; margin-top: 15px; } /* 步骤定义流程 */ .steps-flow { display: flex; justify-content: space-between; padding: 20px; overflow-x: auto; } .step-card { flex: 0 0 150px; text-align: center; padding: 15px; background: #f8f9fa; border-radius: 8px; margin-right: 10px; } .step-card:last-child { margin-right: 0; } .step-number { width: 40px; height: 40px; border-radius: 50%; background: #667eea; color: white; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: bold; margin: 0 auto 10px; } .step-title { font-weight: 500; color: #333; margin-bottom: 5px; } .step-desc { font-size: 12px; color: #666; } /* 历史表格 */ .history-section .data-table td { vertical-align: middle; } .step-indicator { display: flex; align-items: center; gap: 5px; font-size: 13px; } .step-indicator .dot { width: 8px; height: 8px; border-radius: 50%; } .step-indicator .dot.completed { background: #10b981; } .step-indicator .dot.running { background: #667eea; } .step-indicator .dot.failed { background: #ef4444; } /* 详情模态框 */ .detail-steps { display: flex; flex-direction: column; gap: 10px; } .detail-step { border: 1px solid #e9ecef; border-radius: 8px; padding: 15px; } .detail-step-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .detail-step-name { font-weight: 500; display: flex; align-items: center; gap: 10px; } .detail-step-status { padding: 2px 8px; border-radius: 4px; font-size: 12px; } .detail-step-content { background: #f8f9fa; padding: 10px; border-radius: 6px; font-size: 13px; max-height: 200px; overflow-y: auto; } .detail-step-time { font-size: 12px; color: #999; margin-top: 5px; } /* 响应式 */ @media (max-width: 768px) { .steps-flow { flex-direction: column; } .step-card { margin-right: 0; margin-bottom: 10px; } .steps-progress { flex-wrap: wrap; } }