Color Update (Byebye rot)

This commit is contained in:
2026-03-31 13:11:18 +02:00
parent 74a16f0b51
commit 649dede186
6 changed files with 104 additions and 57 deletions

View File

@@ -128,7 +128,7 @@
<Color x:Key="ModuleAiControlZeiterfassungNavigationContentColor">#FFD7DADB</Color>
<Color x:Key="ModuleAiControlZeiterfassungNavigationContentColor2">#FF92A9B3</Color>
<Color x:Key="ModuleAiControlZeiterfassungNavigationContentTextPrimary">#FF111111</Color>
<Color x:Key="ModuleAiControlZeiterfassungNavigationContentTextSecondary">#FF777777</Color>
<Color x:Key="ModuleAiControlZeiterfassungNavigationContentTextSecondary">#FF555555</Color>
<Color x:Key="ModuleAiControlSupportConceptNavigationHeaderColor">#FF5C1919</Color>
<Color x:Key="ModuleAiControlSupportConceptNavigationContentColor">#FF993B3B</Color>

View File

@@ -31,4 +31,19 @@
</Trigger>
</Style.Triggers>
</Style>
<Style
x:Key="PopupBlackLabel"
BasedOn="{StaticResource BaseLabel}"
TargetType="Label">
<Setter Property="Foreground" Value="{DynamicResource TextForegroundDarkPrimary}" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="FontWeight" Value="Medium" />
<Setter Property="FontSize" Value="12" />
<Style.Triggers>
<Trigger Property="IsEnabled" Value="False">
<Setter Property="Foreground" Value="{DynamicResource TextForegroundDarkSecondary}" />
</Trigger>
</Style.Triggers>
</Style>
</ResourceDictionary>

View File

@@ -108,13 +108,13 @@
<Border
Grid.Row="0"
Grid.Column="0"
Background="{DynamicResource NavigationHeaderBrush}"
CornerRadius="1,1,1,1">
Height="6"
Background="{DynamicResource NavigationHeaderBrush}">
<Border
x:Name="Header"
Grid.Row="0"
Grid.Column="0"
Margin="8"
Margin="0"
Padding="0"
Background="{x:Null}">
<ContentPresenter
@@ -133,10 +133,9 @@
<Border
Grid.Row="1"
Grid.Column="0"
Margin="0,2,0,0"
Margin="0,0,0,0"
Padding="0,0,0,0"
Background="{DynamicResource NavigationContentBrush}"
CornerRadius="1,1,1,1">
Background="{DynamicResource NavigationContentBrush}">
<ContentPresenter
Content="{TemplateBinding Content}"
ContentStringFormat="{TemplateBinding ContentStringFormat}"

View File

