Skip to content

Commit

Permalink
change(header): changed homepage text color
Browse files Browse the repository at this point in the history
- started also the changes to main header section when
  we are on the homepage where the header goes over the
  hero section
  • Loading branch information
ichim-david committed Jun 13, 2022
1 parent ca05477 commit 64ce8b6
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 9 deletions.
21 changes: 13 additions & 8 deletions theme/themes/eea/extras/header.less
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
gap: @dropdownMenuWrapperGap;
white-space: @dropdownMenuContentWhiteSpace;
margin: @dropdownMenuWrapperMargin;

&.language-list {
padding-inline-start: @dropdownMenuLanguageWrapperPaddingInlineStart;
}
Expand Down Expand Up @@ -117,7 +117,7 @@
}
a {
font-weight: @officialUnionLinkFontWeight;
white-space: @dropdownMenuContentWhiteSpace;
white-space: @dropdownMenuContentWhiteSpace;
color: @officialUnionLinkColor;
}
}
Expand Down Expand Up @@ -288,10 +288,15 @@

@media all and (max-width: @largestMobileScreen) {
.eea.header .top.bar .ui.container {
width: 100% !important; //override semantic auto to display content with space between them
width: 100% !important; //override semantic auto to display content with space between them
}
}

.homepage .eea.header {
position: absolute;
top: 0;
z-index: 1;
width: 100%;
}
/*----------------------------------------------------------------------------
Header Actions - Burger and Search Icons
----------------------------------------------------------------------------*/
Expand Down Expand Up @@ -370,7 +375,7 @@
.top.bar .ui.dropdown .menu {
margin-top: @tabletDropdownMenuMarginTop;
}

.top.bar .ui.dropdown .menu,
.top.bar .ui.dropdown .menu .item {
font-size: @tabletDropdownMenuFontSize;
Expand Down Expand Up @@ -531,11 +536,11 @@
color: @megaMenuTextColor;

&+ .ui.grid {

div.column:first-child {
padding-left: 0;
}

div.column:last-child {
padding-right: 0;
}
Expand Down Expand Up @@ -649,5 +654,5 @@
}
#mega-menu .title > a {
color: @megaMenuTextColor;
}
}
}
2 changes: 1 addition & 1 deletion theme/themes/eea/extras/header.variables
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
-----------------------*/

/* Main Section */
@headerMainSectionBackground : @white;
@headerMainSectionBackground : transparent;
@headerMainSectionTransparency : rgba(255, 255, 255, 0.1);

/* Logo */
Expand Down
4 changes: 4 additions & 0 deletions theme/themes/eea/globals/site.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@
[class*=' ri-'] {
fill: currentColor;
}

.homepage {
color: @tertiaryColor;
}

0 comments on commit 64ce8b6

Please sign in to comment.