Skip to content

Commit

Permalink
Added new variables for the expandable navbar section
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandrevryghem committed Sep 29, 2023
1 parent 6c48238 commit 2ca2a38
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,20 @@
}

.dropdown-menu {
background-color: var(--ds-navbar-bg);
background-color: var(--ds-expandable-navbar-bg);
overflow: hidden;
min-width: 100%;
border-top-left-radius: 0;
border-top-right-radius: 0;
::ng-deep a.nav-link {
color: var(--ds-expandable-navbar-link-color) !important;
padding-right: var(--bs-spacer);
padding-left: var(--bs-spacer);
white-space: nowrap;

&:hover, &:focus {
color: var(--ds-expandable-navbar-link-color-hover) !important;
}
}
}

Expand Down
3 changes: 3 additions & 0 deletions src/styles/_custom_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@
--ds-header-navbar-border-bottom-color: #{$gray-400};
--ds-navbar-link-color: #{$cyan};
--ds-navbar-link-color-hover: #{darken($cyan, 15%)};
--ds-expandable-navbar-bg: var(--ds-navbar-bg);
--ds-expandable-navbar-link-color: var(--ds-navbar-link-color);
--ds-expandable-navbar-link-color-hover: var(--ds-navbar-link-color-hover);

$admin-sidebar-bg: darken(#2B4E72, 17%);
$admin-sidebar-active-bg: darken($admin-sidebar-bg, 3%);
Expand Down

0 comments on commit 2ca2a38

Please sign in to comment.