Skip to content

Commit 2ca2a38

Browse files
Added new variables for the expandable navbar section
1 parent 6c48238 commit 2ca2a38

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

src/app/navbar/expandable-navbar-section/expandable-navbar-section.component.scss

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,20 @@
66
}
77

88
.dropdown-menu {
9-
background-color: var(--ds-navbar-bg);
9+
background-color: var(--ds-expandable-navbar-bg);
1010
overflow: hidden;
1111
min-width: 100%;
1212
border-top-left-radius: 0;
1313
border-top-right-radius: 0;
1414
::ng-deep a.nav-link {
15+
color: var(--ds-expandable-navbar-link-color) !important;
1516
padding-right: var(--bs-spacer);
1617
padding-left: var(--bs-spacer);
1718
white-space: nowrap;
19+
20+
&:hover, &:focus {
21+
color: var(--ds-expandable-navbar-link-color-hover) !important;
22+
}
1823
}
1924
}
2025

src/styles/_custom_variables.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929
--ds-header-navbar-border-bottom-color: #{$gray-400};
3030
--ds-navbar-link-color: #{$cyan};
3131
--ds-navbar-link-color-hover: #{darken($cyan, 15%)};
32+
--ds-expandable-navbar-bg: var(--ds-navbar-bg);
33+
--ds-expandable-navbar-link-color: var(--ds-navbar-link-color);
34+
--ds-expandable-navbar-link-color-hover: var(--ds-navbar-link-color-hover);
3235

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

0 commit comments

Comments
 (0)