diff --git a/AGENTS.md b/AGENTS.md
new file mode 100644
index 0000000..077063f
--- /dev/null
+++ b/AGENTS.md
@@ -0,0 +1,7 @@
+# AGENTS Instructions
+
+## Pflichtregeln
+
+1. Bei jeder Dateiänderung oder Neuerstellung sind immer Windows Line Endings (CRLF) zu verwenden.
+2. Vor jeder Änderung muss `git status` geprüft werden und der Working Tree muss sauber sein.
+3. Nach Abschluss der Änderungen sind immer ein passender Git Commit und ein Git Push auszuführen.
diff --git a/App.xaml b/App.xaml
index fb9f320..4830049 100644
--- a/App.xaml
+++ b/App.xaml
@@ -12,7 +12,7 @@
-
+
diff --git a/MainWindow.xaml b/MainWindow.xaml
index 4c7b6a9..f6280d4 100644
--- a/MainWindow.xaml
+++ b/MainWindow.xaml
@@ -31,13 +31,13 @@
Height="Auto"
Fill="Transparent" />
+ Margin="1"
+ Background="{DynamicResource subtleTextColor}" />
+ Value="{DynamicResource subtleTextColor}" />
+ Value="10" />
@@ -127,7 +127,7 @@
+ Value="10" />
@@ -148,15 +148,29 @@
+
@@ -64,9 +101,9 @@
Grid.Row="1"
Height="70">
-
+ PreviewMouseDoubleClick="Info_TXT_OnMouseDoubleClick" />
-
+ PreviewMouseDoubleClick="Info_TXT_OnMouseDoubleClick" />
-
+ PreviewMouseDoubleClick="Info_TXT_OnMouseDoubleClick" />
-
+ PreviewMouseDoubleClick="Info_TXT_OnMouseDoubleClick" />
-
+ MouseDoubleClick="Info_TXT_OnMouseDoubleClick" />
-
diff --git a/UserControls/CustomProgressBar.xaml b/UserControls/CustomProgressBar.xaml
index 1017875..ef80ccf 100644
--- a/UserControls/CustomProgressBar.xaml
+++ b/UserControls/CustomProgressBar.xaml
@@ -6,7 +6,15 @@
xmlns:local="clr-namespace:C4IT_CustomerPanel.UserControls"
mc:Ignorable="d"
d:DesignHeight="50" d:DesignWidth="400" Loaded="UserControl_Loaded" SizeChanged="UserControl_SizeChanged">
-
-
+
+
+
diff --git a/UserControls/IncidentListItem.xaml b/UserControls/IncidentListItem.xaml
index 5a1857d..f5d2c87 100644
--- a/UserControls/IncidentListItem.xaml
+++ b/UserControls/IncidentListItem.xaml
@@ -9,14 +9,21 @@
mc:Ignorable="d"
d:DesignWidth="320"
FontSize="12"
- FontFamily="Arial"
+ FontFamily="Segoe UI"
Cursor="Hand"
>
-
-
+
+
@@ -29,24 +36,24 @@
-
+
-
+
-
+
-
-
-
+
+
+
diff --git a/UserControls/IncidentListItem.xaml.cs b/UserControls/IncidentListItem.xaml.cs
index fdbaa20..da0c726 100644
--- a/UserControls/IncidentListItem.xaml.cs
+++ b/UserControls/IncidentListItem.xaml.cs
@@ -167,12 +167,18 @@ namespace C4IT_CustomerPanel.UserControls
private void OnIncidentMouseEnter(object sender, MouseEventArgs e)
{
- HighlightIncidentBorder.BorderBrush = new SolidColorBrush((Color)ColorConverter.ConvertFromString("#2d45fb"));
+ if (Application.Current.TryFindResource("itemHoverBorderColor") is SolidColorBrush hoverBrush)
+ {
+ HighlightIncidentBorder.BorderBrush = hoverBrush;
+ }
}
private void OnIncidentMouseLeave(object sender, MouseEventArgs e)
{
- HighlightIncidentBorder.BorderBrush = new SolidColorBrush(Colors.White);
+ if (Application.Current.TryFindResource("cardBorderColor") is SolidColorBrush defaultBrush)
+ {
+ HighlightIncidentBorder.BorderBrush = defaultBrush;
+ }
}
}
diff --git a/UserControls/Incidents.xaml b/UserControls/Incidents.xaml
index 24b341f..4fa3f78 100644
--- a/UserControls/Incidents.xaml
+++ b/UserControls/Incidents.xaml
@@ -12,15 +12,27 @@
@@ -57,16 +71,19 @@
Grid.ColumnSpan="2"
Grid.Row="0">
-
-
+ Canvas.Left="0">
+
+
+
-
diff --git a/UserControls/PortalSearch.xaml b/UserControls/PortalSearch.xaml
index 7b6356a..a095c73 100644
--- a/UserControls/PortalSearch.xaml
+++ b/UserControls/PortalSearch.xaml
@@ -12,15 +12,25 @@
+
-
+ Canvas.Top="50"
+ Canvas.Left="0">
+ Margin="2,0,0,0" />
-
diff --git a/themes/ThemeDarkNav.xaml b/themes/ThemeDarkNav.xaml
index e0cc894..3795652 100644
--- a/themes/ThemeDarkNav.xaml
+++ b/themes/ThemeDarkNav.xaml
@@ -1,32 +1,44 @@
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/themes/ThemeLightNav.xaml b/themes/ThemeLightNav.xaml
index bcc9f37..814e330 100644
--- a/themes/ThemeLightNav.xaml
+++ b/themes/ThemeLightNav.xaml
@@ -1,28 +1,44 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+