feat: 优化差旅报销预审流程与个人工作台 UI 体系

- 完善 user_agent_application 申请差旅报销预审槽位与消息组装
- 增强预算助理报告与风险建议卡片交互
- 重构登录页视觉样式与移动端响应式适配
- 优化个人工作台、文档中心、政策中心、员工管理等页面布局
- 拆分 travelRequestDetailPreReviewModel 为 advice/submit 模型
- 补充报销草稿、风险复核、Item Sync 与模板执行器测试覆盖
This commit is contained in:
caoxiaozhu
2026-06-02 14:01:51 +08:00
parent 92444e7eae
commit ca691f3ee0
107 changed files with 5663 additions and 1542 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 348 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 490 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 625 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 384 KiB

View File

@@ -207,6 +207,10 @@
background: #fff;
}
.mobile-hamburger-btn {
display: none;
}
@keyframes loginEntrySidebarIn {
from {
opacity: 0;
@@ -270,9 +274,28 @@
.app > .main {
flex: 1 1 100%;
width: 100vw;
max-width: 100vw;
min-width: 0;
overflow: hidden;
}
.workarea {
min-width: 0;
max-width: 100%;
padding: 16px;
}
.workarea.documents-workarea,
.workarea.receipt-folder-workarea,
.workarea.budget-workarea,
.workarea.policies-workarea,
.workarea.audit-workarea,
.workarea.employees-workarea {
overflow-x: hidden;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.workarea { padding: 16px; }
.workarea.workbench-workarea { overflow: auto; padding: 16px; }
.mobile-overlay {

View File

@@ -477,7 +477,18 @@ td small {
@media (max-width: 760px) {
.status-tabs {
gap: 18px;
flex-wrap: nowrap;
overflow-x: auto;
scrollbar-width: thin;
}
.status-tabs button {
flex: 0 0 auto;
white-space: nowrap;
}
.status-tabs button span {
white-space: nowrap;
}
.filter-set,
@@ -492,4 +503,111 @@ td small {
display: grid;
justify-items: stretch;
}
.pager {
width: 100%;
max-width: 100%;
justify-content: flex-start;
overflow-x: auto;
scrollbar-width: thin;
}
.pager button {
flex: 0 0 auto;
}
.documents-list .table-wrap {
min-height: 0;
max-height: none;
display: block;
overflow: visible;
border: 0;
border-radius: 0;
background: transparent;
}
.documents-list .table-wrap table,
.documents-list .table-wrap thead,
.documents-list .table-wrap tbody,
.documents-list .table-wrap tr,
.documents-list .table-wrap th,
.documents-list .table-wrap td {
display: block;
}
.documents-list .table-wrap table {
min-width: 0;
width: 100%;
border-collapse: separate;
}
.documents-list .table-wrap thead,
.documents-list .table-wrap colgroup {
display: none;
}
.documents-list .table-wrap tbody {
display: grid;
gap: 10px;
}
.documents-list .table-wrap tr {
padding: 12px;
border: 1px solid #e2e8f0;
border-radius: 4px;
background: #fff;
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}
.documents-list .table-wrap tr:hover {
background: #f8fbff;
}
.documents-list .table-wrap td {
position: relative;
display: grid;
grid-template-columns: 82px minmax(0, 1fr);
align-items: start;
gap: 10px;
min-height: 30px;
padding: 7px 0;
border-bottom: 1px dashed #edf2f7;
text-align: left;
white-space: normal;
overflow: visible;
text-overflow: clip;
}
.documents-list .table-wrap td:last-child {
border-bottom: 0;
}
.documents-list .table-wrap td::before {
content: attr(data-label);
color: #64748b;
font-size: 12px;
font-weight: 800;
line-height: 1.7;
}
.documents-list .table-wrap td > * {
min-width: 0;
}
.documents-list .table-wrap td:first-child {
grid-template-columns: 1fr;
padding-top: 0;
}
.documents-list .table-wrap td:first-child::before {
display: none;
}
.documents-list .table-wrap td[data-label="事项"] {
grid-template-columns: 1fr;
}
.documents-list .table-wrap td[data-label="事项"]::before {
margin-bottom: 2px;
}
}

View File

@@ -654,8 +654,7 @@
.enterprise-list-page .create-request-btn,
.enterprise-list-page .create-btn,
.enterprise-list-page .export-btn,
.enterprise-list-page .template-btn,
.enterprise-list-page .page-size-select {
.enterprise-list-page .template-btn {
width: 100%;
}
@@ -666,8 +665,35 @@
justify-items: stretch;
}
.enterprise-list-page .pager,
.enterprise-list-page .list-foot {
gap: 10px;
margin-top: 10px;
}
.enterprise-list-page .page-summary {
justify-self: center;
max-width: 100%;
color: #64748b;
font-size: 12px;
line-height: 1.55;
text-align: center;
}
.enterprise-list-page .pager {
width: 100%;
max-width: 100%;
justify-self: center;
flex-wrap: wrap;
overflow-x: visible;
}
.enterprise-list-page .pager button {
flex: 0 0 32px;
}
.enterprise-list-page .page-size-select {
justify-self: stretch;
width: 160px;
max-width: 100%;
justify-self: center;
}
}

View File

@@ -0,0 +1,162 @@
.workbench {
--workbench-capability-bg-image: url("../../personal-workbench-card-glass-capability.webp");
--workbench-panel-bg-image: url("../../personal-workbench-card-glass-panel.webp");
--workbench-capability-tile-size: 384px 384px;
--workbench-panel-tile-size: 512px 512px;
--workbench-glass-base:
linear-gradient(135deg, rgba(255, 255, 255, 0.76) 0%, rgba(255, 255, 255, 0.62) 54%, rgba(255, 255, 255, 0.7) 100%);
--workbench-glass-theme-tint:
linear-gradient(135deg, rgba(var(--theme-primary-rgb, 58, 124, 165), 0.075) 0%, rgba(var(--theme-primary-rgb, 58, 124, 165), 0.022) 58%, rgba(var(--theme-primary-rgb, 58, 124, 165), 0.052) 100%);
--workbench-glass-highlight:
linear-gradient(120deg, rgba(255, 255, 255, 0.5) 0%, transparent 16%, transparent 82%, rgba(255, 255, 255, 0.22) 100%);
--workbench-glass-noise-opacity: 0.012;
--workbench-glass-blur: blur(18px) saturate(1.28);
}
.capability-card {
isolation: isolate;
border: 1px solid rgba(var(--theme-primary-rgb, 58, 124, 165), 0.16);
border-left: 3px solid color-mix(in srgb, var(--capability-color) 42%, rgba(255, 255, 255, 0.72));
background:
var(--workbench-glass-base),
linear-gradient(135deg, color-mix(in srgb, var(--capability-soft) 46%, transparent) 0%, transparent 52%, color-mix(in srgb, var(--capability-color) 11%, transparent) 100%),
var(--workbench-glass-theme-tint);
background-color: rgba(255, 255, 255, 0.64);
box-shadow:
0 10px 28px rgba(15, 23, 42, 0.055),
inset 0 1px 0 rgba(255, 255, 255, 0.84),
inset 0 -1px 0 rgba(var(--theme-primary-rgb, 58, 124, 165), 0.08);
backdrop-filter: var(--workbench-glass-blur);
-webkit-backdrop-filter: var(--workbench-glass-blur);
}
.capability-card::before,
.capability-card::after,
.workbench-card::before,
.workbench-card::after {
content: "";
position: absolute;
inset: 0;
z-index: 0;
display: block;
pointer-events: none;
}
.capability-card::before {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 38%),
var(--workbench-capability-bg-image) 0 0 / var(--workbench-capability-tile-size) repeat;
mix-blend-mode: soft-light;
opacity: var(--workbench-glass-noise-opacity);
}
.capability-card::after {
border: 1px solid rgba(255, 255, 255, 0.38);
border-left: 0;
border-radius: inherit;
background: var(--workbench-glass-highlight);
opacity: 0.58;
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.58),
inset 0 -1px 0 rgba(var(--theme-primary-rgb, 58, 124, 165), 0.06);
transition: opacity 180ms var(--ease);
}
.capability-icon,
.capability-copy,
.capability-arrow {
position: relative;
z-index: 1;
}
.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-card {
position: relative;
isolation: isolate;
border: 1px solid rgba(var(--theme-primary-rgb, 58, 124, 165), 0.14);
background:
linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.64) 55%, rgba(255, 255, 255, 0.72)),
var(--workbench-glass-theme-tint);
background-color: rgba(255, 255, 255, 0.66);
box-shadow:
0 12px 30px rgba(15, 23, 42, 0.052),
inset 0 1px 0 rgba(255, 255, 255, 0.86),
inset 0 -1px 0 rgba(var(--theme-primary-rgb, 58, 124, 165), 0.07);
backdrop-filter: var(--workbench-glass-blur);
-webkit-backdrop-filter: var(--workbench-glass-blur);
}
.workbench-card::before,
.workbench-card::after {
border-radius: inherit;
}
.workbench-card::before {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 42%),
var(--workbench-panel-bg-image) 0 0 / var(--workbench-panel-tile-size) repeat;
mix-blend-mode: soft-light;
opacity: calc(var(--workbench-glass-noise-opacity) * 0.8);
}
.workbench-card::after {
border: 1px solid rgba(255, 255, 255, 0.36);
background: var(--workbench-glass-highlight);
opacity: 0.56;
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.58),
inset 0 -1px 0 rgba(var(--theme-primary-rgb, 58, 124, 165), 0.055);
transition: opacity 180ms var(--ease);
}
.workbench-card > * {
position: relative;
z-index: 1;
}
.todo-row,
.progress-row {
position: relative;
border-top: 0;
background: transparent;
box-shadow: inset 0 1px 0 rgba(var(--theme-primary-rgb, 58, 124, 165), 0.1);
}
.todo-row:first-child,
.progress-row:first-child {
box-shadow: none;
}
.todo-row:hover,
.progress-row:hover {
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.18)),
rgba(var(--theme-primary-rgb, 58, 124, 165), 0.035);
box-shadow: inset 0 1px 0 rgba(var(--theme-primary-rgb, 58, 124, 165), 0.14);
}
.capability-card:hover,
.workbench-card:hover {
box-shadow:
0 16px 36px rgba(15, 23, 42, 0.075),
inset 0 1px 0 rgba(255, 255, 255, 0.9),
inset 0 -1px 0 rgba(var(--theme-primary-rgb, 58, 124, 165), 0.1);
}
.capability-card:hover::after,
.workbench-card:hover::after {
opacity: 0.88;
}
.capability-card:hover {
transform: translateY(-1px);
}

