feat(web): unify track and history identity

This commit is contained in:
lingniu
2026-07-20 02:15:08 +08:00
parent 537f8d9b45
commit 319728f976
5 changed files with 147 additions and 3 deletions

View File

@@ -26750,3 +26750,138 @@
min-height: 21px;
}
}
/*
* Track and history identity convergence.
* Keep the map and evidence table dominant while making the active task,
* object and query scope immediately recognizable across workspaces.
*/
.v2-track-query-panel .v2-track-query-header.has-identity.v2-workspace-command-bar {
min-height: 62px;
background:
radial-gradient(circle at 12% -80%, rgba(18, 104, 243, .12), transparent 52%),
linear-gradient(108deg, #fff 0%, #fbfdff 100%);
padding: 8px 7px 8px 10px;
}
.v2-track-query-header.has-identity .v2-workspace-command-copy {
flex: 1 1 0;
gap: 7px;
}
.v2-track-query-header.has-identity .v2-workspace-command-icon.semi-avatar {
width: 31px;
height: 31px;
flex-basis: 31px;
border-radius: 9px;
font-size: 13px;
}
.v2-track-query-header.has-identity .v2-workspace-command-stack {
gap: 0;
}
.v2-track-query-header.has-identity .v2-workspace-command-eyebrow {
color: #71839a;
font-size: 7px;
line-height: 9px;
}
.v2-track-query-header.has-identity .v2-workspace-command-title {
color: #263a52;
font-size: 14px;
font-weight: 760;
line-height: 17px;
}
.v2-track-query-header.has-identity .v2-workspace-command-description {
color: #8492a4;
font-size: 8px;
line-height: 11px;
}
.v2-track-query-header.has-identity .v2-workspace-command-actions {
flex: 0 0 auto;
gap: 2px;
}
.v2-track-query-header.has-identity .v2-workspace-command-actions > .semi-tag {
border-color: rgba(18, 104, 243, .08);
background: #eef5ff;
color: #245da8;
}
.v2-history-discovery-shell > .v2-history-command-bar.has-identity {
min-height: 58px;
background:
radial-gradient(circle at 91% -100%, rgba(18, 104, 243, .1), transparent 42%),
linear-gradient(105deg, #fff 0%, #fbfdff 100%);
padding: 8px 10px 8px 12px;
}
.v2-history-command-bar.has-identity .v2-workspace-command-copy {
min-width: 240px;
}
.v2-history-command-bar.has-identity .v2-workspace-command-icon.semi-avatar {
width: 34px;
height: 34px;
flex-basis: 34px;
border-radius: 10px;
font-size: 14px;
}
.v2-history-command-bar.has-identity .v2-workspace-command-stack {
gap: 0;
}
.v2-history-command-bar.has-identity .v2-workspace-command-title {
color: #263a52;
font-size: 14px;
font-weight: 760;
line-height: 18px;
}
.v2-history-command-bar.has-identity .v2-workspace-command-description {
color: #8290a3;
font-size: 9px;
line-height: 12px;
}
.v2-history-command-bar.has-identity .v2-workspace-command-actions > .semi-tag {
border-color: rgba(18, 104, 243, .08);
background: #eef5ff;
color: #245da8;
}
@media (min-width: 681px) and (max-width: 980px) {
.v2-history-command-bar.has-identity .v2-workspace-command-copy {
min-width: 190px;
}
.v2-history-command-bar.has-identity .v2-workspace-command-description {
display: none;
}
}
@media (max-width: 680px) {
.v2-history-discovery-shell > .v2-history-command-bar.has-identity {
min-height: 54px;
padding: 7px 9px;
}
.v2-history-command-bar.has-identity .v2-workspace-command-copy {
min-width: 0;
}
.v2-history-command-bar.has-identity .v2-workspace-command-icon.semi-avatar {
width: 32px;
height: 32px;
flex-basis: 32px;
}
.v2-history-command-bar.has-identity .v2-workspace-command-description,
.v2-history-command-bar.has-identity .v2-workspace-command-meta {
display: none;
}
}