<Page
    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:ForzaUI"
    x:Class="ForzaUI.A_BucketListWaitForFinish" 
    mc:Ignorable="d" VerticalAlignment="Center" HorizontalAlignment="Center" RenderTransformOrigin="0.5,0.5"
    DataContext="{Binding RelativeSource={RelativeSource Self}}"
    Style="{StaticResource A_Style_Page_Generic}">

    <local:UIPageTransitionManager.TransitionManager>
        <local:UIPageTransitionManager Preset="{StaticResource A_UIPageTransitionManagerPreset_Menu}"/>
    </local:UIPageTransitionManager.TransitionManager>

    <Page.Resources>
        <ResourceDictionary>

            <Style x:Key="A_Style_FZTextBlock_HeaderText" TargetType="{x:Type local:FZTextBlock}" 
                BasedOn="{StaticResource A_Style_FZTextBlock_HorizonA}">
                <Setter Property="FontSize" Value="100"/>
                <Setter Property="Color" Value="{StaticResource A_Color_SubHeader_Text}"/>
                <Setter Property="TrackingAdjust" Value="0.05" />
            </Style>
            
            <Style x:Key="A_Style_FZTextBlock_BodyText" TargetType="{x:Type local:FZTextBlock}" 
                   BasedOn="{StaticResource A_Style_FZTextBlock_HorizonB}">
                <Setter Property="FontSize" Value="70"/>
                <Setter Property="TextAlignment" Value="Center"/>
                <Setter Property="HorizontalAlignment" Value="Center"/>
                <Setter Property="Color" Value="{StaticResource A_Color_SubHeader_Text}"/>
            </Style>

            <Style x:Key="A_Style_FZMaterial_HorizontalDivider" TargetType="{x:Type local:FZMaterial}">
                <Setter Property="Color" Value="{StaticResource A_Color_SubHeader_Text}"/>
                <Setter Property="Height" Value="5"/>
                <Setter Property="MinWidth" Value="60"/>
            </Style>

        </ResourceDictionary>
    </Page.Resources>

    <Grid Style="{StaticResource A_Style_FrameworkElement_LayoutRoot}">
        <Decorator Width="{StaticResource A_Double_SceneWidth}">
            <StackPanel Orientation="Vertical" 
                VerticalAlignment="Center"
                HorizontalAlignment="Center">
                <Grid>
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="*"/>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="*"/>
                    </Grid.ColumnDefinitions>
                    <local:FZMaterial Grid.Column="0"
                        VerticalAlignment="Bottom"
                        Style="{StaticResource A_Style_FZMaterial_HorizontalDivider}"/>

                    <Decorator Grid.Column="1"
                        Margin="30,5,30,0">
                        <local:FZTextBlock Text="{Binding Time}"
                            Style="{StaticResource A_Style_FZTextBlock_HeaderText}"
                            Color="{StaticResource A_Color_HUD_AlternateText}"/>
                    </Decorator>

                    <local:FZMaterial Grid.Column="2"
                        VerticalAlignment="Bottom"
                        Style="{StaticResource A_Style_FZMaterial_HorizontalDivider}"/>
                </Grid>

                <Decorator Margin="50,40">
                    <local:FZTextBlock Text="{Binding Text}"
                        Style="{StaticResource A_Style_FZTextBlock_BodyText}"/>
                </Decorator>

                <Decorator>
                    <local:FZMaterial Style="{StaticResource A_Style_FZMaterial_HorizontalDivider}"/>
                </Decorator>
            </StackPanel>
        </Decorator>
    </Grid>
</Page>