View File

@@ -78,10 +78,17 @@
gap: 10px;
min-height: 0;
padding: 7px 9px;
border: 1px solid var(--workbench-line-soft);
border: 1px solid rgba(var(--theme-primary-rgb, 58, 124, 165), 0.12);
border-left: 2px solid rgba(var(--theme-primary-rgb, 58, 124, 165), 0.3);
border-radius: 4px;
background: #ffffff;
background:
linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.58)),
rgba(var(--theme-primary-rgb, 58, 124, 165), 0.026);
box-shadow:
inset 0 1px 0 rgba(255, 255, 255, 0.68),
inset 0 -1px 0 rgba(var(--theme-primary-rgb, 58, 124, 165), 0.055);
backdrop-filter: blur(10px) saturate(1.16);
-webkit-backdrop-filter: blur(10px) saturate(1.16);
transition:
border-color 180ms var(--ease),
background-color 180ms var(--ease);
@@ -90,7 +97,9 @@
.insight-metric-row:hover,
.insight-profile-card:hover {
border-color: rgba(var(--theme-primary-rgb, 58, 124, 165), 0.22);
background: #fbfdff;
background:
linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.64)),
rgba(var(--theme-primary-rgb, 58, 124, 165), 0.04);
}
.insight-metric-label,

View File

