From 4b1f773c6f204a27a4fe307c36a096446705bfef Mon Sep 17 00:00:00 2001 From: Daniel Schick Date: Mon, 30 Sep 2024 08:36:45 +0200 Subject: [PATCH] changed last change highlight colors --- src/BreCalClient/ShipcallControl.xaml.cs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/BreCalClient/ShipcallControl.xaml.cs b/src/BreCalClient/ShipcallControl.xaml.cs index 22f620d..d8e30d0 100644 --- a/src/BreCalClient/ShipcallControl.xaml.cs +++ b/src/BreCalClient/ShipcallControl.xaml.cs @@ -330,12 +330,12 @@ namespace BreCalClient Grid.SetRowSpan(this.labelAgent, 1); if(lastToUpdate == Extensions.ParticipantType.AGENCY) { - this.labelLastChangeAgency.Foreground = Brushes.Pink; + this.labelLastChangeAgency.Foreground = Brushes.White; this.labelLastChangeAgency.FontWeight = FontWeights.DemiBold; } else { - this.labelLastChangeAgency.Foreground = Brushes.WhiteSmoke; + this.labelLastChangeAgency.Foreground = Brushes.LightGray; this.labelLastChangeAgency.FontWeight = FontWeights.Normal; } } @@ -375,12 +375,12 @@ namespace BreCalClient Grid.SetRowSpan(this.labelMooring, 1); if (lastToUpdate == Extensions.ParticipantType.MOORING) { - this.labelLastChangeMooring.Foreground = Brushes.Pink; + this.labelLastChangeMooring.Foreground = Brushes.White; this.labelLastChangeMooring.FontWeight = FontWeights.DemiBold; } else { - this.labelLastChangeMooring.Foreground = Brushes.WhiteSmoke; + this.labelLastChangeMooring.Foreground = Brushes.LightGray; this.labelLastChangeMooring.FontWeight = FontWeights.Normal; } } @@ -409,12 +409,12 @@ namespace BreCalClient Grid.SetRowSpan(this.labelPortAuthority, 1); if (lastToUpdate == Extensions.ParticipantType.PORT_ADMINISTRATION) { - this.labelLastChangePortAuthority.Foreground = Brushes.Pink; + this.labelLastChangePortAuthority.Foreground = Brushes.White; this.labelLastChangePortAuthority.FontWeight = FontWeights.DemiBold; } else { - this.labelLastChangePortAuthority.Foreground = Brushes.WhiteSmoke; + this.labelLastChangePortAuthority.Foreground = Brushes.LightGray; this.labelLastChangePortAuthority.FontWeight = FontWeights.Normal; } } @@ -438,12 +438,12 @@ namespace BreCalClient Grid.SetRowSpan(this.labelPilot, 1); if (lastToUpdate == Extensions.ParticipantType.PILOT) { - this.labelLastChangePilot.Foreground = Brushes.Pink; + this.labelLastChangePilot.Foreground = Brushes.White; this.labelLastChangePilot.FontWeight = FontWeights.DemiBold; } else { - this.labelLastChangePilot.Foreground = Brushes.WhiteSmoke; + this.labelLastChangePilot.Foreground = Brushes.LightGray; this.labelLastChangePilot.FontWeight = FontWeights.Normal; } } @@ -467,12 +467,12 @@ namespace BreCalClient Grid.SetRowSpan(this.labelTug, 1); if (lastToUpdate == Extensions.ParticipantType.TUG) { - this.labelLastChangeTug.Foreground = Brushes.Pink; + this.labelLastChangeTug.Foreground = Brushes.White; this.labelLastChangeTug.FontWeight = FontWeights.DemiBold; } else { - this.labelLastChangeTug.Foreground = Brushes.WhiteSmoke; + this.labelLastChangeTug.Foreground = Brushes.LightGray; this.labelLastChangeTug.FontWeight = FontWeights.Normal; } } @@ -500,12 +500,12 @@ namespace BreCalClient Grid.SetRowSpan(this.labelTerminal, 1); if (lastToUpdate == Extensions.ParticipantType.TERMINAL) { - this.labelLastChangeTerminal.Foreground = Brushes.Pink; + this.labelLastChangeTerminal.Foreground = Brushes.White; this.labelLastChangeTerminal.FontWeight = FontWeights.DemiBold; } else { - this.labelLastChangeTerminal.Foreground = Brushes.WhiteSmoke; + this.labelLastChangeTerminal.Foreground = Brushes.LightGray; this.labelLastChangeTerminal.FontWeight = FontWeights.Normal; } }