2024-06-18 12:50:33 +08:00
|
|
|
// Copyright 2024, Command Line Inc.
|
|
|
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
2024-07-22 13:33:10 -07:00
|
|
|
.tab-bar-wrapper {
|
|
|
|
|
--default-indent: 10px;
|
|
|
|
|
--darwin-not-fullscreen-indent: 74px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.darwin:not(.fullscreen) .tab-bar-wrapper {
|
|
|
|
|
.window-drag.left {
|
|
|
|
|
width: var(--darwin-not-fullscreen-indent);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-18 12:50:33 +08:00
|
|
|
.tab-bar-wrapper {
|
|
|
|
|
position: relative;
|
2024-06-24 03:03:09 +08:00
|
|
|
user-select: none;
|
|
|
|
|
display: flex;
|
2024-07-22 13:33:10 -07:00
|
|
|
flex-direction: row;
|
2024-08-16 23:45:22 -07:00
|
|
|
width: env(titlebar-area-width);
|
2024-06-18 12:50:33 +08:00
|
|
|
|
2024-08-01 03:54:43 +08:00
|
|
|
.tabs-wrapper {
|
|
|
|
|
transition: var(--tabs-wrapper-transition);
|
|
|
|
|
height: 32px;
|
|
|
|
|
}
|
|
|
|
|
|
2024-06-18 12:50:33 +08:00
|
|
|
.tab-bar {
|
|
|
|
|
position: relative; // Needed for absolute positioning of child tabs
|
2024-07-09 13:31:38 +08:00
|
|
|
height: 33px;
|
2024-06-18 12:50:33 +08:00
|
|
|
}
|
|
|
|
|
|
2024-08-16 16:18:42 -07:00
|
|
|
.dev-label,
|
|
|
|
|
.app-menu-button {
|
2024-08-01 13:46:06 -07:00
|
|
|
height: 100%;
|
|
|
|
|
font-size: 26px;
|
|
|
|
|
user-select: none;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2024-08-16 16:18:42 -07:00
|
|
|
margin: 2px 2px 0 0;
|
2024-08-01 13:46:06 -07:00
|
|
|
}
|
|
|
|
|
|
2024-08-16 23:41:31 -07:00
|
|
|
.app-menu-button {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
color: var(--secondary-text-color);
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
color: var(--main-text-color);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2024-08-16 16:18:42 -07:00
|
|
|
.dev-label {
|
|
|
|
|
color: var(--accent-color);
|
2024-08-06 16:41:00 -07:00
|
|
|
}
|
|
|
|
|
|
2024-06-18 12:50:33 +08:00
|
|
|
.add-tab-btn {
|
2024-07-22 13:33:10 -07:00
|
|
|
width: 22px;
|
2024-06-24 03:03:09 +08:00
|
|
|
height: 100%;
|
2024-06-18 12:50:33 +08:00
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
text-align: center;
|
|
|
|
|
user-select: none;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
2024-07-06 10:54:28 +08:00
|
|
|
opacity: 0.5;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
opacity: 1;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
i {
|
2024-07-22 13:33:10 -07:00
|
|
|
overflow: hidden;
|
|
|
|
|
margin-top: 5px;
|
2024-07-06 10:54:28 +08:00
|
|
|
font-size: 11px;
|
|
|
|
|
}
|
2024-06-21 11:04:00 +08:00
|
|
|
}
|
|
|
|
|
|
2024-06-24 03:03:09 +08:00
|
|
|
.window-drag {
|
|
|
|
|
height: 100%;
|
2024-08-01 03:54:43 +08:00
|
|
|
width: var(--default-indent);
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
|
|
&.right {
|
|
|
|
|
flex-grow: 1;
|
|
|
|
|
}
|
2024-06-24 03:03:09 +08:00
|
|
|
}
|
|
|
|
|
|
2024-06-21 11:04:00 +08:00
|
|
|
// Customize scrollbar styles
|
|
|
|
|
.os-theme-dark,
|
|
|
|
|
.os-theme-light {
|
|
|
|
|
box-sizing: border-box;
|
2024-06-24 03:03:09 +08:00
|
|
|
--os-size: 2px;
|
2024-06-21 11:04:00 +08:00
|
|
|
--os-padding-perpendicular: 0px;
|
|
|
|
|
--os-padding-axis: 0px;
|
2024-06-24 03:03:09 +08:00
|
|
|
--os-track-border-radius: 2px;
|
2024-06-21 11:04:00 +08:00
|
|
|
--os-handle-interactive-area-offset: 0px;
|
2024-06-24 03:03:09 +08:00
|
|
|
--os-handle-border-radius: 2px;
|
2024-06-18 12:50:33 +08:00
|
|
|
}
|
|
|
|
|
}
|