2023-10-02 10:46:09 +00:00
|
|
|
import BaseStyle from 'primevue/base/style';
|
|
|
|
|
2024-05-01 08:26:48 +00:00
|
|
|
const theme = ({ dt }) => `
|
|
|
|
.p-blockui {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-blockui-mask {
|
2024-05-09 18:12:23 +00:00
|
|
|
border-radius: ${dt('blockui.border.radius')};
|
2024-05-01 08:26:48 +00:00
|
|
|
}
|
|
|
|
|
2024-05-13 14:02:20 +00:00
|
|
|
.p-blockui-mask.p-overlay-mask {
|
2024-05-01 08:26:48 +00:00
|
|
|
position: absolute;
|
|
|
|
}
|
|
|
|
|
2024-05-13 14:02:20 +00:00
|
|
|
.p-blockui-mask-document.p-overlay-mask {
|
2024-05-01 08:26:48 +00:00
|
|
|
position: fixed;
|
|
|
|
}
|
|
|
|
`;
|
2024-05-13 06:22:43 +00:00
|
|
|
|
2023-10-02 10:46:09 +00:00
|
|
|
const classes = {
|
2024-04-08 12:01:20 +00:00
|
|
|
root: 'p-blockui'
|
2023-10-02 10:46:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default BaseStyle.extend({
|
|
|
|
name: 'blockui',
|
2024-05-01 08:26:48 +00:00
|
|
|
theme,
|
2023-10-02 10:46:09 +00:00
|
|
|
classes
|
|
|
|
});
|