diff --git a/app/components/FilterPanel.vue b/app/components/FilterPanel.vue index 8b28571252..d1cf870796 100644 --- a/app/components/FilterPanel.vue +++ b/app/components/FilterPanel.vue @@ -250,7 +250,11 @@ const hasActiveFilters = computed(() => !!filterSummary.value) role="radio" :aria-checked="filters.downloadRange === range.value" class="tag transition-colors duration-200 focus-visible:ring-2 focus-visible:ring-fg focus-visible:ring-offset-1" - :class="filters.downloadRange === range.value ? 'bg-fg text-bg border-fg' : ''" + :class=" + filters.downloadRange === range.value + ? 'bg-fg text-bg border-fg hover:text-bg/50' + : '' + " @click="emit('update:downloadRange', range.value)" > {{ $t(getDownloadRangeLabelKey(range.value)) }} @@ -275,7 +279,11 @@ const hasActiveFilters = computed(() => !!filterSummary.value) role="radio" :aria-checked="filters.updatedWithin === option.value" class="tag transition-colors duration-200 focus-visible:ring-2 focus-visible:ring-fg focus-visible:ring-offset-1" - :class="filters.updatedWithin === option.value ? 'bg-fg text-bg border-fg' : ''" + :class=" + filters.updatedWithin === option.value + ? 'bg-fg text-bg border-fg hover:text-bg/70' + : '' + " @click="emit('update:updatedWithin', option.value)" > {{ $t(getUpdatedWithinLabelKey(option.value)) }} @@ -300,7 +308,9 @@ const hasActiveFilters = computed(() => !!filterSummary.value) disabled :aria-checked="filters.security === option.value" class="tag transition-colors duration-200 opacity-50 cursor-not-allowed focus-visible:ring-2 focus-visible:ring-fg focus-visible:ring-offset-1" - :class="filters.security === option.value ? 'bg-fg text-bg border-fg' : ''" + :class=" + filters.security === option.value ? 'bg-fg text-bg border-fg hover:text-bg/70' : '' + " > {{ $t(getSecurityLabelKey(option.value)) }} @@ -319,7 +329,9 @@ const hasActiveFilters = computed(() => !!filterSummary.value) type="button" :aria-pressed="filters.keywords.includes(keyword)" class="tag text-xs transition-colors duration-200 focus-visible:ring-2 focus-visible:ring-fg focus-visible:ring-offset-1" - :class="filters.keywords.includes(keyword) ? 'bg-fg text-bg border-fg' : ''" + :class=" + filters.keywords.includes(keyword) ? 'bg-fg text-bg border-fg hover:text-bg/70' : '' + " @click="emit('toggleKeyword', keyword)" > {{ keyword }}