39 lines
972 B
JavaScript
39 lines
972 B
JavaScript
export default {
|
|
css: `
|
|
.p-inplace .p-inplace-display {
|
|
display: inline;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.p-inplace .p-inplace-content {
|
|
display: inline;
|
|
}
|
|
|
|
.p-fluid .p-inplace.p-inplace-closable .p-inplace-content {
|
|
display: flex;
|
|
}
|
|
|
|
.p-fluid .p-inplace.p-inplace-closable .p-inplace-content > .p-inputtext {
|
|
flex: 1 1 auto;
|
|
width: 1%;
|
|
}
|
|
|
|
.p-inplace-display {
|
|
padding: 0.5rem 0.75rem;
|
|
border-radius: var(--p-rounded-base);
|
|
transition: background-color var(--p-transition-duration), color var(--p-transition-duration), outline-color var(--p-transition-duration);
|
|
outline-color: transparent;
|
|
}
|
|
|
|
.p-inplace-display:not(.p-disabled):hover {
|
|
background: var(--p-inplace-display-background-hover);
|
|
color: var(--p-inplace-display-text-color-hover);
|
|
}
|
|
|
|
.p-inplace-display:focus-visible {
|
|
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
|
|
outline-offset: var(--p-focus-ring-offset);
|
|
}
|
|
`
|
|
};
|