123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372 |
- /* Migration Progress Styles */
- .migration-overlay {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.8);
- z-index: 10000;
- display: none;
- align-items: center;
- justify-content: center;
- overflow-y: auto;
- }
- .migration-overlay.active {
- display: flex;
- }
- .migration-modal {
- background: white;
- border-radius: 12px;
- box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
- max-width: 800px;
- width: 95%;
- max-height: 90vh;
- overflow: hidden;
- animation: slideInScale 0.4s ease-out;
- margin: 20px;
- }
- @keyframes slideInScale {
- from {
- opacity: 0;
- transform: translateY(-30px) scale(0.95);
- }
- to {
- opacity: 1;
- transform: translateY(0) scale(1);
- }
- }
- .migration-header {
- padding: 24px 32px 20px;
- border-bottom: 2px solid #e0e0e0;
- text-align: center;
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
- color: white;
- }
- .migration-header h3 {
- margin: 0 0 8px 0;
- font-size: 24px;
- font-weight: 600;
- }
- .migration-header h3 i {
- margin-right: 12px;
- color: #FFD700;
- }
- .migration-header p {
- margin: 0;
- font-size: 16px;
- opacity: 0.9;
- }
- .migration-content {
- padding: 24px 32px;
- max-height: 60vh;
- overflow-y: auto;
- }
- .migration-overview {
- margin-bottom: 32px;
- padding: 20px;
- background: #f8f9fa;
- border-radius: 8px;
- border-left: 4px solid #667eea;
- }
- .overall-progress {
- margin-bottom: 20px;
- }
- .progress-bar {
- width: 100%;
- height: 12px;
- background-color: #e0e0e0;
- border-radius: 6px;
- overflow: hidden;
- margin-bottom: 8px;
- position: relative;
- }
- .progress-fill {
- height: 100%;
- background: linear-gradient(90deg, #667eea, #764ba2);
- border-radius: 6px;
- transition: width 0.3s ease;
- position: relative;
- }
- .progress-fill::after {
- content: '';
- position: absolute;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: linear-gradient(
- 90deg,
- transparent,
- rgba(255, 255, 255, 0.4),
- transparent
- );
- animation: shimmer 2s infinite;
- }
- @keyframes shimmer {
- 0% {
- transform: translateX(-100%);
- }
- 100% {
- transform: translateX(100%);
- }
- }
- .progress-text {
- text-align: center;
- font-weight: 700;
- color: #667eea;
- font-size: 18px;
- }
- .progress-label {
- text-align: center;
- color: #666;
- font-size: 14px;
- margin-top: 4px;
- }
- .current-step {
- text-align: center;
- color: #333;
- font-size: 16px;
- font-weight: 500;
- margin-bottom: 16px;
- }
- .current-step i {
- margin-right: 8px;
- color: #667eea;
- }
- .estimated-time {
- text-align: center;
- color: #666;
- font-size: 14px;
- background-color: #fff3cd;
- padding: 8px 12px;
- border-radius: 4px;
- border: 1px solid #ffeaa7;
- }
- .estimated-time i {
- margin-right: 6px;
- color: #f39c12;
- }
- .migration-steps {
- margin-bottom: 24px;
- }
- .migration-steps h4 {
- margin: 0 0 16px 0;
- color: #333;
- font-size: 18px;
- font-weight: 600;
- }
- .steps-list {
- max-height: 300px;
- overflow-y: auto;
- border: 1px solid #e0e0e0;
- border-radius: 8px;
- }
- .migration-step {
- padding: 16px 20px;
- border-bottom: 1px solid #f0f0f0;
- transition: all 0.3s ease;
- }
- .migration-step:last-child {
- border-bottom: none;
- }
- .migration-step.completed {
- background-color: #d4edda;
- border-left: 4px solid #28a745;
- }
- .migration-step.current {
- background-color: #cce7ff;
- border-left: 4px solid #667eea;
- animation: pulse 2s infinite;
- }
- @keyframes pulse {
- 0% {
- box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
- }
- 70% {
- box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
- }
- 100% {
- box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
- }
- }
- .step-header {
- display: flex;
- align-items: center;
- margin-bottom: 8px;
- }
- .step-icon {
- margin-right: 12px;
- font-size: 18px;
- width: 24px;
- text-align: center;
- }
- .step-icon i.fa-check-circle {
- color: #28a745;
- }
- .step-icon i.fa-cog.fa-spin {
- color: #667eea;
- }
- .step-icon i.fa-circle-o {
- color: #ccc;
- }
- .step-info {
- flex: 1;
- }
- .step-name {
- font-weight: 600;
- color: #333;
- font-size: 14px;
- margin-bottom: 2px;
- }
- .step-description {
- color: #666;
- font-size: 12px;
- line-height: 1.3;
- }
- .step-progress {
- text-align: right;
- min-width: 40px;
- }
- .step-progress .progress-text {
- font-size: 12px;
- font-weight: 600;
- }
- .step-progress-bar {
- width: 100%;
- height: 4px;
- background-color: #e0e0e0;
- border-radius: 2px;
- overflow: hidden;
- margin-top: 8px;
- }
- .step-progress-bar .progress-fill {
- height: 100%;
- background: linear-gradient(90deg, #667eea, #764ba2);
- border-radius: 2px;
- transition: width 0.3s ease;
- }
- .migration-status {
- text-align: center;
- color: #333;
- font-size: 16px;
- background-color: #e3f2fd;
- padding: 12px 16px;
- border-radius: 6px;
- border: 1px solid #bbdefb;
- margin-bottom: 16px;
- }
- .migration-status i {
- margin-right: 8px;
- color: #2196f3;
- }
- .migration-footer {
- padding: 16px 32px 24px;
- border-top: 1px solid #e0e0e0;
- background-color: #f8f9fa;
- }
- .migration-info {
- text-align: center;
- color: #666;
- font-size: 13px;
- line-height: 1.4;
- margin-bottom: 8px;
- }
- .migration-info i {
- margin-right: 6px;
- color: #667eea;
- }
- .migration-warning {
- text-align: center;
- color: #856404;
- font-size: 12px;
- line-height: 1.3;
- background-color: #fff3cd;
- padding: 8px 12px;
- border-radius: 4px;
- border: 1px solid #ffeaa7;
- }
- .migration-warning i {
- margin-right: 6px;
- color: #f39c12;
- }
- /* Responsive design */
- @media (max-width: 768px) {
- .migration-modal {
- width: 98%;
- margin: 10px;
- }
-
- .migration-header,
- .migration-content,
- .migration-footer {
- padding-left: 16px;
- padding-right: 16px;
- }
-
- .migration-header h3 {
- font-size: 20px;
- }
-
- .step-header {
- flex-direction: column;
- align-items: flex-start;
- }
-
- .step-progress {
- text-align: left;
- margin-top: 8px;
- }
-
- .steps-list {
- max-height: 200px;
- }
- }
|