Align mail columns and add live sync dialogs with targeted cancellation
This commit is contained in:
1 parent
e536f0939c
commit
573e0aa24e
15 files changed
+133
-20
No files matched your search
@@ -0,0 +1,2 @@
|
||||
.mail-table-scroll{flex:1;min-height:0;overflow:auto;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#405673 transparent;overscroll-behavior:contain}.mail-table-scroll .mail-rows{overflow:visible;flex:none}.mail-table-scroll .mail-columns{position:sticky;top:0;z-index:2}.mail-table-scroll .mail-row,.mail-table-scroll .mail-columns{width:100%;box-sizing:border-box}.mail-table-scroll .mail-columns>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mail-table-scroll .mail-columns>span:nth-child(6),.mail-table-scroll .mail-size{text-align:right}.mail-table-scroll .mail-row{margin:0}.mail-table-scroll .mail-list-heading{font-variant-numeric:tabular-nums}
|
||||
.sync-dialog{width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 40px);padding:0;border:1px solid #3b4b60;border-radius:17px;background:#121b28;color:#dce8f5;box-shadow:0 30px 100px #0009;overflow:auto}.sync-dialog::backdrop{background:#040912b8;backdrop-filter:blur(6px)}.sync-dialog header{display:flex;align-items:center;justify-content:space-between;padding:24px 27px 20px;border-bottom:1px solid #29384a}.sync-eyebrow{font-size:9px;letter-spacing:2px;color:#7e9cba}.sync-dialog h2{font-size:21px;margin-top:7px;font-weight:600}.sync-dialog .icon-button{font-size:22px;background:#1a293b;border-color:#34475d;color:#b6cce1}.sync-destination{display:flex;align-items:center;gap:14px;padding:24px 27px 18px}.sync-symbol{display:grid;place-items:center;width:48px;height:48px;border:1px solid #3c5977;border-radius:13px;background:#20364d;font-size:27px;color:#abd1f3}.sync-destination>div{min-width:0}.sync-destination strong{display:block;font-size:18px;overflow-wrap:anywhere;font-weight:600}.sync-destination small{display:block;font-size:9px;letter-spacing:1.2px;color:#7c96af;margin-top:7px}.sync-duration{margin-left:auto;white-space:nowrap;font:18px Consolas,monospace;color:#a8bed5}.sync-stage{display:flex;align-items:flex-start;gap:12px;margin:0 27px;padding:17px;background:#1b2c40;border:1px solid #334b67;border-radius:11px}.sync-stage strong{font-size:14px;font-weight:600}.sync-stage p{font-size:12px;line-height:1.6;margin-top:5px;color:#a7bdd3}.sync-pulse{flex:0 0 8px;height:8px;margin-top:6px;border-radius:50%;background:#a2cbed;box-shadow:0 0 0 5px #80b8e21c;animation:sync-breathe 1.8s ease-in-out infinite}.sync-steps{display:grid;grid-template-columns:repeat(4,1fr);list-style:none;margin:22px 27px;padding:0;gap:7px}.sync-steps li{font-size:10px;color:#758ca5;border-top:3px solid #2b3b4e;padding-top:9px}.sync-steps li.done{border-color:#6bada4;color:#a5c9c3}.sync-steps li.current{border-color:#94bfe6;color:#d0e7fc}.sync-counts{display:flex;margin:0 27px 20px;gap:14px}.sync-counts>div{flex:1;padding:13px 16px;background:#0f1824;border:1px solid #2a3b4e;border-radius:9px;display:flex;align-items:center;justify-content:space-between}.sync-counts span{font-size:11px;color:#8fa7be}.sync-counts strong{font-size:22px;font-weight:500;font-variant-numeric:tabular-nums}.sync-events{margin:0 27px 22px;padding:0;list-style:none;max-height:150px;overflow:auto;scrollbar-width:thin}.sync-events li{display:flex;align-items:baseline;gap:14px;padding:8px 0;border-bottom:1px solid #223145;font-size:11px;line-height:1.5}.sync-events time{color:#7591aa;font:10px Consolas,monospace;white-space:nowrap}.sync-events span{color:#b6c8da}.sync-dialog footer{display:flex;align-items:center;justify-content:flex-end;gap:12px;padding:17px 27px;border-top:1px solid #2c3b4d;background:#101925}.sync-dialog footer>span{margin-right:auto;font-size:10px;color:#8199b1}.sync-dialog footer button{padding:10px 16px;font-size:12px}.sync-error{margin:15px 27px;color:#f0b7ac;font-size:12px}.sync-dialog[data-state=complete] .sync-stage{border-color:#49796f;background:#192f2e}.sync-dialog[data-state=complete] .sync-pulse{background:#90cbb8;animation:none}.sync-dialog[data-state=failed] .sync-stage{border-color:#7e504d;background:#322528}.sync-dialog[data-state=failed] .sync-pulse{background:#dca79a;animation:none}.sync-dialog[data-state=cancelled] .sync-pulse{background:#b4a88c;animation:none}.sync-chip{position:fixed;bottom:24px;left:250px;z-index:35;background:#203a54;color:#d9eafa;border:1px solid #527597;border-radius:10px;padding:13px 18px;box-shadow:0 8px 30px #0006;font-size:12px;max-width:calc(100vw - 280px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}@keyframes sync-breathe{50%{opacity:.45;box-shadow:0 0 0 7px #80b8e20a}}@media(prefers-reduced-motion:reduce){.sync-pulse{animation:none}}@media(max-width:700px){.sync-dialog header,.sync-destination,.sync-dialog footer{padding:18px}.sync-stage,.sync-steps,.sync-counts,.sync-events{margin-left:18px;margin-right:18px}.sync-destination strong{font-size:15px}.sync-counts>div{padding:11px;gap:8px}.sync-chip{left:16px;max-width:calc(100vw - 32px)}.sync-dialog footer>span{max-width:150px}.sync-steps li{font-size:9px}}
|
||||
Reference in new issue
Block a user