primevue-mirror/components/lib/picklist/style/PickListStyle.js

39 lines
855 B
JavaScript
Raw Normal View History

import BaseStyle from 'primevue/base/style';
const theme = ({ dt }) => `
.p-picklist {
display: flex;
gap: 1.125rem;
}
.p-picklist-controls {
display: flex;
flex-direction: column;
justify-content: center;
gap: 0.5rem;
}
.p-picklist-list-container {
flex: 1 1 50%;
}
.p-picklist .p-listbox {
height: 100%;
}
`;
const classes = {
2024-03-22 08:57:54 +00:00
root: 'p-picklist p-component',
2024-04-20 13:08:10 +00:00
sourceControls: 'p-picklist-controls p-picklist-source-controls',
sourceWrapper: 'p-picklist-list-container p-picklist-source-list-container',
buttons: 'p-picklist-controls p-picklist-transfer-controls',
targetWrapper: 'p-picklist-list-container p-picklist-target-list-container',
targetControls: 'p-picklist-controls p-picklist-target-controls'
};
export default BaseStyle.extend({
name: 'picklist',
theme,
classes
});