diff --git a/BlazorAppTest/Pages/HxSidebarTest.razor b/BlazorAppTest/Pages/HxSidebarTest.razor index 9fe16df8..c7d34e47 100644 --- a/BlazorAppTest/Pages/HxSidebarTest.razor +++ b/BlazorAppTest/Pages/HxSidebarTest.razor @@ -1,37 +1,52 @@ @page "/HxSidebarTest" -

HxSidebarTest

+@page "/HxSidebarTest/Test1" +@page "/HxSidebarTest/Test2" +@page "/HxSidebarTest/Test3" +@page "/HxSidebarTest/Test4" +@page "/HxSidebarTest/Test5" +@page "/HxSidebarTest/Test6" +@page "/HxSidebarTest/Test7" +@page "/HxSidebarTest/Test8" +@page "/HxSidebarTest/Test9" +@page "/HxSidebarTest/Test10" +@page "/HxSidebarTest/Test11" +@page "/HxSidebarTest/Test12" -
- - - - +
@* div for CSS isolation *@ +

HxSidebarTest

- - - - - - - - - - - - - - - - - - - - - - +
+ + + + - - - - -
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
\ No newline at end of file diff --git a/BlazorAppTest/Pages/HxSidebarTest.razor.css b/BlazorAppTest/Pages/HxSidebarTest.razor.css new file mode 100644 index 00000000..1c45cfc8 --- /dev/null +++ b/BlazorAppTest/Pages/HxSidebarTest.razor.css @@ -0,0 +1,3 @@ +::deep .hx-sidebar { + --hx-sidebar-parent-item-active-icon-color: var(--bs-success); +} \ No newline at end of file diff --git a/Havit.Blazor.Components.Web.Bootstrap/Navigation/HxSidebarItem.razor b/Havit.Blazor.Components.Web.Bootstrap/Navigation/HxSidebarItem.razor index bcfd8d9c..b43f6f43 100644 --- a/Havit.Blazor.Components.Web.Bootstrap/Navigation/HxSidebarItem.razor +++ b/Havit.Blazor.Components.Web.Bootstrap/Navigation/HxSidebarItem.razor @@ -80,7 +80,7 @@ else { ::deep.hx-sidebar-item .hx-sidebar-item-icon { color: var(--hx-sidebar-parent-item-active-icon-color); }