big features
This commit is contained in:
+59
-1
@@ -51,7 +51,10 @@ input { width: 100%; min-height: 46px; padding: 0 13px; border-radius: 10px; }
|
||||
input:focus, select:focus, textarea:focus { border-color: #7567db; outline: 1px solid #7567db; outline-offset: 1px; }
|
||||
.password-input { position: relative; }
|
||||
.password-input input { padding-right: 72px; }
|
||||
.text-button { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); border: 0; background: transparent; color: #a99ef8; padding: 7px; font-size: .78rem; }
|
||||
.text-button { position: static; transform: none; border: 0; background: transparent; color: #a99ef8; padding: 4px 2px; font-size: .78rem; }
|
||||
.text-button:hover { color: #c3bbff; }
|
||||
.password-toggle { position: absolute; top: 50%; right: 8px; transform: translateY(-50%); padding: 7px; }
|
||||
[hidden] { display: none !important; }
|
||||
.form-message { min-height: 1.2em; margin: -5px 0 0; font-size: .8rem; }
|
||||
.error { color: var(--danger); }
|
||||
.primary-button, .secondary-button, .inline-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; border-radius: 8px; font-weight: 650; text-decoration: none; }
|
||||
@@ -247,6 +250,9 @@ dialog::backdrop { background: rgba(4,6,9,.82); }
|
||||
.home-page { display: flex; min-height: 100vh; flex-direction: column; }
|
||||
.home-page .home-layout { flex: 1 0 auto; }
|
||||
.home-footer { flex: 0 0 auto; width: min(1040px, calc(100% - 32px)); margin: auto auto 28px; padding-top: 24px; color: var(--muted-2); font-size: .76rem; text-align: center; }
|
||||
.home-footer__inner { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
|
||||
.home-footer__separator { color: var(--border-strong); }
|
||||
.home-footer .text-button { font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }
|
||||
.home-footer a { color: var(--muted); text-decoration: none; }
|
||||
.home-footer a:hover { color: white; }
|
||||
.home-header { border-bottom-color: rgba(195, 91, 54, .28); background: linear-gradient(135deg, rgba(126, 48, 27, .28), rgba(51, 25, 18, .08) 58%, transparent); }
|
||||
@@ -466,3 +472,55 @@ dialog::backdrop { background: rgba(4,6,9,.82); }
|
||||
.public-page .task-checkbox:not(:disabled) { cursor:pointer; }
|
||||
.public-page .task-checkbox:disabled { cursor:not-allowed; opacity:.55; }
|
||||
|
||||
.identity-actions, .identity-links { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
|
||||
.identity-actions .primary-button { flex: 1 0 100%; }
|
||||
.identity-panel { position: relative; }
|
||||
.identity-panel__close { position: absolute; top: 14px; right: 14px; }
|
||||
.identity-links { justify-content: space-between; }
|
||||
.identity-links .text-button { padding: 3px 0; }
|
||||
.auth-panel { display: grid; gap: 12px; padding-top: 14px; border-top: 1px solid var(--border); }
|
||||
.auth-panel h3 { margin: 0; }
|
||||
.auth-panel label { display: grid; gap: 6px; }
|
||||
|
||||
/* Account footer and authentication dialog. */
|
||||
.home-footer { width: min(1040px, calc(100% - 32px)); margin: auto auto 24px; padding-top: 24px; color: var(--muted); font-size: .78rem; }
|
||||
.home-footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; border-top: 1px solid var(--border); }
|
||||
.home-footer__account { display: inline-flex; align-items: center; gap: 8px; }
|
||||
.home-footer__user { color: var(--text); font-weight: 600; }
|
||||
.home-footer__author { margin-left: auto; }
|
||||
.footer-action { min-height: 34px; padding: 0 12px; border: 1px solid var(--border); border-radius: 8px; background: transparent; color: var(--muted); font: inherit; cursor: pointer; }
|
||||
.footer-action:hover { border-color: var(--border-strong); background: var(--surface-2); color: var(--text); }
|
||||
.footer-action--primary { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); color: #d9d2ff; }
|
||||
.app-dialog { width: min(440px, calc(100% - 28px)); padding: 0; border: 0; background: transparent; }
|
||||
.app-dialog::backdrop { background: rgba(4, 6, 10, .72); backdrop-filter: blur(3px); }
|
||||
.identity-panel { position: relative; display: grid; gap: 18px; width: 100%; padding: 28px; }
|
||||
.identity-panel__header { padding-right: 38px; }
|
||||
.identity-panel__header h2 { margin: 0 0 7px; }
|
||||
.identity-panel__header p { margin: 0; }
|
||||
.identity-fields { display: grid; gap: 14px; }
|
||||
.identity-fields label { display: grid; gap: 7px; color: var(--muted); font-size: .78rem; }
|
||||
.modal-close { position: absolute; top: 12px; right: 12px; display: grid; width: 34px; height: 34px; padding: 0; place-items: center; border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--muted); font: 400 1.45rem/1 system-ui; cursor: pointer; }
|
||||
.modal-close:hover { border-color: var(--border); background: var(--surface-2); color: white; }
|
||||
.identity-links { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
|
||||
.identity-links .text-button { padding: 2px 0; }
|
||||
.form-message.success { color: #8ed9a4; }
|
||||
@media (max-width: 600px) {
|
||||
.home-footer__inner { align-items: stretch; flex-direction: column; text-align: center; }
|
||||
.home-footer__account { justify-content: center; }
|
||||
.home-footer__author { margin-left: 0; }
|
||||
.identity-panel { padding: 24px 20px 20px; }
|
||||
.identity-links { align-items: flex-start; flex-direction: column; }
|
||||
}
|
||||
.home-footer__account[hidden], .footer-action[hidden], .identity-links [hidden], .identity-fields [hidden], .auth-panel[hidden] { display: none !important; }
|
||||
|
||||
.system-dialog-panel { position: relative; }
|
||||
.dialog-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }
|
||||
.secondary-button, .danger-button { min-height: 42px; padding: 0 16px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-2); color: var(--text); font: inherit; cursor: pointer; }
|
||||
.secondary-button:hover { border-color: var(--muted); }
|
||||
.danger-button { border-color: #7f3340; background: #6e2935; color: white; }
|
||||
.danger-button:hover { background: #7c3040; }
|
||||
|
||||
/* Native hidden must win over component display declarations. */
|
||||
[hidden] { display: none !important; }
|
||||
.identity-panel #auth-panel:not([hidden]) { margin-top: 4px; }
|
||||
.identity-panel #nickname:disabled { opacity: .55; cursor: not-allowed; }
|
||||
|
||||
Reference in New Issue
Block a user