Files
web/packages/design-system/lib/components/ChipButton/chip-button.module.css
2026-01-26 06:45:23 +00:00

64 lines
1.3 KiB
CSS

.chip {
background-color: var(--Component-Button-Inverted-Fill-Default);
border-radius: var(--Corner-Radius-sm);
padding: 6px var(--Space-x15);
color: var(--Text-Interactive-Default);
display: inline-flex;
align-items: center;
justify-content: center;
cursor: pointer;
gap: var(--Space-x05);
}
.Default {
border: 1px solid var(--Component-Button-Inverted-Border-Default);
}
.Default:hover {
background-color: var(--Surface-Primary-Hover-Accent);
}
.Outlined {
border: 1px solid var(--Border-Strong);
@media (hover: hover) {
&:not([data-disabled]) {
&:hover,
&.hovered {
background:
linear-gradient(
0deg,
var(--Surface-Primary-Hover) 0%,
var(--Surface-Primary-Hover) 100%
),
var(--Component-Button-Inverted-Fill-Default);
}
}
}
}
.Outlined:active {
border-color: var(--Border-Interactive-Active);
}
.FilterRounded {
background-color: transparent;
border: 1px solid var(--Border-Interactive-Active);
border-radius: var(--Corner-Radius-Rounded);
padding: var(--Space-x025) var(--Space-x2);
color: var(--Text-Default);
}
.selected {
border-color: transparent;
background-color: var(--Surface-Brand-Primary-3-Default);
color: var(--Text-Inverted);
}
.large {
height: 40px;
}
.medium {
height: 32px;
}