Files
C4IT-F4SD-Client/FasdDesktopUi/ResourceDictionaries/DetailsPageResources/CustomizableResources.xaml
Meik 0b52999b1d feat: expand cockpit integrations and support workflows
Add Phoenix remote desktop, action connector, documentation engine, and gamification support. Refactor support-case processing and search/action UI, and update installer assets and dependencies.
2026-07-13 11:16:53 +02:00

96 lines
4.0 KiB
XML

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:base="clr-namespace:C4IT.FASD.Base;assembly=F4SD-Cockpit-Client-Base"
xmlns:vc="clr-namespace:FasdDesktopUi.Basics.Converter">
<vc:LanguageCultureConverter x:Key="LanguageBindingConverter" />
<Style x:Key="Customizable.Editable.TextBox"
TargetType="TextBox">
<Setter Property="Padding"
Value="11" />
<Setter Property="Margin"
Value="0 5" />
<Setter Property="BorderThickness"
Value="0" />
<Setter Property="BorderBrush"
Value="Transparent" />
<Setter Property="Foreground"
Value="{DynamicResource FontColor.Menu.Categories}" />
<Setter Property="IsReadOnly"
Value="True" />
<Style.Resources>
<Style TargetType="Border">
<Setter Property="CornerRadius"
Value="7.5" />
</Style>
</Style.Resources>
</Style>
<Style x:Key="Customizable.Editable.TextBox.Background"
TargetType="TextBox"
BasedOn="{StaticResource Customizable.Editable.TextBox}">
<Setter Property="Background"
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="AcceptsReturn"
Value="True" />
<Setter Property="SpellCheck.IsEnabled"
Value="True" />
<Setter Property="Language"
Value="{Binding Source={x:Static base:cF4SDCockpitXmlConfig.Instance}, Path=HealthCardConfig.ProtocollLanguage, Converter={StaticResource ResourceKey=LanguageBindingConverter}, ConverterCulture=en-US}" />
<Style.Triggers>
<DataTrigger Binding="{Binding Source={x:Static base:cF4SDCockpitXmlConfig.Instance}, Path=HealthCardConfig.ProtocollLanguage}"
Value="{x:Null}">
<Setter Property="SpellCheck.IsEnabled"
Value="False" />
</DataTrigger>
</Style.Triggers>
</Style>
<Style x:Key="MandatoryFieldBorderStyle"
TargetType="Border">
<Setter Property="Margin"
Value="0 5 0 0" />
<Setter Property="BorderThickness"
Value="1" />
<Setter Property="Padding"
Value="0" />
<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>