@@ -15,7 +15,7 @@
}
.assistant-hero {
--assistant-art-width: min(560px, 42vw);
--assistant-bg-position: 56% center;
padding: var(--hero-padding-top) 18px var(--hero-padding-bottom) 44px;
}
@@ -58,9 +58,7 @@
}
.assistant-hero {
--assistant-art-width: min(620px, 44vw);
--assistant-art-x: 48px;
--assistant-art-y: -10px;
--assistant-bg-position: 58% center;
padding: var(--hero-padding-top) 18px var(--hero-padding-bottom) 44px;
}
@@ -112,12 +110,11 @@
}
.assistant-hero {
--assistant-art-width: min(540px, 50vw);
--assistant-art-x: 36px;
--assistant-art-y: -8px;
background:
linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 56%, rgba(255, 255, 255, 0.22) 100%),
linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, color-mix(in srgb, var(--workbench-primary-soft) 40%, rgba(255, 255, 255, 0.5)) 58%, color-mix(in srgb, var(--workbench-secondary) 15%, rgba(255, 255, 255, 0.1)) 100%);
--assistant-bg-position: 62% center;
--assistant-readability-mask:
linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 58%, rgba(255, 255, 255, 0.44) 100%);
--assistant-theme-tint:
linear-gradient(135deg, rgba(var(--theme-primary-rgb, 58, 124, 165), 0.18) 0%, rgba(var(--theme-primary-rgb, 58, 124, 165), 0.06) 58%, rgba(var(--theme-primary-rgb, 58, 124, 165), 0.14) 100%);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
}
@@ -149,17 +146,23 @@
grid-template-rows: none;
gap: 14px;
overflow: visible;
--workbench-glass-base:
linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.68) 56%, rgba(255, 255, 255, 0.76));
--workbench-glass-theme-tint:
linear-gradient(135deg, rgba(var(--theme-primary-rgb, 58, 124, 165), 0.065), rgba(var(--theme-primary-rgb, 58, 124, 165), 0.018));
--workbench-glass-noise-opacity: 0.008;
--workbench-glass-blur: blur(14px) saturate(1.2);
}
.assistant-hero {
min-height: auto;
--assistant-art-width: min(380px, 78vw);
--assistant-art-x: 12px;
--assistant-art-y: -6px;
--assistant-bg-position: 68% center;
--assistant-readability-mask:
linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.88) 100%),
linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.72) 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.08) 100%);
padding: 24px 18px 24px;
background:
linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.7) 100%),
color-mix(in srgb, var(--workbench-primary-soft) 22%, rgba(255, 255, 255, 0.5));
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
}
@@ -262,7 +265,7 @@
}
.assistant-hero {
--assistant-art-width: min(280px, 70vw);
--assistant-bg-position: 72% center;
padding: 20px 14px 20px;
}
}

View File

