Skip to content

Commit

Permalink
Implement filter-button-visible icon styling
Browse files Browse the repository at this point in the history
  • Loading branch information
kommunarr committed Aug 30, 2023
1 parent 60b0594 commit 1525582
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/renderer/components/top-nav/top-nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@
box-shadow: 0 0 $effect-distance var(--text-with-main-color);
}
}

&.showFilters {
background-color: var(--primary-text-color);
color: var(--card-bg-color);
}
}

.side {
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/top-nav/top-nav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
/>
<font-awesome-icon
class="navFilterIcon navIcon"
:class="{ filterChanged: searchFilterValueChanged }"
:class="{ filterChanged: searchFilterValueChanged, showFilters: showFilters }"
:aria-pressed="showFilters"
:icon="['fas', 'filter']"
:title="$t('Search Filters.Search Filters')"
Expand Down

0 comments on commit 1525582

Please sign in to comment.