<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:TSManagementApp.Views"
                    xmlns:converter="clr-namespace:TSManagementApp.Converters">
    <!-- Colors -->
    <Color x:Key="LogoDarkBlue">#1565c0</Color>
    <Color x:Key="LogoLightBlue">#42a5f5</Color>
    <Color x:Key="MyYellow">#fcc400</Color>
    <Color x:Key="MyOrange">#f37601</Color>

    <SolidColorBrush x:Key="DarkBlue" Color="#1565c0"/>
    <SolidColorBrush x:Key="MediumDarkBlue" Color="#3561a2"/>
    <SolidColorBrush x:Key="MyWhite" Color="White"/>
    <SolidColorBrush x:Key="IcaMediumLightBlue" Color="#90bade"/>
    <SolidColorBrush x:Key="BorderGrayBorderBrush" Color="Gainsboro"/>
    <SolidColorBrush x:Key="LightBlue" Color="#42a5f5"/>
    <SolidColorBrush x:Key="LightBlueOpacity" Color="#42a5f5" Opacity="0.6"/>
    <SolidColorBrush x:Key="LightOrange" Color="#ecb22a"/>
    <SolidColorBrush x:Key="MediumDarkOrange" Color="#e68e21"/>
    <SolidColorBrush x:Key="DarkOrange" Color="#d5791e"/>
    <SolidColorBrush x:Key="MyRed" Color="Red"/>

    <!-- Styles -->
    <Style TargetType="Button" x:Key="ButtonBlue">
        <Setter Property="Margin" Value="5,2.5"/>
        <Setter Property="Width" Value="100"/>
        <Setter Property="BorderBrush" Value="{StaticResource DarkOrange}"/>
        <Setter Property="BorderThickness" Value="1.5"/>
        <Setter Property="Background" Value="{StaticResource LightOrange}"/>
        <Setter Property="FontSize" Value="14"/>
        <Setter Property="Height" Value="25"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type Button}">
                    <Border Background="{TemplateBinding Background}" BorderThickness="{TemplateBinding BorderThickness}" BorderBrush="{TemplateBinding BorderBrush}">
                        <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="BorderThickness" Value="2"/>
                <Setter Property="FontWeight" Value="DemiBold"/>
            </Trigger>
            <Trigger Property="IsPressed" Value="True">
                <Setter Property="Background" Value="{StaticResource MediumDarkOrange}"/>
                <Setter Property="Foreground" Value="{StaticResource MyWhite}"/>
            </Trigger>
        </Style.Triggers>
    </Style>

    <Style TargetType="GroupBox">
        <Setter Property="BorderThickness" Value="1.5"/>
        <Setter Property="BorderBrush" Value="{StaticResource DarkBlue}"/>
        <Setter Property="HeaderTemplate">
            <Setter.Value>
                <DataTemplate>
                    <TextBlock Text="{Binding}" FontSize="14"/>
                </DataTemplate>
            </Setter.Value>
        </Setter>
    </Style>



    <!-- Converters -->
    <converter:ConverterBool2Visibility x:Key="ConverterBool2Visibility" />
    <converter:ConverterHideToolbar x:Key="ConverterHideToolBar"/>
    <converter:ConverterHideStatePanel x:Key="ConverterHideStatePanel"/>
    <converter:ConverterHideListPanel x:Key="ConverterHideListPanel"/>
</ResourceDictionary>