diff --git a/src/OrchardCore.Modules/OrchardCore.AuditTrail/Navigation/AuditTrailSettingsAdminMenu.cs b/src/OrchardCore.Modules/OrchardCore.AuditTrail/Navigation/AuditTrailSettingsAdminMenu.cs
index 6e6e3699787..7da292f7f83 100644
--- a/src/OrchardCore.Modules/OrchardCore.AuditTrail/Navigation/AuditTrailSettingsAdminMenu.cs
+++ b/src/OrchardCore.Modules/OrchardCore.AuditTrail/Navigation/AuditTrailSettingsAdminMenu.cs
@@ -26,7 +26,7 @@ public Task BuildNavigationAsync(string name, NavigationBuilder builder)
.Add(S["Configuration"], configuration => configuration
.Add(S["Settings"], settings => settings
.Add(S["Audit Trail"], S["Audit Trail"].PrefixPosition(), settings => settings
- .AddClass("audittrail").Id("audittrail")
+ .AddClass("audittrail").Id("audittrailSettings")
.Action("Index", "Admin", new { area = "OrchardCore.Settings", groupId = AuditTrailSettingsGroup.Id })
.Permission(AuditTrailPermissions.ManageAuditTrailSettings)
.LocalNav())));
diff --git a/src/OrchardCore.Modules/OrchardCore.Users/Views/UserMenu.cshtml b/src/OrchardCore.Modules/OrchardCore.Users/Views/UserMenu.cshtml
index 648fbe97f86..a40f9e8651c 100644
--- a/src/OrchardCore.Modules/OrchardCore.Users/Views/UserMenu.cshtml
+++ b/src/OrchardCore.Modules/OrchardCore.Users/Views/UserMenu.cshtml
@@ -1,17 +1,18 @@
@inject IAuthorizationService AuthorizationService
-
diff --git a/src/OrchardCore.Themes/TheAdmin/Views/Layout.cshtml b/src/OrchardCore.Themes/TheAdmin/Views/Layout.cshtml
index 8812d39e3a6..1865fbe86df 100644
--- a/src/OrchardCore.Themes/TheAdmin/Views/Layout.cshtml
+++ b/src/OrchardCore.Themes/TheAdmin/Views/Layout.cshtml
@@ -43,18 +43,20 @@
@await RenderSectionAsync("NavbarTop", required: false)
@if (adminSettings.DisplayDarkMode)
{
-
+
+
}
-
+
@await DisplayAsync(await New.UserMenu())
@@ -65,7 +67,9 @@
@await RenderSectionAsync("Navigation", required: false)
diff --git a/src/OrchardCore.Themes/TheAdmin/wwwroot/css/TheAdmin.css b/src/OrchardCore.Themes/TheAdmin/wwwroot/css/TheAdmin.css
index c2c900dd991..341098ba8f8 100644
--- a/src/OrchardCore.Themes/TheAdmin/wwwroot/css/TheAdmin.css
+++ b/src/OrchardCore.Themes/TheAdmin/wwwroot/css/TheAdmin.css
@@ -22138,6 +22138,15 @@ a[dir]:root[data-theme=default] .badge-dark:focus, a[data-theme=default][dir]:ro
color: #495057;
text-decoration: none;
}
+:root[data-theme=default] .ta-navbar-top button {
+ border: 0;
+ background-color: transparent;
+ color: #495057;
+ padding: 0;
+}
+:root[data-theme=default] .ta-navbar-top button.ml-3 > span {
+ display: none;
+}
[dir]:root[data-theme=default] .ta-badge {
background-color: #e9ecef;
}
@@ -23214,6 +23223,9 @@ a[dir]:root[data-theme=default] .badge-dark:focus, a[data-theme=default][dir]:ro
transition-duration: 0.2s;
transform: scale(2, 1);
}
+[dir]:root[data-theme=default] button.leftbar-compactor > span {
+ display: none;
+}
[dir=ltr]:root[data-theme=default] .leftbar-compactor {
float: right;
}
@@ -45605,6 +45617,15 @@ a[dir]:root[data-theme=darkmode] .badge-dark:focus, a[dir]:root[data-theme=darkm
color: #dee2e6;
text-decoration: none;
}
+:root[data-theme=darkmode] .ta-navbar-top button {
+ border: 0;
+ background-color: transparent;
+ color: #dee2e6;
+ padding: 0;
+}
+:root[data-theme=darkmode] .ta-navbar-top button.ml-3 > span {
+ display: none;
+}
[dir]:root[data-theme=darkmode] .ta-badge {
background-color: #0c0d0e;
}
@@ -46681,6 +46702,9 @@ a[dir]:root[data-theme=darkmode] .badge-dark:focus, a[dir]:root[data-theme=darkm
transition-duration: 0.2s;
transform: scale(2, 1);
}
+[dir]:root[data-theme=darkmode] button.leftbar-compactor > span {
+ display: none;
+}
[dir=ltr]:root[data-theme=darkmode] .leftbar-compactor {
float: right;
}