82 lines
3.7 KiB
XML
82 lines
3.7 KiB
XML
<Application x:Class="ReSync.App"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:local="clr-namespace:ReSync"
|
|
StartupUri="MainWindow.xaml">
|
|
<Application.Resources>
|
|
<Style TargetType="Button" x:Key="ToolbarButton">
|
|
<Setter Property="HorizontalAlignment" Value="Right" />
|
|
<Setter Property="VerticalAlignment" Value="Top"/>
|
|
<Setter Property="Margin" Value="10"/>
|
|
<Setter Property="Height" Value="80"/>
|
|
<Setter Property="MinWidth" Value="80"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="BorderThickness" Value="0"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="Button">
|
|
<Border x:Name="border"
|
|
CornerRadius="5">
|
|
<ContentPresenter HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter TargetName="border" Property="Background" Value="SkyBlue"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="TextBlock" x:Key="FolderPathText">
|
|
<Setter Property="Width" Value="180"/>
|
|
<Setter Property="FontSize" Value="14"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
|
|
<Style TargetType="Button">
|
|
<Setter Property="MinHeight" Value="30"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
<Setter Property="Background" Value="Transparent"/>
|
|
<Setter Property="BorderThickness" Value="2"/>
|
|
<Setter Property="BorderBrush" Value="Black"/>
|
|
<Setter Property="HorizontalAlignment" Value="Right"/>
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="Button">
|
|
<Border x:Name="border"
|
|
CornerRadius="5"
|
|
Background="{TemplateBinding Background}"
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderThickness="{TemplateBinding BorderThickness}">
|
|
<ContentPresenter HorizontalAlignment="Center"
|
|
VerticalAlignment="Center" />
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter TargetName="border" Property="Background" Value="SkyBlue"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style TargetType="StackPanel" x:Key="StatusElement">
|
|
|
|
</Style>
|
|
|
|
<Style TargetType="TextBlock" x:Key="HeadingText">
|
|
<Setter Property="FontSize" Value="24"/>
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
</Style>
|
|
|
|
<Style TargetType="TextBlock">
|
|
<Setter Property="FontSize" Value="16"/>
|
|
<Setter Property="Margin" Value="5"/>
|
|
</Style>
|
|
</Application.Resources>
|
|
</Application>
|