-
+
+ @if (this.Icon is not null)
+ {
+
+ }
+ else
+ {
+
+ }
@(this.Text)
if (this.DropdownSelector)
diff --git a/COMETwebapp/Shared/SideBarEntry/SideBarItem.razor.cs b/COMETwebapp/Shared/SideBarEntry/SideBarItem.razor.cs
index 1e6f54ab..73737eeb 100644
--- a/COMETwebapp/Shared/SideBarEntry/SideBarItem.razor.cs
+++ b/COMETwebapp/Shared/SideBarEntry/SideBarItem.razor.cs
@@ -55,6 +55,12 @@ public partial class SideBarItem
[Parameter]
public string IconCssClass { get; set; }
+ ///
+ /// Gets or sets the icon to be displayed, overriding the selected , if set
+ ///
+ [Parameter]
+ public Type Icon { get; set; }
+
///
/// Gets or sets the text to be displayed
///
@@ -79,6 +85,17 @@ public partial class SideBarItem
[Parameter]
public RenderFragment ChildContent { get; set; }
+ ///
+ /// Gets the icon configuration to display
+ ///
+ private static Dictionary
IconConfiguration => new()
+ {
+ { "Size", 22 },
+ { "Color", "currentColor" },
+ { "StrokeWidth", 1.8f },
+ { "CssClass", "cursor-pointer" }
+ };
+
///
/// Executes the onclick action if the component is enabled
///
diff --git a/COMETwebapp/Shared/SideBarEntry/SideBarItem.razor.css b/COMETwebapp/Shared/SideBarEntry/SideBarItem.razor.css
index 25cdf97d..247b2420 100644
--- a/COMETwebapp/Shared/SideBarEntry/SideBarItem.razor.css
+++ b/COMETwebapp/Shared/SideBarEntry/SideBarItem.razor.css
@@ -29,7 +29,11 @@
}
.application-sidebar-icon {
- padding-right: 10px;
margin-top: -1.5px;
- padding-left: 10px;
}
+
+.application-item-content {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+}
\ No newline at end of file
diff --git a/COMETwebapp/wwwroot/css/app.css b/COMETwebapp/wwwroot/css/app.css
index 569dc6df..7ed23be5 100644
--- a/COMETwebapp/wwwroot/css/app.css
+++ b/COMETwebapp/wwwroot/css/app.css
@@ -244,6 +244,7 @@ div[id^="dropdown-customization-target-container-"] { display: flex; }
.collapsed .application-item-container {
width: 70px !important;
+ padding: 22px;
}
sub {
diff --git a/COMETwebapp/wwwroot/css/overwrite.css b/COMETwebapp/wwwroot/css/overwrite.css
index 5a373619..c9e6b5f0 100644
--- a/COMETwebapp/wwwroot/css/overwrite.css
+++ b/COMETwebapp/wwwroot/css/overwrite.css
@@ -78,4 +78,9 @@ h3, .h3 {
.dxbl-toolbar.dxbl-toolbar-adaptive > .dxbl-btn-toolbar{
bottom: 0!important;
+}
+
+.open-tab-box-container .dxbl-fl-cpt.dxbl-text {
+ color: var(--colors-gray-950);
+ font-weight: 500;
}
\ No newline at end of file
diff --git a/COMETwebapp/wwwroot/css/vars.css b/COMETwebapp/wwwroot/css/vars.css
index ffdc8d37..d90dde54 100644
--- a/COMETwebapp/wwwroot/css/vars.css
+++ b/COMETwebapp/wwwroot/css/vars.css
@@ -9,7 +9,7 @@
--colors-gray-700: #374151;
--colors-gray-800: #1F2937;
--colors-gray-900: #111827;
- --colors-gray-950: #030712;
+ --colors-gray-950: #0B0C0E;
--colors-primary-25: #F9FBFC;
--colors-primary-50: #F4F5F8;
--colors-primary-100: #EAECF1;