Skip to content

Commit

Permalink
Menu: Mark button as pressed when menu open
Browse files Browse the repository at this point in the history
  • Loading branch information
eliandoran committed Nov 13, 2023
1 parent 5042643 commit e0c5710
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/breeze.less
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
}

&:active {
border-color: var(--breeze-accent-color) !important;
background-color: var(--breeze-toolbutton-active-highlight-background-color) !important;
}
}
5 changes: 5 additions & 0 deletions src/toolbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,11 @@ body:focus-within {
left: 98% !important; // right: 1px didn't work, this one is close enough.
}

&.show > button {
border-color: var(--breeze-accent-color) !important;
background-color: var(--breeze-toolbutton-active-highlight-background-color) !important;
}

.zoom-buttons {
--button-border-color: var(--breeze-border);
--button-background-color: var(--breeze-input-background);
Expand Down

0 comments on commit e0c5710

Please sign in to comment.