migrationProgress.css 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372
  1. /* Migration Progress Styles */
  2. .migration-overlay {
  3. position: fixed;
  4. top: 0;
  5. left: 0;
  6. width: 100%;
  7. height: 100%;
  8. background-color: rgba(0, 0, 0, 0.8);
  9. z-index: 10000;
  10. display: none;
  11. align-items: center;
  12. justify-content: center;
  13. overflow-y: auto;
  14. }
  15. .migration-overlay.active {
  16. display: flex;
  17. }
  18. .migration-modal {
  19. background: white;
  20. border-radius: 12px;
  21. box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  22. max-width: 800px;
  23. width: 95%;
  24. max-height: 90vh;
  25. overflow: hidden;
  26. animation: slideInScale 0.4s ease-out;
  27. margin: 20px;
  28. }
  29. @keyframes slideInScale {
  30. from {
  31. opacity: 0;
  32. transform: translateY(-30px) scale(0.95);
  33. }
  34. to {
  35. opacity: 1;
  36. transform: translateY(0) scale(1);
  37. }
  38. }
  39. .migration-header {
  40. padding: 24px 32px 20px;
  41. border-bottom: 2px solid #e0e0e0;
  42. text-align: center;
  43. background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  44. color: white;
  45. }
  46. .migration-header h3 {
  47. margin: 0 0 8px 0;
  48. font-size: 24px;
  49. font-weight: 600;
  50. }
  51. .migration-header h3 i {
  52. margin-right: 12px;
  53. color: #FFD700;
  54. }
  55. .migration-header p {
  56. margin: 0;
  57. font-size: 16px;
  58. opacity: 0.9;
  59. }
  60. .migration-content {
  61. padding: 24px 32px;
  62. max-height: 60vh;
  63. overflow-y: auto;
  64. }
  65. .migration-overview {
  66. margin-bottom: 32px;
  67. padding: 20px;
  68. background: #f8f9fa;
  69. border-radius: 8px;
  70. border-left: 4px solid #667eea;
  71. }
  72. .overall-progress {
  73. margin-bottom: 20px;
  74. }
  75. .progress-bar {
  76. width: 100%;
  77. height: 12px;
  78. background-color: #e0e0e0;
  79. border-radius: 6px;
  80. overflow: hidden;
  81. margin-bottom: 8px;
  82. position: relative;
  83. }
  84. .progress-fill {
  85. height: 100%;
  86. background: linear-gradient(90deg, #667eea, #764ba2);
  87. border-radius: 6px;
  88. transition: width 0.3s ease;
  89. position: relative;
  90. }
  91. .progress-fill::after {
  92. content: '';
  93. position: absolute;
  94. top: 0;
  95. left: 0;
  96. right: 0;
  97. bottom: 0;
  98. background: linear-gradient(
  99. 90deg,
  100. transparent,
  101. rgba(255, 255, 255, 0.4),
  102. transparent
  103. );
  104. animation: shimmer 2s infinite;
  105. }
  106. @keyframes shimmer {
  107. 0% {
  108. transform: translateX(-100%);
  109. }
  110. 100% {
  111. transform: translateX(100%);
  112. }
  113. }
  114. .progress-text {
  115. text-align: center;
  116. font-weight: 700;
  117. color: #667eea;
  118. font-size: 18px;
  119. }
  120. .progress-label {
  121. text-align: center;
  122. color: #666;
  123. font-size: 14px;
  124. margin-top: 4px;
  125. }
  126. .current-step {
  127. text-align: center;
  128. color: #333;
  129. font-size: 16px;
  130. font-weight: 500;
  131. margin-bottom: 16px;
  132. }
  133. .current-step i {
  134. margin-right: 8px;
  135. color: #667eea;
  136. }
  137. .estimated-time {
  138. text-align: center;
  139. color: #666;
  140. font-size: 14px;
  141. background-color: #fff3cd;
  142. padding: 8px 12px;
  143. border-radius: 4px;
  144. border: 1px solid #ffeaa7;
  145. }
  146. .estimated-time i {
  147. margin-right: 6px;
  148. color: #f39c12;
  149. }
  150. .migration-steps {
  151. margin-bottom: 24px;
  152. }
  153. .migration-steps h4 {
  154. margin: 0 0 16px 0;
  155. color: #333;
  156. font-size: 18px;
  157. font-weight: 600;
  158. }
  159. .steps-list {
  160. max-height: 300px;
  161. overflow-y: auto;
  162. border: 1px solid #e0e0e0;
  163. border-radius: 8px;
  164. }
  165. .migration-step {
  166. padding: 16px 20px;
  167. border-bottom: 1px solid #f0f0f0;
  168. transition: all 0.3s ease;
  169. }
  170. .migration-step:last-child {
  171. border-bottom: none;
  172. }
  173. .migration-step.completed {
  174. background-color: #d4edda;
  175. border-left: 4px solid #28a745;
  176. }
  177. .migration-step.current {
  178. background-color: #cce7ff;
  179. border-left: 4px solid #667eea;
  180. animation: pulse 2s infinite;
  181. }
  182. @keyframes pulse {
  183. 0% {
  184. box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
  185. }
  186. 70% {
  187. box-shadow: 0 0 0 10px rgba(102, 126, 234, 0);
  188. }
  189. 100% {
  190. box-shadow: 0 0 0 0 rgba(102, 126, 234, 0);
  191. }
  192. }
  193. .step-header {
  194. display: flex;
  195. align-items: center;
  196. margin-bottom: 8px;
  197. }
  198. .step-icon {
  199. margin-right: 12px;
  200. font-size: 18px;
  201. width: 24px;
  202. text-align: center;
  203. }
  204. .step-icon i.fa-check-circle {
  205. color: #28a745;
  206. }
  207. .step-icon i.fa-cog.fa-spin {
  208. color: #667eea;
  209. }
  210. .step-icon i.fa-circle-o {
  211. color: #ccc;
  212. }
  213. .step-info {
  214. flex: 1;
  215. }
  216. .step-name {
  217. font-weight: 600;
  218. color: #333;
  219. font-size: 14px;
  220. margin-bottom: 2px;
  221. }
  222. .step-description {
  223. color: #666;
  224. font-size: 12px;
  225. line-height: 1.3;
  226. }
  227. .step-progress {
  228. text-align: right;
  229. min-width: 40px;
  230. }
  231. .step-progress .progress-text {
  232. font-size: 12px;
  233. font-weight: 600;
  234. }
  235. .step-progress-bar {
  236. width: 100%;
  237. height: 4px;
  238. background-color: #e0e0e0;
  239. border-radius: 2px;
  240. overflow: hidden;
  241. margin-top: 8px;
  242. }
  243. .step-progress-bar .progress-fill {
  244. height: 100%;
  245. background: linear-gradient(90deg, #667eea, #764ba2);
  246. border-radius: 2px;
  247. transition: width 0.3s ease;
  248. }
  249. .migration-status {
  250. text-align: center;
  251. color: #333;
  252. font-size: 16px;
  253. background-color: #e3f2fd;
  254. padding: 12px 16px;
  255. border-radius: 6px;
  256. border: 1px solid #bbdefb;
  257. margin-bottom: 16px;
  258. }
  259. .migration-status i {
  260. margin-right: 8px;
  261. color: #2196f3;
  262. }
  263. .migration-footer {
  264. padding: 16px 32px 24px;
  265. border-top: 1px solid #e0e0e0;
  266. background-color: #f8f9fa;
  267. }
  268. .migration-info {
  269. text-align: center;
  270. color: #666;
  271. font-size: 13px;
  272. line-height: 1.4;
  273. margin-bottom: 8px;
  274. }
  275. .migration-info i {
  276. margin-right: 6px;
  277. color: #667eea;
  278. }
  279. .migration-warning {
  280. text-align: center;
  281. color: #856404;
  282. font-size: 12px;
  283. line-height: 1.3;
  284. background-color: #fff3cd;
  285. padding: 8px 12px;
  286. border-radius: 4px;
  287. border: 1px solid #ffeaa7;
  288. }
  289. .migration-warning i {
  290. margin-right: 6px;
  291. color: #f39c12;
  292. }
  293. /* Responsive design */
  294. @media (max-width: 768px) {
  295. .migration-modal {
  296. width: 98%;
  297. margin: 10px;
  298. }
  299. .migration-header,
  300. .migration-content,
  301. .migration-footer {
  302. padding-left: 16px;
  303. padding-right: 16px;
  304. }
  305. .migration-header h3 {
  306. font-size: 20px;
  307. }
  308. .step-header {
  309. flex-direction: column;
  310. align-items: flex-start;
  311. }
  312. .step-progress {
  313. text-align: left;
  314. margin-top: 8px;
  315. }
  316. .steps-list {
  317. max-height: 200px;
  318. }
  319. }