Skip to content

Commit

Permalink
wip modifying menu classes so that we can use css variables for tab m…
Browse files Browse the repository at this point in the history
…enus
  • Loading branch information
ichim-david committed Sep 5, 2023
1 parent ecd74cf commit f8a55c5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions theme/themes/eea/collections/menu.variables
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,9 @@
@secondaryHoverItemBackground: @transparentBlack;
@secondaryHoverItemColor: @selectedTextColor;

@secondaryActiveItemBackground: @transparentBlack;
@secondaryActiveItemBackground: var(--bg-color, @white);
@secondaryActiveItemColor: @selectedTextColor;
@secondaryActiveHoverItemBackground: @transparentBlack;
@secondaryActiveHoverItemBackground: @secondaryActiveItemBackground;
@secondaryActiveHoverItemColor: @selectedTextColor;

@secondaryActiveHoveredItemBackground: @transparentBlack;
Expand Down Expand Up @@ -256,8 +256,8 @@

@secondaryPointingHoverTextColor: var(--text-color-hover, @textColor);

@secondaryPointingActiveBorderColor: @secondaryColor;
@secondaryPointingActiveTextColor: @secondaryColor;
@secondaryPointingActiveBorderColor: @secondaryColorCSSVar;
@secondaryPointingActiveTextColor: @secondaryColorCSSVar;
@secondaryPointingActiveFontWeight: @normal;

@secondaryPointingActiveDropdownBorderColor: transparent;
Expand All @@ -270,7 +270,7 @@


@secondaryPointingItemBorderBottom: @1px solid @midGray;
@secondaryPointingItemMaxWidth: 15.625rem;
@secondaryPointingItemMaxWidth: 15.625rem;

/* Inverted Secondary */
@secondaryInvertedColor: @invertedLightTextColor;
Expand Down
6 changes: 3 additions & 3 deletions theme/themes/eea/modules/accordion.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,9 @@
--------------------------------*/

.ui.menu.RRT__accordion {
.ui.item {
background-color: transparent;
}
//.ui.item {
// background-color: transparent;
//}

.ui.item .icon {
font-size: @iconFontSize;
Expand Down
2 changes: 1 addition & 1 deletion theme/themes/eea/modules/tab.variables
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Tab
*******************************/
@tabsBlockColor: @textColor;
@tabActiveItemHoverColor: @secondaryColor;
@tabActiveItemHoverColor: @secondaryColorCSSVar;

@mobileItemFontSize: 1rem;
@mobileItemPadding: 1rem 0.25rem;
Expand Down

0 comments on commit f8a55c5

Please sign in to comment.