hover effekt angeglichen
This commit is contained in:
@@ -79,22 +79,6 @@
|
|||||||
Value="{DynamicResource FontColor.Menu.Categories}" />
|
Value="{DynamicResource FontColor.Menu.Categories}" />
|
||||||
</Style>
|
</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>
|
|
||||||
|
|
||||||
<Style x:Key="MandatoryEditableTextBoxStyle"
|
<Style x:Key="MandatoryEditableTextBoxStyle"
|
||||||
TargetType="TextBox"
|
TargetType="TextBox"
|
||||||
BasedOn="{StaticResource Customizable.Editable.TextBox.EditOnly}">
|
BasedOn="{StaticResource Customizable.Editable.TextBox.EditOnly}">
|
||||||
|
|||||||
@@ -21,12 +21,7 @@
|
|||||||
FontWeight="Bold"
|
FontWeight="Bold"
|
||||||
Foreground="{DynamicResource FontColor.Menu.Categories}" />
|
Foreground="{DynamicResource FontColor.Menu.Categories}" />
|
||||||
<Border x:Name="ErrorTypeValidationBorder"
|
<Border x:Name="ErrorTypeValidationBorder"
|
||||||
Margin="0 5 0 0"
|
Style="{StaticResource MandatoryFieldBorderStyle}">
|
||||||
BorderThickness="1"
|
|
||||||
Padding="1"
|
|
||||||
CornerRadius="7.5"
|
|
||||||
Background="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}"
|
|
||||||
BorderBrush="{DynamicResource BackgroundColor.Menu.SubCategory.Hover}">
|
|
||||||
<ComboBox x:Name="ErrorTypeComboBox"
|
<ComboBox x:Name="ErrorTypeComboBox"
|
||||||
Background="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}"
|
Background="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}"
|
||||||
BorderBrush="Transparent"
|
BorderBrush="Transparent"
|
||||||
|
|||||||
@@ -21,11 +21,7 @@
|
|||||||
|
|
||||||
<Border x:Name="RoleValidationBorder"
|
<Border x:Name="RoleValidationBorder"
|
||||||
Margin="0 5 0 10"
|
Margin="0 5 0 10"
|
||||||
BorderThickness="1"
|
Style="{StaticResource MandatoryFieldBorderStyle}">
|
||||||
Padding="1"
|
|
||||||
CornerRadius="7.5"
|
|
||||||
Background="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}"
|
|
||||||
BorderBrush="{DynamicResource BackgroundColor.Menu.SubCategory.Hover}">
|
|
||||||
<local:ComboBoxPageable x:Name="RoleSelectionControl"
|
<local:ComboBoxPageable x:Name="RoleSelectionControl"
|
||||||
SelectedItem="{Binding ElementName=ForwardTicketDialogUc, Path=SelectedRole, Mode=TwoWay}"
|
SelectedItem="{Binding ElementName=ForwardTicketDialogUc, Path=SelectedRole, Mode=TwoWay}"
|
||||||
ComboBoxBackground="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}"
|
ComboBoxBackground="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}"
|
||||||
@@ -38,11 +34,7 @@
|
|||||||
|
|
||||||
<Border x:Name="PersonValidationBorder"
|
<Border x:Name="PersonValidationBorder"
|
||||||
Margin="0 5 0 10"
|
Margin="0 5 0 10"
|
||||||
BorderThickness="1"
|
Style="{StaticResource MandatoryFieldBorderStyle}">
|
||||||
Padding="1"
|
|
||||||
CornerRadius="7.5"
|
|
||||||
Background="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}"
|
|
||||||
BorderBrush="{DynamicResource BackgroundColor.Menu.SubCategory.Hover}">
|
|
||||||
<local:ComboBoxPageable x:Name="PersonSelectionControl"
|
<local:ComboBoxPageable x:Name="PersonSelectionControl"
|
||||||
SelectedItem="{Binding ElementName=ForwardTicketDialogUc, Path=SelectedPerson, Mode=TwoWay}"
|
SelectedItem="{Binding ElementName=ForwardTicketDialogUc, Path=SelectedPerson, Mode=TwoWay}"
|
||||||
ComboBoxBackground="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}"
|
ComboBoxBackground="{DynamicResource BackgroundColor.DetailsPage.DataHistory.ValueColumn}"
|
||||||
|
|||||||
@@ -47,4 +47,34 @@
|
|||||||
Value="True" />
|
Value="True" />
|
||||||
</Style>
|
</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>
|
</ResourceDictionary>
|
||||||
Reference in New Issue
Block a user