mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4530 - Export styles of all components
This commit is contained in:
parent
7b6d458067
commit
dc2913e887
463 changed files with 10696 additions and 9670 deletions
38
components/lib/toolbar/style/ToolbarStyle.js
Normal file
38
components/lib/toolbar/style/ToolbarStyle.js
Normal file
|
@ -0,0 +1,38 @@
|
|||
import BaseStyle from 'primevue/base/style';
|
||||
|
||||
const css = `
|
||||
@layer primevue {
|
||||
.p-toolbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.p-toolbar-group-start,
|
||||
.p-toolbar-group-center,
|
||||
.p-toolbar-group-end {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.p-toolbar-group-left,
|
||||
.p-toolbar-group-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
const classes = {
|
||||
root: 'p-toolbar p-component',
|
||||
start: 'p-toolbar-group-start p-toolbar-group-left',
|
||||
center: 'p-toolbar-group-center',
|
||||
end: 'p-toolbar-group-end p-toolbar-group-right'
|
||||
};
|
||||
|
||||
export default BaseStyle.extend({
|
||||
name: 'toolbar',
|
||||
css,
|
||||
classes
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue