mirror of
https://github.com/wavetermdev/waveterm.git
synced 2024-12-22 16:48:23 +01:00
79 lines
1.4 KiB
Plaintext
79 lines
1.4 KiB
Plaintext
// Copyright 2024, Command Line Inc.
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
@import "./reset.less";
|
|
@import "./theme.less";
|
|
|
|
body {
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 100vw;
|
|
height: 100vh;
|
|
background-color: rgba(0, 0, 0, 0.2);
|
|
color: var(--main-text-color);
|
|
font: var(--base-font);
|
|
overflow: hidden;
|
|
-webkit-font-smoothing: auto;
|
|
}
|
|
|
|
*::-webkit-scrollbar {
|
|
width: 4px;
|
|
height: 4px;
|
|
}
|
|
|
|
*::-webkit-scrollbar-track {
|
|
background-color: var(--scrollbar-background-color);
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb {
|
|
background-color: var(--scrollbar-thumb-color);
|
|
border-radius: 4px;
|
|
margin: 0 1px 0 1px;
|
|
}
|
|
|
|
*::-webkit-scrollbar-thumb:hover {
|
|
background-color: var(--scrollbar-thumb-hover-color);
|
|
}
|
|
|
|
.flex-spacer {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.text-fixed {
|
|
font: var(--fixed-font);
|
|
}
|
|
|
|
#main,
|
|
.mainapp {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.error-boundary {
|
|
color: var(--error-color);
|
|
}
|
|
|
|
/* OverlayScrollbars styling */
|
|
.os-scrollbar {
|
|
--os-handle-bg: var(--scrollbar-thumb-color);
|
|
--os-handle-bg-hover: var(--scrollbar-thumb-hover-color);
|
|
--os-handle-bg-active: var(--scrollbar-thumb-active-color);
|
|
}
|
|
|
|
.scrollbar-hide-until-hover {
|
|
*::-webkit-scrollbar-thumb,
|
|
*::-webkit-scrollbar-track {
|
|
display: none;
|
|
}
|
|
|
|
*::-webkit-scrollbar-corner {
|
|
display: none;
|
|
}
|
|
|
|
*:hover::-webkit-scrollbar-thumb {
|
|
display: block;
|
|
}
|
|
}
|