primevue-mirror/components/lib/themes/primeone/base/terminal/index.js

43 lines
783 B
JavaScript
Raw Normal View History

export default {
css: ({ dt }) => `
.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')};
padding: 0.5rem 0.75rem;
border-radius: ${dt('rounded.base')};
}
2024-04-08 11:51:39 +00:00
.p-terminal-prompt {
display: flex;
align-items: center;
}
2024-04-08 11:51:39 +00:00
.p-terminal-prompt-value {
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;
}
2024-04-08 11:51:39 +00:00
.p-terminal-prompt-label {
margin-right: 0.25rem;
}
.p-terminal-input::-ms-clear {
display: none;
}
2024-04-08 11:41:22 +00:00
.p-terminal-command-response {
margin: 2px 0;
}
`
};