Skip to content

Commit

Permalink
Merge pull request #8392 from infor-design/8391-masthead-colors
Browse files Browse the repository at this point in the history
8391 - Fix incorrect color on hover
  • Loading branch information
tmcconechy committed Jan 29, 2024
2 parents a5b01c5 + 1aa5f19 commit eb7af1c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
- `[Homepage]` Adjusted top and bottom padding of the widgets. ([#8362](https://github.com/infor-design/enterprise-wc/issues/8362))
- `[Locale]` Changed all `zh` locales time format as suggested by native speakers. ([#8313](https://github.com/infor-design/enterprise/issues/8313))
- `[Lookup]` Fixed clear button in keyword search not updating search results on click. ([#8258](https://github.com/infor-design/enterprise/issues/8258))
- `[Masthead]` Fixed incorrect color on hover. ([8391](https://github.com/infor-design/enterprise/issues/8391))
- `[Mask]` Alternative approach for checking instance of RegExp if `instanceof RegExp` returns false. ([8365](https://github.com/infor-design/enterprise/issues/8365))
- `[Modal]` Fixed a bug where the modal would shift up when toggling a switch inside of it. ([#8018](https://github.com/infor-design/enterprise/issues/8018))
- `[Modal]` Fixed a bug where textarea field is bigger than other fields on screen widths less that 400px. ([#8125](https://github.com/infor-design/enterprise/issues/8125))
Expand Down
2 changes: 1 addition & 1 deletion src/components/masthead/_masthead-new.scss
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
// Reset toolbar buttons hover
html[class*='theme-new-'] .masthead .flex-toolbar:not(.editor-toolbar):not(.formatter-toolbar):not(.contextual-toolbar) .toolbar-section [class^='btn']:not(:disabled):not(.searchfield-category-button),
.masthead .toolbar:not(.standalone) .buttonset [class^='btn']:not(.searchfield-category-button) {
border-radius: unset;
border-radius: 2px;

&:not(:disabled):hover {
background-color: transparent;
Expand Down
3 changes: 2 additions & 1 deletion src/components/masthead/_masthead.scss
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@
&:hover:not([disabled]) {
color: $masthead-button-hover-color;

.icon {
.icon,
svg.icon {
color: $masthead-button-hover-color;
}
}
Expand Down

0 comments on commit eb7af1c

Please sign in to comment.