166 lines
9.2 KiB
XML
166 lines
9.2 KiB
XML
<Application x:Class="AmigaDB.VideoRenderer.App"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
StartupUri="MainWindow.xaml">
|
|
<Application.Resources>
|
|
<SolidColorBrush x:Key="PageBrush" Color="#0E1525"/>
|
|
<SolidColorBrush x:Key="PanelBrush" Color="#162033"/>
|
|
<SolidColorBrush x:Key="PanelAltBrush" Color="#1A2740"/>
|
|
<SolidColorBrush x:Key="FieldBrush" Color="#1D2940"/>
|
|
<SolidColorBrush x:Key="BorderBrush" Color="#2B3A58"/>
|
|
<SolidColorBrush x:Key="AccentBrush" Color="#4AB8FF"/>
|
|
<SolidColorBrush x:Key="AccentSoftBrush" Color="#13324F"/>
|
|
<SolidColorBrush x:Key="TextBrush" Color="#F5F7FB"/>
|
|
<SolidColorBrush x:Key="MutedBrush" Color="#9FB1CC"/>
|
|
<SolidColorBrush x:Key="ButtonBrush" Color="#243554"/>
|
|
<SolidColorBrush x:Key="ButtonHoverBrush" Color="#2E446C"/>
|
|
<SolidColorBrush x:Key="ButtonDisabledBrush" Color="#2A3140"/>
|
|
<SolidColorBrush x:Key="ButtonDisabledTextBrush" Color="#7E8BA1"/>
|
|
<SolidColorBrush x:Key="PrimaryTextBrush" Color="#07111D"/>
|
|
<SolidColorBrush x:Key="SelectionBrush" Color="#295C87"/>
|
|
<SolidColorBrush x:Key="SelectionTextBrush" Color="#FFFFFF"/>
|
|
|
|
<Style TargetType="Window">
|
|
<Setter Property="Background" Value="{StaticResource PageBrush}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource TextBrush}"/>
|
|
<Setter Property="FontFamily" Value="Bahnschrift"/>
|
|
</Style>
|
|
<Style TargetType="ScrollViewer">
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
</Style>
|
|
<Style TargetType="TextBox">
|
|
<Setter Property="Background" Value="{StaticResource FieldBrush}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource TextBrush}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
|
|
<Setter Property="CaretBrush" Value="{StaticResource TextBrush}"/>
|
|
<Setter Property="SelectionBrush" Value="{StaticResource SelectionBrush}"/>
|
|
<Setter Property="SelectionTextBrush" Value="{StaticResource SelectionTextBrush}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="Padding" Value="9,7"/>
|
|
<Setter Property="VerticalContentAlignment" Value="Center"/>
|
|
<Setter Property="SnapsToDevicePixels" Value="True"/>
|
|
</Style>
|
|
<Style TargetType="ComboBox">
|
|
<Setter Property="Background" Value="{StaticResource FieldBrush}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource TextBrush}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="Padding" Value="8,6"/>
|
|
</Style>
|
|
<Style TargetType="ComboBoxItem">
|
|
<Setter Property="Background" Value="{StaticResource FieldBrush}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource TextBrush}"/>
|
|
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsHighlighted" Value="True">
|
|
<Setter Property="Background" Value="{StaticResource AccentSoftBrush}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource TextBrush}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsSelected" Value="True">
|
|
<Setter Property="Background" Value="{StaticResource AccentBrush}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource PrimaryTextBrush}"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
<Style TargetType="ListBox">
|
|
<Setter Property="Background" Value="{StaticResource FieldBrush}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource TextBrush}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
</Style>
|
|
<Style TargetType="ListBoxItem">
|
|
<Setter Property="Padding" Value="8,6"/>
|
|
<Setter Property="Foreground" Value="{StaticResource TextBrush}"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsSelected" Value="True">
|
|
<Setter Property="Background" Value="{StaticResource AccentSoftBrush}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource TextBrush}"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
<Style TargetType="Button">
|
|
<Setter Property="Background" Value="{StaticResource ButtonBrush}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource TextBrush}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="Padding" Value="14,8"/>
|
|
<Setter Property="Cursor" Value="Hand"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="Button">
|
|
<Border Background="{TemplateBinding Background}"
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
CornerRadius="10">
|
|
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"
|
|
Margin="{TemplateBinding Padding}"/>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
<Style.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter Property="Background" Value="{StaticResource ButtonHoverBrush}"/>
|
|
</Trigger>
|
|
<Trigger Property="IsEnabled" Value="False">
|
|
<Setter Property="Background" Value="{StaticResource ButtonDisabledBrush}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource ButtonDisabledTextBrush}"/>
|
|
</Trigger>
|
|
</Style.Triggers>
|
|
</Style>
|
|
<Style x:Key="PrimaryButton" TargetType="Button" BasedOn="{StaticResource {x:Type Button}}">
|
|
<Setter Property="Background" Value="{StaticResource AccentBrush}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource PrimaryTextBrush}"/>
|
|
<Setter Property="FontWeight" Value="SemiBold"/>
|
|
<Setter Property="Padding" Value="22,11"/>
|
|
</Style>
|
|
<Style x:Key="SecondaryPanel" TargetType="Border">
|
|
<Setter Property="Background" Value="{StaticResource PanelBrush}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
<Setter Property="CornerRadius" Value="18"/>
|
|
</Style>
|
|
<Style TargetType="GroupBox">
|
|
<Setter Property="Foreground" Value="{StaticResource TextBrush}"/>
|
|
<Setter Property="BorderBrush" Value="{StaticResource BorderBrush}"/>
|
|
<Setter Property="Background" Value="{StaticResource PanelBrush}"/>
|
|
<Setter Property="Padding" Value="12"/>
|
|
<Setter Property="Margin" Value="0,0,0,16"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="GroupBox">
|
|
<Border Background="{TemplateBinding Background}"
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderThickness="1"
|
|
CornerRadius="18"
|
|
Padding="16">
|
|
<Grid>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto"/>
|
|
<RowDefinition Height="*"/>
|
|
</Grid.RowDefinitions>
|
|
<TextBlock Text="{TemplateBinding Header}"
|
|
FontSize="16"
|
|
FontWeight="SemiBold"
|
|
Foreground="{StaticResource TextBrush}"
|
|
Margin="0,0,0,12"/>
|
|
<ContentPresenter Grid.Row="1"/>
|
|
</Grid>
|
|
</Border>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
<Style TargetType="ProgressBar">
|
|
<Setter Property="Background" Value="{StaticResource FieldBrush}"/>
|
|
<Setter Property="Foreground" Value="{StaticResource AccentBrush}"/>
|
|
<Setter Property="Height" Value="12"/>
|
|
</Style>
|
|
<Style TargetType="TextBlock">
|
|
<Setter Property="Foreground" Value="{StaticResource TextBrush}"/>
|
|
</Style>
|
|
</Application.Resources>
|
|
</Application>
|