hover effekt angeglichen

This commit is contained in:
Meik
2025-11-13 16:09:24 +01:00
parent 27425f5dde
commit 5856ff4df8
4 changed files with 51 additions and 50 deletions

View File

@@ -30,21 +30,51 @@
Value="{DynamicResource BackgroundColor.DetailsPage.Widget.Title}" />
</Style>
<Style x:Key="Customizable.Editable.TextBox.EditOnly"
TargetType="TextBox"
BasedOn="{StaticResource Customizable.Editable.TextBox.Background}">
<Setter Property="BorderBrush"
Value="{DynamicResource BackgroundColor.Menu.SubCategory.Hover}" />
<Setter Property="BorderThickness"
Value="1" />
<Setter Property="Padding"
Value="10" />
<Setter Property="IsReadOnly"
Value="False" />
<Setter Property="AcceptsTab"
Value="True" />
<Setter Property="AcceptsReturn"
Value="True" />
</Style>
</ResourceDictionary>
<Style x:Key="Customizable.Editable.TextBox.EditOnly"
TargetType="TextBox"
BasedOn="{StaticResource Customizable.Editable.TextBox.Background}">
<Setter Property="BorderBrush"
Value="{DynamicResource BackgroundColor.Menu.SubCategory.Hover}" />
<Setter Property="BorderThickness"
Value="1" />
<Setter Property="Padding"
Value="10" />
<Setter Property="IsReadOnly"
Value="False" />
<Setter Property="AcceptsTab"
Value="True" />
<Setter Property="AcceptsReturn"
Value="True" />
</Style>
<Style x:Key="MandatoryFieldBorderStyle"
TargetType="Border">
<Setter Property="Margin"
Value="0 5 0 0" />
<Setter Property="BorderThickness"
Value="1" />
<Setter Property="Padding"
Value="1" />
<Setter Property="CornerRadius"
Value="7.5" />
<Setter Property="Background"
Value="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}" />
<Setter Property="BorderBrush"
Value="{DynamicResource BackgroundColor.Menu.SubCategory.Hover}" />
<Style.Triggers>
<Trigger Property="IsMouseOver"
Value="True">
<Setter Property="Background"
Value="{DynamicResource BackgroundColor.Menu.SubCategory.Hover}" />
<Setter Property="BorderBrush"
Value="{DynamicResource BackgroundColor.Menu.SubCategory}" />
</Trigger>
<Trigger Property="IsEnabled"
Value="False">
<Setter Property="Opacity"
Value="0.5" />
</Trigger>
</Style.Triggers>
</Style>
</ResourceDictionary>