Keep the submit control focusable with a disabled semantic while the briefing is incomplete, mark invalid fields only after interaction, and leave the encoded mailto path unchanged once the form is filled. Co-authored-by: Cursor <cursoragent@cursor.com>
64 lines
975 B
SCSS
64 lines
975 B
SCSS
.briefing {
|
|
max-width: 40rem;
|
|
}
|
|
|
|
label {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.required {
|
|
color: var(--color-accent-soft);
|
|
margin-left: var(--space-1);
|
|
}
|
|
|
|
.hint,
|
|
.incomplete,
|
|
.note {
|
|
margin: 0;
|
|
color: var(--color-text-muted);
|
|
font-size: var(--text-sm);
|
|
}
|
|
|
|
input,
|
|
select,
|
|
textarea {
|
|
width: 100%;
|
|
padding: var(--space-3);
|
|
border: 1px solid var(--surface-glass-border);
|
|
border-radius: var(--radius-sm);
|
|
background: var(--color-surface-raised);
|
|
color: var(--color-text);
|
|
font: inherit;
|
|
}
|
|
|
|
.actions a,
|
|
button.submit {
|
|
color: var(--color-accent-cool);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.submit {
|
|
font-weight: 600;
|
|
}
|
|
|
|
button.submit {
|
|
appearance: none;
|
|
border: 0;
|
|
padding: 0;
|
|
background: transparent;
|
|
font: inherit;
|
|
font-weight: 600;
|
|
min-height: 2.75rem;
|
|
}
|
|
|
|
button.submit[aria-disabled='true'] {
|
|
color: var(--color-text-muted);
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
@media (hover: hover) and (pointer: fine) {
|
|
.actions a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|