|
1 | 1 | <ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> |
2 | 2 |
|
3 | | - <Style x:Key="GeneralButtonStyle" TargetType="Button"> |
4 | | - <Setter Property="FontSize" Value="20" /> |
5 | | - <Setter Property="MinHeight" Value="48" /> |
6 | | - <Setter Property="MinWidth" Value="48" /> |
7 | | - <Setter Property="Margin" Value="0" /> |
8 | | - <Setter Property="Padding" Value="0" /> |
9 | | - <Setter Property="HorizontalAlignment" Value="Left" /> |
10 | | - <Setter Property="VerticalAlignment" Value="Top" /> |
11 | | - <Setter Property="HorizontalContentAlignment" Value="Center" /> |
12 | | - <Setter Property="VerticalContentAlignment" Value="Center" /> |
13 | | - <Setter Property="Background" Value="Transparent" /> |
14 | | - <Setter Property="Foreground" Value="{ThemeResource SystemControlForegroundBaseHighBrush}" /> |
15 | | - <Setter Property="AutomationProperties.Name" Value="Menu" /> |
16 | | - <Setter Property="UseSystemFocusVisuals" Value="True" /> |
17 | | - <Setter Property="Template"> |
18 | | - <Setter.Value> |
19 | | - <ControlTemplate TargetType="Button"> |
20 | | - <Grid x:Name="LayoutRoot" Background="{TemplateBinding Background}"> |
21 | | - <ContentPresenter x:Name="ContentPresenter" |
22 | | - Margin="{TemplateBinding Padding}" |
23 | | - HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" |
24 | | - VerticalAlignment="{TemplateBinding VerticalContentAlignment}" |
25 | | - AutomationProperties.AccessibilityView="Raw" |
26 | | - Content="{TemplateBinding Content}" /> |
27 | | - <VisualStateManager.VisualStateGroups> |
28 | | - <VisualStateGroup x:Name="CommonStates"> |
29 | | - <VisualState x:Name="Normal" /> |
30 | | - <VisualState x:Name="PointerOver"> |
31 | | - <Storyboard> |
32 | | - <ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(Grid.Background)"> |
33 | | - <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemControlHighlightListLowBrush}" /> |
34 | | - </ObjectAnimationUsingKeyFrames> |
35 | | - <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground"> |
36 | | - <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemControlHighlightAltBaseHighBrush}" /> |
37 | | - </ObjectAnimationUsingKeyFrames> |
38 | | - </Storyboard> |
39 | | - </VisualState> |
40 | | - <VisualState x:Name="Pressed"> |
41 | | - <Storyboard> |
42 | | - <ObjectAnimationUsingKeyFrames Storyboard.TargetName="LayoutRoot" Storyboard.TargetProperty="(Grid.Background)"> |
43 | | - <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemControlHighlightListMediumBrush}" /> |
44 | | - </ObjectAnimationUsingKeyFrames> |
45 | | - <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="Foreground"> |
46 | | - <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemControlHighlightAltBaseHighBrush}" /> |
47 | | - </ObjectAnimationUsingKeyFrames> |
48 | | - </Storyboard> |
49 | | - </VisualState> |
50 | | - <VisualState x:Name="Disabled"> |
51 | | - <Storyboard> |
52 | | - <ObjectAnimationUsingKeyFrames Storyboard.TargetName="ContentPresenter" Storyboard.TargetProperty="(TextBlock.Foreground)"> |
53 | | - <DiscreteObjectKeyFrame KeyTime="0" Value="{ThemeResource SystemControlDisabledBaseLowBrush}" /> |
54 | | - </ObjectAnimationUsingKeyFrames> |
55 | | - </Storyboard> |
56 | | - </VisualState> |
57 | | - </VisualStateGroup> |
58 | | - </VisualStateManager.VisualStateGroups> |
59 | | - </Grid> |
60 | | - </ControlTemplate> |
61 | | - </Setter.Value> |
62 | | - </Setter> |
63 | | - </Style> |
| 3 | + <x:Double x:Key="BodyTextBlockFontSize">14</x:Double> |
| 4 | + <x:Double x:Key="ControlContentThemeFontSize">14</x:Double> |
64 | 5 |
|
65 | 6 | <Style x:Key="BorderStyle" TargetType="Border"> |
66 | 7 | <Setter Property="HorizontalAlignment" Value="Right" /> |
|
0 commit comments