2017-10-12 17:30:29 +02:00
|
|
|
<ResourceDictionary
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
|
|
2018-07-25 18:08:59 +02:00
|
|
|
<Style TargetType="ToggleButton" x:Key="HamburgerToggleButton">
|
2017-10-12 17:30:29 +02:00
|
|
|
<Setter Property="Template">
|
|
|
|
<Setter.Value>
|
|
|
|
<ControlTemplate TargetType="ToggleButton">
|
|
|
|
<ContentControl>
|
2018-07-13 11:30:10 +02:00
|
|
|
<VisualStateManager.VisualStateGroups>
|
|
|
|
<VisualStateGroup x:Name="CommonStates">
|
|
|
|
<VisualState x:Name="Normal" />
|
|
|
|
<VisualState x:Name="PointerOver">
|
|
|
|
<Storyboard>
|
|
|
|
<ObjectAnimationUsingKeyFrames Storyboard.TargetName="Grid"
|
2020-05-04 20:56:19 +02:00
|
|
|
Storyboard.TargetProperty="Background">
|
|
|
|
<DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource ToggleButtonPointerOverBackgroundThemeBrush}" />
|
2018-07-13 11:30:10 +02:00
|
|
|
</ObjectAnimationUsingKeyFrames>
|
|
|
|
</Storyboard>
|
|
|
|
</VisualState>
|
|
|
|
</VisualStateGroup>
|
|
|
|
</VisualStateManager.VisualStateGroups>
|
2020-05-04 20:56:19 +02:00
|
|
|
<Grid x:Name="Grid" Background="{StaticResource AppBarBackgroundThemeBrush}" Margin="0" Width="{StaticResource MenuWidth}" Height="{StaticResource MenuHeight}">
|
2018-07-13 11:30:10 +02:00
|
|
|
<Canvas x:Name="HamburgerMenu" HorizontalAlignment="Center" Height="17" UseLayoutRounding="False" VerticalAlignment="Center" Width="28">
|
|
|
|
<Canvas x:Name="Layer1" Height="17" Canvas.Left="0" Width="28" Margin="0" RenderTransformOrigin="0.5,0.5">
|
2017-10-12 17:30:29 +02:00
|
|
|
<Canvas.RenderTransform>
|
|
|
|
<CompositeTransform/>
|
|
|
|
</Canvas.RenderTransform>
|
|
|
|
<Canvas.Projection>
|
|
|
|
<PlaneProjection/>
|
|
|
|
</Canvas.Projection>
|
2018-07-13 11:30:10 +02:00
|
|
|
<Path x:Name="Path" Data="M0,12.997 L30,12.997" Height="2" Stretch="Fill" StrokeThickness="2" Width="28" Stroke="{ThemeResource DefaultTextForegroundThemeBrush}" StrokeStartLineCap="Square" StrokeEndLineCap="Square" RenderTransformOrigin="0.5,0.5">
|
2017-10-12 17:30:29 +02:00
|
|
|
<Path.RenderTransform>
|
|
|
|
<CompositeTransform/>
|
|
|
|
</Path.RenderTransform>
|
|
|
|
</Path>
|
2018-06-15 18:07:44 +02:00
|
|
|
<Path Data="M0,12.997 L30,12.997" Height="2" Stretch="Fill" StrokeThickness="2" Width="28" Stroke="{ThemeResource DefaultTextForegroundThemeBrush}" StrokeStartLineCap="Square" StrokeEndLineCap="Square" Canvas.Top="7"/>
|
2018-07-13 11:30:10 +02:00
|
|
|
<Path x:Name="Path1" Data="M0,12.997 L30,12.997" Height="2" Stretch="Fill" StrokeThickness="2" Width="28" Stroke="{ThemeResource DefaultTextForegroundThemeBrush}" StrokeStartLineCap="Square" StrokeEndLineCap="Square" Canvas.Top="14" RenderTransformOrigin="0.5,0.5">
|
2017-10-12 17:30:29 +02:00
|
|
|
<Path.RenderTransform>
|
|
|
|
<CompositeTransform/>
|
|
|
|
</Path.RenderTransform>
|
|
|
|
</Path>
|
|
|
|
</Canvas>
|
|
|
|
</Canvas>
|
|
|
|
</Grid>
|
|
|
|
</ContentControl>
|
|
|
|
</ControlTemplate>
|
|
|
|
</Setter.Value>
|
|
|
|
</Setter>
|
|
|
|
<Setter Property="VerticalAlignment" Value="Top" />
|
|
|
|
<Setter Property="HorizontalAlignment" Value="Left" />
|
2017-10-27 16:28:13 +02:00
|
|
|
<Setter Property="Margin" Value="0" />
|
2017-10-12 17:30:29 +02:00
|
|
|
</Style>
|
|
|
|
<Style x:Key="HeaderTextBoxStyle" TargetType="TextBox">
|
2020-05-04 20:56:19 +02:00
|
|
|
<Setter Property="FontSize" Value="30"/>
|
2017-10-12 17:30:29 +02:00
|
|
|
<Setter Property="FontWeight" Value="Light"/>
|
|
|
|
<Setter Property="BorderBrush" Value="Transparent" />
|
|
|
|
<Setter Property="Background" Value="Transparent" />
|
|
|
|
</Style>
|
|
|
|
</ResourceDictionary>
|