feat: 报销预审会话状态管理与工作台交互增强
- 新增差旅报销会话状态管理与对话模型重构 - 增强风险观测服务与运行时聊天上下文作用域 - 优化工作台图标资源、助理意图识别与摘要工具 - 完善报销创建视图样式与差旅详情页标准调整交互 - 补充风险观测、运行时聊天与报销端点测试覆盖
BIN
web/src/assets/images/hero-3d-banner-v2.png
Normal file
|
After Width: | Height: | Size: 466 KiB |
BIN
web/src/assets/images/hero-3d-banner.png
Normal file
|
After Width: | Height: | Size: 466 KiB |
BIN
web/src/assets/images/hero-financial-decor.png
Normal file
|
After Width: | Height: | Size: 1.1 MiB |
107
web/src/assets/images/hero-financial-decor.svg
Normal file
@@ -0,0 +1,107 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 400" width="100%" height="100%">
|
||||
<defs>
|
||||
<!-- Soft, large shadow for the main cards -->
|
||||
<filter id="shadow-lg" x="-20%" y="-20%" width="140%" height="140%">
|
||||
<feDropShadow dx="0" dy="24" stdDeviation="32" flood-color="#0f172a" flood-opacity="0.08"/>
|
||||
</filter>
|
||||
|
||||
<!-- Tighter shadow for floating chips -->
|
||||
<filter id="shadow-sm" x="-20%" y="-20%" width="140%" height="140%">
|
||||
<feDropShadow dx="0" dy="8" stdDeviation="16" flood-color="#3a7ca5" flood-opacity="0.12"/>
|
||||
</filter>
|
||||
|
||||
<!-- Glowing effect for spheres -->
|
||||
<filter id="glow">
|
||||
<feGaussianBlur stdDeviation="8" result="coloredBlur"/>
|
||||
<feMerge>
|
||||
<feMergeNode in="coloredBlur"/>
|
||||
<feMergeNode in="SourceGraphic"/>
|
||||
</feMerge>
|
||||
</filter>
|
||||
|
||||
<linearGradient id="glass-base" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" stop-color="#ffffff" stop-opacity="0.95"/>
|
||||
<stop offset="100%" stop-color="#f8fafc" stop-opacity="0.65"/>
|
||||
</linearGradient>
|
||||
|
||||
<linearGradient id="blue-primary" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" stop-color="#3a7ca5" stop-opacity="1"/>
|
||||
<stop offset="100%" stop-color="#255b7d" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
|
||||
<linearGradient id="amber-accent" x1="0%" y1="0%" x2="100%" y2="100%">
|
||||
<stop offset="0%" stop-color="#b58b4c" stop-opacity="1"/>
|
||||
<stop offset="100%" stop-color="#d4a359" stop-opacity="1"/>
|
||||
</linearGradient>
|
||||
</defs>
|
||||
|
||||
<g transform="translate(40, 20)">
|
||||
|
||||
<!-- Background Document (Left) -->
|
||||
<g transform="translate(20, 60) rotate(-12)" filter="url(#shadow-lg)">
|
||||
<rect width="260" height="340" rx="16" fill="url(#glass-base)" stroke="#ffffff" stroke-width="2"/>
|
||||
<!-- UI Skeleton Lines -->
|
||||
<text x="30" y="50" font-family="'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="20" font-weight="bold" fill="#64748b">支出分析</text>
|
||||
<rect x="30" y="70" width="200" height="8" rx="4" fill="#e2e8f0" opacity="0.7"/>
|
||||
<rect x="30" y="90" width="160" height="8" rx="4" fill="#e2e8f0" opacity="0.7"/>
|
||||
|
||||
<!-- Bar Chart Component -->
|
||||
<rect x="30" y="140" width="24" height="80" rx="6" fill="#e2e8f0" opacity="0.8"/>
|
||||
<rect x="70" y="100" width="24" height="120" rx="6" fill="#e2e8f0" opacity="0.8"/>
|
||||
<rect x="110" y="160" width="24" height="60" rx="6" fill="#e2e8f0" opacity="0.8"/>
|
||||
<rect x="150" y="80" width="24" height="140" rx="6" fill="url(#blue-primary)"/>
|
||||
<rect x="190" y="120" width="24" height="100" rx="6" fill="#e2e8f0" opacity="0.8"/>
|
||||
</g>
|
||||
|
||||
<!-- Center Floating Sphere -->
|
||||
<circle cx="280" cy="90" r="30" fill="url(#amber-accent)" opacity="0.85" filter="url(#glow)"/>
|
||||
|
||||
<!-- Main Foreground Document (Right Focus) -->
|
||||
<g transform="translate(320, 10) rotate(6)" filter="url(#shadow-lg)">
|
||||
<!-- Main Card Body -->
|
||||
<rect width="320" height="400" rx="20" fill="url(#glass-base)" stroke="#ffffff" stroke-width="3"/>
|
||||
|
||||
<!-- Header Section -->
|
||||
<circle cx="44" cy="50" r="18" fill="url(#blue-primary)"/>
|
||||
<text x="76" y="58" font-family="'PingFang SC', 'Microsoft YaHei', sans-serif" font-size="22" font-weight="800" fill="#3a7ca5">费用趋势</text>
|
||||
|
||||
<!-- Area Chart Widget -->
|
||||
<rect x="30" y="100" width="260" height="130" rx="12" fill="#f1f5f9" opacity="0.5"/>
|
||||
<path d="M 30 200 L 40 180 Q 90 120 140 150 T 260 90 L 290 90 L 290 230 L 30 230 Z" fill="#3a7ca5" opacity="0.1"/>
|
||||
<path d="M 40 180 Q 90 120 140 150 T 260 90" fill="none" stroke="#3a7ca5" stroke-width="4" stroke-linecap="round"/>
|
||||
<!-- Chart Nodes -->
|
||||
<circle cx="140" cy="150" r="6" fill="#ffffff" stroke="#3a7ca5" stroke-width="3"/>
|
||||
<circle cx="260" cy="90" r="6" fill="#ffffff" stroke="#3a7ca5" stroke-width="3"/>
|
||||
|
||||
<!-- Data List Rows -->
|
||||
<g transform="translate(30, 250)" filter="url(#shadow-sm)">
|
||||
<rect width="260" height="40" rx="10" fill="#ffffff" opacity="0.95"/>
|
||||
<rect x="16" y="16" width="60" height="8" rx="4" fill="#94a3b8"/>
|
||||
<rect x="200" y="16" width="44" height="8" rx="4" fill="url(#blue-primary)"/>
|
||||
</g>
|
||||
<g transform="translate(30, 306)" filter="url(#shadow-sm)">
|
||||
<rect width="260" height="40" rx="10" fill="#ffffff" opacity="0.95"/>
|
||||
<rect x="16" y="16" width="80" height="8" rx="4" fill="#cbd5e1"/>
|
||||
<rect x="210" y="16" width="34" height="8" rx="4" fill="url(#blue-primary)"/>
|
||||
</g>
|
||||
</g>
|
||||
|
||||
<!-- Floating UI Chip 1 (Top Left) -->
|
||||
<g transform="translate(140, 0) rotate(-6)" filter="url(#shadow-sm)">
|
||||
<rect width="150" height="48" rx="24" fill="#ffffff" stroke="#f1f5f9" stroke-width="2"/>
|
||||
<circle cx="24" cy="24" r="10" fill="#10b981"/>
|
||||
<rect x="44" y="20" width="80" height="8" rx="4" fill="#334155"/>
|
||||
</g>
|
||||
|
||||
<!-- Floating UI Chip 2 (Bottom Right) -->
|
||||
<g transform="translate(580, 280) rotate(14)" filter="url(#shadow-sm)">
|
||||
<rect width="130" height="52" rx="14" fill="url(#blue-primary)"/>
|
||||
<rect x="20" y="22" width="90" height="8" rx="4" fill="#ffffff" opacity="0.9"/>
|
||||
</g>
|
||||
|
||||
<!-- Decorative small spheres -->
|
||||
<circle cx="120" cy="350" r="8" fill="#3a7ca5" opacity="0.4" filter="url(#glow)"/>
|
||||
<circle cx="680" cy="120" r="12" fill="#b58b4c" opacity="0.3" filter="url(#glow)"/>
|
||||
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 5.3 KiB |
BIN
web/src/assets/images/hero-white-glass-bg-v2.png
Normal file
|
After Width: | Height: | Size: 468 KiB |
BIN
web/src/assets/images/hero-white-glass-bg.png
Normal file
|
After Width: | Height: | Size: 468 KiB |
BIN
web/src/assets/images/raw_documents.png
Normal file
|
After Width: | Height: | Size: 591 KiB |
@@ -70,13 +70,8 @@
|
||||
}
|
||||
|
||||
.capability-icon {
|
||||
border: 1px solid color-mix(in srgb, var(--capability-color) 18%, rgba(255, 255, 255, 0.68));
|
||||
background:
|
||||
linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.24)),
|
||||
color-mix(in srgb, var(--capability-soft) 72%, transparent);
|
||||
box-shadow:
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.72),
|
||||
inset 0 -1px 0 rgba(var(--theme-primary-rgb, 58, 124, 165), 0.08);
|
||||
--workbench-list-icon-size: 40px;
|
||||
--workbench-list-icon-art-size: 23px;
|
||||
}
|
||||
|
||||
.workbench-card {
|
||||
|
||||
@@ -61,6 +61,8 @@
|
||||
grid-template-rows: auto minmax(0, 1fr);
|
||||
}
|
||||
|
||||
/* .expense-stats-panel 的特殊背景已转移至全局的 .workbench-card */
|
||||
|
||||
.insight-metric-list,
|
||||
.insight-profile-list {
|
||||
min-height: 0;
|
||||
@@ -102,6 +104,23 @@
|
||||
rgba(var(--theme-primary-rgb, 58, 124, 165), 0.04);
|
||||
}
|
||||
|
||||
/* 局部改造:让费用统计内层的小卡片也变为低透明度透镜,形成双层液态玻璃(Double Glassmorphism)的极品手感 */
|
||||
.expense-stats-panel .insight-metric-row {
|
||||
background: rgba(255, 255, 255, 0.05) !important;
|
||||
border-color: rgba(255, 255, 255, 0.2) !important;
|
||||
border-left-color: rgba(255, 255, 255, 0.6) !important;
|
||||
backdrop-filter: blur(8px) saturate(120%);
|
||||
-webkit-backdrop-filter: blur(8px) saturate(120%);
|
||||
box-shadow:
|
||||
0 4px 12px rgba(0, 0, 0, 0.03),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
|
||||
}
|
||||
|
||||
.expense-stats-panel .insight-metric-row:hover {
|
||||
background: rgba(255, 255, 255, 0.2) !important;
|
||||
border-color: rgba(255, 255, 255, 0.4) !important;
|
||||
}
|
||||
|
||||
.insight-metric-icon,
|
||||
.insight-profile-icon {
|
||||
display: inline-flex;
|
||||
|
||||
@@ -304,9 +304,10 @@
|
||||
}
|
||||
|
||||
.capability-icon {
|
||||
--workbench-list-icon-size: 34px;
|
||||
--workbench-list-icon-art-size: 20px;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.capability-copy {
|
||||
|
||||
@@ -33,6 +33,10 @@
|
||||
gap: 10px;
|
||||
overflow: visible;
|
||||
color: var(--workbench-ink);
|
||||
|
||||
/* 恢复极简纯净的页面底层 */
|
||||
background: transparent;
|
||||
background-color: var(--workbench-surface-soft);
|
||||
}
|
||||
|
||||
.workbench :where(button, textarea) {
|
||||
@@ -53,33 +57,33 @@
|
||||
.workbench :where(button:disabled) { cursor: not-allowed; opacity: 0.7; }
|
||||
|
||||
.assistant-hero {
|
||||
--assistant-bg-position: center right;
|
||||
--assistant-bg-size: cover;
|
||||
--assistant-readability-mask:
|
||||
linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.86) 42%, rgba(255, 255, 255, 0.44) 68%, rgba(255, 255, 255, 0.18) 100%);
|
||||
--assistant-theme-tint:
|
||||
linear-gradient(135deg, rgba(var(--theme-primary-rgb, 58, 124, 165), 0.2) 0%, rgba(var(--theme-primary-rgb, 58, 124, 165), 0.07) 52%, rgba(var(--theme-primary-rgb, 58, 124, 165), 0.16) 100%);
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
padding: var(--hero-padding-top) 20px var(--hero-padding-bottom) 52px;
|
||||
border: 1px solid color-mix(in srgb, var(--workbench-primary) 14%, var(--workbench-line));
|
||||
border-radius: 4px;
|
||||
background:
|
||||
var(--assistant-readability-mask),
|
||||
var(--assistant-theme-tint),
|
||||
var(--assistant-bg-image) var(--assistant-bg-position) / var(--assistant-bg-size) no-repeat;
|
||||
background-color: color-mix(in srgb, var(--workbench-primary-soft) 42%, #ffffff);
|
||||
background-blend-mode: normal, color, luminosity;
|
||||
backdrop-filter: blur(12px);
|
||||
-webkit-backdrop-filter: blur(12px);
|
||||
box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6);
|
||||
border: 1px solid rgba(255, 255, 255, 0.9);
|
||||
border-radius: 16px;
|
||||
background:
|
||||
linear-gradient(125deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.1) 60%, rgba(255, 255, 255, 0.5) 100%);
|
||||
background-color: transparent;
|
||||
backdrop-filter: blur(40px) saturate(200%);
|
||||
-webkit-backdrop-filter: blur(40px) saturate(200%);
|
||||
box-shadow: 0 16px 32px rgba(0, 0, 0, 0.04), inset 0 2px 4px rgba(255, 255, 255, 1);
|
||||
isolation: isolate;
|
||||
}
|
||||
|
||||
.assistant-hero::after {
|
||||
content: none;
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 100px;
|
||||
bottom: 0;
|
||||
width: 50%;
|
||||
min-width: 400px;
|
||||
background: url("../../images/hero-financial-decor.svg") right center / auto 100% no-repeat;
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.assistant-hero::before {
|
||||
@@ -140,6 +144,14 @@
|
||||
backdrop-filter: blur(4px);
|
||||
}
|
||||
|
||||
.assistant-composer:focus-within {
|
||||
border-color: rgba(var(--theme-primary-rgb, 58, 124, 165), 0.85);
|
||||
box-shadow:
|
||||
0 0 0 4px rgba(var(--theme-primary-rgb, 58, 124, 165), 0.14),
|
||||
0 16px 36px rgba(15, 23, 42, 0.06),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.96);
|
||||
}
|
||||
|
||||
.assistant-composer textarea {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
@@ -317,19 +329,26 @@
|
||||
|
||||
.capability-card {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
display: grid;
|
||||
grid-template-columns: 40px minmax(0, 1fr) 10px;
|
||||
align-items: center;
|
||||
gap: 14px;
|
||||
min-height: 0;
|
||||
padding: 17px 12px 17px 26px;
|
||||
overflow: hidden;
|
||||
border: 1px solid var(--workbench-line);
|
||||
border-left: 3px solid color-mix(in srgb, var(--capability-color) 54%, var(--workbench-line));
|
||||
border-radius: 4px;
|
||||
background: var(--workbench-surface);
|
||||
overflow: visible;
|
||||
border: 1px solid rgba(255, 255, 255, 0.9);
|
||||
border-left: 3px solid color-mix(in srgb, var(--capability-color) 80%, rgba(255, 255, 255, 0.9));
|
||||
border-radius: 12px;
|
||||
background:
|
||||
linear-gradient(125deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.1) 60%, rgba(255, 255, 255, 0.5) 100%);
|
||||
background-color: transparent;
|
||||
backdrop-filter: blur(40px) saturate(200%);
|
||||
-webkit-backdrop-filter: blur(40px) saturate(200%);
|
||||
text-align: left;
|
||||
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.035);
|
||||
box-shadow:
|
||||
0 16px 32px rgba(0, 0, 0, 0.04),
|
||||
inset 0 2px 4px rgba(255, 255, 255, 1);
|
||||
transition:
|
||||
border-color 180ms var(--ease),
|
||||
box-shadow 180ms var(--ease),
|
||||
@@ -337,21 +356,33 @@
|
||||
transform 180ms var(--ease);
|
||||
}
|
||||
|
||||
.capability-card::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: inherit;
|
||||
background:
|
||||
linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 42%, transparent 60%),
|
||||
linear-gradient(135deg, rgba(var(--theme-primary-rgb, 58, 124, 165), 0.08), transparent 56%);
|
||||
pointer-events: none;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.capability-card > * {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.capability-card::after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.capability-icon {
|
||||
--workbench-list-icon-size: 40px;
|
||||
--workbench-list-icon-art-size: 23px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border-radius: 4px;
|
||||
border: 1px solid color-mix(in srgb, var(--capability-color) 20%, #ffffff);
|
||||
background: var(--capability-soft);
|
||||
color: var(--capability-color);
|
||||
font-size: 24px;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.capability-copy {
|
||||
@@ -417,7 +448,7 @@
|
||||
|
||||
.workbench-content-grid {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(560px, 1.45fr) minmax(320px, 0.82fr);
|
||||
grid-template-columns: minmax(640px, 1.8fr) minmax(260px, 0.55fr);
|
||||
gap: 14px;
|
||||
align-items: stretch;
|
||||
min-height: 0;
|
||||
@@ -425,14 +456,38 @@
|
||||
}
|
||||
|
||||
.workbench-card {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
min-height: 0;
|
||||
height: 100%;
|
||||
overflow: hidden;
|
||||
padding: 12px 14px;
|
||||
border: 1px solid var(--workbench-line);
|
||||
border-radius: 4px;
|
||||
background: var(--workbench-surface);
|
||||
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.035);
|
||||
background:
|
||||
linear-gradient(125deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 40%, rgba(255, 255, 255, 0.1) 60%, rgba(255, 255, 255, 0.5) 100%);
|
||||
background-color: transparent;
|
||||
backdrop-filter: blur(40px) saturate(200%);
|
||||
-webkit-backdrop-filter: blur(40px) saturate(200%);
|
||||
border: 1px solid rgba(255, 255, 255, 0.9);
|
||||
border-radius: 16px;
|
||||
box-shadow:
|
||||
0 16px 32px rgba(0, 0, 0, 0.04),
|
||||
inset 0 2px 4px rgba(255, 255, 255, 1);
|
||||
}
|
||||
|
||||
.workbench-card::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: inherit;
|
||||
background:
|
||||
linear-gradient(90deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.08) 42%, transparent 60%),
|
||||
linear-gradient(135deg, rgba(var(--theme-primary-rgb, 58, 124, 165), 0.08), transparent 56%);
|
||||
pointer-events: none;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.workbench-card > * {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
.progress-panel,
|
||||
|
||||
@@ -472,20 +472,24 @@
|
||||
|
||||
.notification-popover {
|
||||
position: absolute;
|
||||
top: calc(100% + 8px);
|
||||
top: calc(100% + 12px);
|
||||
right: 0;
|
||||
z-index: 60;
|
||||
width: clamp(340px, 34vw, 420px);
|
||||
width: 380px;
|
||||
max-width: calc(100vw - 24px);
|
||||
max-height: min(520px, calc(100vh - 96px));
|
||||
display: grid;
|
||||
grid-template-rows: auto auto minmax(0, 1fr);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 0;
|
||||
overflow: hidden;
|
||||
border: 1px solid #d7e0ea;
|
||||
border-radius: 4px;
|
||||
background: #fff;
|
||||
box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
|
||||
border: 1px solid rgba(0, 0, 0, 0.06);
|
||||
border-radius: 12px;
|
||||
background: #ffffff;
|
||||
box-shadow:
|
||||
0 16px 36px rgba(0, 0, 0, 0.08),
|
||||
0 4px 12px rgba(0, 0, 0, 0.03),
|
||||
0 0 1px rgba(0, 0, 0, 0.1);
|
||||
overscroll-behavior-y: contain;
|
||||
}
|
||||
|
||||
.notification-popover::before {
|
||||
@@ -665,9 +669,11 @@
|
||||
max-height: min(336px, calc(100vh - 226px));
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
padding: 6px 0;
|
||||
padding: 4px 0 12px;
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: #cbd5e1 #f8fafc;
|
||||
overscroll-behavior-y: contain;
|
||||
scrollbar-gutter: stable;
|
||||
}
|
||||
|
||||
.notification-list::-webkit-scrollbar {
|
||||
@@ -687,13 +693,13 @@
|
||||
display: grid;
|
||||
grid-template-columns: 34px minmax(0, 1fr) 16px;
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
min-height: 0;
|
||||
padding: 10px 14px;
|
||||
gap: 12px;
|
||||
min-height: 68px;
|
||||
padding: 12px 16px;
|
||||
border: 0;
|
||||
border-left: 3px solid transparent;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
background: #ffffff;
|
||||
flex-shrink: 0;
|
||||
text-align: left;
|
||||
transition:
|
||||
background 180ms var(--ease),
|
||||
@@ -705,16 +711,27 @@
|
||||
}
|
||||
|
||||
.notification-row.unread {
|
||||
border-left-color: var(--theme-primary-active);
|
||||
background: linear-gradient(90deg, var(--theme-primary-light-9) 0%, #fff 42%);
|
||||
background: #f8fafc;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.notification-row.unread::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 16px;
|
||||
bottom: 16px;
|
||||
width: 3px;
|
||||
border-radius: 0 4px 4px 0;
|
||||
background: var(--theme-primary-active);
|
||||
}
|
||||
|
||||
.notification-row:hover {
|
||||
background: #f8fafc;
|
||||
background: #f1f5f9;
|
||||
}
|
||||
|
||||
.notification-row.unread:hover {
|
||||
background: linear-gradient(90deg, var(--theme-primary-light-8) 0%, #f8fafc 48%);
|
||||
background: #f1f5f9;
|
||||
}
|
||||
|
||||
.notification-type-icon {
|
||||
@@ -722,11 +739,12 @@
|
||||
height: 34px;
|
||||
display: grid;
|
||||
place-items: center;
|
||||
border: 1px solid var(--theme-primary-light-6);
|
||||
border-radius: 4px;
|
||||
background: #fff;
|
||||
border: 1px solid rgba(0,0,0,0.04);
|
||||
border-radius: 8px;
|
||||
background: #ffffff;
|
||||
color: var(--theme-primary-active);
|
||||
font-size: 18px;
|
||||
font-size: 16px;
|
||||
box-shadow: 0 1.5px 4px rgba(0,0,0,0.03);
|
||||
}
|
||||
|
||||
.notification-type-icon.danger {
|
||||
@@ -755,28 +773,29 @@
|
||||
|
||||
.notification-copy {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.notification-copy strong {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
padding-top: 1px;
|
||||
padding-bottom: 1px;
|
||||
}
|
||||
|
||||
.notification-title-line {
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.notification-copy strong {
|
||||
min-width: 0;
|
||||
color: #0f172a;
|
||||
font-size: 13px;
|
||||
font-weight: 800;
|
||||
font-size: 13.5px;
|
||||
font-weight: 750;
|
||||
line-height: 1.3;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.notification-title-line b {
|
||||
@@ -796,22 +815,24 @@
|
||||
}
|
||||
|
||||
.notification-copy small {
|
||||
display: -webkit-box;
|
||||
overflow: hidden;
|
||||
color: #475569;
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
white-space: normal;
|
||||
-webkit-box-orient: vertical;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.notification-meta {
|
||||
min-width: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
justify-content: flex-end;
|
||||
gap: 8px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.notification-meta em,
|
||||
@@ -827,7 +848,7 @@
|
||||
}
|
||||
|
||||
.notification-meta em {
|
||||
flex: 1 1 auto;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.notification-meta time {
|
||||
|
||||
@@ -22,6 +22,18 @@
|
||||
border-color: rgba(96, 165, 250, 0.3);
|
||||
}
|
||||
|
||||
.message-stack {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
justify-items: start;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.message-row.user .message-stack {
|
||||
order: 1;
|
||||
justify-items: end;
|
||||
}
|
||||
|
||||
.message-avatar {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
@@ -52,6 +64,94 @@
|
||||
box-shadow: 0 10px 22px rgba(148, 163, 184, 0.14);
|
||||
}
|
||||
|
||||
.steward-intent-bubble {
|
||||
width: min(100%, 680px);
|
||||
border: 1px solid #c9ddea;
|
||||
border-radius: 4px;
|
||||
background: #eef6fb;
|
||||
color: #1f3f5b;
|
||||
box-shadow: 0 8px 18px rgba(148, 163, 184, 0.12);
|
||||
}
|
||||
|
||||
.steward-intent-bubble[open] {
|
||||
background: #f3f9fd;
|
||||
}
|
||||
|
||||
.steward-intent-bubble summary {
|
||||
min-height: 38px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 0 12px;
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.steward-intent-bubble summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.steward-intent-bubble summary > span {
|
||||
min-width: 0;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
color: #234a68;
|
||||
font-size: 12px;
|
||||
font-weight: 820;
|
||||
}
|
||||
|
||||
.steward-intent-bubble summary > span i {
|
||||
color: #3a7ca5;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.steward-intent-bubble summary small {
|
||||
margin-left: auto;
|
||||
color: #6f8295;
|
||||
font-size: 12px;
|
||||
font-weight: 720;
|
||||
}
|
||||
|
||||
.steward-intent-bubble summary > i {
|
||||
color: #64748b;
|
||||
transition: transform 180ms ease;
|
||||
}
|
||||
|
||||
.steward-intent-bubble[open] summary > i {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.steward-intent-event-list {
|
||||
margin: 0;
|
||||
padding: 0 12px 12px 30px;
|
||||
display: grid;
|
||||
gap: 7px;
|
||||
}
|
||||
|
||||
.steward-intent-event-list li strong {
|
||||
display: block;
|
||||
color: #274b68;
|
||||
font-size: 12px;
|
||||
font-weight: 820;
|
||||
}
|
||||
|
||||
.steward-intent-event-list li span {
|
||||
display: block;
|
||||
margin-top: 2px;
|
||||
color: #5c7185;
|
||||
font-size: 12px;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.steward-intent-empty {
|
||||
margin: 0;
|
||||
padding: 0 12px 12px;
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.message-bubble-application-preview {
|
||||
max-width: min(100%, 980px);
|
||||
}
|
||||
|
||||
@@ -396,6 +396,32 @@
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.steward-composer-row {
|
||||
align-items: flex-end;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.steward-composer-leading-actions {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.steward-composer-shell {
|
||||
min-height: 48px;
|
||||
}
|
||||
|
||||
.steward-composer-shell .composer-shell-body {
|
||||
min-height: 48px;
|
||||
padding: 5px 12px;
|
||||
}
|
||||
|
||||
.steward-composer-shell textarea {
|
||||
min-height: 38px;
|
||||
max-height: 150px;
|
||||
padding: 9px 4px;
|
||||
}
|
||||
|
||||
.composer-side-btn,
|
||||
.composer-row .tool-btn,
|
||||
.composer-row .send-btn {
|
||||
|
||||
@@ -62,6 +62,97 @@
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.steward-plan-block {
|
||||
margin-top: 12px;
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.steward-task-card,
|
||||
.steward-attachment-card {
|
||||
border: 1px solid #dbe7f2;
|
||||
border-radius: 4px;
|
||||
background: #f8fbfe;
|
||||
}
|
||||
|
||||
.steward-task-list,
|
||||
.steward-attachment-list {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.steward-task-card,
|
||||
.steward-attachment-card {
|
||||
padding: 10px 12px;
|
||||
}
|
||||
|
||||
.steward-task-card header,
|
||||
.steward-attachment-card header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.steward-task-card header span,
|
||||
.steward-attachment-card header span {
|
||||
color: #24618a;
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.steward-task-card header small,
|
||||
.steward-attachment-card header small {
|
||||
margin-left: auto;
|
||||
color: #71879b;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.steward-task-card > strong {
|
||||
display: block;
|
||||
color: #1f3448;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.steward-task-card p,
|
||||
.steward-attachment-card p {
|
||||
margin: 5px 0 0;
|
||||
color: #5c7185;
|
||||
font-size: 12px;
|
||||
line-height: 1.55;
|
||||
}
|
||||
|
||||
.steward-task-meta,
|
||||
.steward-attachment-chip-row {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
margin-top: 8px;
|
||||
}
|
||||
|
||||
.steward-task-meta span,
|
||||
.steward-attachment-chip {
|
||||
border: 1px solid #d5e2ee;
|
||||
border-radius: 4px;
|
||||
background: #fff;
|
||||
color: #49677f;
|
||||
font-size: 12px;
|
||||
line-height: 1.4;
|
||||
padding: 3px 7px;
|
||||
}
|
||||
|
||||
.steward-attachment-chip.include {
|
||||
border-color: #c7deef;
|
||||
background: #eef7fc;
|
||||
color: #24618a;
|
||||
}
|
||||
|
||||
.steward-attachment-chip.exclude {
|
||||
border-color: #ecd6c4;
|
||||
background: #fff8f2;
|
||||
color: #8a5a24;
|
||||
}
|
||||
|
||||
.welcome-quick-actions {
|
||||
margin-top: 14px;
|
||||
padding-top: 12px;
|
||||
|
||||
@@ -884,6 +884,18 @@
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.standard-adjustment-banner {
|
||||
border-color: #bfdbfe;
|
||||
background: #eff6ff;
|
||||
color: #1d4ed8;
|
||||
}
|
||||
|
||||
.submit-progress-banner {
|
||||
border-color: #c7d2fe;
|
||||
background: #eef2ff;
|
||||
color: #3730a3;
|
||||
}
|
||||
|
||||
.detail-expense-table table {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
@@ -1094,12 +1106,28 @@
|
||||
}
|
||||
|
||||
.expense-reimbursable-amount {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 4px;
|
||||
color: #0f172a;
|
||||
font-size: 13px;
|
||||
font-weight: 880;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.expense-reimbursable-label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 18px;
|
||||
padding: 0 5px;
|
||||
border-radius: 3px;
|
||||
background: #eef2ff;
|
||||
color: #3730a3;
|
||||
font-size: 10px;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.expense-adjusted-amount em {
|
||||
color: #991b1b;
|
||||
font-size: 11px;
|
||||
@@ -1989,51 +2017,26 @@
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.risk-override-card textarea {
|
||||
min-height: 88px;
|
||||
border-color: #fecaca;
|
||||
background: #fff;
|
||||
color: #0f172a;
|
||||
}
|
||||
|
||||
.risk-override-card textarea.risk-note-editor-textarea {
|
||||
min-height: 34px;
|
||||
max-height: 78px;
|
||||
resize: none;
|
||||
}
|
||||
|
||||
.risk-override-card textarea:focus {
|
||||
border-color: #ef4444;
|
||||
box-shadow: 0 0 0 3px rgba(239, 68, 68, .12);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.risk-override-submit-row {
|
||||
.risk-override-guidance {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.risk-override-save-btn {
|
||||
min-height: 34px;
|
||||
border: 1px solid #bfdbfe;
|
||||
gap: 4px;
|
||||
padding: 10px 12px;
|
||||
border: 1px solid #dbeafe;
|
||||
border-radius: 4px;
|
||||
background: #eff6ff;
|
||||
color: #1d4ed8;
|
||||
}
|
||||
|
||||
.risk-override-guidance strong {
|
||||
color: #1e40af;
|
||||
font-size: 12px;
|
||||
font-weight: 850;
|
||||
cursor: pointer;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.risk-override-save-btn:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: .58;
|
||||
}
|
||||
|
||||
.risk-override-submit-row span {
|
||||
color: #64748b;
|
||||
.risk-override-guidance span {
|
||||
color: #475569;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.validation-card {
|
||||
|
||||
6
web/src/assets/workbench-icons/outline-approval.svg
Normal file
@@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
||||
<path d="M8.5 4.5h7A1.5 1.5 0 0 1 17 6v13a1.5 1.5 0 0 1-1.5 1.5h-9A1.5 1.5 0 0 1 5 19V6a1.5 1.5 0 0 1 1.5-1.5h2"/>
|
||||
<path d="M8.5 4.5A2 2 0 0 1 10.5 3h2A2 2 0 0 1 14.5 4.5v1h-6Z"/>
|
||||
<path d="M8.5 12.8 11 15.2l5-5.2"/>
|
||||
<path d="M8 18h7"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 431 B |
5
web/src/assets/workbench-icons/outline-budget.svg
Normal file
@@ -0,0 +1,5 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
||||
<path d="M12 4.5v7h7A7 7 0 1 1 12 4.5Z"/>
|
||||
<path d="M14.5 3.8A7.2 7.2 0 0 1 20.2 9h-5.7Z"/>
|
||||
<path d="M7.5 16.5h4M7.5 13.5H10"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 320 B |
@@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
||||
<path d="M7 3.5h7l3 3v13a1.5 1.5 0 0 1-1.5 1.5h-8A1.5 1.5 0 0 1 6 19.5v-15A1.5 1.5 0 0 1 7.5 3.5Z"/>
|
||||
<path d="M14 3.5V7h3.5"/>
|
||||
<path d="M9 11h6M9 14h3"/>
|
||||
<path d="M15.5 13.5v4M13.5 15.5h4"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 386 B |
@@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
||||
<path d="M4.5 19.5h15"/>
|
||||
<path d="M6 16.5V8.8M10 16.5V5.5M14 16.5v-6M18 16.5V7"/>
|
||||
<path d="M6 12.5c2.2-3.2 4-1.2 6.2-4.1 1.5-2 3-1.3 5.3-3.4"/>
|
||||
<path d="m17.6 5 .4 3.2-3.1-.5"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 373 B |
6
web/src/assets/workbench-icons/outline-policy.svg
Normal file
@@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
||||
<path d="M5.5 5.5A2.5 2.5 0 0 1 8 3h12v16.5H8A2.5 2.5 0 0 0 5.5 22Z"/>
|
||||
<path d="M5.5 5.5v16"/>
|
||||
<path d="M9 7.5h7M9 10.5h6M9 14.5h4"/>
|
||||
<path d="M17 3v16.5"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 352 B |
6
web/src/assets/workbench-icons/outline-reimbursement.svg
Normal file
@@ -0,0 +1,6 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true">
|
||||
<path d="M6.5 4.5h9.8A1.7 1.7 0 0 1 18 6.2v13.3l-2.2-1.2-2.2 1.2-2.2-1.2-2.2 1.2-2.2-1.2-2.2 1.2V6.2a1.7 1.7 0 0 1 1.7-1.7Z"/>
|
||||
<path d="M8 9h8M8 12h6"/>
|
||||
<path d="M9 15.5h2.7c1.8 0 3.3-1.4 3.3-3.2v-.8"/>
|
||||
<path d="m13.3 10 1.7 1.7 1.7-1.7"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 435 B |