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 {
|
|
|
|
--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 06:50:33 +02:00
|
|
|
.tab-bar-wrapper {
|
|
|
|
position: relative;
|
2024-06-23 21:03:09 +02:00
|
|
|
user-select: none;
|
|
|
|
display: flex;
|
2024-07-22 22:33:10 +02:00
|
|
|
flex-direction: row;
|
2024-08-17 08:45:22 +02:00
|
|
|
width: env(titlebar-area-width);
|
2024-06-18 06:50:33 +02:00
|
|
|
|
2024-07-31 21:54:43 +02:00
|
|
|
.tabs-wrapper {
|
|
|
|
transition: var(--tabs-wrapper-transition);
|
|
|
|
height: 32px;
|
|
|
|
}
|
|
|
|
|
2024-06-18 06:50:33 +02:00
|
|
|
.tab-bar {
|
|
|
|
position: relative; // Needed for absolute positioning of child tabs
|
2024-07-09 07:31:38 +02:00
|
|
|
height: 33px;
|
2024-06-18 06:50:33 +02:00
|
|
|
}
|
|
|
|
|
2024-08-17 01:18:42 +02:00
|
|
|
.dev-label,
|
|
|
|
.app-menu-button {
|
2024-08-01 22:46:06 +02:00
|
|
|
height: 100%;
|
|
|
|
font-size: 26px;
|
|
|
|
user-select: none;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2024-08-17 01:18:42 +02:00
|
|
|
margin: 2px 2px 0 0;
|
2024-08-01 22:46:06 +02:00
|
|
|
}
|
|
|
|
|
2024-08-17 08:41:31 +02:00
|
|
|
.app-menu-button {
|
|
|
|
cursor: pointer;
|
|
|
|
color: var(--secondary-text-color);
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
color: var(--main-text-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-08-17 01:18:42 +02:00
|
|
|
.dev-label {
|
|
|
|
color: var(--accent-color);
|
2024-08-07 01:41:00 +02:00
|
|
|
}
|
|
|
|
|
2024-06-18 06:50:33 +02:00
|
|
|
.add-tab-btn {
|
2024-07-22 22:33:10 +02:00
|
|
|
width: 22px;
|
2024-06-23 21:03:09 +02:00
|
|
|
height: 100%;
|
2024-06-18 06:50:33 +02:00
|
|
|
cursor: pointer;
|
|
|
|
font-size: 14px;
|
|
|
|
text-align: center;
|
|
|
|
user-select: none;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2024-07-06 04:54:28 +02:00
|
|
|
opacity: 0.5;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
i {
|
2024-07-22 22:33:10 +02:00
|
|
|
overflow: hidden;
|
|
|
|
margin-top: 5px;
|
2024-07-06 04:54:28 +02:00
|
|
|
font-size: 11px;
|
|
|
|
}
|
2024-06-21 05:04:00 +02:00
|
|
|
}
|
|
|
|
|
2024-06-23 21:03:09 +02:00
|
|
|
.window-drag {
|
|
|
|
height: 100%;
|
2024-07-31 21:54:43 +02:00
|
|
|
width: var(--default-indent);
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
|
|
|
&.right {
|
|
|
|
flex-grow: 1;
|
|
|
|
}
|
2024-06-23 21:03:09 +02:00
|
|
|
}
|
|
|
|
|
2024-06-21 05:04:00 +02:00
|
|
|
// Customize scrollbar styles
|
|
|
|
.os-theme-dark,
|
|
|
|
.os-theme-light {
|
|
|
|
box-sizing: border-box;
|
2024-06-23 21:03:09 +02:00
|
|
|
--os-size: 2px;
|
2024-06-21 05:04:00 +02:00
|
|
|
--os-padding-perpendicular: 0px;
|
|
|
|
--os-padding-axis: 0px;
|
2024-06-23 21:03:09 +02:00
|
|
|
--os-track-border-radius: 2px;
|
2024-06-21 05:04:00 +02:00
|
|
|
--os-handle-interactive-area-offset: 0px;
|
2024-06-23 21:03:09 +02:00
|
|
|
--os-handle-border-radius: 2px;
|
2024-06-18 06:50:33 +02:00
|
|
|
}
|
2024-08-06 20:05:26 +02:00
|
|
|
|
2024-08-07 01:48:25 +02:00
|
|
|
.update-available-button {
|
2024-08-06 20:05:26 +02:00
|
|
|
height: 80%;
|
|
|
|
opacity: 0.7;
|
|
|
|
margin: auto 4px;
|
|
|
|
color: black;
|
|
|
|
background-color: var(--accent-color);
|
|
|
|
flex: 0 0 fit-content;
|
|
|
|
}
|
2024-06-18 06:50:33 +02:00
|
|
|
}
|