Skip to content

Commit

Permalink
Added color for inverted active menu
Browse files Browse the repository at this point in the history
  • Loading branch information
ichim-david committed Oct 25, 2023
1 parent 59ebad4 commit 457e223
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions theme/themes/eea/collections/menu.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,7 @@

.ui.secondary.inverted.menu {
--inverted-text-color: @invertedItemTextColor;
--inverted-active-text-color: @white;
--inverted-hover-text-color: @white;
--inverted-bg-color: var(--bg-color, @secondaryColorCSSVar);
--inverted-secondary-border-color: @secondaryPointingInvertedBorderColor;
Expand Down
8 changes: 8 additions & 0 deletions theme/themes/eea/extras/custom.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@
.tabs-block {
--text-color: @textColor;
}

.blocks-chooser {
.searchbox {
height: auto !important;
Expand Down Expand Up @@ -157,6 +158,13 @@
.tabs-accessibility .RRT__panel {
--bg-color: @white;
}

// remove border from secondary active item so that when we use color
// it doesn't show a different color from the active background
.ui.secondary.inverted.menu .active.item {
border-color: transparent !important;
}

.border-top {
border: none !important;
border-top: 0.0625rem solid @midGray !important;
Expand Down

0 comments on commit 457e223

Please sign in to comment.