snapshot: preserve form and app shell alignment before component unification
This commit is contained in:
@@ -1,23 +1,3 @@
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
|
||||
background:
|
||||
radial-gradient(76% 96% at 8% 10%, rgba(0, 0, 120, 0.12), rgba(0, 0, 120, 0)),
|
||||
radial-gradient(64% 86% at 92% 88%, rgba(163, 32, 32, 0.1), rgba(163, 32, 32, 0)),
|
||||
linear-gradient(160deg, #eef3ff 0%, #f8fbff 52%, #edf4ff 100%);
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.shell {
|
||||
background: rgba(255, 255, 255, 0.78);
|
||||
backdrop-filter: blur(12px);
|
||||
border: 1px solid rgba(217, 227, 238, 0.9);
|
||||
border-radius: 28px;
|
||||
box-shadow: 0 22px 48px rgba(18, 34, 56, 0.14);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.account-shell-body {
|
||||
padding: 24px;
|
||||
background:
|
||||
|
||||
@@ -1,11 +1,7 @@
|
||||
body { margin: 0; font-family: Arial, sans-serif; background: #f4f8ff; color: #0f172a; padding: 20px; }
|
||||
[hidden] { display: none !important; }
|
||||
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
|
||||
.shell { max-width: 1100px; margin: 0 auto; background: #fff; border: 1px solid #d8e3f0; border-radius: 14px; padding: 16px; }
|
||||
h1 { margin: 12px 0 6px; color: #000078; }
|
||||
.sub { margin: 0 0 12px; color: #54657c; }
|
||||
.app-messages { margin-bottom: 12px; }
|
||||
.card { border: 1px solid #d8e3f0; border-radius: 12px; background: #fbfdff; padding: 12px; margin-bottom: 14px; transition: border-color 180ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1); }
|
||||
.card { padding: 14px; margin-bottom: 14px; transition: border-color 180ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1); }
|
||||
.grid { display: grid; grid-template-columns: repeat(2, minmax(240px, 1fr)); gap: 10px; }
|
||||
.branding-sections { display: grid; gap: 14px; }
|
||||
.branding-block { border: 1px solid #dce5f1; border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,255,0.94)); padding: 14px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.92); }
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
:root {
|
||||
--app-shell-width: 1380px;
|
||||
--app-line: #d9e3ee;
|
||||
--app-brand-blue: #000078;
|
||||
--app-panel: rgba(255, 255, 255, 0.9);
|
||||
--app-shadow: 0 22px 48px rgba(18, 34, 56, 0.14);
|
||||
--motion-fast: 160ms;
|
||||
--motion-base: 200ms;
|
||||
--app-shell-width: var(--ds-shell-width);
|
||||
--app-line: var(--ds-line);
|
||||
--app-brand-blue: var(--ds-brand);
|
||||
--app-panel: var(--ds-surface);
|
||||
--app-shadow: var(--ds-shadow-shell);
|
||||
--motion-fast: var(--ds-motion-fast);
|
||||
--motion-base: var(--ds-motion-base);
|
||||
--motion-slow: 260ms;
|
||||
--motion-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
|
||||
--motion-ease: var(--ds-ease);
|
||||
}
|
||||
|
||||
.app-header {
|
||||
|
||||
@@ -1,12 +1,3 @@
|
||||
:root {
|
||||
--btn-primary-bg: #000078;
|
||||
--btn-primary-border: #000078;
|
||||
--btn-primary-text: #ffffff;
|
||||
--btn-secondary-bg: #ffffff;
|
||||
--btn-secondary-border: #c7d3e0;
|
||||
--btn-secondary-text: #000078;
|
||||
}
|
||||
|
||||
.btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
@@ -44,9 +35,9 @@
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
background: var(--btn-primary-bg);
|
||||
border-color: var(--btn-primary-border);
|
||||
color: var(--btn-primary-text);
|
||||
background: var(--ds-brand);
|
||||
border-color: var(--ds-brand);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.btn-primary:hover:not(:disabled) {
|
||||
@@ -56,9 +47,9 @@
|
||||
}
|
||||
|
||||
.btn-secondary {
|
||||
background: var(--btn-secondary-bg);
|
||||
border-color: var(--btn-secondary-border);
|
||||
color: var(--btn-secondary-text);
|
||||
background: rgba(255, 255, 255, 0.96);
|
||||
border-color: var(--ds-line-strong);
|
||||
color: var(--ds-brand);
|
||||
}
|
||||
|
||||
.btn-secondary:hover:not(:disabled) {
|
||||
|
||||
288
backend/workflows/static/workflows/css/design_system.css
Normal file
288
backend/workflows/static/workflows/css/design_system.css
Normal file
@@ -0,0 +1,288 @@
|
||||
:root {
|
||||
--ds-shell-width: 1380px;
|
||||
--ds-font-sans: "IBM Plex Sans", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
|
||||
--ds-ink: #152338;
|
||||
--ds-ink-strong: #0f1b2d;
|
||||
--ds-muted: #607086;
|
||||
--ds-line: #d8e2ef;
|
||||
--ds-line-strong: #c8d5e5;
|
||||
--ds-surface: rgba(255, 255, 255, 0.88);
|
||||
--ds-surface-strong: rgba(255, 255, 255, 0.96);
|
||||
--ds-surface-soft: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(246,250,255,0.95));
|
||||
--ds-surface-soft-blue: linear-gradient(180deg, rgba(255,255,255,0.99), rgba(247,250,255,0.96));
|
||||
--ds-brand: #000078;
|
||||
--ds-brand-strong: #173f8d;
|
||||
--ds-accent: #1f4fd6;
|
||||
--ds-danger: #a32020;
|
||||
--ds-success: #1f7a3f;
|
||||
--ds-warning: #9a6400;
|
||||
--ds-radius-shell: 28px;
|
||||
--ds-radius-xl: 24px;
|
||||
--ds-radius-lg: 20px;
|
||||
--ds-radius-md: 16px;
|
||||
--ds-radius-sm: 12px;
|
||||
--ds-shadow-shell: 0 22px 56px rgba(18, 34, 56, 0.14);
|
||||
--ds-shadow-card: 0 14px 28px rgba(15, 23, 42, 0.06);
|
||||
--ds-shadow-hover: 0 18px 32px rgba(15, 23, 42, 0.08);
|
||||
--ds-motion-fast: 160ms;
|
||||
--ds-motion-base: 220ms;
|
||||
--ds-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
padding: 24px;
|
||||
font-family: var(--ds-font-sans);
|
||||
color: var(--ds-ink);
|
||||
background:
|
||||
radial-gradient(72% 90% at 8% 8%, rgba(0, 0, 120, 0.12), rgba(0, 0, 120, 0)),
|
||||
radial-gradient(60% 82% at 92% 88%, rgba(163, 32, 32, 0.08), rgba(163, 32, 32, 0)),
|
||||
linear-gradient(160deg, #eef3ff 0%, #f9fbff 48%, #edf4ff 100%);
|
||||
}
|
||||
|
||||
.shell {
|
||||
width: min(var(--ds-shell-width), 100%);
|
||||
margin: 0 auto;
|
||||
background: rgba(255, 255, 255, 0.78);
|
||||
backdrop-filter: blur(12px);
|
||||
border: 1px solid rgba(216, 226, 239, 0.9);
|
||||
border-radius: var(--ds-radius-shell);
|
||||
box-shadow: var(--ds-shadow-shell);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.page-stack {
|
||||
display: grid;
|
||||
gap: 18px;
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.page-header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
gap: 18px;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.page-header-copy {
|
||||
min-width: 0;
|
||||
max-width: 760px;
|
||||
}
|
||||
|
||||
.page-eyebrow {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 28px;
|
||||
padding: 0 12px;
|
||||
border-radius: 999px;
|
||||
border: 1px solid rgba(0, 0, 120, 0.12);
|
||||
background: rgba(0, 0, 120, 0.05);
|
||||
color: var(--ds-brand);
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.05em;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.page-header h1,
|
||||
.page-title {
|
||||
margin: 10px 0 0;
|
||||
color: var(--ds-ink-strong);
|
||||
font-size: clamp(30px, 4vw, 42px);
|
||||
line-height: 1.02;
|
||||
letter-spacing: -0.04em;
|
||||
}
|
||||
|
||||
.page-subtitle,
|
||||
.sub {
|
||||
margin: 8px 0 0;
|
||||
color: var(--ds-muted);
|
||||
font-size: 14px;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.page-section,
|
||||
.card,
|
||||
.surface-card {
|
||||
border: 1px solid rgba(216, 226, 239, 0.94);
|
||||
border-radius: var(--ds-radius-lg);
|
||||
background:
|
||||
radial-gradient(120% 120% at 100% 0%, rgba(31, 79, 214, 0.05), rgba(31, 79, 214, 0)),
|
||||
var(--ds-surface-soft);
|
||||
box-shadow: inset 0 1px 0 rgba(255,255,255,0.94), var(--ds-shadow-card);
|
||||
}
|
||||
|
||||
.page-section {
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.page-section-head,
|
||||
.surface-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 14px;
|
||||
flex-wrap: wrap;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.page-section-head h2,
|
||||
.surface-head h2 {
|
||||
margin: 0;
|
||||
color: #17345e;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.page-section-head p,
|
||||
.surface-head p {
|
||||
margin: 4px 0 0;
|
||||
color: var(--ds-muted);
|
||||
font-size: 13px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.surface-grid {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.metric-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.metric-card {
|
||||
border: 1px solid var(--ds-line);
|
||||
border-radius: var(--ds-radius-md);
|
||||
background: rgba(255,255,255,0.86);
|
||||
padding: 14px;
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.metric-card strong {
|
||||
color: #17345e;
|
||||
font-size: 24px;
|
||||
line-height: 1.05;
|
||||
}
|
||||
|
||||
.metric-card span,
|
||||
.mini,
|
||||
.hint {
|
||||
color: var(--ds-muted);
|
||||
font-size: 12px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.app-table-wrap,
|
||||
.table-wrap,
|
||||
.option-table-wrap {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.app-table-shell {
|
||||
border: 1px solid rgba(216, 226, 239, 0.94);
|
||||
border-radius: var(--ds-radius-md);
|
||||
background: rgba(255,255,255,0.86);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.app-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.app-table th,
|
||||
.app-table td,
|
||||
table th,
|
||||
table td {
|
||||
border: 1px solid #dce5f1;
|
||||
padding: 10px;
|
||||
text-align: left;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.app-table th,
|
||||
table th {
|
||||
background: #f6f9ff;
|
||||
color: #334155;
|
||||
}
|
||||
|
||||
.app-table tr:last-child td {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.table-actions,
|
||||
.inline-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.inline-action-form {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.inline-flex-label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.u-mt-12 {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.u-mt-16 {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
.u-align-end {
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
.audit-request-list {
|
||||
margin: 6px 0 10px 18px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.status-note-error {
|
||||
margin-top: 8px;
|
||||
color: #8e1e1e;
|
||||
}
|
||||
|
||||
.status-note-error + .status-note-error {
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
body {
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.page-stack {
|
||||
padding: 18px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
body {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.shell {
|
||||
border-radius: 22px;
|
||||
}
|
||||
|
||||
.page-stack {
|
||||
padding: 16px;
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,4 @@
|
||||
body { margin: 0; font-family: Arial, sans-serif; background: #f4f8ff; color: #1b2b43; padding: 20px; }
|
||||
.shell { max-width: 1120px; margin: 0 auto; background: #fff; border: 1px solid #d7e0ea; border-radius: 14px; padding: 18px; }
|
||||
.page-stack { width: min(1280px, 100%); margin: 0 auto; }
|
||||
.brand-logo { width: 190px; max-width: 100%; height: auto; margin: 0 0 10px; display: block; }
|
||||
.top { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 8px; }
|
||||
h1 { margin: 0; color: #000078; font-size: 30px; }
|
||||
@@ -14,8 +13,8 @@ code { background: #f1f5fb; border: 1px solid #dce6f3; border-radius: 6px; paddi
|
||||
pre { background: #f7fbff; border: 1px solid #dce6f3; border-radius: 10px; padding: 10px; overflow-x: auto; }
|
||||
.box { border: 1px solid #d7e0ea; border-radius: 10px; padding: 10px; background: #fcfdff; margin: 8px 0 12px; }
|
||||
.note { border-left: 4px solid #000078; padding: 8px 10px; background: #f4f8ff; margin: 10px 0; }
|
||||
.grid { display: grid; grid-template-columns: repeat(3, minmax(260px, 1fr)); gap: 14px; }
|
||||
.card { border: 1px solid #d7e0ea; border-radius: 14px; background: #fcfdff; padding: 16px; }
|
||||
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; align-items: stretch; }
|
||||
.card { border: 1px solid #d7e0ea; border-radius: 14px; background: #fcfdff; padding: 18px; height: 100%; }
|
||||
.eyebrow { display: inline-block; padding: 5px 10px; border-radius: 999px; background: #eef4ff; color: #244a8f; border: 1px solid #d5e2f9; font-size: 12px; font-weight: 700; margin-bottom: 10px; }
|
||||
p { margin: 0 0 14px; color: #5f6f85; }
|
||||
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
|
||||
|
||||
@@ -1,28 +1,9 @@
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
|
||||
background:
|
||||
radial-gradient(circle at top right, rgba(0, 120, 255, 0.08), transparent 28%),
|
||||
linear-gradient(180deg, #eef4fb 0%, #f7f9fc 100%);
|
||||
color: #142033;
|
||||
}
|
||||
|
||||
.shell {
|
||||
width: min(1320px, 94%);
|
||||
margin: 20px auto 32px;
|
||||
background: rgba(255, 255, 255, 0.92);
|
||||
border: 1px solid rgba(191, 204, 222, 0.8);
|
||||
border-radius: 20px;
|
||||
padding: 20px;
|
||||
box-shadow: 0 22px 60px rgba(15, 23, 42, 0.08);
|
||||
backdrop-filter: blur(12px);
|
||||
}
|
||||
|
||||
.builder-workspace {
|
||||
display: grid;
|
||||
grid-template-columns: 280px minmax(0, 1fr);
|
||||
gap: 18px;
|
||||
align-items: start;
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.builder-sidebar {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
:root {
|
||||
--brand-blue: #000078;
|
||||
--brand-blue: var(--ds-brand);
|
||||
--brand-red: #8c1d1d;
|
||||
--ink: #102039;
|
||||
--muted: #5f6f85;
|
||||
--line: #d8e1ee;
|
||||
--ink: var(--ds-ink);
|
||||
--muted: var(--ds-muted);
|
||||
--line: var(--ds-line);
|
||||
--panel: #ffffff;
|
||||
--bg-soft: #eff4ff;
|
||||
--ok-bg: #effaf2;
|
||||
@@ -12,68 +12,6 @@
|
||||
--warn-ink: #8a4f00;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
|
||||
color: var(--ink);
|
||||
background:
|
||||
radial-gradient(80% 120% at 85% 8%, rgba(0, 0, 120, 0.12), rgba(0, 0, 120, 0)),
|
||||
radial-gradient(70% 90% at 8% 92%, rgba(140, 29, 29, 0.10), rgba(140, 29, 29, 0)),
|
||||
linear-gradient(165deg, #eef3ff, #f7f9ff 48%, #f0f5ff);
|
||||
min-height: 100vh;
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.shell {
|
||||
width: min(1380px, 100%);
|
||||
margin: 0 auto;
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 20px 44px rgba(16, 32, 57, 0.13);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 16px;
|
||||
padding: 18px 22px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.brand-wrap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
flex: 0 0 auto;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
width: 210px;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
margin: 0;
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.quick-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
}
|
||||
.lang-switch { display:flex; gap:6px; }
|
||||
.lang-btn { border:1px solid var(--line); background:#f8fbff; color:#1f3a5f; border-radius:999px; padding:6px 10px; font-size:12px; font-weight:700; cursor:pointer; }
|
||||
.lang-btn.active { background:var(--brand-blue); border-color:var(--brand-blue); color:#fff; }
|
||||
|
||||
.hero {
|
||||
padding: 24px;
|
||||
border-bottom: 1px solid var(--line);
|
||||
|
||||
@@ -1,23 +1,3 @@
|
||||
body {
|
||||
margin: 0;
|
||||
min-height: 100vh;
|
||||
font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
|
||||
background:
|
||||
radial-gradient(70% 90% at 8% 8%, rgba(0, 0, 120, 0.14), rgba(0, 0, 120, 0)),
|
||||
radial-gradient(60% 85% at 92% 88%, rgba(163, 32, 32, 0.12), rgba(163, 32, 32, 0)),
|
||||
linear-gradient(160deg, #eef3ff 0%, #f9fbff 48%, #edf4ff 100%);
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.shell {
|
||||
background: rgba(255, 255, 255, 0.78);
|
||||
backdrop-filter: blur(12px);
|
||||
border: 1px solid rgba(217, 227, 238, 0.9);
|
||||
border-radius: 28px;
|
||||
box-shadow: 0 22px 48px rgba(18, 34, 56, 0.14);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.login-shell-body {
|
||||
padding: 24px;
|
||||
background:
|
||||
|
||||
@@ -1,37 +1,286 @@
|
||||
body {
|
||||
font-family: "IBM Plex Sans", "Trebuchet MS", "Segoe UI", sans-serif;
|
||||
margin: 24px;
|
||||
color: #1f2937;
|
||||
background:
|
||||
radial-gradient(900px 520px at 8% 0%, #dbe8ff, transparent),
|
||||
radial-gradient(900px 520px at 92% 0%, #eef4ff, transparent),
|
||||
#edf2fb;
|
||||
:root {
|
||||
--off-ink: #182233;
|
||||
--off-muted: #5e6f85;
|
||||
--off-brand: #000078;
|
||||
--off-brand-soft: #eef1ff;
|
||||
--off-line: #d7dfeb;
|
||||
--off-card: #ffffff;
|
||||
}
|
||||
|
||||
.offboarding-shell-body {
|
||||
display: grid;
|
||||
grid-template-columns: 290px 1fr;
|
||||
gap: 16px;
|
||||
padding: 18px;
|
||||
}
|
||||
|
||||
.offboarding-panel,
|
||||
.offboarding-main,
|
||||
.offboarding-search-card,
|
||||
.offboarding-section-card {
|
||||
background: var(--off-card);
|
||||
border: 1px solid var(--off-line);
|
||||
box-shadow: 0 12px 28px rgba(30, 52, 87, 0.08);
|
||||
}
|
||||
|
||||
.offboarding-panel,
|
||||
.offboarding-search-card,
|
||||
.offboarding-section-card {
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
.offboarding-panel {
|
||||
padding: 18px;
|
||||
height: fit-content;
|
||||
position: sticky;
|
||||
top: 20px;
|
||||
}
|
||||
|
||||
.offboarding-main {
|
||||
padding: 22px;
|
||||
border-radius: 16px;
|
||||
background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
|
||||
}
|
||||
|
||||
.offboarding-panel h1 {
|
||||
margin: 0 0 8px;
|
||||
font-size: 28px;
|
||||
letter-spacing: -0.02em;
|
||||
color: var(--off-ink);
|
||||
}
|
||||
|
||||
.offboarding-sub {
|
||||
margin: 0 0 16px;
|
||||
color: var(--off-muted);
|
||||
font-size: 14px;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.offboarding-step-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.offboarding-step-item {
|
||||
display: flex;
|
||||
gap: 10px;
|
||||
align-items: flex-start;
|
||||
border: 1px solid #d8e0f4;
|
||||
border-radius: 12px;
|
||||
padding: 10px;
|
||||
background: linear-gradient(160deg, #f8faff, #fcfdff);
|
||||
}
|
||||
|
||||
.offboarding-dot {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
border-radius: 999px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: var(--off-brand-soft);
|
||||
border: 1px solid #c4cdf7;
|
||||
color: var(--off-brand);
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.offboarding-step-title {
|
||||
font-weight: 700;
|
||||
color: #1d2c68;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.offboarding-step-sub {
|
||||
font-size: 12px;
|
||||
color: var(--off-muted);
|
||||
}
|
||||
|
||||
.offboarding-main form {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.offboarding-search-card {
|
||||
padding: 14px;
|
||||
margin-bottom: 16px;
|
||||
background: linear-gradient(160deg, #ffffff, #fbfcff);
|
||||
}
|
||||
|
||||
.offboarding-section-card {
|
||||
overflow: hidden;
|
||||
background: linear-gradient(160deg, #ffffff, #fbfcff);
|
||||
}
|
||||
|
||||
.offboarding-sections {
|
||||
display: grid;
|
||||
gap: 14px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.offboarding-section-head {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 12px;
|
||||
padding: 12px 14px;
|
||||
border-bottom: 1px solid #d5e2f9;
|
||||
background: #eef4ff;
|
||||
}
|
||||
|
||||
.offboarding-search-head {
|
||||
margin: -14px -14px 14px;
|
||||
border-top-left-radius: 16px;
|
||||
border-top-right-radius: 16px;
|
||||
}
|
||||
|
||||
.offboarding-section-head h2 {
|
||||
margin: 0;
|
||||
font-size: 20px;
|
||||
color: #1f376b;
|
||||
}
|
||||
|
||||
.offboarding-section-head p {
|
||||
margin: 4px 0 0;
|
||||
color: #5e7088;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.offboarding-section-card .grid {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.field {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.field-full {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
|
||||
label {
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
input,
|
||||
textarea,
|
||||
select {
|
||||
width: 100%;
|
||||
min-height: 44px;
|
||||
padding: 9px 11px;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid #d4dbf7;
|
||||
border-radius: 10px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
textarea {
|
||||
min-height: 120px;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
.inline-check {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 8px;
|
||||
padding: 12px;
|
||||
border: 1px solid #d7e0ea;
|
||||
border-radius: 14px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.inline-check input[type="checkbox"] {
|
||||
width: auto;
|
||||
min-height: 0;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.hint {
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.results {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.results a {
|
||||
display: inline-block;
|
||||
margin: 4px 8px 4px 0;
|
||||
padding: 6px 8px;
|
||||
border: 1px solid #d4dbf7;
|
||||
border-radius: 8px;
|
||||
text-decoration: none;
|
||||
color: #000078;
|
||||
background: #f7f8ff;
|
||||
}
|
||||
|
||||
.offboarding-prefill-note {
|
||||
margin-top: 10px;
|
||||
color: #2563eb;
|
||||
}
|
||||
|
||||
.errorlist {
|
||||
color: #b91c1c;
|
||||
margin: 4px 0;
|
||||
}
|
||||
|
||||
.popup-backdrop {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgba(15, 23, 42, 0.38);
|
||||
display: none;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.popup-backdrop.show {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.popup {
|
||||
background: #fff;
|
||||
border: 1px solid #d8e0ec;
|
||||
border-radius: 12px;
|
||||
padding: 18px;
|
||||
width: min(460px, calc(100% - 28px));
|
||||
box-shadow: 0 18px 40px rgba(2, 6, 23, 0.25);
|
||||
}
|
||||
|
||||
.popup h3 {
|
||||
margin: 0 0 8px;
|
||||
color: #000078;
|
||||
}
|
||||
|
||||
.popup p {
|
||||
margin: 0 0 14px;
|
||||
color: #475569;
|
||||
}
|
||||
|
||||
@media (max-width: 980px) {
|
||||
.offboarding-shell-body {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.offboarding-panel {
|
||||
position: static;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 820px) {
|
||||
.grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
.wrap { width: min(var(--app-shell-width), 100%); margin: 0 auto; background: #ffffff; border: 1px solid #d8e1ee; border-radius: 20px; box-shadow: 0 20px 44px rgba(16, 32, 57, 0.13); overflow: hidden; }
|
||||
.wrap-body { padding: 18px; }
|
||||
.brand-logo { width: 180px; max-width: 100%; height: auto; margin: 0 0 10px; display: block; }
|
||||
.top-link { margin-bottom: 10px; }
|
||||
.card { background: linear-gradient(180deg, #ffffff, #fbfcff); border: 1px solid #d9dcf3; border-radius: 14px; padding: 18px; margin-bottom: 14px; box-shadow: 0 10px 24px rgba(0, 0, 120, 0.08); }
|
||||
.wrap-body .card:last-child { margin-bottom: 0; }
|
||||
h1 { margin-top: 0; color: #000078; }
|
||||
h2 { margin: 0; color: #17335e; font-size: 18px; }
|
||||
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
|
||||
.field { margin-bottom: 12px; }
|
||||
.field-full { grid-column: 1 / -1; }
|
||||
label { display: block; font-weight: 600; margin-bottom: 6px; }
|
||||
input, textarea { width: 100%; min-height: 44px; padding: 9px 11px; box-sizing: border-box; border: 1px solid #d4dbf7; border-radius: 10px; background: #fff; }
|
||||
textarea { min-height: 120px; resize: vertical; }
|
||||
.hint { color: #64748b; font-size: 12px; margin-top: 4px; }
|
||||
.offboarding-sections { display: grid; gap: 14px; margin-bottom: 14px; }
|
||||
.offboarding-section-card { border: 1px solid #dbe5f1; border-radius: 14px; background: linear-gradient(180deg, #f9fbff, #ffffff); overflow: hidden; box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05); }
|
||||
.offboarding-section-head { padding: 14px 16px; border-bottom: 1px solid #e2e8f4; background: #f2f7ff; }
|
||||
.offboarding-section-head p { margin: 4px 0 0; color: #5f7089; font-size: 13px; }
|
||||
.offboarding-section-card .grid { padding: 16px; }
|
||||
.results a { display: inline-block; margin: 4px 8px 4px 0; padding: 6px 8px; border: 1px solid #d4dbf7; border-radius: 6px; text-decoration: none; color: #000078; background: #f7f8ff; }
|
||||
.errorlist { color: #b91c1c; margin: 4px 0; }
|
||||
.popup-backdrop { position: fixed; inset: 0; background: rgba(15, 23, 42, 0.38); display: none; align-items: center; justify-content: center; z-index: 1000; }
|
||||
.popup-backdrop.show { display: flex; }
|
||||
.popup { background: #fff; border: 1px solid #d8e0ec; border-radius: 12px; padding: 18px; width: min(460px, calc(100% - 28px)); box-shadow: 0 18px 40px rgba(2, 6, 23, 0.25); }
|
||||
.popup h3 { margin: 0 0 8px; color: #000078; }
|
||||
.popup p { margin: 0 0 14px; color: #475569; }
|
||||
@media (max-width: 820px) { .grid { grid-template-columns: 1fr; } }
|
||||
|
||||
@@ -12,28 +12,6 @@
|
||||
--card: #ffffff;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "IBM Plex Sans", "Trebuchet MS", "Segoe UI", sans-serif;
|
||||
color: var(--ink);
|
||||
background:
|
||||
radial-gradient(980px 540px at 12% 0%, var(--bg-a), transparent),
|
||||
radial-gradient(900px 520px at 88% 0%, var(--bg-b), transparent),
|
||||
#edf2fb;
|
||||
min-height: 100vh;
|
||||
padding: 26px 14px;
|
||||
}
|
||||
|
||||
.shell {
|
||||
width: min(var(--app-shell-width), 100%);
|
||||
margin: 0 auto;
|
||||
background: var(--card);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 20px 44px rgba(16, 32, 57, 0.13);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.shell-body {
|
||||
display: grid;
|
||||
grid-template-columns: 290px 1fr;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
body { margin: 0; font-family: Arial, sans-serif; background: #f4f8ff; color: #1b2b43; padding: 20px; }
|
||||
.shell { max-width: 1120px; margin: 0 auto; }
|
||||
.page-stack { width: min(1280px, 100%); margin: 0 auto; }
|
||||
.brand-logo { width: 190px; max-width: 100%; height: auto; margin: 0 0 10px; display: block; }
|
||||
.hero, .panel { background: #fff; border: 1px solid #d7e0ea; border-radius: 16px; box-shadow: 0 20px 40px rgba(17, 58, 116, 0.08); }
|
||||
.hero { padding: 20px; margin-bottom: 18px; }
|
||||
|
||||
40
backend/workflows/static/workflows/css/request_timeline.css
Normal file
40
backend/workflows/static/workflows/css/request_timeline.css
Normal file
@@ -0,0 +1,40 @@
|
||||
.timeline-summary-grid { display:grid; grid-template-columns:repeat(5, minmax(0,1fr)); gap:16px; margin-bottom:20px; }
|
||||
.timeline-stat { border:1px solid #d9e3f8; border-radius:20px; padding:16px 18px; background:linear-gradient(180deg,#ffffff 0%,#f7faff 100%); box-shadow:0 18px 40px rgba(23,39,90,.08); }
|
||||
.timeline-stat label { display:block; margin-bottom:6px; font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#7081a5; }
|
||||
.timeline-stat strong { display:block; font-size:18px; line-height:1.35; color:#20345f; }
|
||||
.timeline-list { position:relative; display:grid; gap:18px; padding-left:28px; }
|
||||
.timeline-list::before { content:""; position:absolute; top:6px; bottom:6px; left:11px; width:2px; background:linear-gradient(180deg,#cad8f8 0%,#e8eefc 100%); }
|
||||
.timeline-item { position:relative; border:1px solid #d9e3f8; border-radius:20px; padding:18px 20px 18px 22px; background:#fff; box-shadow:0 18px 40px rgba(23,39,90,.08); }
|
||||
.timeline-item::before { content:""; position:absolute; top:22px; left:-24px; width:16px; height:16px; border-radius:999px; background:#1e2bb8; box-shadow:0 0 0 4px #eef3ff; }
|
||||
.timeline-item[data-kind="document"]::before { background:#1f7a45; }
|
||||
.timeline-item[data-kind="audit"]::before { background:#6a5acd; }
|
||||
.timeline-item[data-kind="session"]::before { background:#b86b12; }
|
||||
.timeline-item[data-kind="email"]::before { background:#c2354e; }
|
||||
.timeline-item[data-kind="milestone"]::before { background:#0d7c88; }
|
||||
.timeline-head { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; margin-bottom:8px; }
|
||||
.timeline-title-wrap { display:grid; gap:8px; }
|
||||
.timeline-kind { display:inline-flex; align-items:center; width:max-content; padding:6px 10px; border-radius:999px; font-size:12px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; background:#eef3ff; color:#27407a; }
|
||||
.timeline-item[data-kind="document"] .timeline-kind { background:#edf8f0; color:#20623c; }
|
||||
.timeline-item[data-kind="audit"] .timeline-kind { background:#f2efff; color:#5b49aa; }
|
||||
.timeline-item[data-kind="session"] .timeline-kind { background:#fff2df; color:#8a560a; }
|
||||
.timeline-item[data-kind="email"] .timeline-kind { background:#ffe8ee; color:#9f2749; }
|
||||
.timeline-item[data-kind="milestone"] .timeline-kind { background:#e8fbfd; color:#0e6a72; }
|
||||
.timeline-stamp { font-size:13px; color:#6b7a9b; white-space:nowrap; }
|
||||
.timeline-title { margin:0; font-size:20px; color:#20345f; }
|
||||
.timeline-summary { margin:0; font-size:15px; color:#22324d; line-height:1.55; }
|
||||
.timeline-meta { display:flex; gap:8px; flex-wrap:wrap; margin-top:12px; }
|
||||
.timeline-chip { display:inline-flex; align-items:center; padding:6px 10px; border-radius:999px; background:#f7faff; border:1px solid #d8e1f5; color:#4d6087; font-size:12px; }
|
||||
.timeline-actions { margin-top:14px; }
|
||||
.timeline-details { margin-top:14px; padding-top:14px; border-top:1px dashed #d7e0f5; display:grid; gap:8px; }
|
||||
.timeline-detail-row { display:grid; grid-template-columns:160px 1fr; gap:12px; font-size:13px; }
|
||||
.timeline-detail-row strong { color:#566886; }
|
||||
.timeline-detail-list { margin:0; padding-left:18px; color:#4f617f; }
|
||||
.timeline-custom-fields { margin:0 0 20px; padding:18px 20px; border:1px solid #d9e3f8; border-radius:20px; background:linear-gradient(180deg,#ffffff 0%,#f7faff 100%); box-shadow:0 18px 40px rgba(23,39,90,.08); }
|
||||
.timeline-custom-fields h2 { margin:0 0 14px; font-size:18px; color:#20345f; }
|
||||
.timeline-custom-grid { display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px 16px; }
|
||||
.timeline-custom-item { padding:12px 14px; border:1px solid #d8e1f5; border-radius:16px; background:#fff; }
|
||||
.timeline-custom-item strong { display:block; margin-bottom:4px; color:#566886; font-size:12px; letter-spacing:.05em; text-transform:uppercase; }
|
||||
.timeline-custom-item span { color:#22324d; font-size:14px; line-height:1.45; }
|
||||
@media (max-width: 1160px) { .timeline-summary-grid { grid-template-columns:repeat(3, minmax(0,1fr)); } }
|
||||
@media (max-width: 820px) { .timeline-summary-grid { grid-template-columns:repeat(2, minmax(0,1fr)); } }
|
||||
@media (max-width: 700px) { .timeline-summary-grid { grid-template-columns:1fr; } .timeline-custom-grid { grid-template-columns:1fr; } .timeline-head { flex-direction:column; } .timeline-stamp { white-space:normal; } .timeline-detail-row { grid-template-columns:1fr; } }
|
||||
@@ -1,11 +1,11 @@
|
||||
:root {
|
||||
--brand-blue: #000078;
|
||||
--brand-blue: var(--ds-brand);
|
||||
--brand-blue-soft: #1f4fd6;
|
||||
--brand-red: #a32020;
|
||||
--ink: #132238;
|
||||
--muted: #607086;
|
||||
--line: #d9e3ee;
|
||||
--line-strong: #c8d5e5;
|
||||
--ink: var(--ds-ink);
|
||||
--muted: var(--ds-muted);
|
||||
--line: var(--ds-line);
|
||||
--line-strong: var(--ds-line-strong);
|
||||
--panel: rgba(255, 255, 255, 0.9);
|
||||
--panel-strong: #ffffff;
|
||||
--bg-soft: #eef3ff;
|
||||
@@ -15,69 +15,9 @@
|
||||
--warn-ink: #9a6400;
|
||||
--danger-bg: #fff1f1;
|
||||
--danger-ink: #982222;
|
||||
--shadow: 0 22px 48px rgba(18, 34, 56, 0.14);
|
||||
--shadow: var(--ds-shadow-shell);
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
|
||||
color: var(--ink);
|
||||
min-height: 100vh;
|
||||
background:
|
||||
radial-gradient(70% 90% at 8% 8%, rgba(0, 0, 120, 0.14), rgba(0, 0, 120, 0)),
|
||||
radial-gradient(60% 85% at 92% 88%, rgba(163, 32, 32, 0.12), rgba(163, 32, 32, 0)),
|
||||
linear-gradient(160deg, #eef3ff 0%, #f9fbff 48%, #edf4ff 100%);
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.shell {
|
||||
width: min(1380px, 100%);
|
||||
margin: 0 auto;
|
||||
background: rgba(255, 255, 255, 0.78);
|
||||
backdrop-filter: blur(12px);
|
||||
border: 1px solid rgba(217, 227, 238, 0.9);
|
||||
border-radius: 28px;
|
||||
box-shadow: var(--shadow);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.topbar {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
gap: 18px;
|
||||
padding: 22px 24px 18px;
|
||||
border-bottom: 1px solid rgba(217, 227, 238, 0.9);
|
||||
background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(248,251,255,0.84));
|
||||
}
|
||||
|
||||
.brand-wrap {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
}
|
||||
|
||||
.brand-logo {
|
||||
width: 212px;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.quick-actions {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-end;
|
||||
align-items: center;
|
||||
}
|
||||
.lang-switch { display:flex; gap:6px; }
|
||||
.lang-btn { border:1px solid var(--line); background:#f8fbff; color:#1f3a5f; border-radius:999px; padding:6px 10px; font-size:12px; font-weight:700; cursor:pointer; }
|
||||
.lang-btn.active { background:var(--brand-blue); border-color:var(--brand-blue); color:#fff; }
|
||||
|
||||
.hero {
|
||||
padding: 0;
|
||||
border-bottom: 0;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
body { margin: 0; font-family: Arial, sans-serif; background: #f4f8ff; color: #1b2b43; padding: 24px; }
|
||||
.shell { background: #fff; border: 1px solid #d7e0ea; border-radius: 16px; padding: 20px; box-shadow: 0 16px 36px rgba(18,34,56,0.10); }
|
||||
.page-stack { max-width: 920px; }
|
||||
.success-card { padding: 20px; }
|
||||
h1 { margin: 0 0 10px; color: #000078; }
|
||||
p { margin: 0 0 10px; }
|
||||
code { background: #f4f6fa; padding: 2px 6px; border-radius: 6px; }
|
||||
|
||||
@@ -114,14 +114,14 @@
|
||||
let draggingRow = null;
|
||||
|
||||
function getOptionInsertBeforeNode(mouseY) {
|
||||
const rows = Array.from(optionTableBody.querySelectorAll('tr.option-row:not(.dragging)'));
|
||||
const rows = Array.from(optionTableBody.querySelectorAll('.option-row:not(.dragging)'));
|
||||
return rows.find((row) => {
|
||||
const box = row.getBoundingClientRect();
|
||||
return mouseY < box.top + box.height / 2;
|
||||
});
|
||||
}
|
||||
|
||||
optionTableBody.querySelectorAll('tr.option-row').forEach((row) => {
|
||||
optionTableBody.querySelectorAll('.option-row').forEach((row) => {
|
||||
row.addEventListener('dragstart', (event) => {
|
||||
draggingRow = row;
|
||||
row.classList.add('dragging');
|
||||
|
||||
Reference in New Issue
Block a user