migrationProgress.css 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. /* Migration Progress Styles */
  2. .migration-progress-overlay {
  3. position: fixed;
  4. top: 0;
  5. left: 0;
  6. right: 0;
  7. bottom: 0;
  8. background: rgba(0, 0, 0, 0.7);
  9. z-index: 9999;
  10. display: flex;
  11. align-items: center;
  12. justify-content: center;
  13. backdrop-filter: blur(2px);
  14. }
  15. .migration-progress-modal {
  16. background: white;
  17. border-radius: 8px;
  18. box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  19. max-width: 500px;
  20. width: 90%;
  21. max-height: 80vh;
  22. overflow: hidden;
  23. animation: migrationModalSlideIn 0.3s ease-out;
  24. }
  25. @keyframes migrationModalSlideIn {
  26. from {
  27. opacity: 0;
  28. transform: translateY(-20px) scale(0.95);
  29. }
  30. to {
  31. opacity: 1;
  32. transform: translateY(0) scale(1);
  33. }
  34. }
  35. .migration-progress-header {
  36. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  37. color: white;
  38. padding: 20px;
  39. display: flex;
  40. justify-content: space-between;
  41. align-items: center;
  42. }
  43. .migration-progress-title {
  44. margin: 0;
  45. font-size: 18px;
  46. font-weight: 600;
  47. }
  48. .migration-progress-close {
  49. cursor: pointer;
  50. font-size: 16px;
  51. opacity: 0.8;
  52. transition: opacity 0.2s ease;
  53. }
  54. .migration-progress-close:hover {
  55. opacity: 1;
  56. }
  57. .migration-progress-content {
  58. padding: 30px;
  59. }
  60. .migration-progress-overall {
  61. margin-bottom: 25px;
  62. }
  63. .migration-progress-overall-label {
  64. font-weight: 600;
  65. color: #333;
  66. margin-bottom: 8px;
  67. font-size: 14px;
  68. }
  69. .migration-progress-overall-bar {
  70. background: #e9ecef;
  71. border-radius: 10px;
  72. height: 12px;
  73. overflow: hidden;
  74. margin-bottom: 5px;
  75. }
  76. .migration-progress-overall-fill {
  77. background: linear-gradient(90deg, #28a745, #20c997);
  78. height: 100%;
  79. border-radius: 10px;
  80. transition: width 0.3s ease;
  81. position: relative;
  82. }
  83. .migration-progress-overall-fill::after {
  84. content: '';
  85. position: absolute;
  86. top: 0;
  87. left: 0;
  88. right: 0;
  89. bottom: 0;
  90. background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  91. animation: migrationProgressShimmer 2s infinite;
  92. }
  93. @keyframes migrationProgressShimmer {
  94. 0% { transform: translateX(-100%); }
  95. 100% { transform: translateX(100%); }
  96. }
  97. .migration-progress-overall-percentage {
  98. text-align: right;
  99. font-size: 12px;
  100. color: #666;
  101. font-weight: 600;
  102. }
  103. .migration-progress-current-step {
  104. margin-bottom: 25px;
  105. }
  106. .migration-progress-step-label {
  107. font-weight: 600;
  108. color: #333;
  109. margin-bottom: 8px;
  110. font-size: 14px;
  111. }
  112. .migration-progress-step-bar {
  113. background: #e9ecef;
  114. border-radius: 8px;
  115. height: 8px;
  116. overflow: hidden;
  117. margin-bottom: 5px;
  118. }
  119. .migration-progress-step-fill {
  120. background: linear-gradient(90deg, #007bff, #0056b3);
  121. height: 100%;
  122. border-radius: 8px;
  123. transition: width 0.3s ease;
  124. }
  125. .migration-progress-step-percentage {
  126. text-align: right;
  127. font-size: 12px;
  128. color: #666;
  129. font-weight: 600;
  130. }
  131. .migration-progress-status {
  132. margin-bottom: 20px;
  133. padding: 15px;
  134. background: #f8f9fa;
  135. border-radius: 6px;
  136. border-left: 4px solid #007bff;
  137. }
  138. .migration-progress-status-label {
  139. font-weight: 600;
  140. color: #333;
  141. margin-bottom: 5px;
  142. font-size: 13px;
  143. }
  144. .migration-progress-status-text {
  145. color: #555;
  146. font-size: 14px;
  147. line-height: 1.4;
  148. }
  149. .migration-progress-details {
  150. margin-bottom: 20px;
  151. padding: 12px;
  152. background: #e3f2fd;
  153. border-radius: 6px;
  154. border-left: 4px solid #2196f3;
  155. }
  156. .migration-progress-details-label {
  157. font-weight: 600;
  158. color: #1976d2;
  159. margin-bottom: 5px;
  160. font-size: 13px;
  161. }
  162. .migration-progress-details-text {
  163. color: #1565c0;
  164. font-size: 13px;
  165. line-height: 1.4;
  166. }
  167. .migration-progress-footer {
  168. padding: 20px 30px;
  169. background: #f8f9fa;
  170. border-top: 1px solid #e9ecef;
  171. }
  172. .migration-progress-note {
  173. text-align: center;
  174. color: #666;
  175. font-size: 13px;
  176. font-style: italic;
  177. }
  178. /* Responsive design */
  179. @media (max-width: 600px) {
  180. .migration-progress-modal {
  181. width: 95%;
  182. margin: 20px;
  183. }
  184. .migration-progress-content {
  185. padding: 20px;
  186. }
  187. .migration-progress-header {
  188. padding: 15px;
  189. }
  190. .migration-progress-title {
  191. font-size: 16px;
  192. }
  193. }
  194. /* Dark mode support */
  195. @media (prefers-color-scheme: dark) {
  196. .migration-progress-modal {
  197. background: #2d3748;
  198. color: #e2e8f0;
  199. }
  200. .migration-progress-overall-label,
  201. .migration-progress-step-label,
  202. .migration-progress-status-label {
  203. color: #e2e8f0;
  204. }
  205. .migration-progress-status {
  206. background: #4a5568;
  207. border-left-color: #63b3ed;
  208. }
  209. .migration-progress-status-text {
  210. color: #cbd5e0;
  211. }
  212. .migration-progress-details {
  213. background: #2b6cb0;
  214. border-left-color: #4299e1;
  215. }
  216. .migration-progress-details-label {
  217. color: #bee3f8;
  218. }
  219. .migration-progress-details-text {
  220. color: #90cdf4;
  221. }
  222. .migration-progress-footer {
  223. background: #4a5568;
  224. border-top-color: #718096;
  225. }
  226. .migration-progress-note {
  227. color: #a0aec0;
  228. }
  229. }