@@ -53,19 +53,25 @@
.workbench :where(button:disabled) { cursor: not-allowed; opacity: 0.7; }
.assistant-hero {
--assistant-art-width: min(680px, 46vw);
--assistant-art-x: 56px;
--assistant-art-y: -12px;
--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: visible;
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:
linear-gradient(90deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.6) 44%, rgba(255, 255, 255, 0.2) 66%, rgba(255, 255, 255, 0.05) 100%),
linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, color-mix(in srgb, var(--workbench-primary-soft) 40%, rgba(255, 255, 255, 0.5)) 62%, color-mix(in srgb, var(--workbench-secondary) 15%, rgba(255, 255, 255, 0.1)) 100%);
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);
@@ -73,15 +79,7 @@
}
.assistant-hero::after {
content: "";
position: absolute;
right: var(--assistant-art-x);
bottom: var(--assistant-art-y);
width: var(--assistant-art-width);
height: calc(100% + 28px);
background: var(--assistant-bg-image) right bottom / auto 112% no-repeat;
pointer-events: none;
z-index: 2;
content: none;
}
.assistant-hero::before {
@@ -90,7 +88,8 @@
inset: 0;
border-radius: inherit;
background:
linear-gradient(90deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.08) 42%, transparent 58%);
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;
}
@@ -317,7 +316,6 @@
.capability-card {
position: relative;
isolation: isolate;
display: grid;
grid-template-columns: 40px minmax(0, 1fr) 10px;
align-items: center;
@@ -331,6 +329,11 @@
background: var(--workbench-surface);
text-align: left;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.035);
transition:
border-color 180ms var(--ease),
box-shadow 180ms var(--ease),
color 180ms var(--ease),
transform 180ms var(--ease);
}
.capability-card::after {

View File

@@ -1,4 +1,7 @@
.topbar {
box-sizing: border-box;
width: 100%;
min-width: 0;
display: flex;
align-items: center;
justify-content: space-between;
@@ -14,6 +17,7 @@
.title-group {
min-width: 0;
max-width: 100%;
}
.eyebrow {
@@ -46,6 +50,8 @@
}
.top-actions {
min-width: 0;
max-width: 100%;
display: flex;
align-items: center;
justify-content: flex-end;
@@ -282,6 +288,8 @@
}
.kpi-chips {
min-width: 0;
max-width: 100%;
display: flex;
gap: 10px;
}
@@ -531,6 +539,9 @@
@media (max-width: 960px) {
.topbar {
width: 100%;
min-width: 0;
max-width: 100%;
flex-direction: column;
align-items: stretch;
}
@@ -596,18 +607,26 @@
.kpi-chips {
width: 100%;
overflow-x: auto;
padding-bottom: 2px;
scrollbar-width: thin;
min-width: 0;
max-width: 100%;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
gap: 8px;
overflow: visible;
padding-bottom: 0;
}
.kpi-chip {
min-width: 118px;
min-width: 0;
padding: 8px 12px;
}
.chip-value,
.chip-label,
.chip-delta {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

View File

@@ -161,6 +161,30 @@
font-size: var(--wb-fs-insight-h4, 14px);
}
.review-document-switch-head {
display: grid;
grid-template-columns: minmax(0, 1fr) auto;
align-items: start;
}
.review-side-head-copy {
min-width: 0;
display: grid;
gap: 4px;
text-align: left;
}
.review-side-head-copy strong {
line-height: 1.35;
}
.review-side-head-copy p {
max-width: 100%;
margin: 0;
overflow-wrap: anywhere;
word-break: normal;
}
.note-block {
display: grid;
gap: 6px;
@@ -289,6 +313,26 @@
gap: 8px;
}
.review-document-nav {
flex: 0 0 auto;
align-items: center;
flex-wrap: nowrap;
padding: 4px;
border: 1px solid #e2e8f0;
border-radius: 4px;
background: #ffffff;
white-space: nowrap;
}
.review-document-nav span {
min-width: 38px;
color: #334155;
font-size: 11px;
font-weight: 850;
text-align: center;
font-variant-numeric: tabular-nums;
}
.review-insight-switch-icon-btn,
.flow-icon-btn,
.review-document-nav-btn,

View File

@@ -16,6 +16,89 @@
background: #ffffff;
}
.application-draft-preview.reimbursement-draft-preview {
max-width: 520px;
padding: 10px 12px;
border-color: #d8e4f0;
background: #ffffff;
}
.reimbursement-draft-card {
display: grid;
grid-template-columns: 30px minmax(0, 1fr);
align-items: center;
gap: 10px;
}
.reimbursement-draft-icon {
width: 30px;
height: 30px;
display: inline-grid;
place-items: center;
border: 1px solid rgba(var(--theme-primary-rgb, 58, 124, 165), 0.2);
border-radius: 4px;
background: #f7fbff;
color: var(--theme-primary-active, #255b7d);
font-size: 16px;
}
.reimbursement-draft-main {
min-width: 0;
display: grid;
gap: 3px;
}
.reimbursement-draft-main strong {
color: #102033;
font-size: 13px;
font-weight: 850;
line-height: 1.35;
}
.reimbursement-draft-main p {
margin: 0;
color: #64748b;
font-size: 12px;
line-height: 1.45;
}
.reimbursement-draft-main p span {
color: #1e293b;
font-weight: 850;
overflow-wrap: anywhere;
}
.reimbursement-draft-link {
display: inline;
margin-left: 8px;
padding: 0;
border: 0;
border-radius: 2px;
background: transparent;
color: var(--theme-primary-active, #255b7d);
font: inherit;
font-weight: 850;
line-height: inherit;
text-decoration: underline;
text-underline-offset: 3px;
cursor: pointer;
transition: color 0.18s ease, outline-color 0.18s ease;
}
.reimbursement-draft-link:hover:not(:disabled) {
color: var(--theme-primary, #3a7ca5);
}
.reimbursement-draft-link:focus-visible {
outline: 2px solid rgba(var(--theme-primary-rgb, 58, 124, 165), 0.24);
outline-offset: 2px;
}
.reimbursement-draft-link:disabled {
cursor: not-allowed;
opacity: 0.58;
}
.application-draft-preview .application-draft-head {
display: grid;
grid-template-columns: 36px minmax(0, 1fr) auto;

View File

@@ -1271,6 +1271,11 @@
}
@media (max-width: 860px) {
.skill-center {
height: auto;
min-height: 100%;
}
.skill-list,
.detail-card,
.side-card,
@@ -1278,6 +1283,25 @@
padding: 16px;
}
.skill-list {
height: auto;
min-height: 100%;
display: block;
overflow: visible;
}
.skill-list .status-tabs {
flex-wrap: nowrap;
padding-bottom: 10px;
overflow-x: auto;
scrollbar-width: thin;
}
.skill-list .status-tabs button {
flex: 0 0 auto;
white-space: nowrap;
}
.list-toolbar,
.card-head,
.detail-actions,
@@ -1306,6 +1330,102 @@
width: min(100vw - 64px, 320px);
}
.skill-list .table-wrap {
min-height: 0;
max-height: none;
display: block;
overflow: visible;
border: 0;
border-radius: 0;
background: transparent;
}
.skill-list .table-wrap table,
.skill-list .table-wrap thead,
.skill-list .table-wrap tbody,
.skill-list .table-wrap tr,
.skill-list .table-wrap th,
.skill-list .table-wrap td {
display: block;
}
.skill-list .table-wrap table {
width: 100%;
min-width: 0;
border-collapse: separate;
}
.skill-list .table-wrap thead {
display: none;
}
.skill-list .table-wrap tbody {
display: grid;
gap: 10px;
}
.skill-list .table-wrap tr {
padding: 12px;
border: 1px solid #e2e8f0;
border-radius: 4px;
background: #fff;
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}
.skill-list .table-wrap td,
.audit-asset-table td:first-child,
.audit-asset-table td:not(:first-child) {
display: grid;
grid-template-columns: 82px minmax(0, 1fr);
align-items: center;
gap: 10px;
min-height: 30px;
padding: 7px 0;
border-bottom: 1px dashed #edf2f7;
color: #273142;
font-size: 13px;
line-height: 1.45;
text-align: left;
white-space: normal;
overflow: visible;
text-overflow: clip;
}
.skill-list .table-wrap td:last-child {
border-bottom: 0;
}
.skill-list .table-wrap td::before {
content: attr(data-label);
color: #64748b;
font-size: 12px;
font-weight: 800;
line-height: 1.6;
}
.skill-list .table-wrap td:first-child {
grid-template-columns: 1fr;
padding-top: 0;
}
.skill-list .table-wrap td:first-child::before {
display: none;
}
.skill-name-cell {
width: 100%;
}
.skill-name-cell span:last-child {
white-space: normal;
overflow: visible;
text-overflow: clip;
}
.list-foot {
justify-content: stretch;
}
.hero-stats,
.form-grid,
.contract-grid {
@@ -1618,3 +1738,91 @@
grid-column: span 1;
}
}
@media (max-width: 860px) {
.skill-center :deep(.skill-list .table-wrap) {
min-height: 0;
max-height: none;
display: block;
overflow: visible;
border: 0;
border-radius: 0;
background: transparent;
}
.skill-center :deep(.skill-list .table-wrap table),
.skill-center :deep(.skill-list .table-wrap thead),
.skill-center :deep(.skill-list .table-wrap tbody),
.skill-center :deep(.skill-list .table-wrap tr),
.skill-center :deep(.skill-list .table-wrap th),
.skill-center :deep(.skill-list .table-wrap td) {
display: block;
}
.skill-center :deep(.skill-list .table-wrap table) {
width: 100%;
min-width: 0;
border-collapse: separate;
}
.skill-center :deep(.skill-list .table-wrap thead) {
display: none;
}
.skill-center :deep(.skill-list .table-wrap tbody) {
display: grid;
gap: 10px;
}
.skill-center :deep(.skill-list .table-wrap tr) {
padding: 12px;
border: 1px solid #e2e8f0;
border-radius: 4px;
background: #fff;
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}
.skill-center :deep(.skill-list .table-wrap td) {
display: grid;
grid-template-columns: 82px minmax(0, 1fr);
align-items: center;
gap: 10px;
min-height: 30px;
padding: 7px 0;
border-bottom: 1px dashed #edf2f7;
color: #273142;
font-size: 13px;
line-height: 1.45;
text-align: left;
white-space: normal;
overflow: visible;
text-overflow: clip;
}
.skill-center :deep(.skill-list .table-wrap td:last-child) {
border-bottom: 0;
}
.skill-center :deep(.skill-list .table-wrap td::before) {
content: attr(data-label);
color: #64748b;
font-size: 12px;
font-weight: 800;
line-height: 1.6;
}
.skill-center :deep(.skill-list .table-wrap td:first-child) {
grid-template-columns: 1fr;
padding-top: 0;
}
.skill-center :deep(.skill-list .table-wrap td:first-child::before) {
display: none;
}
.skill-center :deep(.skill-name-cell span:last-child) {
white-space: normal;
overflow: visible;
text-overflow: clip;
}
}

View File

@@ -500,3 +500,49 @@
padding: 8px 16px;
}
}
@media (max-width: 760px) {
.budget-dialog-backdrop {
align-items: stretch;
justify-content: stretch;
padding: 0;
}
.budget-edit-dialog {
width: 100vw;
height: 100dvh;
max-height: 100dvh;
border-radius: 0;
}
.budget-edit-head {
min-height: 52px;
padding: 0 14px;
}
.budget-edit-body {
padding: 14px;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
}
.budget-edit-section + .budget-edit-section {
margin-top: 14px;
}
.budget-edit-table-wrap {
flex: 0 0 auto;
max-height: none;
}
.budget-edit-total {
height: auto;
min-height: 42px;
justify-content: space-between;
padding: 8px 12px;
}
.budget-edit-foot {
padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
}
}

View File

@@ -445,12 +445,23 @@
}
@media (max-width: 760px) {
.budget-center-page {
height: auto;
min-height: 100%;
display: block;
overflow: visible;
}
.budget-list {
padding: 16px;
height: auto;
min-height: 100%;
display: block;
overflow: visible;
padding: 12px;
}
.budget-detail-page {
padding: 16px 16px 0;
padding: 12px 12px 0;
}
.budget-select-filter,
@@ -464,6 +475,121 @@
justify-content: space-between;
}
.budget-scope-tabs {
gap: 18px;
flex-wrap: nowrap;
overflow-x: auto;
scrollbar-width: thin;
}
.budget-scope-tabs button {
flex: 0 0 auto;
white-space: nowrap;
}
.budget-toolbar .document-actions {
width: 100%;
justify-content: stretch;
}
.budget-table-wrap {
min-height: 0;
max-height: none;
display: block;
overflow: visible;
border: 0;
border-radius: 0;
background: transparent;
}
.budget-list-table,
.budget-list-table thead,
.budget-list-table tbody,
.budget-list-table tr,
.budget-list-table th,
.budget-list-table td {
display: block;
}
.budget-list-table,
.budget-list-table.all,
.budget-list-table.review,
.budget-list-table.archive {
width: 100%;
min-width: 0;
border-collapse: separate;
}
.budget-list-table thead,
.budget-list-table colgroup {
display: none;
}
.budget-list-table tbody {
display: grid;
gap: 10px;
}
.budget-list-table tr {
padding: 12px;
border: 1px solid #e2e8f0;
border-radius: 4px;
background: #fff;
box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
}
.budget-list-table td {
display: grid;
grid-template-columns: 86px minmax(0, 1fr);
align-items: center;
gap: 10px;
min-height: 30px;
padding: 7px 0;
border-bottom: 1px dashed #edf2f7;
color: #273142;
font-size: 13px;
line-height: 1.45;
text-align: left;
white-space: normal;
overflow: visible;
text-overflow: clip;
}
.budget-list-table td:last-child {
border-bottom: 0;
}
.budget-list-table td::before {
content: attr(data-label);
color: #64748b;
font-size: 12px;
font-weight: 800;
line-height: 1.6;
}
.budget-list-table td:first-child {
grid-template-columns: 1fr;
padding-top: 0;
}
.budget-list-table td:first-child::before {
display: none;
}
.budget-rate {
max-width: none;
justify-content: flex-start;
}
.budget-detail-page :deep(.detail-scroll) {
overflow: visible;
padding-right: 0;
}
.budget-detail-page :deep(.detail-grid) {
display: block;
}
.budget-period-grid {
grid-template-columns: 1fr;
}
@@ -471,4 +597,71 @@
.budget-status-explain-list {
grid-template-columns: minmax(0, 1fr);
}
.budget-detail-table-wrap {
overflow: visible;
}
.budget-detail-table,
.budget-detail-table thead,
.budget-detail-table tbody,
.budget-detail-table tr,
.budget-detail-table th,
.budget-detail-table td {
display: block;
}
.budget-detail-table {
min-width: 0;
border-collapse: separate;
}
.budget-detail-table thead {
display: none;
}
.budget-detail-table tbody {
display: grid;
gap: 10px;
}
.budget-detail-table tr {
padding: 12px;
border: 1px solid #e2e8f0;
border-radius: 4px;
background: #fff;
}
.budget-detail-table td {
display: grid;
grid-template-columns: 82px minmax(0, 1fr);
align-items: center;
gap: 10px;
min-height: 30px;
padding: 7px 0;
border: 0;
border-bottom: 1px dashed #edf2f7;
text-align: left;
white-space: normal;
}
.budget-detail-table td:last-child {
border-bottom: 0;
}
.budget-detail-table td::before {
content: attr(data-label);
color: #64748b;
font-size: 12px;
font-weight: 800;
}
.budget-detail-table td:first-child {
grid-template-columns: 1fr;
padding-top: 0;
}
.budget-detail-table td:first-child::before {
display: none;
}
}

