primevue-mirror/components/lib/theme/aura/iconfield/index.js

36 lines
515 B
JavaScript
Raw Normal View History

2024-02-19 16:08:17 +00:00
export default {
variables: {
colorScheme: {
light: {},
dark: {}
}
},
css: `
.p-icon-field {
position: relative;
}
.p-icon-field .p-input-icon {
position: absolute;
top: 50%;
margin-top: -.5rem;
}
.p-icon-field-left .p-input-icon {
left: 0.75rem;
}
.p-icon-field-right .p-input-icon {
right: 0.75rem;
}
.p-icon-field-left .p-inputtext {
padding-left: 2.5rem;
}
.p-icon-field-right .p-inputtext {
padding-right: 2.5rem;
}
`
};