Reset: nicer dialog, only in the desktop apps
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
29a89af562
commit
bbe8a73775
6 files changed
+60
-20
No files matched your search
+30
-5
@@ -1045,8 +1045,33 @@ label.chk input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent
|
||||
.docui { padding: 0 4px; }
|
||||
html { touch-action: pan-x pan-y; }
|
||||
.djlim > button.small { margin-top: 8px; }
|
||||
.resetcheck { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
|
||||
.resetcheck > span { flex: 1 1 100%; color: var(--dim); }
|
||||
.resetletters { padding: 6px 14px; border-radius: 8px; font: 700 22px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .25em; color: var(--text); background: var(--panel3); user-select: none; -webkit-user-select: none; }
|
||||
input.resetcode { width: 4.5em; font-size: 20px; text-transform: uppercase; }
|
||||
.resetwarn { color: var(--warn); }
|
||||
.dialog:has(> .resetbody) { width: min(520px, 100%); padding: 22px; }
|
||||
.dialog:has(> .resetbody) > h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; font-size: 19px; }
|
||||
.dialog:has(> .resetbody) > h2::before { content: "!"; flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-size: 19px; font-weight: 800;
|
||||
color: #fca5a5; background: color-mix(in srgb, #ef4444 18%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, #ef4444 45%, transparent); }
|
||||
.resetlead { margin: 0 0 14px; color: var(--dim); }
|
||||
.resetlists { display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; }
|
||||
.resetlist { padding: 12px 14px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); }
|
||||
.resetlist > b { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 650; }
|
||||
.resetlist ul { margin: 0; padding: 0; list-style: none; font-size: 13px; line-height: 1.35; color: var(--dim); }
|
||||
.resetlist li { position: relative; margin-top: 6px; padding-left: 20px; }
|
||||
.resetlist li::before { position: absolute; left: 0; top: 0; width: 14px; text-align: center; font-weight: 800; }
|
||||
.resetlist.gone > b { color: #fca5a5; }
|
||||
.resetlist.gone li::before { content: "×"; color: #f87171; }
|
||||
.resetlist.stays { border-color: color-mix(in srgb, var(--ok, #22c55e) 35%, var(--line)); }
|
||||
.resetlist.stays > b { color: #86efac; }
|
||||
.resetlist.stays li { color: var(--text); }
|
||||
.resetlist.stays li::before { content: "✓"; color: #4ade80; }
|
||||
.resetwarn { margin: 12px 0 0; padding: 9px 12px; border-radius: 10px; font-size: 13px; color: var(--warn); background: color-mix(in srgb, var(--warn) 10%, transparent); }
|
||||
.resetcheck { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); text-align: center; }
|
||||
.resetcheck > span { display: block; margin-bottom: 10px; font-size: 13px; color: var(--dim); }
|
||||
.resetrow { display: flex; align-items: center; justify-content: center; gap: 12px; }
|
||||
.resetletters { display: flex; gap: 6px; user-select: none; -webkit-user-select: none; }
|
||||
.resetletters i { display: grid; place-items: center; width: 42px; height: 48px; border-radius: 10px; font: 700 23px ui-monospace, Menlo, Consolas, monospace; color: var(--text); background: var(--panel3); border: 1px solid var(--line2); }
|
||||
.resetarrow { color: var(--dim); font-size: 18px; }
|
||||
input.resetcode { width: 90px; height: 48px; padding: 0 0 0 .3em; border-radius: 10px; text-align: center; font: 700 23px ui-monospace, Menlo, Consolas, monospace; letter-spacing: .3em; text-transform: uppercase; }
|
||||
.dialog:has(> .resetbody) > .dlg-actions { margin-top: 18px; }
|
||||
.dialog:has(> .resetbody) > .dlg-actions button { flex: 1 1 0; }
|
||||
.dialog:has(> .resetbody) > .dlg-actions button:disabled { color: var(--dim); background: var(--panel2); border-color: var(--line); opacity: 1; }
|
||||
@media (max-width: 480px) { .resetlists { grid-template-columns: 1fr; } }
|
||||
.dialog input.resetcode { flex: none; margin: 0; }
|
||||
Reference in new issue
Block a user