第一次提交
This commit is contained in:
266
auth-portal/src/app/globals.css
Normal file
266
auth-portal/src/app/globals.css
Normal file
@ -0,0 +1,266 @@
|
||||
:root {
|
||||
--bg: #f4efe6;
|
||||
--bg-strong: #e6d8bf;
|
||||
--panel: rgba(23, 26, 31, 0.88);
|
||||
--panel-border: rgba(255, 255, 255, 0.1);
|
||||
--text: #f7f1e7;
|
||||
--muted: rgba(247, 241, 231, 0.72);
|
||||
--accent: #ff8d3a;
|
||||
--accent-strong: #ff6b00;
|
||||
--danger: #ff8787;
|
||||
--input: rgba(255, 255, 255, 0.08);
|
||||
--input-focus: rgba(255, 141, 58, 0.28);
|
||||
--shadow: 0 40px 90px rgba(26, 24, 21, 0.28);
|
||||
}
|
||||
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: "IBM Plex Sans", "Avenir Next", "Segoe UI", sans-serif;
|
||||
color: var(--text);
|
||||
background:
|
||||
radial-gradient(circle at top left, rgba(255, 141, 58, 0.28), transparent 28%),
|
||||
radial-gradient(circle at right center, rgba(19, 104, 93, 0.18), transparent 24%),
|
||||
linear-gradient(135deg, var(--bg) 0%, #d6c09b 45%, var(--bg-strong) 100%);
|
||||
}
|
||||
|
||||
a {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
button,
|
||||
input {
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
.portal-page {
|
||||
min-height: 100vh;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
padding: 32px 18px;
|
||||
}
|
||||
|
||||
.portal-shell {
|
||||
width: min(980px, 100%);
|
||||
display: grid;
|
||||
grid-template-columns: 1.05fr 0.95fr;
|
||||
overflow: hidden;
|
||||
border-radius: 28px;
|
||||
box-shadow: var(--shadow);
|
||||
background: rgba(255, 250, 241, 0.45);
|
||||
backdrop-filter: blur(12px);
|
||||
}
|
||||
|
||||
.portal-brand {
|
||||
position: relative;
|
||||
min-height: 620px;
|
||||
padding: 48px 42px;
|
||||
color: #26180d;
|
||||
background:
|
||||
linear-gradient(160deg, rgba(255, 240, 217, 0.82), rgba(255, 220, 174, 0.64)),
|
||||
linear-gradient(135deg, #ffd7a3, #f3b15f);
|
||||
}
|
||||
|
||||
.portal-brand::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 22px;
|
||||
border-radius: 22px;
|
||||
border: 1px solid rgba(38, 24, 13, 0.08);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.portal-kicker {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 8px 12px;
|
||||
border-radius: 999px;
|
||||
background: rgba(38, 24, 13, 0.08);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.portal-title {
|
||||
margin: 26px 0 14px;
|
||||
font-size: clamp(36px, 5vw, 60px);
|
||||
line-height: 0.95;
|
||||
letter-spacing: -0.06em;
|
||||
}
|
||||
|
||||
.portal-copy {
|
||||
max-width: 460px;
|
||||
font-size: 16px;
|
||||
line-height: 1.65;
|
||||
color: rgba(38, 24, 13, 0.78);
|
||||
}
|
||||
|
||||
.portal-notes {
|
||||
margin-top: 34px;
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.portal-note {
|
||||
padding: 16px 18px;
|
||||
border-radius: 18px;
|
||||
background: rgba(255, 255, 255, 0.45);
|
||||
border: 1px solid rgba(38, 24, 13, 0.08);
|
||||
}
|
||||
|
||||
.portal-note strong {
|
||||
display: block;
|
||||
margin-bottom: 6px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.portal-panel {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 32px;
|
||||
background:
|
||||
linear-gradient(180deg, rgba(23, 26, 31, 0.96), rgba(12, 14, 17, 0.94));
|
||||
}
|
||||
|
||||
.auth-card {
|
||||
width: min(440px, 100%);
|
||||
padding: 34px;
|
||||
border-radius: 24px;
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--panel-border);
|
||||
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
|
||||
}
|
||||
|
||||
.auth-card h1 {
|
||||
margin: 0 0 10px;
|
||||
font-size: 34px;
|
||||
letter-spacing: -0.05em;
|
||||
}
|
||||
|
||||
.auth-card p {
|
||||
margin: 0;
|
||||
color: var(--muted);
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.auth-form {
|
||||
margin-top: 26px;
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.field {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.field label {
|
||||
font-size: 14px;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.field input {
|
||||
width: 100%;
|
||||
padding: 14px 16px;
|
||||
border: 1px solid transparent;
|
||||
border-radius: 14px;
|
||||
color: var(--text);
|
||||
background: var(--input);
|
||||
outline: none;
|
||||
transition: border-color 140ms ease, background 140ms ease, box-shadow 140ms ease;
|
||||
}
|
||||
|
||||
.field input:focus {
|
||||
border-color: rgba(255, 141, 58, 0.65);
|
||||
background: rgba(255, 255, 255, 0.11);
|
||||
box-shadow: 0 0 0 5px var(--input-focus);
|
||||
}
|
||||
|
||||
.error-text {
|
||||
min-height: 22px;
|
||||
font-size: 14px;
|
||||
color: var(--danger);
|
||||
}
|
||||
|
||||
.primary-button {
|
||||
width: 100%;
|
||||
padding: 14px 18px;
|
||||
border: none;
|
||||
border-radius: 16px;
|
||||
cursor: pointer;
|
||||
color: #26180d;
|
||||
background: linear-gradient(135deg, var(--accent), var(--accent-strong));
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.01em;
|
||||
transition: transform 140ms ease, filter 140ms ease, opacity 140ms ease;
|
||||
}
|
||||
|
||||
.primary-button:hover {
|
||||
transform: translateY(-1px);
|
||||
filter: brightness(1.02);
|
||||
}
|
||||
|
||||
.primary-button:disabled {
|
||||
cursor: wait;
|
||||
opacity: 0.68;
|
||||
transform: none;
|
||||
}
|
||||
|
||||
.auth-footer {
|
||||
margin-top: 20px;
|
||||
color: var(--muted);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.auth-footer a {
|
||||
color: #ffd7a3;
|
||||
}
|
||||
|
||||
.status-panel {
|
||||
margin-top: 18px;
|
||||
padding: 14px 16px;
|
||||
border-radius: 16px;
|
||||
background: rgba(255, 255, 255, 0.05);
|
||||
color: var(--muted);
|
||||
font-size: 13px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
@media (max-width: 920px) {
|
||||
.portal-shell {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.portal-brand {
|
||||
min-height: auto;
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.portal-page {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.portal-brand,
|
||||
.portal-panel {
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.auth-card {
|
||||
padding: 24px 20px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user