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

39 lines
913 B
JavaScript
Raw Normal View History

import BaseStyle from 'primevue/base/style';
const theme = ({ dt }) => `
.p-picklist {
display: flex;
2024-05-11 23:08:10 +00:00
gap: ${dt('picklist.gap')};
}
.p-picklist-controls {
display: flex;
flex-direction: column;
justify-content: center;
2024-05-11 23:08:10 +00:00
gap: ${dt('picklist.controls.gap')};
}
.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',
sourceListContainer: 'p-picklist-list-container p-picklist-source-list-container',
transferControls: 'p-picklist-controls p-picklist-transfer-controls',
targetListContainer: 'p-picklist-list-container p-picklist-target-list-container',
2024-04-20 13:08:10 +00:00
targetControls: 'p-picklist-controls p-picklist-target-controls'
};
export default BaseStyle.extend({
name: 'picklist',
theme,
classes
});