CascadeSelect active state visuals

pull/5701/head
tugcekucukoglu 2024-05-08 12:58:17 +03:00
parent 8208024461
commit 7fcd43e629
1 changed files with 6 additions and 6 deletions

View File

@ -134,6 +134,12 @@ const theme = ({ dt }) => `
border-radius: ${dt('cascadeselect.option.border.radius')}; border-radius: ${dt('cascadeselect.option.border.radius')};
} }
.p-cascadeselect-item-active {
overflow: visible;
background: ${dt('cascadeselect.option.focus.background')};
color: ${dt('cascadeselect.option.focus.color')};
}
.p-cascadeselect-item:not(.p-cascadeselect-item-selected):not(.p-disabled).p-focus { .p-cascadeselect-item:not(.p-cascadeselect-item-selected):not(.p-disabled).p-focus {
background: ${dt('cascadeselect.option.focus.background')}; background: ${dt('cascadeselect.option.focus.background')};
color: ${dt('cascadeselect.option.focus.color')}; color: ${dt('cascadeselect.option.focus.color')};
@ -153,12 +159,6 @@ const theme = ({ dt }) => `
color: ${dt('cascadeselect.option.selected.focus.color')}; color: ${dt('cascadeselect.option.selected.focus.color')};
} }
.p-cascadeselect-item-active {
overflow: visible;
background: ${dt('cascadeselect.option.focus.background')};
color: ${dt('cascadeselect.option.focus.color')};
}
.p-cascadeselect-item-active > .p-cascadeselect-item-list { .p-cascadeselect-item-active > .p-cascadeselect-item-list {
display: block; display: block;
left: 100%; left: 100%;