UNPKG

gmail-to-exchange365

Version:

Complete Gmail to Exchange 365 migration tool with UI - Migrate emails, attachments, and folders seamlessly

320 lines (266 loc) 5.06 kB
* { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; padding: 20px; color: #333; } .container { max-width: 900px; margin: 0 auto; background: white; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); padding: 40px; } header { text-align: center; margin-bottom: 40px; padding-bottom: 20px; border-bottom: 2px solid #f0f0f0; } header h1 { font-size: 2.5em; color: #667eea; margin-bottom: 10px; } .subtitle { color: #666; font-size: 1.1em; } h2 { color: #333; margin-bottom: 20px; font-size: 1.5em; padding-bottom: 10px; border-bottom: 1px solid #e0e0e0; } .auth-section, .migration-section, .progress-section, .logs-section { margin-bottom: 30px; padding: 20px; background: #f9f9f9; border-radius: 8px; } .auth-buttons { display: flex; gap: 20px; flex-wrap: wrap; } .auth-item { flex: 1; min-width: 200px; display: flex; flex-direction: column; align-items: center; gap: 10px; } .btn { padding: 12px 24px; font-size: 16px; font-weight: 600; border: none; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px; width: 100%; justify-content: center; } .btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); } .btn:disabled { opacity: 0.5; cursor: not-allowed; } .btn-google { background: #4285f4; color: white; } .btn-google:hover:not(:disabled) { background: #357ae8; } .btn-google.connected { background: #34a853; } .btn-ms { background: #0078d4; color: white; } .btn-ms:hover:not(:disabled) { background: #106ebe; } .btn-ms.connected { background: #107c10; } .btn-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; font-size: 18px; padding: 15px 30px; } .btn-primary:hover:not(:disabled) { opacity: 0.9; } .btn-secondary { background: #6c757d; color: white; } .btn-secondary:hover:not(:disabled) { background: #5a6268; } .btn-danger { background: #dc3545; color: white; } .btn-danger:hover:not(:disabled) { background: #c82333; } .status-indicator { width: 12px; height: 12px; border-radius: 50%; background: #ccc; transition: background 0.3s ease; } .status-indicator.connected { background: #34a853; box-shadow: 0 0 8px rgba(52, 168, 83, 0.5); } .config-panel { display: flex; gap: 20px; margin-bottom: 20px; flex-wrap: wrap; } .config-item { flex: 1; min-width: 150px; display: flex; flex-direction: column; gap: 5px; } .config-item label { font-weight: 600; color: #555; } .config-item input { padding: 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; } .help-text { font-size: 12px; color: #999; } .migration-controls { display: flex; gap: 10px; flex-wrap: wrap; } .progress-container { margin-bottom: 15px; } .progress-bar { width: 100%; height: 30px; background: #e0e0e0; border-radius: 15px; overflow: hidden; margin-bottom: 10px; } .progress-fill { height: 100%; background: linear-gradient(90deg, #667eea 0%, #764ba2 100%); width: 0%; transition: width 0.3s ease; display: flex; align-items: center; justify-content: center; color: white; font-weight: 600; } .progress-text { display: flex; justify-content: space-between; font-weight: 600; color: #555; } .progress-message { text-align: center; color: #666; font-style: italic; margin-top: 10px; } .logs-container { max-height: 300px; overflow-y: auto; background: #1e1e1e; color: #d4d4d4; padding: 15px; border-radius: 6px; font-family: "Courier New", monospace; font-size: 13px; line-height: 1.6; } .log-entry { margin-bottom: 5px; padding: 4px 0; } .log-info { color: #4ec9b0; } .log-success { color: #4ec9b0; font-weight: 600; } .log-error { color: #f48771; font-weight: 600; } .log-warning { color: #dcdcaa; } /* Scrollbar styling */ .logs-container::-webkit-scrollbar { width: 8px; } .logs-container::-webkit-scrollbar-track { background: #2d2d2d; } .logs-container::-webkit-scrollbar-thumb { background: #555; border-radius: 4px; } .logs-container::-webkit-scrollbar-thumb:hover { background: #777; } @media (max-width: 768px) { .container { padding: 20px; } header h1 { font-size: 2em; } .auth-buttons { flex-direction: column; } .migration-controls { flex-direction: column; } .config-panel { flex-direction: column; } }