mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-23 16:03:06 +00:00
Style xterm's own scrollbar slider with the scrollbar tokens, narrow it to 10px and blend the overview ruler border into the background. Claude-Session: https://claude.ai/code/session_01B65qLEKnkeYTGdbwhLpjCu
117 lines
1.9 KiB
CSS
117 lines
1.9 KiB
CSS
.root {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 0;
|
|
min-width: 0;
|
|
background: var(--bg-island, var(--bg-app));
|
|
}
|
|
|
|
.tabs {
|
|
min-width: 0;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.tabStrip {
|
|
min-width: 0;
|
|
border: 0;
|
|
background: none;
|
|
}
|
|
|
|
.tabActions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 2px;
|
|
padding: 0 2px;
|
|
}
|
|
|
|
.panels {
|
|
flex: 1;
|
|
position: relative;
|
|
min-height: 0;
|
|
}
|
|
|
|
.panel {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: flex;
|
|
}
|
|
.panel[hidden] {
|
|
display: none;
|
|
}
|
|
|
|
.split {
|
|
flex: 1;
|
|
}
|
|
|
|
.splitPanel {
|
|
display: flex;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
|
|
.pane {
|
|
flex: 1;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
padding: 6px 0 0 8px;
|
|
overflow: hidden;
|
|
outline: none;
|
|
}
|
|
|
|
.exited :global(.xterm-cursor-layer),
|
|
.exited :global(.xterm-cursor) {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.pane :global(.xterm) {
|
|
height: 100%;
|
|
}
|
|
.pane :global(.xterm-viewport) {
|
|
background-color: var(--bg-island, var(--bg-app)) !important;
|
|
}
|
|
.pane :global(.xterm .xterm-scrollable-element > .scrollbar > .slider) {
|
|
box-sizing: border-box;
|
|
border: 2px solid transparent;
|
|
border-radius: 6px;
|
|
background: var(--scrollbar-thumb) content-box;
|
|
}
|
|
.pane :global(.xterm .xterm-scrollable-element > .scrollbar > .slider:hover),
|
|
.pane :global(.xterm .xterm-scrollable-element > .scrollbar > .slider.active) {
|
|
background: var(--scrollbar-thumb-hover) content-box;
|
|
}
|
|
|
|
.rename {
|
|
padding: 6px;
|
|
width: 220px;
|
|
}
|
|
|
|
/* Find bar (⌘F) */
|
|
.find {
|
|
flex: none;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 4px 8px;
|
|
background: var(--bg-elev);
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
.findField {
|
|
flex: 0 1 360px;
|
|
min-width: 160px;
|
|
}
|
|
.findCount {
|
|
font-family: var(--font-mono);
|
|
font-size: var(--fs-small);
|
|
color: var(--fg-subtle);
|
|
padding: 0 6px;
|
|
white-space: nowrap;
|
|
min-width: 56px;
|
|
}
|
|
.findCountNone {
|
|
color: var(--danger);
|
|
}
|
|
.findSpacer {
|
|
flex: 1;
|
|
}
|