Port original CSS/JS/assets, rebuild home as four sections with feed fragments, expand schema (boards/notices/rooms/topics), and add page.chrome HTML overrides plus invoke html returns so Marqdo can render Django-class chrome without json glue. Co-authored-by: Cursor <cursoragent@cursor.com>
129 lines
2.3 KiB
CSS
129 lines
2.3 KiB
CSS
/* 登录 / 注册页:在 anlian_forms.css 之上的薄封装 */
|
|
|
|
.page-title {
|
|
margin: 0 0 1.25rem;
|
|
font-size: 1.75rem;
|
|
font-weight: 700;
|
|
color: var(--anlian-text, #222);
|
|
text-align: center;
|
|
}
|
|
|
|
.login-container {
|
|
width: 100%;
|
|
max-width: 440px;
|
|
}
|
|
|
|
.text-center.text-muted,
|
|
.anlian-page-lead {
|
|
margin: -0.25rem 0 1.25rem;
|
|
font-size: 0.9rem;
|
|
color: var(--anlian-text-muted, #666);
|
|
text-align: center;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.mb-3 {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* 注册页旧类名兼容 */
|
|
.auth-code-row,
|
|
.anlian-code-row {
|
|
display: flex;
|
|
gap: 0.5rem;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.auth-code-row .form-control,
|
|
.anlian-code-row input {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.btn-send-code,
|
|
.anlian-btn-send-code {
|
|
flex-shrink: 0;
|
|
align-self: stretch;
|
|
padding: 0 1rem;
|
|
border: 1px solid rgba(253, 189, 219, 0.5);
|
|
border-radius: 12px;
|
|
background: rgba(253, 189, 219, 0.32);
|
|
color: var(--anlian-accent-text, #a85878);
|
|
font-size: 0.8125rem;
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
white-space: nowrap;
|
|
transition: background 0.2s ease;
|
|
}
|
|
|
|
.btn-send-code:hover:not(:disabled),
|
|
.anlian-btn-send-code:hover:not(:disabled) {
|
|
background: rgba(253, 189, 219, 0.48);
|
|
}
|
|
|
|
.btn-send-code:disabled,
|
|
.anlian-btn-send-code:disabled {
|
|
opacity: 0.55;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.field-hint,
|
|
.anlian-field-hint {
|
|
display: block;
|
|
margin-top: 0.35rem;
|
|
font-size: 0.75rem;
|
|
color: var(--anlian-text-muted, #666);
|
|
}
|
|
|
|
.field-error,
|
|
.anlian-field-error {
|
|
display: block;
|
|
margin-top: 0.35rem;
|
|
font-size: 0.8125rem;
|
|
color: #b33a4d;
|
|
}
|
|
|
|
.alert-danger,
|
|
.anlian-alert-danger {
|
|
padding: 0.85rem 1rem;
|
|
margin-bottom: 1rem;
|
|
border-radius: 12px;
|
|
font-size: 0.875rem;
|
|
background: rgba(220, 80, 100, 0.12);
|
|
border: 1px solid rgba(220, 80, 100, 0.28);
|
|
color: #9e3a4a;
|
|
}
|
|
|
|
.form-links,
|
|
.anlian-form-links {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
margin-top: 1.25rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.form-links a,
|
|
.anlian-form-links a {
|
|
font-size: 0.875rem;
|
|
font-weight: 500;
|
|
color: var(--anlian-accent-text, #a85878);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.form-links a:hover,
|
|
.anlian-form-links a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
@media (max-width: 576px) {
|
|
.auth-code-row {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.btn-send-code {
|
|
width: 100%;
|
|
padding: 0.65rem;
|
|
}
|
|
}
|