2024-02-19 22:53:42 +00:00
|
|
|
export default {
|
2024-03-12 08:19:23 +00:00
|
|
|
css: ({ dt }) => `
|
2024-02-19 22:53:42 +00:00
|
|
|
.p-inputtextarea {
|
|
|
|
font-family: inherit;
|
|
|
|
font-feature-settings: inherit;
|
|
|
|
font-size: 1rem;
|
|
|
|
color: var(--p-textarea-text-color);
|
|
|
|
background: var(--p-textarea-background);
|
|
|
|
padding: 0.5rem 0.75rem;
|
|
|
|
border: 1px solid var(--p-textarea-border-color);
|
2024-03-12 08:19:23 +00:00
|
|
|
transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')}, border-color ${dt('transition.duration')}, outline-color ${dt('transition.duration')};
|
2024-02-19 22:53:42 +00:00
|
|
|
appearance: none;
|
2024-03-12 08:19:23 +00:00
|
|
|
border-radius: ${dt('rounded.base')};
|
2024-02-19 22:53:42 +00:00
|
|
|
outline-color: transparent;
|
|
|
|
box-shadow: var(--p-textarea-box-shadow);
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-inputtextarea:enabled:hover {
|
|
|
|
border-color: var(--p-textarea-border-color-hover);
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-inputtextarea:enabled:focus {
|
|
|
|
border-color: var(--p-textarea-border-color-focus);
|
|
|
|
outline: 0 none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-inputtextarea.p-invalid {
|
|
|
|
border-color: var(--p-textarea-border-color-invalid);
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-inputtextarea.p-variant-filled {
|
|
|
|
background-color: var(--p-textarea-background-filled);
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-inputtextarea.p-variant-filled:enabled:focus {
|
|
|
|
background-color: var(--p-textarea-background-filled-focus);
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-inputtextarea:disabled {
|
|
|
|
opacity: 1;
|
|
|
|
background: var(--p-textarea-background-disabled);
|
|
|
|
color: var(--p-textarea-text-color-disabled);
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-inputtextarea::placeholder {
|
|
|
|
color: var(--p-textarea-placeholder-text-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-fluid .p-inputtextarea {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-inputtextarea-resizable {
|
|
|
|
overflow: hidden;
|
|
|
|
resize: none;
|
|
|
|
}
|
|
|
|
`
|
|
|
|
};
|