189 lines
15 KiB
CSS
189 lines
15 KiB
CSS
@import './foundation.css';
|
|
@import './client-ui.css';
|
|
@import './shell.css';
|
|
@import './workspace-tabs.css';
|
|
|
|
.auth-page { min-height: 100vh; background: #edf2f4; color: var(--navy); }
|
|
.auth-header { display: flex; height: 72px; align-items: center; justify-content: space-between; padding: 0 clamp(24px, 6vw, 90px); border-bottom: 1px solid #dfe6e8; background: #fff; color: #59646d; font-size: 13px; }
|
|
.auth-brand { display: flex; min-width: 0; align-items: center; color: var(--navy); text-decoration: none; }
|
|
.auth-brand-logo { display: block; width: 158px; height: 56px; object-fit: contain; object-position: left center; }
|
|
.auth-header-action { display: flex; min-height: 44px; align-items: center; gap: 8px; }
|
|
.auth-header-action a { display: inline-flex; min-height: 44px; align-items: center; color: #155eaa; font-weight: 650; text-decoration: none; }
|
|
.auth-header-action a:hover { text-decoration: underline; }
|
|
.auth-header-action a:focus-visible, .auth-brand:focus-visible { outline: 2px solid #155eaa; outline-offset: 3px; }
|
|
.auth-stage { display: grid; min-height: calc(100vh - 72px); padding: clamp(28px, 5vw, 64px) 24px; place-items: center; }
|
|
.auth-panel { display: grid; width: min(1180px, 100%); min-height: 640px; grid-template-columns: minmax(360px, .95fr) minmax(440px, 1.05fr); overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 24px 64px rgba(20, 42, 65, .16); }
|
|
.auth-panel--register { width: min(1280px, 100%); min-height: 820px; grid-template-columns: minmax(340px, .72fr) minmax(600px, 1.28fr); }
|
|
.auth-visual { position: relative; min-height: 100%; overflow: hidden; color: #fff; }
|
|
.auth-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; transform: scale(1.01); }
|
|
.auth-visual-shade { position: absolute; inset: 0; background: linear-gradient(155deg, rgba(7, 23, 40, .93) 0%, rgba(13, 71, 117, .82) 58%, rgba(10, 93, 92, .74) 100%); }
|
|
.auth-visual-content { position: relative; z-index: 1; display: flex; height: 100%; min-height: inherit; flex-direction: column; justify-content: space-between; padding: clamp(42px, 5vw, 72px); }
|
|
.auth-panel--register .auth-visual-content { padding: 48px 42px; }
|
|
.auth-visual h1 { max-width: 12ch; margin: 0 0 18px; color: #fff; font-size: clamp(31px, 3.2vw, 46px); line-height: 1.18; letter-spacing: -.025em; }
|
|
.auth-panel--register .auth-visual h1 { max-width: 10ch; font-size: clamp(30px, 2.8vw, 40px); }
|
|
.auth-visual p { max-width: 32ch; margin: 0; color: #dbeaf0; font-size: 15px; line-height: 1.8; }
|
|
.auth-visual ul { display: flex; margin: 48px 0 0; padding: 0; flex-direction: column; gap: 16px; list-style: none; }
|
|
.auth-visual li { display: flex; align-items: center; gap: 10px; color: #f4fbfb; font-size: 14px; font-weight: 600; }
|
|
.auth-visual li svg { flex: 0 0 auto; color: #64c877; }
|
|
.auth-form-panel { display: flex; min-width: 0; align-items: center; padding: clamp(40px, 5vw, 70px); background: #fff; }
|
|
.auth-panel--register .auth-form-panel { align-items: stretch; padding: 44px 48px; }
|
|
.auth-form-content { width: 100%; margin: auto; }
|
|
.auth-form-content--login { max-width: 420px; }
|
|
.auth-form-content--register { max-width: 760px; }
|
|
.auth-form-heading { margin-bottom: 26px; }
|
|
.auth-form-heading h1, .auth-form-heading h2 { margin: 0 0 9px; color: #18243a; font-size: 30px; line-height: 1.3; letter-spacing: -.02em; }
|
|
.auth-form-heading p { margin: 0; color: #66717a; font-size: 14px; line-height: 1.7; }
|
|
.section-label { color: var(--primary); font-size: 11px; font-weight: 750; letter-spacing: .13em; }
|
|
.auth-account-note { margin: -8px 0 24px; padding: 12px 14px; background: #edf6f4; color: #385b57; font-size: 12px; line-height: 1.65; }
|
|
.auth-form-options { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: -2px 0 18px; }
|
|
.auth-form-options button { min-height: 44px; padding: 0; border: 0; background: transparent; color: #155eaa; cursor: pointer; }
|
|
.auth-form-options button:hover { text-decoration: underline; }
|
|
.auth-form-options button:focus-visible { outline: 2px solid #155eaa; outline-offset: 3px; }
|
|
.auth-submit { width: 100%; min-height: 46px; }
|
|
.auth-submit span { display: flex; align-items: center; gap: 7px; }
|
|
.login-register-entry { margin: 16px 0 0; color: #667085; font-size: 13px; text-align: center; }
|
|
.login-register-entry a { margin-left: 5px; color: #155eaa; font-weight: 650; text-decoration: none; }
|
|
.login-register-entry a:hover { text-decoration: underline; }
|
|
.login-register-entry a:focus-visible { border-radius: 3px; outline: 2px solid #155eaa; outline-offset: 3px; }
|
|
|
|
.register-form { margin-top: 4px; }
|
|
.register-section { padding: 22px 0 2px; border-top: 1px solid #e5eaec; }
|
|
.register-section:first-child { padding-top: 0; border-top: 0; }
|
|
.register-section h2 { margin: 0 0 16px; color: #26364a; font-size: 15px; line-height: 1.4; }
|
|
.register-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
|
|
.register-form-full { grid-column: 1 / -1; }
|
|
.register-select { width: 100%; }
|
|
.agreement-item { margin-bottom: 8px; }
|
|
.agreement-control { display: flex; min-height: 44px; align-items: center; gap: 4px; flex-wrap: wrap; color: #59646d; }
|
|
.agreement-item .el-checkbox { min-height: 44px; white-space: normal; }
|
|
.agreement-required { margin-right: 2px; color: var(--el-color-danger); }
|
|
.agreement-item a { color: #155eaa; text-decoration: none; }
|
|
.agreement-item a:hover { text-decoration: underline; }
|
|
.agreement-item a:focus-visible { outline: 2px solid #155eaa; outline-offset: 2px; }
|
|
.register-security-note { margin: 0; color: #66717a; font-size: 12px; line-height: 1.65; }
|
|
.register-submit { width: 100%; min-height: 48px; margin-top: 22px; --el-button-bg-color: #2e7d32; --el-button-border-color: #2e7d32; --el-button-hover-bg-color: #256b2a; --el-button-hover-border-color: #256b2a; }
|
|
.registration-result { display: flex; min-height: 640px; align-items: center; justify-content: center; flex-direction: column; color: #2e7d32; text-align: center; }
|
|
.registration-result h1 { margin: 18px 0 8px; color: var(--navy); font-size: 26px; }
|
|
.registration-result > p { max-width: 600px; margin: 0; color: #66717a; line-height: 1.7; overflow-wrap: anywhere; }
|
|
.registration-result > p strong { color: var(--navy); }
|
|
.registration-result dl { display: grid; width: min(620px, 100%); grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 28px 0 0; border: 1px solid #e0e6e8; color: var(--navy); text-align: left; }
|
|
.registration-result dl div { min-width: 0; padding: 14px 16px; border-bottom: 1px solid var(--border); }
|
|
.registration-result dl div:nth-child(odd) { border-right: 1px solid var(--border); }
|
|
.registration-result dt { color: var(--muted); font-size: 11px; }
|
|
.registration-result dd { margin: 5px 0 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 650; }
|
|
.registration-next-step { display: flex; width: min(620px, 100%); flex-direction: column; gap: 5px; margin-top: 18px; padding: 14px 16px; border: 1px solid #d9cfad; background: #fff9e9; color: #66717a; font-size: 12px; line-height: 1.65; text-align: left; }
|
|
.registration-next-step strong { color: var(--navy); font-size: 13px; }
|
|
.registration-result-actions { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
|
|
|
|
.legal-page { min-height: 100vh; background: #f5f7f8; }
|
|
.legal-header { position: sticky; top: 0; z-index: 10; display: flex; height: 68px; align-items: center; justify-content: space-between; padding: 0 clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .96); }
|
|
.legal-header > a:first-child { display: flex; min-height: 44px; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; text-decoration: none; }
|
|
.legal-header > a:first-child:hover { color: var(--primary); }
|
|
.legal-header a:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
|
|
.legal-main { width: min(860px, calc(100% - 32px)); margin: 36px auto 64px; }
|
|
.legal-document { padding: clamp(28px, 5vw, 56px); border: 1px solid var(--border); background: #fff; color: #34464f; }
|
|
.legal-title { padding-bottom: 26px; border-bottom: 1px solid var(--border); }
|
|
.legal-title h1 { margin: 0 0 20px; color: var(--navy); font-size: clamp(28px, 4vw, 38px); line-height: 1.25; }
|
|
.legal-title dl { display: flex; margin: 0; gap: 24px; flex-wrap: wrap; }
|
|
.legal-title dl div { display: flex; gap: 6px; font-size: 12px; }
|
|
.legal-title dt { color: var(--muted); }
|
|
.legal-title dd { margin: 0; color: var(--navy); font-weight: 650; }
|
|
.legal-introduction { margin: 28px 0 34px; padding: 18px 20px; background: #eef6f4; color: #29423e; }
|
|
.legal-introduction p { margin: 0; font-size: 14px; line-height: 1.9; }
|
|
.legal-introduction p + p { margin-top: 10px; }
|
|
.legal-section { margin-top: 32px; }
|
|
.legal-section h2 { margin: 0 0 12px; color: var(--navy); font-size: 18px; line-height: 1.5; }
|
|
.legal-section p, .legal-section li { font-size: 14px; line-height: 1.9; }
|
|
.legal-section p { margin: 0; }
|
|
.legal-section p + p { margin-top: 10px; }
|
|
.legal-section ul { margin: 0; padding-left: 1.35em; }
|
|
.legal-section li + li { margin-top: 8px; }
|
|
.legal-section li::marker { color: var(--primary); }
|
|
|
|
.client-dashboard { display: flex; flex-direction: column; gap: 18px; }
|
|
.dashboard-load-error { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #f1d4a8; border-radius: 12px; background: #fff9ef; color: #9a5a09; }
|
|
.dashboard-load-error > div { display: flex; min-width: 0; flex-direction: column; gap: 3px; }
|
|
.dashboard-load-error strong { color: var(--navy); font-size: 14px; }
|
|
.dashboard-load-error span { overflow-wrap: anywhere; color: var(--muted); font-size: 12px; line-height: 1.5; }
|
|
.quick-order-band { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 26px 28px; border-left: 4px solid var(--primary); background: var(--navy); color: #fff; }
|
|
.quick-order-band span { color: #84c3ba; font-size: 11px; font-weight: 700; }
|
|
.quick-order-band h2 { margin: 6px 0; font-size: 22px; }
|
|
.quick-order-band p { margin: 0; color: #c6d0db; font-size: 13px; }
|
|
.client-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
|
|
.client-stats article { display: flex; align-items: center; gap: 14px; padding: 20px; border: 1px solid var(--border); background: #fff; color: var(--primary); }
|
|
.client-stats article div { display: flex; flex-direction: column; gap: 3px; }
|
|
.client-stats span { color: var(--muted); font-size: 12px; }
|
|
.client-stats strong { color: var(--navy); font-size: 24px; }
|
|
.client-content-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 18px; }
|
|
.client-card { padding: 22px; border: 1px solid var(--border); background: #fff; box-shadow: 0 3px 12px rgba(23,50,77,.035); }
|
|
.client-card header { display: flex; align-items: center; justify-content: space-between; }
|
|
.client-card h3 { margin: 5px 0 14px; font-size: 17px; }
|
|
.client-empty { display: grid; min-height: 190px; place-items: center; border-top: 1px solid var(--border); color: #98a2a9; font-size: 13px; text-align: center; }
|
|
.recent-orders { border-top: 1px solid var(--border); }
|
|
.recent-orders button { display: flex; width: 100%; min-height: 62px; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--border); background: transparent; cursor: pointer; text-align: left; }
|
|
.recent-orders button:hover { color: var(--primary); }
|
|
.recent-orders button:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
|
|
.recent-orders button > span { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
|
|
.recent-orders strong { font-size: 13px; }
|
|
.recent-orders small { overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
|
|
.profile-summary { margin: 0 0 20px; }
|
|
.profile-summary div { display: flex; justify-content: space-between; padding: 12px 0; border-top: 1px solid var(--border); font-size: 12px; }
|
|
.profile-summary dt { color: var(--muted); }
|
|
.profile-summary dd { margin: 0; font-weight: 600; }
|
|
.module-stack { display: flex; flex-direction: column; gap: 14px; }
|
|
|
|
.el-button--primary { --el-button-bg-color: var(--primary); --el-button-border-color: var(--primary); --el-button-hover-bg-color: var(--primary-dark); --el-button-hover-border-color: var(--primary-dark); }
|
|
|
|
@media (max-width: 960px) {
|
|
.auth-stage { padding: 32px 20px; }
|
|
.auth-panel { width: min(680px, 100%); min-height: 0; grid-template-columns: 1fr; }
|
|
.auth-panel--login { width: min(520px, 100%); }
|
|
.auth-visual { display: none; }
|
|
.auth-form-panel, .auth-panel--register .auth-form-panel { padding: 44px; }
|
|
.registration-result { min-height: 560px; }
|
|
.client-content-grid { grid-template-columns: 1fr; }
|
|
}
|
|
@media (max-width: 720px) {
|
|
.top-header { inset: 0; width: 100%; max-width: 100vw; padding: 0 14px; }
|
|
.client-sidebar { display: flex; width: min(286px, 86vw); padding: 0 14px 18px; visibility: hidden; pointer-events: none; transform: translateX(-100%); transition: transform .2s ease, visibility 0s linear .2s; z-index: 21; }
|
|
.mobile-menu-open .client-sidebar { visibility: visible; pointer-events: auto; transform: translateX(0); transition-delay: 0s; }
|
|
.client-sidebar-scrim { position: fixed; inset: 0; z-index: 20; display: block; padding: 0; border: 0; background: rgba(7, 18, 34, .56); }
|
|
.client-header-menu-button { background: #eef3f8; color: #24324a; }
|
|
.client-sidebar-brand button { display: grid; width: 44px; height: 44px; flex: 0 0 44px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #526176; place-items: center; }
|
|
.client-main { width: 100%; max-width: 100%; margin-left: 0; padding: 136px 14px 30px; }
|
|
.client-header-menu-button { display: grid; }
|
|
.client-header-greeting, .client-user-copy { display: none; }
|
|
.client-user { margin-left: auto; }
|
|
.dashboard-load-error { grid-template-columns: 1fr; justify-items: start; }
|
|
.dashboard-load-error .el-button { width: 100%; min-height: 44px; }
|
|
.client-stats { grid-template-columns: 1fr; }
|
|
.quick-order-band { align-items: flex-start; flex-direction: column; }
|
|
.auth-header { height: 64px; padding: 0 18px; }
|
|
.auth-brand-logo { width: 132px; height: 50px; }
|
|
.auth-header-action > span { display: none; }
|
|
.auth-stage { min-height: calc(100vh - 64px); padding: 0; background: #fff; place-items: start center; }
|
|
.auth-panel, .auth-panel--register { width: 100%; border-radius: 0; box-shadow: none; }
|
|
.auth-form-panel, .auth-panel--register .auth-form-panel { padding: 34px 20px 44px; }
|
|
.auth-form-heading { margin-bottom: 22px; }
|
|
.auth-form-heading h1, .auth-form-heading h2 { font-size: 26px; }
|
|
.register-form-grid { grid-template-columns: 1fr; }
|
|
.register-form-full { grid-column: auto; }
|
|
.register-section { padding-top: 20px; }
|
|
.registration-result { min-height: 0; padding: 34px 0 12px; }
|
|
.registration-result dl { grid-template-columns: 1fr; }
|
|
.registration-result dl div:nth-child(odd) { border-right: 0; }
|
|
.registration-result-actions { width: 100%; }
|
|
.registration-result-actions .el-button { flex: 1; }
|
|
.legal-header { height: 60px; padding: 0 16px; }
|
|
.legal-header .auth-brand-logo { width: 120px; height: 48px; }
|
|
.legal-main { margin: 16px auto 32px; }
|
|
.legal-document { padding: 24px 20px; }
|
|
.legal-title dl { flex-direction: column; gap: 6px; }
|
|
.legal-introduction { margin: 22px 0 28px; padding: 16px; }
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.client-sidebar,
|
|
.client-sidebar-group-chevron { transition: none; }
|
|
}
|