Skip to content

Commit adc8d07

Browse files
authored
feat: use default cursor for non-link items (#1216)
1 parent 5d279f7 commit adc8d07

19 files changed

+22
-34
lines changed

app/assets/main.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,11 +236,6 @@ dd {
236236
margin: 0;
237237
}
238238

239-
/* Reset button styles */
240-
button {
241-
cursor: pointer;
242-
}
243-
244239
/* Selection */
245240
::selection {
246241
background-color: var(--fg-muted);

app/components/ColumnPicker.vue

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,7 @@ function handleReset() {
102102
v-for="column in toggleableColumns"
103103
:key="column.id"
104104
class="flex gap-2 items-center px-3 py-2 transition-colors duration-200"
105-
:class="
106-
column.disabled
107-
? 'opacity-50 cursor-not-allowed'
108-
: 'hover:bg-bg-muted cursor-pointer'
109-
"
105+
:class="column.disabled ? 'opacity-50 cursor-not-allowed' : 'hover:bg-bg-muted'"
110106
>
111107
<input
112108
type="checkbox"

app/components/DependencyPathPopup.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ function parsePackageString(pkg: string): { name: string; version: string } {
6868
<!-- Path badge button -->
6969
<button
7070
type="button"
71-
class="path-badge font-mono text-3xs px-1.5 py-0.5 rounded bg-amber-500/10 border border-amber-500/30 text-amber-700 dark:text-amber-400 cursor-pointer transition-all duration-200 ease-out whitespace-nowrap flex items-center gap-1 hover:bg-amber-500/20 hover:border-amber-500/50"
71+
class="path-badge font-mono text-3xs px-1.5 py-0.5 rounded bg-amber-500/10 border border-amber-500/30 text-amber-700 dark:text-amber-400 transition-all duration-200 ease-out whitespace-nowrap flex items-center gap-1 hover:bg-amber-500/20 hover:border-amber-500/50"
7272
:aria-expanded="isOpen"
7373
@click.stop="togglePopup"
7474
>

app/components/Header/AuthModal.client.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ watch(handleInput, newHandleInput => {
105105

106106
<details class="text-sm">
107107
<summary
108-
class="text-fg-subtle cursor-pointer hover:text-fg-muted transition-colors duration-200 focus-visible:(outline-2 outline-accent/70)"
108+
class="text-fg-subtle hover:text-fg-muted transition-colors duration-200 focus-visible:(outline-2 outline-accent/70)"
109109
>
110110
{{ $t('auth.modal.what_is_atmosphere') }}
111111
</summary>

app/components/Header/ConnectorModal.vue

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,7 @@ function handleDisconnect() {
173173
</div>
174174

175175
<details class="text-sm">
176-
<summary
177-
class="text-fg-subtle cursor-pointer hover:text-fg-muted transition-colors duration-200"
178-
>
176+
<summary class="text-fg-subtle hover:text-fg-muted transition-colors duration-200">
179177
{{ $t('connector.modal.advanced') }}
180178
</summary>
181179
<div class="mt-3">

app/components/Org/OperationsQueue.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ watch(isExecuting, executing => {
292292
<!-- Completed operations log (collapsed by default) -->
293293
<details v-if="hasCompletedOperations" class="mt-4 border-t border-border pt-4">
294294
<summary
295-
class="flex items-center gap-2 font-mono text-xs text-fg-muted cursor-pointer hover:text-fg transition-colors duration-200 select-none"
295+
class="flex items-center gap-2 font-mono text-xs text-fg-muted hover:text-fg transition-colors duration-200 select-none"
296296
>
297297
<span
298298
class="i-carbon:chevron-right rtl-flip w-3 h-3 transition-transform duration-200 [[open]>&]:rotate-90"

app/components/Package/ClaimPackageModal.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ const previewPackageJson = computed(() => {
344344
<!-- Expandable package.json preview -->
345345
<details class="border border-border rounded-md overflow-hidden">
346346
<summary
347-
class="px-3 py-2 text-sm text-fg-muted bg-bg-subtle cursor-pointer hover:text-fg transition-colors select-none"
347+
class="px-3 py-2 text-sm text-fg-muted bg-bg-subtle hover:text-fg transition-colors select-none"
348348
>
349349
{{ $t('claim.modal.preview_json') }}
350350
</summary>

app/components/Package/ListControls.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const showFilteredCount = computed(() => {
7878
<select
7979
id="package-sort"
8080
v-model="sortValue"
81-
class="appearance-none bg-bg-subtle border border-border rounded-lg ps-3 pe-8 py-2 font-mono text-sm text-fg cursor-pointer transition-colors duration-200 focus:(border-border-hover outline-none) hover:border-border-hover"
81+
class="appearance-none bg-bg-subtle border border-border rounded-lg ps-3 pe-8 py-2 font-mono text-sm text-fg transition-colors duration-200 focus:(border-border-hover outline-none) hover:border-border-hover"
8282
>
8383
<option v-for="option in sortOptions" :key="option.value" :value="option.value">
8484
{{ option.label }}

app/components/Package/ListToolbar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ function getSortKeyLabelKey(key: SortKey): string {
162162
<select
163163
id="sort-select"
164164
:value="currentSort.key"
165-
class="appearance-none bg-bg-subtle border border-border rounded-md ps-3 pe-8 py-1.5 font-mono text-sm text-fg cursor-pointer transition-colors duration-200 hover:border-border-hover"
165+
class="appearance-none bg-bg-subtle border border-border rounded-md ps-3 pe-8 py-1.5 font-mono text-sm text-fg transition-colors duration-200 hover:border-border-hover"
166166
@change="handleSortKeyChange"
167167
>
168168
<option

app/components/Package/ManagerSelect.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ function handleKeydown(event: KeyboardEvent) {
150150
:key="pm.id"
151151
role="option"
152152
:aria-selected="selectedPM === pm.id"
153-
class="flex items-center gap-2 px-3 py-1.5 font-mono text-xs cursor-pointer transition-colors duration-150"
153+
class="flex items-center gap-2 px-3 py-1.5 font-mono text-xs transition-colors duration-150"
154154
:class="[
155155
selectedPM === pm.id ? 'text-fg' : 'text-fg-subtle',
156156
highlightedIndex === index ? 'bg-bg-elevated' : 'hover:bg-bg-elevated',

0 commit comments

Comments
 (0)