源码
packages/desktop/src/renderer/editor-buttons.css
.workspace-editor-group {
display: flex;
flex-shrink: 0;
align-items: center;
height: 28px;
border: 1px solid var(--color-border);
border-radius: 8px;
overflow: hidden;
background: var(--color-input);
-webkit-app-region: no-drag;
}
.workspace-editor-group:hover {
border-color: var(--color-border-strong);
}
.workspace-editor-group button {
display: flex;
align-items: center;
justify-content: center;
height: 28px;
padding: 0;
border: 0;
border-radius: 0;
background: transparent;
flex-shrink: 0;
}
.workspace-editor-group button:hover:not(:disabled),
.workspace-editor-group button[aria-expanded="true"] {
background: var(--color-menu-hover);
color: var(--color-foreground);
}
.workspace-editor-open {
width: 28px;
}
.workspace-editor-select {
width: 20px;
color: var(--color-text-subtlest);
}
.workspace-editor-open img,
.workspace-editor-menu img {
width: 20px;
height: 20px;
object-fit: contain;
flex-shrink: 0;
}
.workspace-editor-menu {
width: 160px;
}
.workspace-editor-menu[data-platform="win32"] img,
.workspace-editor-group[data-platform="win32"] img {
width: 16px;
height: 16px;
}