1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
@import "~xterm/css/xterm.css";
/* Our terminal or logs */
.console-ct {
font-family: Menlo, Monaco, Consolas, monospace;
margin-top: 0;
margin-bottom: 0;
font-size: var(--pf-global--FontSize--md);
text-align: center;
line-height: normal;
}
@media (min-width: 568px) {
.console-ct {
font-size: var(--pf-global--FontSize--sm);
}
}
.console-ct > pre {
padding: 10px;
text-align: left;
display: block;
font-family: inherit;
font-size: inherit;
width: 48em;
height: 310px;
overflow-y: scroll;
white-space: pre-wrap;
margin: 0 auto;
}
.console-ct > .terminal {
color: var(--pf-global--palette--black-200);
text-align: left;
background-color: black;
padding: 10px;
}
.terminal .terminal-cursor {
border: 1px solid var(--pf-global--palette--black-200);
}
.terminal:focus .terminal-cursor {
border: none;
animation: blink 1s step-end infinite;
}
@keyframes blink {
from {
color: var(--ct-color-text);
background: var(--pf-global--palette--black-200);
}
50% {
color: var(--pf-global--palette--black-200);
background: var(--ct-color-text);
}
}
|