<Application x:Class="TravelAgencyWindow.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:local="clr-namespace:TravelAgencyWindow"
             StartupUri="MainWindow.xaml">
    <Application.Resources>
        <!--Стили текстовых полей-->
        <Style x:Key="txt_deafault" TargetType="TextBlock">
            <Setter Property="FontFamily" Value="Comic Sans MS"/>
            <Setter Property="FontSize" Value="18"/>
        </Style>
        <Style x:Key="txt_main" TargetType="TextBlock" BasedOn="{StaticResource txt_deafault}">
            <Setter Property="FontSize" Value="16"/>
        </Style>
        <Style x:Key="dtgrid_header" TargetType="DataGridColumnHeader">
            <Setter Property="FontFamily" Value="Comic Sans MS"/>
            <Setter Property="FontSize" Value="16"/>
            <Setter Property="Foreground" Value="#FF445C93"/>
        </Style>
        <Style x:Key="txt_header" TargetType="TextBlock" BasedOn="{StaticResource txt_deafault}">
            <Setter Property="Foreground" Value="Black"/>
            <Setter Property="TextAlignment" Value="Center"/>
            <Setter Property="FontSize" Value="24"/>
        </Style>
        <Style x:Key="txt_for_ettention" TargetType="TextBlock" BasedOn="{StaticResource txt_header}">
            <Setter Property="TextAlignment" Value="Center"/>
            <Setter Property="FontWeight" Value="Bold"/>
        </Style>
        <Style x:Key="txt_settings" TargetType="TextBlock" BasedOn="{StaticResource txt_deafault}">
            <Setter Property="FontFamily" Value="Comic Sans MS"/>
            <Setter Property="Background" Value="#bae3e8"/>
            <Setter Property="Foreground" Value="#634e42"/>
            <Setter Property="FontSize" Value="15"/>
            <Setter Property="Margin" Value="2"/>

        </Style>
        <!--Стили рекдактируемых текстовых полей-->
        <Style x:Key="ed_txt_deafault" TargetType="TextBox">
            <Setter Property="FontFamily" Value="Comic Sans MS"/>
        </Style>

        <Style x:Key="ed_txt_settings" TargetType="TextBox">
            <Setter Property="FontFamily" Value="Comic Sans MS"/>
            <Setter Property="Background" Value="#bae3e8"/>
            <Setter Property="Foreground" Value="#634e42"/>
            <Setter Property="FontSize" Value="15"/>
            <Setter Property="Margin" Value="2"/>
        </Style>

        <!--Стили для кнопок-->
        <Style x:Key="btn_menu" TargetType="Button">
            <Setter Property="FontFamily" Value="Comic Sans MS"/>
            <Setter Property="FontSize" Value="16"/>
            <Setter Property="Foreground" Value="#FF445C93"/>
            <Setter Property="Background" Value="#fac716"/>
            
            <Setter Property="Margin" Value="10,0,10,0"/>
            <Setter Property="Padding" Value="5"/>
            <Style.Resources>
                <Style TargetType="Border">
                    <Setter Property="CornerRadius" Value="5"/>
                </Style>
            </Style.Resources>
        </Style>
        <Style x:Key="btn_settings" TargetType="Button">
            <Setter Property="Background" Value="#fac716"/>
            <Setter Property="BorderBrush" Value="#634e42"/>
            <Setter Property="Foreground" Value="#634e42"/>
            <Setter Property="FontSize" Value="15"/>
            <Setter Property="FontFamily" Value="Comic Sans MS"/>
            <Setter Property="Margin" Value="2"/>            
        </Style>
        <Style x:Key="rpbtn_settings" TargetType="RepeatButton">
            <Setter Property="Background" Value="#fac716"/>
            <Setter Property="BorderBrush" Value="#634e42"/>
            <Setter Property="Foreground" Value="#634e42"/>
            <Setter Property="FontSize" Value="8"/>
            <Setter Property="FontFamily" Value="Comic Sans MS"/>
        </Style>
    </Application.Resources>
</Application>
