Skip to content

Commit

Permalink
Smartmenus arrow contrast
Browse files Browse the repository at this point in the history
  • Loading branch information
indigoxela committed Jan 19, 2025
1 parent 6d2e1b4 commit 2c999c3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions css/bedrock-ui.css
Original file line number Diff line number Diff line change
Expand Up @@ -356,6 +356,19 @@ html.js .block-content ul.menu-dropdown .has-children > a {
.menu-dropdown ul a.highlighted {
background-color: var(--bedrock-bg-color-highlight);
}
/**
* Smartmenus: we can fix the arrow colors, but we can not fix the RTL mess.
*/
.menu-dropdown a.has-submenu .sub-arrow,
[dir="rtl"] .menu-dropdown a.has-submenu .sub-arrow {
border-color: transparent;
border-top-color: currentColor;
}
.menu-dropdown ul a.has-submenu span.sub-arrow,
[dir="rtl"] .menu-dropdown ul a.has-submenu .sub-arrow {
border-color: transparent;
border-left-color: currentColor;
}
/**
* Fallback solutions when JS is disabled and hover is available.
*/
Expand Down

0 comments on commit 2c999c3

Please sign in to comment.