View File

@@ -168,3 +168,137 @@
justify-content: center;
}
}
@media (max-width: 760px) {
.digital-employees-list {
padding: 12px 0;
overflow: auto;
}
.digital-employees-list > .status-tabs {
gap: 18px;
margin-top: 10px;
padding: 0 12px 1px;
}
.digital-employee-list-panel .table-wrap {
flex: 0 0 auto;
min-height: 0;
margin-top: 12px;
display: block;
overflow: visible;
border: 0;
border-radius: 0;
background: transparent;
}
.digital-employee-list-panel .list-foot {
flex: 0 0 auto;
padding: 0 12px;
}
.digital-employees-table,
.digital-employees-table tbody,
.digital-employees-table tr,
.digital-employees-table td {
display: block;
}
.digital-employees-table {
width: 100%;
min-width: 0;
border-collapse: separate;
border-spacing: 0;
}
.digital-employees-table colgroup,
.digital-employees-table thead {
display: none;
}
.digital-employees-table tbody {
display: grid;
gap: 10px;
}
.digital-employees-table tr {
padding: 12px;
border: 1px solid #e2e8f0;
border-radius: 6px;
background: #fff;
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}
.digital-employees-table td {
min-height: 34px;
display: grid;
grid-template-columns: 88px minmax(0, 1fr);
gap: 10px;
align-items: center;
padding: 7px 0;
border: 0;
border-bottom: 1px dashed #e2e8f0;
color: #334155;
text-align: left;
white-space: normal;
}
.digital-employees-table td:last-child {
border-bottom: 0;
}
.digital-employees-table td::before {
color: #64748b;
font-size: 12px;
font-weight: 760;
line-height: 1.4;
}
.digital-employees-table td[data-label]::before {
content: attr(data-label);
}
.digital-employees-table td:first-child {
grid-template-columns: 1fr;
padding-top: 0;
}
.digital-employees-table td:first-child::before {
display: none;
}
.digital-employees-table .doc-kind-tag,
.digital-employees-table .type-tag,
.digital-employees-table .status-tag {
width: fit-content;
max-width: 100%;
justify-self: start;
white-space: normal;
}
.digital-skill-cell {
grid-template-columns: 38px minmax(0, 1fr);
}
.digital-skill-cell .doc-id {
white-space: normal;
}
}
@media (max-width: 480px) {
.digital-employees-table td {
grid-template-columns: 76px minmax(0, 1fr);
gap: 8px;
}
.digital-skill-cell {
grid-template-columns: 34px minmax(0, 1fr);
gap: 8px;
}
.digital-skill-avatar {
width: 34px;
height: 34px;
border-radius: 8px;
}
}

