fix(ui): use default arrow cursors on non-link controls across the IDE (#6167)

## Summary
- Align non-link UI controls across the IDE with desktop IDE cursor conventions (`cursor: default` for controls, reserving `cursor: pointer` for links and editor canvas/gutter jump markers), matching `src/styles/global.css`.
- **VCS / Diff / Merge**: switch split diff divider apply arrows (`>>` / `<<`), hunk gutter buttons, hover Revert button, commit-inclusion checkboxes (`.cm-include-hunk`), collapsed-lines toggle, PR review gutter `+` button, three-way merge op buttons, branch star button, and merge/rebase widget buttons to `default`; add `var(--bg-toolbar-hover)` hover background to diff divider arrows so interactivity stays clear.
- **Workbench / Tool Windows / Popups**: remove `cursor: pointer` from buttons, checkboxes, tabs, list items, sortable table headers, and disclosure toggles across Settings, Tools, Plugins, Deployment, Search, Todo, Run, Services (keeping `pointer` on `.portChipLink`), Database, GitHub, Notebook, Viewers, Debugger, and LSP popups.

## Test plan
- [x] Verified formatting and lint via `oxfmt` / `oxlint`
- [x] Ran `pnpm vitest run src/features/vcs src/editor/lsp` (245 test files, 3330 tests passing)

Made with [Cursor](https://cursor.com)
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-26 20:43:02 +08:00
1 джерело da7125a944
коміт e909c50fe4
28 files changed
+8 -57

No files matched your search

-1
Переглянути файл
@@ -364,7 +364,6 @@
border-radius: 0 var(--radius-control, 4px) var(--radius-control, 4px) 0;
background: var(--bg-button-primary);
color: var(--fg-button-primary);
cursor: pointer;
}
.optionArrow:disabled {
opacity: 0.5;
-4
Переглянути файл
@@ -132,7 +132,6 @@
border: none;
background: none;
color: inherit;
cursor: pointer;
}
.branchLink {
min-width: 0;
@@ -325,7 +324,6 @@
border: 1px solid var(--border-checkbox);
border-radius: 3px;
background: var(--bg-checkbox);
cursor: pointer;
}
.viewedChecked {
border-color: var(--accent);
@@ -334,7 +332,6 @@
}
.editSource {
display: inline-flex;
cursor: pointer;
}
.onHover {
display: none;
@@ -426,7 +423,6 @@
border-bottom-right-radius: var(--radius-control);
background: var(--bg-button);
color: var(--fg);
cursor: pointer;
}
.optionArrow:hover {
background: var(--bg-control-hover);
-3
Переглянути файл
@@ -208,7 +208,6 @@
gap: var(--space-1-5);
padding: 2px 8px;
white-space: nowrap;
cursor: pointer;
}
.mention[data-active] {
background: var(--bg-list-selected);
@@ -233,7 +232,6 @@
color: var(--fg);
font: inherit;
font-size: 11px;
cursor: pointer;
}
.pill:hover:not(:disabled) {
background: var(--gh-reaction-bg-hover);
@@ -263,7 +261,6 @@
background: none;
font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
font-size: 22px;
cursor: pointer;
}
.pickerEmoji:hover,
.pickerEmoji[data-own] {