No transition for select items in material

pull/6501/head
Cagatay Civici 2024-09-30 10:33:50 +03:00
parent e2687f3aaf
commit f1ba9d9e10
6 changed files with 29 additions and 3 deletions

View File

@ -146,5 +146,9 @@ export default {
'autocomplete.invalid.border.color'
)});
}
.p-autocomplete-option {
transition: none;
}
`
};

View File

@ -98,10 +98,14 @@ export default {
)});
}
.p-select.p-variant-filled.p-invalid:not(.p-disabled).p-focus {
.p-cascadeselect.p-variant-filled.p-invalid:not(.p-disabled).p-focus {
background-image: linear-gradient(to bottom, ${dt('cascadeselect.invalid.border.color')}, ${dt('cascadeselect.invalid.border.color')}), linear-gradient(to bottom, ${dt('cascadeselect.invalid.border.color')}, ${dt(
'cascadeselect.invalid.border.color'
)});
}
.p-cascadeselect-option {
transition: none;
}
`
};

View File

@ -62,5 +62,10 @@ export default {
stripedBackground: '{surface.900}'
}
}
}
},
style: ({ dt }) => `
.p-listbox-option {
transition: none;
}
`
};

View File

@ -110,5 +110,9 @@ export default {
.p-multiselect.p-variant-filled.p-invalid:not(.p-disabled).p-focus {
background-image: linear-gradient(to bottom, ${dt('multiselect.invalid.border.color')}, ${dt('multiselect.invalid.border.color')}), linear-gradient(to bottom, ${dt('multiselect.invalid.border.color')}, ${dt('multiselect.invalid.border.color')});
}
.p-multiselect-option {
transition: none;
}
`
};

View File

@ -114,5 +114,9 @@ export default {
.p-select.p-variant-filled.p-invalid:not(.p-disabled).p-focus {
background-image: linear-gradient(to bottom, ${dt('select.invalid.border.color')}, ${dt('select.invalid.border.color')}), linear-gradient(to bottom, ${dt('select.invalid.border.color')}, ${dt('select.invalid.border.color')});
}
.p-select-option {
transition: none;
}
`
};

View File

@ -47,5 +47,10 @@ export default {
},
loadingIcon: {
size: '2rem'
}
},
style: ({ dt }) => `
.p-tree-node-content {
transition: none;
}
`
};