Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions packages/host/app/components/card-search/item-button.gts
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,18 @@ export default class ItemButton extends Component<Signature> {
.catalog-item.adorn.selected {
border-color: transparent;
}
/* Selection ring for adorn catalog items. Defined here on the item
itself (rather than relying on AdornContext's :deep stroke rule,
which the portaled catalog item didn't reliably inherit — leaving
only the thin 1px button border) so the ring stays a full-weight
4px whether or not the item is hovered, darkening on hover to match
the rest of the Adorn treatment. */
.catalog-item.adorn.selected {
box-shadow: 0 0 0 0.25rem var(--boxel-highlight);
}
.catalog-item.adorn.selected:hover {
box-shadow: 0 0 0 0.25rem var(--boxel-highlight-hover);
}
/* The type-label tab is placed by the shared positionAdornLabel
modifier (inline position/top/left), so this class only carries
the consumer's concerns: keep it out of pointer events and fade
Expand Down
Loading