Fixed #5214 - Move core alignment styles to theme files

This commit is contained in:
mertsincan 2024-02-05 10:44:41 +00:00
parent e1825987c0
commit 60f08422e6
80 changed files with 0 additions and 5062 deletions

View file

@ -1,47 +1,5 @@
import BaseStyle from 'primevue/base/style';
const css = `
@layer primevue {
.p-slider {
position: relative;
}
.p-slider .p-slider-handle {
cursor: grab;
touch-action: none;
display: block;
}
.p-slider-range {
display: block;
}
.p-slider-horizontal .p-slider-range {
top: 0;
left: 0;
height: 100%;
}
.p-slider-horizontal .p-slider-handle {
top: 50%;
}
.p-slider-vertical {
height: 100px;
}
.p-slider-vertical .p-slider-handle {
left: 50%;
}
.p-slider-vertical .p-slider-range {
bottom: 0;
left: 0;
width: 100%;
}
}
`;
const inlineStyles = {
handle: { position: 'absolute' },
range: { position: 'absolute' }
@ -62,7 +20,6 @@ const classes = {
export default BaseStyle.extend({
name: 'slider',
css,
classes,
inlineStyles
});