Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
Menu Icons - added support for bootstrap vue icons
DanielŻuławskib1cd020f726b
diff --git a/src/Web/Grand.Web/Views/Shared/_CategoryLine.Menu.cshtml b/src/Web/Grand.Web/Views/Shared/_CategoryLine.Menu.cshtmlindex 00c2f9c2e..ccd741347 100644--- a/src/Web/Grand.Web/Views/Shared/_CategoryLine.Menu.cshtml+++ b/src/Web/Grand.Web/Views/Shared/_CategoryLine.Menu.cshtml@@ -9,7 +9,7 @@<a href="@Url.RouteUrl("Category", new { SeName = Model.Category.SeName })">@if (!string.IsNullOrEmpty(Model.Category.Icon)){- <span class="category-icon @Model.Category.Icon"></span>+ <b-icon class="category-icon" icon="@Model.Category.Icon"></b-icon>}<span>@Model.Category.Name</span>@if (!string.IsNullOrEmpty(Model.Category.FlagStyle))@@ -23,7 +23,7 @@<div>@if (!string.IsNullOrEmpty(Model.Category.Icon)){- <span class="category-icon @Model.Category.Icon"></span>+ <b-icon class="category-icon" icon="@Model.Category.Icon"></b-icon>}<span>@Model.Category.Name</span>@if (!string.IsNullOrEmpty(Model.Category.FlagStyle))diff --git a/src/Web/Grand.Web/wwwroot/theme/css/common/common.css b/src/Web/Grand.Web/wwwroot/theme/css/common/common.cssindex b59186f6a..44ec04dd9 100644--- a/src/Web/Grand.Web/wwwroot/theme/css/common/common.css+++ b/src/Web/Grand.Web/wwwroot/theme/css/common/common.css@@ -245,6 +245,9 @@ ul.Menu.-vertical {.Menu li.category > div > span, .Menu li.category > a {font-weight: 700;}+ .Menu li.category .b-icon {+ margin: 0 15px 0 0;+ }.Menu li:not(.category) {background-color: #fff;}diff --git a/src/Web/Grand.Web/wwwroot/theme/css/common/common.rtl.css b/src/Web/Grand.Web/wwwroot/theme/css/common/common.rtl.cssindex 12026c113..dde735a98 100644--- a/src/Web/Grand.Web/wwwroot/theme/css/common/common.rtl.css+++ b/src/Web/Grand.Web/wwwroot/theme/css/common/common.rtl.css@@ -356,6 +356,9 @@ body:not(.modal-open) {.Menu li.category > div > span, .Menu li.category > a {font-weight: 700;}+ .Menu li.category .b-icon {+ margin: 0 0 0 15px;+ }.Menu li .badge {position: absolute;top: 0;