mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-23 16:58:30 +00:00
87 lines
1.7 KiB
Text
87 lines
1.7 KiB
Text
// Copyright 2024, Command Line Inc.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
.view-term {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
border-left: 4px solid transparent;
|
|
padding-left: 4px;
|
|
|
|
&:focus-within {
|
|
border-left: 4px solid var(--accent-color);
|
|
}
|
|
|
|
.term-header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding: 4px 10px;
|
|
height: 35px;
|
|
gap: 10px;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
border-bottom: 1px solid var(--border-color);
|
|
}
|
|
|
|
.term-connectelem {
|
|
flex-grow: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
line-height: 1;
|
|
}
|
|
|
|
.term-htmlelem {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
flex-grow: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
|
|
.term-htmlelem-focus {
|
|
height: 0;
|
|
width: 0;
|
|
input {
|
|
width: 0;
|
|
height: 0;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
}
|
|
}
|
|
|
|
.term-htmlelem-content {
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 100%;
|
|
flex-grow: 1;
|
|
min-height: 0;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
&.term-mode-term {
|
|
.term-connectelem {
|
|
display: flex;
|
|
}
|
|
.term-htmlelem {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&.term-mode-html {
|
|
.term-connectelem {
|
|
display: none;
|
|
}
|
|
.term-htmlelem {
|
|
display: flex;
|
|
}
|
|
|
|
.ijson iframe {
|
|
width: 100%;
|
|
height: 100%;
|
|
border: none;
|
|
}
|
|
}
|
|
}
|