Skip to content

Commit

Permalink
Fix count background when menu items are hovered or selected (mozilla…
Browse files Browse the repository at this point in the history
…#3411)

* Fix count background when hovering filters
* Fix count background color when sidebar item is selected
  • Loading branch information
mathjazz authored Oct 16, 2024
1 parent c254bab commit 8c301bb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions pontoon/base/static/css/sidebar_menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@
float: right;
}

.menu.left-column li.selected .count {
background: var(--button-background-1);
float: right;
}

.menu.right-column {
background: var(--dark-grey-1);
float: right;
Expand Down
2 changes: 1 addition & 1 deletion translate/src/modules/search/components/FiltersPanel.css
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
}

.filters-panel .menu li:hover .count {
background: var(--translation-background);
background: var(--button-background-1);
color: var(--light-grey-6);
}

Expand Down

0 comments on commit 8c301bb

Please sign in to comment.