Skip to content

Commit

Permalink
change(breadcrumb): brought back pastanaga overrides to breadcrumbs
Browse files Browse the repository at this point in the history
- to be further tweaked to reach the desired look and feel but starting
  from the same base give by the pastanaga styling
  • Loading branch information
ichim-david committed Apr 19, 2022
1 parent a3f7ff8 commit bca1c93
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 22 deletions.
46 changes: 27 additions & 19 deletions theme/themes/eea/collections/breadcrumb.overrides
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
/*******************************
Pastanaga Theme Overrides
*******************************/

.ui.breadcrumb {
display: flex;
align-items: center;
padding-right: 1rem;
padding-left: 1rem;

//a.section {
// color: #0074a3;
//}
//
//.section.active {
// color: #4e7372;
//}

.home.icon {
margin-right: 0;
}

@media only screen and (min-width: @tabletBreakpoint) {
padding-right: 0;
padding-left: 0;
}
}
/*******************************
Theme Overrides
*******************************/
Expand All @@ -21,24 +48,5 @@
width: @breadcrumbIconWidth;
font-size: @breadcrumbIconFontSize;
}

a:first-child {
padding: @breadcrumbFirstChildPadding;
}
}

@media only screen and (min-width: @tabletBreakpoint) {
.ui.breadcrumb {
.section {
padding: @tabletBreadcrumbPadding;
}
}
}

@media only screen and (min-width: @computerBreakpoint) {
.ui.breadcrumb {
.section {
padding: @computerBreadcrumbPadding;
}
}
}
6 changes: 3 additions & 3 deletions theme/themes/eea/collections/breadcrumb.variables
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
--------------------*/

@verticalMargin: 0em;
@display: inline-block;
@display: flex;
@verticalAlign: middle;

@mobileBreadcrumbPadding: 0;
Expand All @@ -28,10 +28,10 @@
@dividerColor: @deepBlue;

@dividerSize: @relativeSmall;
@dividerVerticalAlign: sub;
@dividerVerticalAlign: baseline;

@iconDividerSize: 0.75rem;
@iconDividerVerticalAlign: sub;
@iconDividerVerticalAlign: baseline;

@sectionMargin: 0em;
@sectionPadding: 0em;
Expand Down

0 comments on commit bca1c93

Please sign in to comment.