<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:lvc="clr-namespace:LiveCharts.Wpf;assembly=LiveCharts.Wpf"
                    xmlns:local="clr-namespace:FLY.Thick.Base.UI"
                    xmlns:iconPacks="http://metro.mahapps.com/winfx/xaml/iconpacks">
    <ResourceDictionary.MergedDictionaries>
        <ResourceDictionary Source="pack://application:,,,/FLY.Thick.Base.UI;component/Themes/Styles.xaml"/>
        <ResourceDictionary Source="pack://application:,,,/FLY.Thick.Base.UI;component/Converter/Dictionary_MyConv.xaml"/>
        
        <!--<ResourceDictionary Source="pack://application:,,,/FLY.Thick.Base.UI;component/Culture/StringResource.zh-CN.xaml"/>-->
    </ResourceDictionary.MergedDictionaries>
    
    <Style x:Key="AccentedSquareButtonStyle2" TargetType="Button" BasedOn="{StaticResource AccentedSquareButtonStyle}" >
        <Setter Property="FontSize" Value="18"/>
        <Setter Property="Width" Value="120"/>
        <Setter Property="Height" Value="40"/>
        <Setter Property="Margin" Value="5"/>
    </Style>
    <Style x:Key="SquareButtonStyle2" TargetType="Button" BasedOn="{StaticResource SquareButtonStyle}" >
        <Setter Property="FontSize" Value="18"/>
        <Setter Property="Width" Value="120"/>
        <Setter Property="Height" Value="40"/>
        <Setter Property="Margin" Value="5"/>
    </Style>
    <SolidColorBrush x:Key="axisLabelColor" Color="DarkSlateBlue"/>
    <SolidColorBrush x:Key="axisSeparatorColor" Color="DarkSlateBlue" Opacity="0.5"/>
    <DropShadowEffect x:Key="CardShadow" Color="#303030" Opacity=".25" BlurRadius="5" ShadowDepth="3"/>
    
    <Style x:Key="CardTitleStyle" TargetType="TextBlock">
        <Setter Property="Background" Value="#FFC107"/>
        <Setter Property="FontSize" Value="18"/>
        <Setter Property="HorizontalAlignment" Value="Right"/>
        <Setter Property="Padding" Value="20 5"/>
        <Setter Property="FontWeight" Value="Bold"/>
    </Style>
    
    <Style x:Key="CardBorderStyle" TargetType="Border">
        <Setter Property="Margin" Value="5"/>
        <Setter Property="Background" Value="White"/>
        <Setter Property="CornerRadius" Value="3"/>
        <Setter Property="Padding" Value="8"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="BorderBrush" Value="#EBEBEB"/>
        <Setter Property="Effect" Value="{StaticResource CardShadow}"/>
    </Style>

    <Style x:Key="AxisSectionStyle" TargetType="lvc:AxisSection" >
        <Setter Property="StrokeThickness" Value="1"/>
        <Setter Property="DataLabel" Value="False"/>
        <Setter Property="DisableAnimations" Value="True"/>
        <Setter Property="DataLabelForeground" Value="White"/>
        <Setter Property="Opacity" Value="0.1"/>
        <Setter Property="Stroke" Value="#FFFDC8C8"/>
        <Setter Property="Fill" Value="#59F7D8D8"/>
        <!--<Setter Property="Fill" Value="Orange" />-->
    </Style>

    <Style TargetType="{x:Type ToggleButton}" x:Key="CheckStyle" >
        <Setter Property="HorizontalContentAlignment" Value="Center"/>
        <Setter Property="VerticalContentAlignment" Value="Center"/>
        <Setter Property="Padding" Value="1"/>
        <Setter Property="Background" Value="Transparent"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type ToggleButton}">
                    <Border Background="{TemplateBinding Background}" CornerRadius="2" >
                        <iconPacks:PackIconMaterial x:Name="icon" Kind="CheckboxBlankOutline" Height="{TemplateBinding Height}" Width="{TemplateBinding Width}" />
                    </Border>
                    <ControlTemplate.Triggers>
                        <Trigger Property="IsChecked" Value="True">
                            <Setter TargetName="icon" Property="Kind" Value="CheckboxMarkedOutline"/>
                        </Trigger>
                    </ControlTemplate.Triggers>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>
</ResourceDictionary>