waveterm/public/style.less

80 lines
1.6 KiB
Plaintext
Raw Normal View History

2024-05-14 00:10:31 +02:00
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
@import "./reset.less";
:root {
--main-bg-color: #000000;
--border-color: #333333;
--main-color: #f7f7f7;
--base-font: normal 15px / normal "Lato", sans-serif;
2024-05-14 00:10:31 +02:00
--fixed-font: normal 12px / normal "Hack", monospace;
--app-accent-color: rgb(88, 193, 66);
--panel-bg-color: rgba(31, 33, 31, 1);
--highlight-bg-color: rgba(255, 255, 255, 0.2);
2024-05-14 18:37:41 +02:00
--markdown-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif,
"Apple Color Emoji", "Segoe UI Emoji";
}
body {
display: flex;
flex-direction: row;
width: 100vw;
height: 100vh;
background-color: var(--main-bg-color);
color: var(--main-color);
font: var(--base-font);
2024-05-13 23:48:59 +02:00
overflow: hidden;
}
2024-05-14 00:10:31 +02:00
.flex-spacer {
flex-grow: 1;
}
.text-fixed {
font: var(--fixed-font);
}
#main,
.mainapp {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
}
.titlebar {
height: 35px;
border-bottom: 1px solid var(--border-color);
2024-05-13 23:48:59 +02:00
flex-shrink: 0;
}
.workspace {
display: flex;
flex-direction: column;
width: 100%;
2024-05-13 23:48:59 +02:00
flex-grow: 1;
2024-05-14 00:10:31 +02:00
overflow: hidden;
}
2024-05-14 00:10:31 +02:00
.tab-bar {
display: flex;
flex-direction: row;
height: 35px;
border-bottom: 1px solid var(--border-color);
2024-05-13 23:48:59 +02:00
flex-shrink: 0;
.tab {
display: flex;
justify-content: center;
align-items: center;
width: 100px;
height: 100%;
border-right: 1px solid var(--border-color);
cursor: pointer;
&.active {
background-color: var(--highlight-bg-color);
}
}
}