mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-08 16:37:15 +00:00
48 lines
809 B
JavaScript
48 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;
|