From 7e079bd94fb61a142e8203ba283206e40265fbd9 Mon Sep 17 00:00:00 2001 From: kalu5 <451660550@qq.com> Date: Sat, 7 Feb 2026 22:29:03 +0800 Subject: [PATCH 1/2] feat: use default cursor for non-link items --- app/assets/main.css | 12 +++++++++++- app/components/ColumnPicker.vue | 6 +----- app/components/DependencyPathPopup.vue | 2 +- app/components/Header/AuthModal.client.vue | 2 +- app/components/Header/ConnectorModal.vue | 4 +--- app/components/Org/OperationsQueue.vue | 2 +- app/components/Package/ClaimPackageModal.vue | 2 +- app/components/Package/ListControls.vue | 2 +- app/components/Package/ListToolbar.vue | 2 +- app/components/Package/ManagerSelect.vue | 2 +- app/components/Package/Table.vue | 7 +++---- app/components/PaginationControls.vue | 2 +- app/components/Settings/AccentColorPicker.vue | 4 ++-- app/components/Settings/BgThemePicker.vue | 2 +- app/components/Settings/Toggle.client.vue | 2 +- app/components/Tag/RadioButton.vue | 2 +- app/components/UserCombobox.vue | 2 +- app/components/VersionSelector.vue | 2 +- app/pages/settings.vue | 4 ++-- 19 files changed, 33 insertions(+), 30 deletions(-) diff --git a/app/assets/main.css b/app/assets/main.css index 2ed934ff8..e1d57bfbd 100644 --- a/app/assets/main.css +++ b/app/assets/main.css @@ -202,7 +202,17 @@ dd { /* Reset button styles */ button { - cursor: pointer; + background: transparent; + border: none; + font: inherit; + padding: 0; +} + +button:focus-visible, +select:focus-visible { + outline: 2px solid var(--accent); + outline-offset: 2px; + border-radius: 4px; } /* Selection */ diff --git a/app/components/ColumnPicker.vue b/app/components/ColumnPicker.vue index e254b77b3..4624c6ca6 100644 --- a/app/components/ColumnPicker.vue +++ b/app/components/ColumnPicker.vue @@ -102,11 +102,7 @@ function handleReset() { v-for="column in toggleableColumns" :key="column.id" class="flex gap-2 items-center px-3 py-2 transition-colors duration-200" - :class=" - column.disabled - ? 'opacity-50 cursor-not-allowed' - : 'hover:bg-bg-muted cursor-pointer' - " + :class="column.disabled ? 'opacity-50 cursor-not-allowed' : 'hover:bg-bg-muted'" >