@@ -29,6 +29,9 @@
<SolidColorBrush x:Key="TextForegroundPrimary" Color="{StaticResource LightTextPrimary}" />
<SolidColorBrush x:Key="TextForegroundSecondary" Color="{StaticResource LightTextSecondary}" />
<SolidColorBrush x:Key="TextForegroundDarkPrimary" Color="{StaticResource DarkTextPrimary}" />
<SolidColorBrush x:Key="TextForegroundDarkSecondary" Color="{StaticResource DarkTextSecondary}" />
<Style x:Key="ModuleAiControlDefaultStyle" TargetType="{x:Type GroupBox}">
<Style.Resources>
<SolidColorBrush x:Key="NavigationHeaderBrush" Color="{StaticResource ModuleAiControlDefaultNavigationHeaderColor}" />
@@ -152,10 +155,10 @@
</Grid.ColumnDefinitions>
<Border
Width="auto"
Margin="0,4,0,0"
Padding="4"
Margin="0,0,3,0"
Padding="4,4,5,5"
VerticalAlignment="Top"
Background="#09000000"
Background="#DEFFFFFF"
BorderBrush="Black"
BorderThickness="0"
CornerRadius="10, 10, 10, 10">
@@ -167,7 +170,7 @@
<Border
Grid.Column="1"
Padding="8,4,8,4"
Background="#20000000"
Background="#DEFFFFFF"
BorderBrush="Black"
BorderThickness="0"
CornerRadius="0, 10, 10, 10">
@@ -179,28 +182,9 @@
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<TextBlock
Margin="0"
Padding="0"
FontSize="14"
FontWeight="SemiBold"
Foreground="{DynamicResource TextForegroundPrimary}"
Style="{StaticResource TextBlockStyle}"
Text="{Binding ModelName}" />
<TextBlock
Grid.Column="1"
Margin="8,0,0,0"
Padding="0"
VerticalAlignment="Bottom"
FontSize="12"
FontWeight="Medium"
Foreground="{DynamicResource TextForegroundPrimary}"
Style="{StaticResource TextBlockStyle}"
Text="{Binding Created, StringFormat={}{0:dd.MM.yyyy HH:mm:ss}}" />
<TextBlock
Grid.Row="1"
Grid.Row="0"
Grid.ColumnSpan="2"
Margin="0,4,0,4"
Padding="0"
@@ -209,7 +193,36 @@
FontWeight="Medium"
Foreground="{DynamicResource TextForegroundSecondary}"
Style="{StaticResource TextBlockStyle}"
Text="{Binding DurationSec, StringFormat=Nachgedacht für {0} Sekunden}" />
Text="{Binding DurationSec, StringFormat=Nachgedacht für {0} Sekunden}">
<TextBlock.ToolTip>
<Grid Margin="4,0,0,4">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<TextBlock
Margin="0"
Padding="0"
FontSize="12"
FontWeight="Normal"
Foreground="{DynamicResource TextForegroundPrimary}"
Style="{StaticResource TextBlockStyle}"
Text="{Binding ModelName, StringFormat=Modell: {0}}" />
<TextBlock
Grid.Row="1"
Padding="0"
VerticalAlignment="Bottom"
FontSize="12"
FontWeight="Normal"
Foreground="{DynamicResource TextForegroundPrimary}"
Style="{StaticResource TextBlockStyle}"
Text="{Binding Created, StringFormat=Datum/Uhrzeit: {0:dd.MM.yyyy HH:mm:ss}}" />
</Grid>
</TextBlock.ToolTip>
</TextBlock>
<!--<TextBlock
Grid.Row="1"
Grid.ColumnSpan="2"
@@ -221,7 +234,7 @@
Style="{StaticResource TextBlockStyle}"
Text="{Binding DurationSec, StringFormat=Nachgedacht für {0} Sekunden}" />-->
<TextBox
Grid.Row="2"
Grid.Row="1"
Grid.ColumnSpan="2"
Margin="0,4,0,0"
Padding="-3"
@@ -238,12 +251,27 @@
Width="auto"
Margin="30,0,30,0"
HorizontalAlignment="Center"
Background="#33000000"
Background="#DEFFFFFF"
BorderBrush="Black"
BorderThickness="0"
BorderThickness="1"
CornerRadius="0">
<Grid>
<TextBox Padding="8" Style="{StaticResource MessageTextBoxStyle}" />
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<TextBox
Padding="8"
HorizontalAlignment="Center"
Style="{StaticResource MessageTextBoxStyle}">
SystemPrompt
</TextBox>
<Separator Grid.Row="1" />
<TextBox
Grid.Row="2"
Padding="8"
Style="{StaticResource MessageTextBoxStyle}" />
</Grid>
</Border>
</DataTemplate>
@@ -254,7 +282,7 @@
Width="auto"
Margin="30,0,0,0"
HorizontalAlignment="Right"
Background="#15000000"
Background="#DEFFFFFF"
BorderBrush="Black"
BorderThickness="0"
CornerRadius="15, 15, 15, 15"

View File

