Files
bDS/src/renderer/components/WindowTitleBar/WindowTitleBar.css

70 lines
1.5 KiB
CSS

.window-titlebar {
height: 34px;
display: flex;
align-items: center;
justify-content: space-between;
background-color: var(--vscode-editorGroupHeader-tabsBackground, #252526);
border-bottom: 1px solid var(--vscode-editorGroupHeader-tabsBorder, #1e1e1e);
flex-shrink: 0;
-webkit-app-region: drag;
padding-right: 10px;
}
.window-titlebar-drag-region {
flex: 1;
height: 100%;
}
.window-titlebar-actions {
height: 100%;
display: flex;
align-items: center;
margin-right: 6px;
}
.window-titlebar-action-button {
display: flex;
align-items: center;
justify-content: center;
width: 30px;
height: 30px;
background: transparent;
border: none;
color: var(--vscode-foreground, #cccccc);
cursor: pointer;
border-radius: 4px;
-webkit-app-region: no-drag;
}
.window-titlebar-action-button:focus,
.window-titlebar-action-button:focus-visible {
outline: none;
box-shadow: none;
}
.window-titlebar-sidebar-icon {
width: 14px;
height: 14px;
border: 1.5px solid currentColor;
border-radius: 2px;
display: block;
position: relative;
overflow: hidden;
}
.window-titlebar-sidebar-pane {
position: absolute;
left: 0;
top: 0;
width: 50%;
height: 100%;
background-color: currentColor;
}
.window-titlebar-action-button:hover {
background-color: var(--vscode-toolbar-hoverBackground, rgba(90, 93, 94, 0.31));
}
.window-titlebar-action-button:active {
background-color: var(--vscode-toolbar-activeBackground, rgba(99, 102, 103, 0.31));
}