30 lines
451 B
JavaScript
30 lines
451 B
JavaScript
import BaseStyle from 'primevue/base/style';
|
|
|
|
const theme = ({ dt }) => `
|
|
.p-blockui {
|
|
position: relative;
|
|
}
|
|
|
|
.p-blockui-mask {
|
|
border-radius: ${dt('blockui.border.radius')};
|
|
}
|
|
|
|
.p-blockui-mask.p-component-overlay {
|
|
position: absolute;
|
|
}
|
|
|
|
.p-blockui-mask-document.p-component-overlay {
|
|
position: fixed;
|
|
}
|
|
`;
|
|
|
|
const classes = {
|
|
root: 'p-blockui'
|
|
};
|
|
|
|
export default BaseStyle.extend({
|
|
name: 'blockui',
|
|
theme,
|
|
classes
|
|
});
|