View File

@@ -222,8 +222,19 @@
}
@media (max-width: 760px) {
.documents-page {
height: auto;
min-height: 100%;
display: block;
overflow: visible;
}
.documents-list {
padding: 16px;
height: auto;
min-height: 100%;
display: block;
overflow: visible;
padding: 12px;
}
.document-status-filter {

View File

@@ -1202,6 +1202,13 @@ td.cell-updated {
}
@media (max-width: 860px) {
.employee-center,
.employee-list,
.employee-detail {
height: auto;
min-height: 100%;
}
.employee-list,
.detail-card,
.side-card,
@@ -1209,6 +1216,15 @@ td.cell-updated {
padding: 16px;
}
.employee-center,
.employee-list {
overflow: visible;
}
.employee-list {
display: block;
}
.list-toolbar,
.card-head,
.detail-actions,
@@ -1223,6 +1239,21 @@ td.cell-updated {
overflow-x: auto;
}
.status-tabs {
gap: 18px;
flex-wrap: nowrap;
scrollbar-width: thin;
}
.status-tabs button {
flex: 0 0 auto;
white-space: nowrap;
}
.status-tabs button span {
white-space: nowrap;
}
.list-foot {
grid-template-columns: 1fr;
justify-items: stretch;
@@ -1237,6 +1268,20 @@ td.cell-updated {
width: 100%;
}
.toolbar-actions {
width: 100%;
flex-wrap: wrap;
}
.ghost-filter-btn,
.template-btn,
.export-btn,
.create-btn {
flex: 1 1 140px;
justify-content: center;
white-space: nowrap;
}
.picker-popover {
width: min(280px, calc(100vw - 64px));
}
@@ -1246,6 +1291,18 @@ td.cell-updated {
justify-self: stretch;
}
.pager {
width: 100%;
max-width: 100%;
justify-content: flex-start;
overflow-x: auto;
scrollbar-width: thin;
}
.pager button {
flex: 0 0 auto;
}
.hero-stats,
.form-grid,
.role-grid {
@@ -1265,4 +1322,99 @@ td.cell-updated {
.history-row-time {
text-align: left;
}
.employee-list .table-wrap {
flex: none;
min-height: 0;
max-height: none;
display: block;
overflow: visible;
border: 0;
border-radius: 0;
background: transparent;
}
.employee-list .table-wrap table,
.employee-list .table-wrap thead,
.employee-list .table-wrap tbody,
.employee-list .table-wrap tr,
.employee-list .table-wrap th,
.employee-list .table-wrap td {
display: block;
}
.employee-list .table-wrap table {
min-width: 0;
width: 100%;
border-collapse: separate;
}
.employee-list .table-wrap thead,
.employee-list .table-wrap colgroup {
display: none;
}
.employee-list .table-wrap tbody {
display: grid;
gap: 10px;
}
.employee-list .table-wrap tr {
padding: 12px;
border: 1px solid #e2e8f0;
border-radius: 4px;
background: #fff;
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}
.employee-list .table-wrap tr:hover {
background: #f8fbff;
}
.employee-list .table-wrap td {
display: grid;
grid-template-columns: 82px minmax(0, 1fr);
align-items: start;
gap: 10px;
min-height: 30px;
padding: 7px 0;
border-bottom: 1px dashed #edf2f7;
text-align: left;
white-space: normal;
overflow: visible;
text-overflow: clip;
}
.employee-list .table-wrap td:last-child {
border-bottom: 0;
}
.employee-list .table-wrap td::before {
content: attr(data-label);
color: #64748b;
font-size: 12px;
font-weight: 800;
line-height: 1.7;
}
.employee-list .table-wrap td > * {
min-width: 0;
}
.employee-list .table-wrap td:first-child {
grid-template-columns: 1fr;
padding-top: 0;
}
.employee-list .table-wrap td:first-child::before {
display: none;
}
.employee-list .table-wrap .employee-cell {
grid-template-columns: 38px minmax(0, 1fr);
}
.employee-list .table-wrap .role-stack {
justify-content: flex-start;
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -1163,6 +1163,46 @@ th {
}
@media (max-width: 760px) {
.knowledge-page {
height: auto;
min-height: 100%;
overflow: visible;
}
.knowledge-grid,
.knowledge-main,
.library-panel,
.library-body,
.document-area {
height: auto;
min-height: 0;
overflow: visible;
}
.knowledge-grid,
.library-panel,
.library-body,
.document-area {
display: block;
}
.knowledge-grid,
.knowledge-main,
.library-panel,
.library-body,
.document-area,
.doc-table-wrap,
.folder-tree {
width: 100%;
max-width: 100%;
min-width: 0;
box-sizing: border-box;
}
.library-panel {
padding: 12px;
}
.panel-title,
.preview-head,
.llm-wiki-section-head,
@@ -1177,10 +1217,134 @@ th {
width: 100%;
}
.summary-grid,
.list-foot {
grid-template-columns: 1fr;
}
.library-body {
margin-top: 12px;
}
.folder-rail {
display: block;
padding: 0 0 10px;
}
.folder-tree {
display: flex;
gap: 8px;
overflow-x: auto;
overflow-y: hidden;
padding-bottom: 2px;
scrollbar-width: thin;
}
.folder-tree button {
flex: 0 0 auto;
width: max-content;
min-width: 132px;
}
.upload-zone {
margin-bottom: 10px;
}
.doc-table-wrap {
overflow: visible;
}
.knowledge-document-table,
.knowledge-document-table thead,
.knowledge-document-table tbody,
.knowledge-document-table tr,
.knowledge-document-table th,
.knowledge-document-table td {
display: block;
}
.knowledge-document-table {
width: 100%;
min-width: 0;
border-collapse: separate;
}
.knowledge-document-table thead {
display: none;
}
.knowledge-document-table tbody {
display: grid;
gap: 10px;
}
.knowledge-document-table tr {
padding: 12px;
border: 1px solid #e2e8f0;
border-radius: 4px;
background: #fff;
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}
.knowledge-document-table td,
.knowledge-document-table th:not(:first-child),
.knowledge-document-table td:not(:first-child),
.knowledge-document-table td:first-child {
display: grid;
grid-template-columns: 78px minmax(0, 1fr);
align-items: center;
gap: 10px;
min-height: 30px;
padding: 7px 0;
border: 0;
border-bottom: 1px dashed #edf2f7;
text-align: left;
white-space: normal;
}
.knowledge-document-table td:last-child {
border-bottom: 0;
}
.knowledge-document-table td::before {
content: attr(data-label);
color: #64748b;
font-size: 12px;
font-weight: 800;
line-height: 1.6;
}
.knowledge-document-table td:first-child {
grid-template-columns: 1fr;
padding-top: 0;
}
.knowledge-document-table td:first-child::before {
display: none;
}
.knowledge-document-table .empty-row {
display: block;
padding: 12px 0;
border-bottom: 0;
text-align: center;
}
.knowledge-document-table .empty-row::before {
display: none;
}
.file-name {
white-space: normal;
}
.state-cell {
justify-items: start;
}
.row-actions {
justify-content: flex-start;
}
.summary-grid,
.list-foot {
grid-template-columns: 1fr;
}
.list-foot {
gap: 12px;

View File

@@ -676,10 +676,139 @@
}
@media (max-width: 760px) {
.receipt-folder-page {
height: auto;
min-height: 100%;
display: block;
overflow: visible;
}
.receipt-folder-list {
height: auto;
min-height: 100%;
display: block;
overflow: visible;
padding: 12px;
}
.receipt-status-tabs {
flex-wrap: nowrap;
overflow-x: auto;
scrollbar-width: thin;
}
.receipt-status-tabs button {
flex: 0 0 auto;
white-space: nowrap;
}
.receipt-folder-list .document-actions,
.receipt-folder-list .filter-set,
.receipt-folder-list .list-search,
.receipt-folder-list .filter-btn,
.receipt-folder-list .create-request-btn,
.receipt-folder-list .page-size-select {
width: 100%;
}
.receipt-folder-list .table-wrap {
min-height: 0;
max-height: none;
display: block;
overflow: visible;
border: 0;
border-radius: 0;
background: transparent;
}
.receipt-folder-list .table-wrap table,
.receipt-folder-list .table-wrap thead,
.receipt-folder-list .table-wrap tbody,
.receipt-folder-list .table-wrap tr,
.receipt-folder-list .table-wrap th,
.receipt-folder-list .table-wrap td {
display: block;
}
.receipt-folder-list .table-wrap table {
width: 100%;
min-width: 0;
border-collapse: separate;
}
.receipt-folder-list .table-wrap thead,
.receipt-folder-list .table-wrap colgroup {
display: none;
}
.receipt-folder-list .table-wrap tbody {
display: grid;
gap: 10px;
}
.receipt-folder-list .table-wrap tr {
padding: 12px;
border: 1px solid #e2e8f0;
border-radius: 4px;
background: #fff;
box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
}
.receipt-folder-list .table-wrap td {
display: grid;
grid-template-columns: 82px minmax(0, 1fr);
align-items: center;
gap: 10px;
min-height: 30px;
padding: 7px 0;
border-bottom: 1px dashed #edf2f7;
color: #273142;
font-size: 13px;
line-height: 1.45;
text-align: left;
white-space: normal;
overflow: visible;
text-overflow: clip;
}
.receipt-folder-list .table-wrap td:last-child {
border-bottom: 0;
}
.receipt-folder-list .table-wrap td::before {
content: attr(data-label);
color: #64748b;
font-size: 12px;
font-weight: 800;
line-height: 1.6;
}
.receipt-folder-list .table-wrap td:first-child {
grid-template-columns: 1fr;
padding-top: 0;
}
.receipt-folder-list .table-wrap td:first-child::before {
display: none;
}
.receipt-folder-list td:first-child .doc-id {
white-space: normal;
overflow: visible;
text-overflow: clip;
}
.receipt-folder-list .list-foot {
display: grid;
justify-items: stretch;
}
.receipt-folder-list .pager {
width: 100%;
justify-content: flex-start;
overflow-x: auto;
}
.receipt-detail-toolbar,
.receipt-toolbar-actions,
.receipt-preview-tools {

View File

@@ -804,6 +804,10 @@
}
@media (max-width: 640px) {
.settings-shell {
overflow: hidden;
}
.settings-toolbar {
padding: 16px;
}
@@ -824,4 +828,26 @@
.settings-nav {
padding: 16px 12px 12px;
}
.settings-nav-list {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
max-height: 188px;
overflow-x: hidden;
overflow-y: auto;
padding-bottom: 0;
scrollbar-width: thin;
}
.settings-nav-item {
min-width: 0;
min-height: 54px;
padding: 9px 10px;
}
.nav-item-copy strong,
.nav-item-copy small {
overflow: hidden;
text-overflow: ellipsis;
}
}

View File

@@ -317,41 +317,75 @@
}
@media (max-width: 760px) {
:global(.assistant-el-overlay .el-overlay-dialog) {
height: 100dvh;
max-height: 100dvh;
padding: 0;
}
:global(.assistant-el-dialog.el-dialog.is-fullscreen) {
border-radius: 0;
padding: 0;
}
.assistant-overlay {
--assistant-viewport-inset: 10px;
--assistant-viewport-inset: 0;
}
:global(.assistant-el-overlay) {
--assistant-viewport-inset: 10px;
--assistant-viewport-inset: 0;
}
.assistant-modal,
.assistant-modal-stage {
border-radius: 4px;
width: 100%;
height: 100%;
min-height: 0;
max-height: 100%;
border-radius: 0;
}
.assistant-modal-stage {
height: 100dvh;
max-height: 100dvh;
border: 0;
box-shadow: none;
background: #f6f9fc;
}
.assistant-header {
padding: 18px 18px 16px;
align-items: flex-start;
flex-direction: column;
min-height: 58px;
padding: calc(10px + env(safe-area-inset-top, 0px)) 138px 10px 12px;
align-items: center;
flex-direction: row;
border-bottom: 1px solid #e5edf5;
}
.assistant-header-actions {
top: 18px;
right: 18px;
gap: 10px;
top: calc(9px + env(safe-area-inset-top, 0px));
right: 10px;
gap: 6px;
width: auto;
justify-content: space-between;
justify-content: flex-end;
}
.assistant-toggle-btn,
.session-trash-btn,
.assistant-close-btn,
.close-btn {
width: 40px;
height: 40px;
width: 38px;
height: 38px;
border-radius: 4px;
font-size: 15px;
}
.assistant-title {
font-size: 16px;
line-height: 1.25;
}
.assistant-subtitle {
display: none;
}
.flow-step-card header {
@@ -359,16 +393,87 @@
}
.assistant-layout {
padding: 14px;
position: relative;
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: 0;
padding: 0;
overflow: hidden;
}
.dialog-panel {
border: 0;
border-radius: 0;
box-shadow: none;
}
.insight-panel-shell {
position: absolute;
inset: 0;
z-index: 70;
width: 100%;
max-height: none;
margin-left: 0;
transform: translateX(100%);
pointer-events: none;
transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}
.assistant-layout.has-insight .insight-panel-shell {
transform: translateX(0);
pointer-events: auto;
}
.insight-panel-shell.collapsed {
width: 100%;
transform: translateX(100%);
}
.insight-panel {
border-radius: 0;
}
.composer-row {
display: grid;
grid-template-columns: minmax(0, 1fr) var(--composer-control-size, 40px);
align-items: end;
gap: 8px;
--composer-control-size: 40px;
}
.composer-leading-actions {
grid-column: 1 / -1;
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 8px;
width: 100%;
}
.composer-leading-actions .composer-side-btn,
.composer-leading-actions .tool-btn {
width: 100%;
}
.composer-date-anchor,
.travel-calculator-anchor {
min-width: 0;
}
.composer-row .composer-shell {
min-width: 0;
}
.composer-shell-body {
align-items: flex-start;
padding: 6px 10px;
}
.composer-shell textarea {
min-height: 32px;
flex-basis: 100%;
min-height: 40px;
max-height: 104px;
padding: 8px 2px;
line-height: 20px;
}
.travel-calculator-form {
@@ -376,20 +481,87 @@
}
.dialog-toolbar {
padding: 16px 16px 12px;
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: 8px;
padding: 8px 10px;
overflow: visible;
}
.dialog-toolbar-label {
min-width: 0;
}
.shortcut-chip-wrap {
width: 100%;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 8px;
overflow: visible;
}
.shortcut-chip {
width: 100%;
min-width: 0;
justify-content: center;
}
.shortcut-chip span {
min-width: 0;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.message-list {
padding: 16px;
padding: 12px 10px;
gap: 10px;
}
.message-avatar {
width: 32px;
height: 32px;
}
.message-bubble {
max-width: 100%;
padding: 10px 12px;
}
.message-suggested-actions {
grid-template-columns: 1fr;
}
.composer {
padding: 0 16px 16px;
gap: 8px;
padding: 8px 10px calc(10px + env(safe-area-inset-bottom, 0px));
border-top: 1px solid #e5edf5;
background: #fff;
}
.composer-files-panel {
max-height: 30dvh;
overflow-y: auto;
padding: 10px;
}
.composer-date-popover,
.travel-calculator-popover {
position: fixed;
left: 10px;
right: 10px;
bottom: calc(150px + env(safe-area-inset-bottom, 0px));
width: auto;
max-height: min(58dvh, 420px);
overflow-y: auto;
}
.composer-date-fields-range {
grid-template-columns: 1fr;
}
.composer-date-range-sep {
display: none;
}
.composer-files-head,

View File

@@ -769,6 +769,15 @@
background: #dbe4ee;
}
.application-leader-opinion-timeline.is-single {
padding-left: 0;
}
.application-leader-opinion-timeline.is-single::before,
.application-leader-opinion-timeline.is-single .application-leader-opinion-event::before {
display: none;
}
.application-leader-opinion-event {
position: relative;
display: grid;