/* Pipeline Module Styles */ .pipeline-container { padding: 20px; height: 100%; overflow-y: auto; } .pipeline-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #e0e0e0; } .pipeline-header h2 { margin: 0; font-size: 22px; color: #333; } .pipeline-btn { padding: 8px 18px; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 500; transition: all 0.2s; } .pipeline-btn-primary { background: #4a90d9; color: #fff; } .pipeline-btn-primary:hover { background: #357abd; } .pipeline-btn-secondary { background: #e8e8e8; color: #333; } .pipeline-btn-secondary:hover { background: #d5d5d5; } .pipeline-btn-danger { background: #e74c3c; color: #fff; } .pipeline-btn-danger:hover { background: #c0392b; } .pipeline-btn-sm { padding: 4px 12px; font-size: 12px; } .pipeline-task-list { list-style: none; padding: 0; margin: 0; } .pipeline-task-item { display: flex; align-items: center; padding: 14px 16px; border: 1px solid #e0e0e0; border-radius: 8px; margin-bottom: 10px; cursor: pointer; transition: all 0.2s; background: #fff; } .pipeline-task-item:hover { border-color: #4a90d9; box-shadow: 0 2px 8px rgba(74,144,217,0.12); } .pipeline-task-id { font-family: monospace; font-size: 13px; color: #4a90d9; font-weight: 600; min-width: 180px; } .pipeline-task-title { flex: 1; font-size: 15px; color: #333; margin: 0 16px; } .pipeline-task-meta { font-size: 12px; color: #888; display: flex; gap: 16px; align-items: center; } .pipeline-status { padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600; display: inline-block; } .status-completed { background: #d4edda; color: #155724; } .status-running { background: #fff3cd; color: #856404; } .status-failed { background: #f8d7da; color: #721c24; } .status-submitted { background: #d1ecf1; color: #0c5460; } /* Task Detail */ .pipeline-detail-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid #e0e0e0; } .pipeline-back-btn { background: none; border: 1px solid #ccc; border-radius: 6px; padding: 6px 14px; cursor: pointer; font-size: 13px; color: #666; } .pipeline-back-btn:hover { background: #f0f0f0; } .pipeline-detail-title { font-size: 20px; font-weight: 600; color: #333; } .pipeline-detail-meta { font-size: 13px; color: #888; margin-top: 4px; } /* Node Tree */ .pipeline-node-tree { padding: 0; } .pipeline-node-card { border: 1px solid #e0e0e0; border-radius: 8px; margin-bottom: 8px; overflow: hidden; background: #fff; position: relative; } .pipeline-node-card::before { content: ''; position: absolute; left: 20px; top: -8px; width: 2px; height: 8px; background: #d0d0d0; } .pipeline-node-card:first-child::before { display: none; } .pipeline-node-header { display: flex; align-items: center; padding: 12px 16px; cursor: pointer; transition: background 0.15s; } .pipeline-node-header:hover { background: #f8f9fa; } .pipeline-node-icon { width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; margin-right: 12px; flex-shrink: 0; } .node-icon-completed { background: #d4edda; color: #155724; } .node-icon-running { background: #fff3cd; color: #856404; } .node-icon-pending { background: #e8e8e8; color: #888; } .node-icon-failed { background: #f8d7da; color: #721c24; } .pipeline-node-name { flex: 1; font-size: 14px; font-weight: 500; color: #333; } .pipeline-node-version { font-size: 11px; color: #888; background: #f0f0f0; padding: 2px 8px; border-radius: 10px; margin-left: 8px; } .pipeline-node-body { padding: 0 16px 16px; display: none; border-top: 1px solid #f0f0f0; } .pipeline-node-body.expanded { display: block; padding-top: 12px; } .pipeline-io-section { margin-bottom: 12px; } .pipeline-io-label { font-size: 12px; font-weight: 600; color: #666; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; } .pipeline-io-content { background: #f8f9fa; border: 1px solid #e8e8e8; border-radius: 6px; padding: 10px; font-family: monospace; font-size: 12px; max-height: 200px; overflow-y: auto; white-space: pre-wrap; word-break: break-all; } .pipeline-io-actions { display: flex; gap: 8px; margin-top: 8px; } /* Create Form */ .pipeline-form { max-width: 600px; } .pipeline-form-group { margin-bottom: 18px; } .pipeline-form-label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 6px; } .pipeline-form-input, .pipeline-form-select, .pipeline-form-textarea { width: 100%; padding: 10px 12px; border: 1px solid #d0d0d0; border-radius: 6px; font-size: 14px; box-sizing: border-box; transition: border-color 0.2s; } .pipeline-form-input:focus, .pipeline-form-select:focus, .pipeline-form-textarea:focus { border-color: #4a90d9; outline: none; box-shadow: 0 0 0 3px rgba(74,144,217,0.1); } .pipeline-form-textarea { min-height: 150px; resize: vertical; font-family: inherit; } /* Edit Modal */ .pipeline-edit-section { background: #f8f9fa; border: 1px solid #e0e0e0; border-radius: 8px; padding: 16px; margin-top: 12px; } .pipeline-edit-textarea { width: 100%; min-height: 200px; padding: 10px; border: 1px solid #d0d0d0; border-radius: 6px; font-family: monospace; font-size: 12px; resize: vertical; box-sizing: border-box; } .pipeline-edit-type { display: flex; gap: 12px; margin-bottom: 12px; } .pipeline-edit-type label { display: flex; align-items: center; gap: 4px; font-size: 13px; cursor: pointer; } .pipeline-edit-actions { display: flex; gap: 8px; margin-top: 12px; } .pipeline-empty { text-align: center; padding: 60px 20px; color: #aaa; } .pipeline-loading { text-align: center; padding: 40px; color: #888; font-size: 14px; } .pipeline-error { background: #fff3f3; border: 1px solid #fcc; border-radius: 6px; padding: 12px; color: #c00; font-size: 13px; margin: 10px 0; }