Skip to content

Commit

Permalink
Merge pull request #977 from helsingborg-stad/feat/menu-item-separator
Browse files Browse the repository at this point in the history
feat: menu item separator init
  • Loading branch information
NiclasNorin authored Nov 25, 2024
2 parents 9b67692 + f3bf87d commit ee00799
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions source/sass/component/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,14 @@ $c-nav-h-font-size: var(--c-nav-h-font-size) !default;
height: calc(20 * $base);
}
}

&.c-nav__item--separator {
background-color: $color-primary-contrasting;

.c-nav__link .c-nav__text{
color: $color-primary;
}
}
}

.c-nav__toggle {
Expand Down Expand Up @@ -245,6 +253,12 @@ $c-nav-h-font-size: var(--c-nav-h-font-size) !default;
}
}
}

&.c-nav__item--separator {
.c-nav__text{
color: $color-primary;
}
}
}
}

Expand Down

0 comments on commit ee00799

Please sign in to comment.