aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.UI/Resources/Styles.xaml
blob: d2948f0704bcaca9b284e4d9367a7a6ab3c2b8fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:keyboard="clr-namespace:Tango.Touch.Keyboard;assembly=Tango.Touch"
                    xmlns:touch="clr-namespace:Tango.Touch.Controls;assembly=Tango.Touch"
                    xmlns:local="clr-namespace:Tango.PPC.UI.Resources">

    <Style TargetType="{x:Type keyboard:TouchKeyboard}" BasedOn="{StaticResource {x:Type keyboard:TouchKeyboard}}">
        <Setter Property="FontSize" Value="{StaticResource TangoKeyboardFontSize}"></Setter>
        <Setter Property="VectorMarkupSize" Value="25"></Setter>
        <Setter Property="Margin" Value="5"></Setter>
    </Style>

    <Style TargetType="{x:Type touch:TouchButton}" BasedOn="{StaticResource {x:Type touch:TouchButton}}">
        <Setter Property="FontSize" Value="{StaticResource TangoButtonFontSize}"></Setter>
    </Style>

    <Style x:Key="TangoMessageBoxButton" TargetType="{x:Type touch:TouchButton}" BasedOn="{StaticResource TangoFlatButton}">
        <Setter Property="HorizontalContentAlignment" Value="Center"></Setter>
        <Setter Property="Foreground" Value="{StaticResource TangoDarkForegroundBrush}"></Setter>
        <Setter Property="FontSize" Value="{StaticResource TangoButtonFontSize}"></Setter>
        <Setter Property="BorderBrush" Value="{StaticResource TangoDividerBrush}"></Setter>
        <Setter Property="BorderThickness" Value="1 0 0 0"></Setter>
    </Style>

    <Style x:Key="TangoMessageBoxTitle" TargetType="TextBlock">
        <Setter Property="FontSize" Value="{StaticResource TangoMessageBoxTitleFontSize}"></Setter>
        <Setter Property="Foreground" Value="{StaticResource TangoPrimaryAccentBrush}"></Setter>
    </Style>

</ResourceDictionary>