<UserControl
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Visibility="Collapsed" x:Uid="Layout">
	<UserControl.Resources>
		<ResourceDictionary>
			<ResourceDictionary.ThemeDictionaries>
				<ResourceDictionary x:Key="Default">
					<!-- Default theme resources -->
					<FontFamily x:Key="ContentFontFamily">Segoe UI</FontFamily>
					<x:Double x:Key="HeaderMediumFontSize">26.667</x:Double>
					<SolidColorBrush x:Key="DialogBackgroundBrush" Color="#73000000"/>
					<SolidColorBrush x:Key="ReaderAccentBrush" Color="#FFD24726"/>
					<SolidColorBrush x:Key="ReaderCanvasGreyBackground" Color="#FF1D1D1D"/>
					<SolidColorBrush x:Key="ReaderDarkPrimaryTextColor" Color="White"/>
				</ResourceDictionary>
				<ResourceDictionary x:Key="HighContrast">
					<!-- High Contrast theme resources -->
					<FontFamily x:Key="ContentFontFamily">Segoe UI</FontFamily>
					<x:Double x:Key="HeaderMediumFontSize">26.667</x:Double>
					<SolidColorBrush x:Key="DialogBackgroundBrush" Color="#73000000"/>
					<SolidColorBrush x:Key="ReaderAccentBrush" Color="{StaticResource SystemColorHighlightColor}"/>
					<SolidColorBrush x:Key="ReaderCanvasGreyBackground" Color="{StaticResource SystemColorWindowColor}"/>
					<SolidColorBrush x:Key="ReaderDarkPrimaryTextColor" Color="{StaticResource SystemColorButtonTextColor}"/>
				</ResourceDictionary>
			</ResourceDictionary.ThemeDictionaries>
		</ResourceDictionary>
		<Storyboard x:Name="OpenProgressDelayAnimation">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="OpenProgressRing">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1.167" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
		<Storyboard x:Name="SaveProgressDelayAnimation">
			<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="SaveProgress">
				<EasingDoubleKeyFrame KeyTime="0" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1" Value="0"/>
				<EasingDoubleKeyFrame KeyTime="0:0:1.167" Value="1"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>
	<Grid>
		<Grid x:Name="SaveProgress" Background="{StaticResource DialogBackgroundBrush}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="Auto" Width="Auto">
			<StackPanel Orientation="Horizontal" VerticalAlignment="Top" HorizontalAlignment="Stretch" Height="68" Background="{StaticResource ReaderCanvasGreyBackground}">
				<ProgressRing x:Name="SaveProgressRing" Foreground="{StaticResource ReaderAccentBrush}" Width="30" Height="30" IsActive="true" Margin="60,0,0,0" VerticalAlignment="Center"/>
				<TextBlock x:Uid="SaveProgress" FontFamily="{StaticResource ContentFontFamily}" VerticalAlignment="Center" FontSize="{StaticResource HeaderMediumFontSize}" Foreground="{StaticResource ReaderDarkPrimaryTextColor}" Margin="7, 0, 0, 0"/>
			</StackPanel>
		</Grid>
		<Grid x:Name="OpenProgress" Background="{StaticResource ReaderCanvasGreyBackground}" VerticalAlignment="Stretch" HorizontalAlignment="Stretch" Height="Auto" Width="Auto">
			<ProgressRing x:Name="OpenProgressRing" Foreground="{StaticResource ReaderAccentBrush}" Width="60" Height="60" IsActive="true" HorizontalAlignment="Center" VerticalAlignment="Center"/>
		</Grid>
	</Grid>
</UserControl>