.migration-container { max-width: 800px; margin: 20px auto; padding: 20px; background: #fff; border-radius: 5px; box-shadow: 0 1px 3px rgba(0,0,0,0.1); } .migration-header { margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #eee; } .migration-header h2 { margin: 0; color: #23282d; } .migration-progress-bar { height: 20px; background-color: #f1f1f1; border-radius: 10px; margin: 20px 0; overflow: hidden; } #migration-progress { height: 100%; width: 0; background-color: #2271b1; transition: width 0.3s ease; } .migration-steps { margin: 20px 0; } .migration-step { display: flex; align-items: center; padding: 10px; margin: 5px 0; border-radius: 4px; background: #f8f9fa; } .step-icon { width: 24px; height: 24px; margin-right: 10px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; } .step-content { flex-grow: 1; } .step-title { font-weight: 600; margin-bottom: 2px; } .step-message { font-size: 12px; color: #666; } /* Step States */ .migration-step.pending .step-icon { background: #ccc; } .migration-step.running .step-icon { background: #2271b1; animation: pulse 1s infinite; } .migration-step.success .step-icon { background: #46b450; } .migration-step.error .step-icon { background: #dc3232; } /* Log Section */ .migration-log-container { margin-top: 20px; padding: 10px; background: #f8f9fa; border: 1px solid #e2e4e7; border-radius: 4px; } .log-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .log-header h3 { margin: 0; } #copy-log { display: flex; align-items: center; gap: 5px; padding: 4px 8px; } #copy-log .dashicons { font-size: 16px; width: 16px; height: 16px; } #copy-log.copied { background: #46b450; color: #fff; border-color: #39943d; } #migration-log { height: 200px; overflow-y: auto; font-family: monospace; font-size: 12px; padding: 10px; background: #fff; border: 1px solid #e2e4e7; border-radius: 2px; white-space: pre-wrap; word-wrap: break-word; } .log-entry { margin: 2px 0; line-height: 1.4; } .log-time { color: #666; } .text-info { color: #2271b1; } .text-success { color: #46b450; } .text-warning { color: #ffb900; } .text-danger { color: #dc3232; } /* Error Message */ #migration-error { display: none; margin: 10px 0; padding: 10px; background: #dc3232; color: #fff; border-radius: 4px; } /* Button */ #start-migration { display: inline-block; padding: 8px 16px; font-size: 14px; font-weight: 600; color: #fff; background: #2271b1; border: none; border-radius: 4px; cursor: pointer; transition: background 0.2s; } #start-migration:hover { background: #135e96; } #start-migration:disabled { background: #ccc; cursor: not-allowed; } /* Animations */ @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }