Files
deepseek-harness/packages/experimental/client-ui-forge/src/client/HeaderButton.module.css
T
Yichen Jiang 4b07c32b93 fix(forge): follow master's hover, tooltip, and plugin metadata rules
Master now limits CSS hover styles to hover-capable primary input, opens
tooltips from pointer events, requires a model on every Agent and a model
selection on agent/pre-step, and requires Japanese plugin metadata.

- The panel's hover styles move under @media (hover: hover); expanded,
  pressed, and focus-visible styles stay outside it.
- The hover tests enter with pointer events.
- The test Agent carries an unsupported model, and proposed steps carry a
  model selection.
- The panel and the forge bundle ship Japanese titles and descriptions.
2026-10-22 17:45:15 +08:00

30 lines
775 B
CSS

/* Icon-only header entry: the shared compact Button owns the radius, height,
and interaction fills, as for the header's other actions; the status dot
sits at the glyph's top-right corner. */
.trigger {
position: relative;
flex: none;
width: 28px;
padding: 0;
color: var(--dsw-alias-label-secondary);
}
/* The forge tab is visible; the pressed fill outranks the Button's hover fill. */
.trigger[aria-pressed='true'] {
color: var(--dsw-alias-label-primary);
background: var(--dsw-alias-interactive-bg-active);
}
@media (hover: hover) {
.trigger[aria-pressed='true']:hover:not(:disabled) {
color: var(--dsw-alias-label-primary);
background: var(--dsw-alias-interactive-bg-active);
}
}
.dot {
position: absolute;
top: 6px;
right: 6px;
}