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-terminal {
|
|
|
|
height: 18rem;
|
|
|
|
overflow: auto;
|
2024-03-12 10:07:36 +00:00
|
|
|
background: ${dt('terminal.background')};
|
|
|
|
color: ${dt('terminal.color')};
|
|
|
|
border: 1px solid ${dt('terminal.border.color')};
|
2024-02-19 22:53:42 +00:00
|
|
|
padding: 0.5rem 0.75rem;
|
2024-03-12 08:19:23 +00:00
|
|
|
border-radius: ${dt('rounded.base')};
|
2024-02-19 22:53:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-terminal-prompt-container {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-terminal-input {
|
|
|
|
flex: 1 1 auto;
|
|
|
|
border: 0 none;
|
|
|
|
background-color: transparent;
|
|
|
|
color: inherit;
|
|
|
|
padding: 0;
|
|
|
|
outline: 0 none;
|
|
|
|
font-family: inherit;
|
|
|
|
font-feature-settings: inherit;
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-terminal-prompt {
|
|
|
|
margin-right: 0.25rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-terminal-input::-ms-clear {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-terminal-response {
|
|
|
|
margin: 2px 0;
|
|
|
|
}
|
|
|
|
`
|
|
|
|
};
|