feat: 报销预审会话状态管理与工作台交互增强
- 新增差旅报销会话状态管理与对话模型重构 - 增强风险观测服务与运行时聊天上下文作用域 - 优化工作台图标资源、助理意图识别与摘要工具 - 完善报销创建视图样式与差旅详情页标准调整交互 - 补充风险观测、运行时聊天与报销端点测试覆盖
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user