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
45
components/lib/fieldset/style/FieldsetStyle.js
Normal file
45
components/lib/fieldset/style/FieldsetStyle.js
Normal file
|
@ -0,0 +1,45 @@
|
|||
import BaseStyle from 'primevue/base/style';
|
||||
|
||||
const css = `
|
||||
@layer primevue {
|
||||
.p-fieldset-legend > a,
|
||||
.p-fieldset-legend > span {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.p-fieldset-toggleable .p-fieldset-legend a {
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.p-fieldset-legend-text {
|
||||
line-height: 1;
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
const classes = {
|
||||
root: ({ props }) => [
|
||||
'p-fieldset p-component',
|
||||
{
|
||||
'p-fieldset-toggleable': props.toggleable
|
||||
}
|
||||
],
|
||||
legend: 'p-fieldset-legend',
|
||||
legendtitle: 'p-fieldset-legend-text',
|
||||
togglericon: 'p-fieldset-toggler',
|
||||
legendtitle: 'p-fieldset-legend-text',
|
||||
toggleablecontent: 'p-toggleable-content',
|
||||
content: 'p-fieldset-content'
|
||||
};
|
||||
|
||||
export default BaseStyle.extend({
|
||||
name: 'fieldset',
|
||||
css,
|
||||
classes
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue