49 lines
809 B
JavaScript
49 lines
809 B
JavaScript
import { useStyle } from 'primevue/usestyle';
|
|
|
|
const styles = `
|
|
.p-hidden-accessible {
|
|
border: 0;
|
|
clip: rect(0 0 0 0);
|
|
height: 1px;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
position: absolute;
|
|
width: 1px;
|
|
}
|
|
|
|
.p-hidden-accessible input,
|
|
.p-hidden-accessible select {
|
|
transform: scale(0);
|
|
}
|
|
|
|
.p-overflow-hidden {
|
|
overflow: hidden;
|
|
}
|
|
|
|
.p-unselectable-text {
|
|
user-select: none;
|
|
}
|
|
|
|
.p-sr-only {
|
|
border: 0;
|
|
clip: rect(1px, 1px, 1px, 1px);
|
|
clip-path: inset(50%);
|
|
height: 1px;
|
|
margin: -1px;
|
|
overflow: hidden;
|
|
padding: 0;
|
|
position: absolute;
|
|
width: 1px;
|
|
word-wrap: normal !important;
|
|
}
|
|
`;
|
|
|
|
export const { load: loadBaseStyle } = useStyle(styles, { name: 'base', manual: true });
|
|
|
|
const Base = {
|
|
styles
|
|
};
|
|
|
|
export default Base;
|