2024-06-17 19:18:38 +02:00
|
|
|
// Copyright 2024, Command Line Inc.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2024-08-24 03:12:40 +02:00
|
|
|
.connection-btn {
|
|
|
|
min-height: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
line-height: 1;
|
|
|
|
display: flex;
|
|
|
|
background-color: orangered;
|
|
|
|
justify-content: flex-start;
|
|
|
|
width: 200px;
|
|
|
|
}
|
|
|
|
|
2024-06-17 19:18:38 +02:00
|
|
|
.view-term {
|
|
|
|
display: flex;
|
2024-08-24 07:12:27 +02:00
|
|
|
flex-direction: row;
|
2024-06-17 19:18:38 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
padding-left: 4px;
|
2024-06-18 07:38:48 +02:00
|
|
|
position: relative;
|
2024-06-17 19:18:38 +02:00
|
|
|
|
|
|
|
.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;
|
|
|
|
|
2024-11-02 18:58:13 +01:00
|
|
|
.block-content {
|
|
|
|
padding: 0;
|
2024-06-17 19:18:38 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.term-mode-term {
|
|
|
|
.term-connectelem {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
.term-htmlelem {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-10-24 07:47:29 +02:00
|
|
|
&.term-mode-vdom {
|
2024-06-17 19:18:38 +02:00
|
|
|
.term-connectelem {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
.term-htmlelem {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.ijson iframe {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
2024-06-18 07:38:48 +02:00
|
|
|
|
|
|
|
.term-stickers {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
z-index: var(--zindex-termstickers);
|
|
|
|
pointer-events: none;
|
|
|
|
|
|
|
|
.term-sticker-image {
|
|
|
|
img {
|
|
|
|
object-fit: contain;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.term-sticker-svg {
|
|
|
|
svg {
|
|
|
|
object-fit: contain;
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-07-09 07:31:38 +02:00
|
|
|
|
|
|
|
.terminal {
|
2024-10-10 23:02:58 +02:00
|
|
|
.xterm-viewport {
|
2024-10-10 23:42:44 +02:00
|
|
|
z-index: var(--zindex-xterm-viewport-overlay);
|
2024-07-09 07:31:38 +02:00
|
|
|
|
2024-10-10 23:42:44 +02:00
|
|
|
&::-webkit-scrollbar {
|
|
|
|
width: 6px;
|
|
|
|
height: 6px;
|
|
|
|
}
|
2024-10-10 23:02:58 +02:00
|
|
|
|
2024-10-10 23:42:44 +02:00
|
|
|
&::-webkit-scrollbar-track {
|
|
|
|
background-color: var(--scrollbar-background-color);
|
2024-10-10 23:02:58 +02:00
|
|
|
}
|
|
|
|
|
2024-10-10 23:42:44 +02:00
|
|
|
&::-webkit-scrollbar-thumb {
|
|
|
|
display: none;
|
|
|
|
background-color: var(--scrollbar-thumb-color);
|
|
|
|
border-radius: 4px;
|
|
|
|
margin: 0 1px 0 1px;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--scrollbar-thumb-hover-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background-color: var(--scrollbar-thumb-active-color);
|
|
|
|
}
|
2024-10-10 23:02:58 +02:00
|
|
|
}
|
2024-07-09 07:31:38 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
&:hover {
|
2024-10-10 23:02:58 +02:00
|
|
|
.xterm-viewport::-webkit-scrollbar-thumb {
|
2024-07-09 07:31:38 +02:00
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2024-06-17 19:18:38 +02:00
|
|
|
}
|