2024-06-18 06:50:33 +02:00
|
|
|
// Copyright 2024, Command Line Inc.
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2024-07-22 22:33:10 +02:00
|
|
|
.tab-bar-wrapper {
|
2024-12-04 22:49:14 +01:00
|
|
|
--default-indent: 10px;
|
|
|
|
--darwin-not-fullscreen-indent: 74px;
|
2024-07-22 22:33:10 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.darwin:not(.fullscreen) .tab-bar-wrapper {
|
2024-12-04 22:49:14 +01:00
|
|
|
.window-drag.left {
|
|
|
|
width: var(--darwin-not-fullscreen-indent);
|
|
|
|
}
|
2024-07-22 22:33:10 +02:00
|
|
|
}
|
|
|
|
|
2024-10-14 23:57:12 +02:00
|
|
|
.config-error-message {
|
2024-12-04 22:49:14 +01:00
|
|
|
max-width: 500px;
|
2024-10-14 23:57:12 +02:00
|
|
|
|
2024-12-04 22:49:14 +01:00
|
|
|
h3 {
|
|
|
|
margin-bottom: 10px;
|
|
|
|
}
|
2024-10-14 23:57:12 +02:00
|
|
|
|
2024-12-04 22:49:14 +01:00
|
|
|
margin-bottom: 20px;
|
2024-10-14 23:57:12 +02:00
|
|
|
}
|
|
|
|
|
2024-06-18 06:50:33 +02:00
|
|
|
.tab-bar-wrapper {
|
2024-12-12 03:25:36 +01:00
|
|
|
padding-top: 6px;
|
2024-12-04 22:49:14 +01:00
|
|
|
position: relative;
|
2024-06-23 21:03:09 +02:00
|
|
|
user-select: none;
|
|
|
|
display: flex;
|
2024-12-04 22:49:14 +01:00
|
|
|
flex-direction: row;
|
2024-12-11 21:52:15 +01:00
|
|
|
width: 100vw;
|
|
|
|
-webkit-app-region: drag;
|
2024-12-10 21:50:58 +01:00
|
|
|
|
2024-12-12 03:25:36 +01:00
|
|
|
button {
|
2024-12-11 21:52:15 +01:00
|
|
|
-webkit-app-region: no-drag;
|
|
|
|
}
|
2024-08-17 08:41:31 +02:00
|
|
|
|
2024-12-04 22:49:14 +01:00
|
|
|
.tabs-wrapper {
|
|
|
|
transition: var(--tabs-wrapper-transition);
|
2024-12-10 21:50:58 +01:00
|
|
|
height: 26px;
|
2024-12-04 22:49:14 +01:00
|
|
|
}
|
2024-08-17 08:41:31 +02:00
|
|
|
|
2024-12-04 22:49:14 +01:00
|
|
|
.tab-bar {
|
|
|
|
position: relative; // Needed for absolute positioning of child tabs
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2024-12-10 21:50:58 +01:00
|
|
|
height: 27px;
|
2024-12-12 03:25:36 +01:00
|
|
|
-webkit-app-region: no-drag;
|
2024-08-07 01:41:00 +02:00
|
|
|
}
|
|
|
|
|
2024-12-04 22:49:14 +01:00
|
|
|
.pinned-tab-spacer {
|
|
|
|
display: block;
|
|
|
|
height: 100%;
|
|
|
|
margin: 2px;
|
|
|
|
border: 1px solid var(--border-color);
|
2024-10-14 23:57:12 +02:00
|
|
|
}
|
|
|
|
|
2024-12-04 22:49:14 +01:00
|
|
|
.dev-label,
|
|
|
|
.app-menu-button {
|
|
|
|
font-size: 26px;
|
|
|
|
user-select: none;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2024-12-12 03:25:36 +01:00
|
|
|
padding: 0 6px 0 0;
|
2024-06-21 05:04:00 +02:00
|
|
|
}
|
|
|
|
|
2024-12-04 22:49:14 +01:00
|
|
|
.app-menu-button {
|
|
|
|
cursor: pointer;
|
|
|
|
color: var(--secondary-text-color);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--main-text-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dev-label {
|
|
|
|
color: var(--accent-color);
|
|
|
|
}
|
|
|
|
|
2024-12-12 03:25:36 +01:00
|
|
|
.tab-bar-right {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
gap: 6px;
|
|
|
|
&:not(:empty) {
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: 6px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-12-04 22:49:14 +01:00
|
|
|
.config-error-button {
|
|
|
|
color: black;
|
2024-12-12 03:25:36 +01:00
|
|
|
padding: 0 6px;
|
2024-12-04 22:49:14 +01:00
|
|
|
flex: 0 0 fit-content;
|
|
|
|
}
|
|
|
|
|
2024-12-12 03:25:36 +01:00
|
|
|
.add-tab {
|
|
|
|
padding: 0 10px;
|
2024-12-04 22:49:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.window-drag {
|
|
|
|
height: 100%;
|
|
|
|
width: var(--default-indent);
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
&.right {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
}
|
2024-06-23 21:03:09 +02:00
|
|
|
|
2024-12-04 22:49:14 +01:00
|
|
|
// Customize scrollbar styles
|
|
|
|
.os-theme-dark,
|
|
|
|
.os-theme-light {
|
|
|
|
box-sizing: border-box;
|
|
|
|
--os-size: 2px;
|
|
|
|
--os-padding-perpendicular: 0px;
|
|
|
|
--os-padding-axis: 0px;
|
|
|
|
--os-track-border-radius: 2px;
|
|
|
|
--os-handle-interactive-area-offset: 0px;
|
|
|
|
--os-handle-border-radius: 2px;
|
2024-06-18 06:50:33 +02:00
|
|
|
}
|
|
|
|
}
|