<UserControl x:Class="FModel.Views.Resources.Controls.DropOverlay"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:local="clr-namespace:FModel.Views.Resources.Controls"
             xmlns:adonisUi="clr-namespace:AdonisUI;assembly=AdonisUI"
             Visibility="Collapsed"
             Background="Transparent"
             mc:Ignorable="d"
             HorizontalAlignment="Stretch"
             VerticalAlignment="Stretch"
             d:DesignHeight="450"
             d:DesignWidth="800">
    <Grid Background="#DD000000"
          IsHitTestVisible="False"
          Grid.Row="0"
          Grid.RowSpan="99">
        <Border BorderThickness="2"
                CornerRadius="10"
                Margin="60"
                Background="#1FFFFFFF">
            <Border.BorderBrush>
                <VisualBrush>
                    <VisualBrush.Visual>
                        <Rectangle Stroke="{DynamicResource {x:Static adonisUi:Brushes.AccentBrush}}"
                                   StrokeThickness="2"
                                   StrokeDashArray="4 2"
                                   StrokeDashCap="Round"
                                   Width="{Binding RelativeSource={RelativeSource AncestorType=Border}, Path=ActualWidth}"
                                   Height="{Binding RelativeSource={RelativeSource AncestorType=Border}, Path=ActualHeight}"
                                   RadiusX="10"
                                   RadiusY="10" />
                    </VisualBrush.Visual>
                </VisualBrush>
            </Border.BorderBrush>
            <StackPanel VerticalAlignment="Center">
                <Viewbox Width="80"
                         Height="80"
                         Margin="0,0,0,24"
                         HorizontalAlignment="Center">
                    <Path Fill="{DynamicResource {x:Static adonisUi:Brushes.AccentForegroundBrush}}"
                          Data="{StaticResource ImportIcon}" />
                </Viewbox>
                <TextBlock x:Name="TitleText" Text="Drop .usmap to import"
                           Foreground="White"
                           FontSize="24"
                           FontWeight="Bold"
                           HorizontalAlignment="Center" />
                <TextBlock x:Name="DescriptionText" Text="Mapping file will be applied immediately"
                           Foreground="LightGray"
                           FontSize="14"
                           HorizontalAlignment="Center"
                           Margin="0,10,0,0" />
            </StackPanel>
        </Border>
    </Grid>
</UserControl>