@@ -25,7 +25,7 @@
<Setter Property="SmallChange" Value="0.01" />
<Setter Property="IsMoveToPointEnabled" Value="True" />
</Style>
<Style BasedOn="{StaticResource PopupWhiteLabel}" TargetType="{x:Type Label}" />
<Style BasedOn="{StaticResource PopupBlackLabel}" TargetType="{x:Type Label}" />
</ResourceDictionary>
</UserControl.Resources>
@@ -34,7 +34,7 @@
HorizontalAlignment="Left"
FontFamily="Microsoft Sans Serif"
FontSize="14"
Foreground="#FFFFFF"
Foreground="Black"
Text="KI Module Einstellungen" />
<Path
Margin="0,3,0,0"

View File

@@ -21,6 +21,7 @@
x:Name="root"
Width="auto"
Height="auto"
MinWidth="600"
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
d:DataContext="{d:DesignInstance Type=vmv:AiConversationChatViewModel,
@@ -40,7 +41,7 @@
Width="auto"
Margin="0,0,0,0"
HorizontalAlignment="Stretch"
Background="#17000000"
Background="#CCF4F4F4"
BorderBrush="Black"
BorderThickness="0"
CornerRadius="10, 10, 10, 10">
@@ -103,7 +104,7 @@
</localView:BeWoView.Resources>
<Grid>
<GroupBox x:Name="rootgroupbox" Style="{StaticResource ModuleAiControlSupportConceptStyle}">
<GroupBox x:Name="rootgroupbox" Style="{StaticResource ModuleAiControlZeiterfassungStyle}">
<GroupBox.Header>
<StackPanel
Grid.Row="0"
@@ -177,7 +178,7 @@
</dxwui:HamburgerMenu.Content>
</dxwui:HamburgerMenu>-->
<Grid Background="#12000000">
<Grid>
<ListView
x:Name="listview_conversations"
Padding="4"
@@ -192,31 +193,29 @@
<ListView.ItemContainerStyle>
<Style TargetType="ListViewItem">
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="Padding" Value="2" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="ListBoxItem">
<Grid>
<Grid Margin="0,1,0,1">
<Border
x:Name="ItemBorder"
MinHeight="20"
Background="#FF000000"
CornerRadius="5">
x:Name="ItemBorder"
MinHeight="20"
Background="#FF000000"
CornerRadius="5">
<Border.OpacityMask>
<LinearGradientBrush StartPoint="0.5,0" EndPoint="0.5,1">
<GradientStop Offset="0" Color="#19000000" />
<GradientStop Offset="1" Color="#26000000" />
<GradientStop Offset="0" Color="#00000000" />
<GradientStop Offset="1" Color="#00000000" />
</LinearGradientBrush>
</Border.OpacityMask>
</Border>
<Border
Name="ItemContent"
Padding="2"
SnapsToDevicePixels="true">
<ContentPresenter />
Name="ItemContent"
Padding="1"
SnapsToDevicePixels="true">
<ContentPresenter />
</Border>
</Grid>
<ControlTemplate.Triggers>
@@ -373,7 +372,10 @@
Grid.Column="1"
HorizontalAlignment="Center"
VerticalAlignment="Center">
<TextBlock FontSize="12" FontWeight="Medium">
<TextBlock
FontSize="12"
FontWeight="Medium"
Foreground="Black">
Bitte formulieren Sie eine Frage, um einen neuen Chat zu beginnen.<LineBreak />
Weitere Details erfahren Sie in der Hilfe.<Hyperlink NavigateUri="https://help.bewoplaner.de" RequestNavigate="Hyperlink_RequestNavigate">
(i)
@@ -479,7 +481,10 @@
Style="{StaticResource NavigationToolbarButtonStyle}"
Visibility="Collapsed" />
<TextBlock Margin="3" FontSize="10">
<TextBlock
Margin="0"
FontSize="10"
Foreground="#FFFDFDFD">
Dieses System verwendet KI.<LineBreak />
KI-generierte Inhalte sind zu prüfen.</TextBlock>
</StackPanel>