31 lines
465 B
JavaScript
31 lines
465 B
JavaScript
export default {
|
|
css: ({ dt }) => `
|
|
.p-iconfield {
|
|
position: relative;
|
|
}
|
|
|
|
.p-inputicon {
|
|
position: absolute;
|
|
top: 50%;
|
|
margin-top: -.5rem;
|
|
color: ${dt('iconfield.color')};
|
|
}
|
|
|
|
.p-iconfield .p-inputicon:first-child {
|
|
left: 0.75rem;
|
|
}
|
|
|
|
.p-iconfield .p-inputicon:last-child {
|
|
right: 0.75rem;
|
|
}
|
|
|
|
.p-iconfield .p-inputtext:last-child {
|
|
padding-left: 2.5rem;
|
|
}
|
|
|
|
.p-iconfield .p-inputtext:first-child {
|
|
padding-right: 2.5rem;
|
|
}
|
|
`
|
|
};
|