Skip to content

Commit

Permalink
Make active filter buttons yellow(ish) instead of red.
Browse files Browse the repository at this point in the history
  • Loading branch information
craigsapp committed Jun 2, 2024
1 parent 45a71a9 commit 38ed7f1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/vhv-scripts/menu/makeFilterIcon.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function makeFilterIcon(filterList, title) {

let highlight = "";
if ((filterText !== "") && (filterText === string)) {
highlight = "highlight";
highlight = "highlight-filter-button";
}

output += `<span title="${title}" `;
Expand Down
8 changes: 8 additions & 0 deletions styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,14 @@ span.info {
padding-left: 20px;
}

.highlight-filter-button, .highlight-filter-button span {
color: #cc0;
fill: #cc0;
stroke: #cc0;
opacity: 1.0;
filter: url(#highlight-shadow);
}


.highlight {
color: #c00;
Expand Down

0 comments on commit 38ed7f1

Please sign in to comment.