Add material select

This commit is contained in:
Cagatay Civici 2024-09-28 16:26:28 +03:00
parent b29f1dad1d
commit fb88e07bb2
8 changed files with 89 additions and 29 deletions

View file

@ -37,6 +37,10 @@ const theme = ({ dt }) => `
background: ${dt('inputtext.filled.background')};
}
.p-inputtext.p-variant-filled:enabled:hover {
border-color: ${dt('inputtext.filled.hover.background')};
}
.p-inputtext.p-variant-filled:enabled:focus {
background: ${dt('inputtext.filled.focus.background')};
}

View file

@ -30,7 +30,11 @@ const theme = ({ dt }) => `
background: ${dt('select.filled.background')};
}
.p-select.p-variant-filled.p-focus {
.p-select.p-variant-filled:not(.p-disabled):hover {
background: ${dt('select.filled.hover.background')};
}
.p-select.p-variant-filled:not(.p-disabled).p-focus {
background: ${dt('select.filled.focus.background')};
}