feat(web): share the page header and icon finance fields.
Remaining screens and finance use the shared page header, tab icons sit closer to their labels, and the active workspace tab no longer paints a broken corner. Treasury selects and the money field show a leading icon. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -2030,7 +2030,7 @@ onUnmounted(() => {
|
||||
|
||||
.workspace-tabs.desktop-only {
|
||||
--ws-tab-bar: #fff;
|
||||
--ws-tab-active: var(--accent-subtle, #eef8f7);
|
||||
--ws-tab-active: var(--accent-soft, #d0ebe8);
|
||||
--ws-tab-active-ink: var(--accent, #10897d);
|
||||
--ws-tab-radius: 10px;
|
||||
display: block;
|
||||
@@ -2107,30 +2107,6 @@ onUnmounted(() => {
|
||||
border-radius: var(--ws-tab-radius) var(--ws-tab-radius) 0 0 !important;
|
||||
}
|
||||
|
||||
/* concave corners — same shape as Chrome tabs, CRM colors only */
|
||||
.workspace-tabs :deep(.ant-tabs-tab-active)::before,
|
||||
.workspace-tabs :deep(.ant-tabs-tab-active)::after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
width: var(--ws-tab-radius);
|
||||
height: var(--ws-tab-radius);
|
||||
background: transparent;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.workspace-tabs :deep(.ant-tabs-tab-active)::before {
|
||||
left: calc(var(--ws-tab-radius) * -1);
|
||||
border-radius: 0 0 var(--ws-tab-radius) 0;
|
||||
box-shadow: 5px 0 0 0 var(--ws-tab-active);
|
||||
}
|
||||
|
||||
.workspace-tabs :deep(.ant-tabs-tab-active)::after {
|
||||
right: calc(var(--ws-tab-radius) * -1);
|
||||
border-radius: 0 0 0 var(--ws-tab-radius);
|
||||
box-shadow: -5px 0 0 0 var(--ws-tab-active);
|
||||
}
|
||||
|
||||
.workspace-tabs :deep(.ant-tabs-tab .ant-tabs-tab-remove) {
|
||||
margin-inline-start: 6px;
|
||||
margin-inline-end: 0;
|
||||
|
||||
Reference in New Issue
Block a user