updated to correcly displayed hover color on chip buttons * updated to correcly displayed hover color on chip buttons Approved-by: Bianca Widstam Approved-by: Erik Tiekstra
71 lines
1.5 KiB
CSS
71 lines
1.5 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;
|
|
}
|
|
|
|
.Default:focus,
|
|
.Outlined:focus,
|
|
.FilterRounded:focus {
|
|
outline-offset: 4px;
|
|
outline-color: var(--Border-Interactive-Focus);
|
|
}
|