feat: implement TASK-WP1-03 registration notice

This commit is contained in:
suyx
2026-07-28 16:48:49 +08:00
parent 4d81f9c723
commit aec4c83eca
10 changed files with 1049 additions and 33 deletions
+192
View File
@@ -30,6 +30,10 @@ input {
outline-offset: 3px;
}
button {
letter-spacing: 0;
}
.auth-page {
min-height: 100vh;
display: grid;
@@ -157,6 +161,10 @@ input {
line-height: 1.25;
}
.auth-registration-form {
min-height: 520px;
}
.auth-form label {
margin: 0 0 7px;
font-size: 13px;
@@ -231,6 +239,169 @@ input {
color: #3c5b32;
}
.auth-registration-status {
align-self: flex-end;
margin: -52px 0 14px;
padding: 6px 10px;
color: #f2f500;
background: #111111;
font-size: 12px;
font-weight: 700;
}
.auth-verified-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 8px;
margin-bottom: 8px;
}
.auth-verified-grid > div {
display: flex;
min-width: 0;
flex-direction: column;
gap: 7px;
min-height: 64px;
border: 1px solid #b4b4af;
padding: 10px;
background: #ffffff;
}
.auth-verified-grid strong {
color: #2f6b45;
font-size: 11px;
}
.auth-verified-grid span {
overflow: hidden;
font-family: Consolas, monospace;
font-size: 12px;
text-overflow: ellipsis;
white-space: nowrap;
}
.auth-text-action {
align-self: flex-end;
border: 0;
padding: 4px 0;
color: #075f8f;
background: transparent;
font-size: 12px;
font-weight: 700;
text-decoration: underline;
text-underline-offset: 3px;
cursor: pointer;
}
.auth-registration-form > .auth-text-action {
margin-bottom: 12px;
}
.auth-consent {
border: 1px solid #b4b4af;
padding: 10px;
background: #ffffff;
}
.auth-consent-title {
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
margin-bottom: 9px;
font-size: 13px;
}
.auth-checkbox {
display: grid;
grid-template-columns: 20px 1fr;
align-items: start;
gap: 8px;
margin: 0;
font-weight: 600;
line-height: 1.5;
}
.auth-form .auth-checkbox input {
width: 18px;
height: 18px;
margin: 1px 0 0;
accent-color: #111111;
}
.auth-consent p {
margin: 8px 0 0 28px;
color: #8d281b;
font-size: 11px;
}
.auth-dialog-backdrop {
position: fixed;
z-index: 20;
inset: 0;
display: grid;
place-items: center;
padding: 28px;
background: rgba(17, 17, 17, 0.82);
}
.auth-dialog {
display: grid;
grid-template-rows: auto minmax(0, 1fr) auto;
width: min(720px, 100%);
max-height: min(760px, calc(100vh - 56px));
border: 2px solid #111111;
background: #f6f6f4;
box-shadow: 12px 12px 0 #f2f500;
}
.auth-dialog > header {
border-bottom: 1px solid #111111;
padding: 22px 24px 18px;
}
.auth-dialog header p {
margin: 0 0 6px;
font-family: Consolas, monospace;
font-size: 11px;
font-weight: 700;
}
.auth-dialog h2 {
margin: 0;
font-size: 24px;
}
.auth-dialog-content {
display: grid;
grid-template-columns: 1fr 1fr;
column-gap: 24px;
overflow-y: auto;
padding: 6px 24px 18px;
}
.auth-dialog-content section {
border-bottom: 1px solid #ccccb9;
padding: 14px 0;
}
.auth-dialog-content h3 {
margin: 0 0 6px;
font-size: 15px;
}
.auth-dialog-content p {
margin: 0;
font-size: 13px;
line-height: 1.7;
}
.auth-dialog > footer {
border-top: 1px solid #111111;
padding: 0 24px 18px;
background: #f6f6f4;
}
.auth-error {
border-left: 4px solid #c7432f;
padding: 8px 10px;
@@ -304,6 +475,27 @@ input {
margin-left: 0;
}
.auth-registration-status {
margin-top: 0;
}
.auth-verified-grid {
grid-template-columns: 1fr;
}
.auth-dialog-backdrop {
padding: 16px;
}
.auth-dialog {
max-height: calc(100vh - 32px);
box-shadow: 6px 6px 0 #f2f500;
}
.auth-dialog-content {
display: block;
}
.auth-code-row {
grid-template-columns: minmax(0, 1fr) 126px;
}