mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Focus visuals for chips
This commit is contained in:
parent
6d09456b9c
commit
c735e5b3c9
2 changed files with 10 additions and 5 deletions
|
@ -178,17 +178,22 @@ const theme = ({ dt }) => `
|
|||
color: ${dt('autocomplete.disabled.color')};
|
||||
}
|
||||
|
||||
.p-autocomplete-input-multiple .p-chip {
|
||||
.p-autocomplete-chip.p-chip {
|
||||
padding-top: calc(${dt('autocomplete.padding.y')} / 2);
|
||||
padding-bottom: calc(${dt('autocomplete.padding.y')} / 2);
|
||||
border-radius: ${dt('autocomplete.chip.border.radius')};
|
||||
}
|
||||
|
||||
.p-autocomplete-input-multiple:has(.p-chip) {
|
||||
.p-autocomplete-input-multiple:has(.p-autocomplete-chip) {
|
||||
padding-left: calc(${dt('autocomplete.padding.y')} / 2);
|
||||
padding-right: calc(${dt('autocomplete.padding.y')} / 2);
|
||||
}
|
||||
|
||||
.p-autocomplete-chip-item.p-focus .p-autocomplete-chip {
|
||||
background: ${dt('inputchips.chip.focus.background')};
|
||||
color: ${dt('inputchips.chip.focus.color')};
|
||||
}
|
||||
|
||||
.p-autocomplete-input-chip {
|
||||
flex: 1 1 auto;
|
||||
display: inline-flex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue