|
|
|
@ -1,9 +1,9 @@
|
|
|
|
|
<Application |
|
|
|
|
x:Class="v2rayN.App" |
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
|
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" |
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
|
|
|
xmlns:conv="clr-namespace:v2rayN.Converters" |
|
|
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes" |
|
|
|
|
ShutdownMode="OnExplicitShutdown" |
|
|
|
|
StartupUri="Views/MainWindow.xaml"> |
|
|
|
|
<Application.Resources> |
|
|
|
@ -18,8 +18,6 @@
|
|
|
|
|
<system:Double x:Key="MenuItemHeight">26</system:Double> |
|
|
|
|
<system:Double x:Key="StdFontSize">12</system:Double> |
|
|
|
|
<system:Double x:Key="StdFontSize1">13</system:Double> |
|
|
|
|
<system:Double x:Key="StdFontSize2">14</system:Double> |
|
|
|
|
<system:Double x:Key="StdFontSizeMsg">11</system:Double> |
|
|
|
|
<system:Double x:Key="StdFontSize-1">11</system:Double> |
|
|
|
|
|
|
|
|
|
<conv:InverseBooleanConverter x:Key="InverseBooleanConverter" /> |
|
|
|
@ -69,7 +67,7 @@
|
|
|
|
|
x:Key="ModuleTitle" |
|
|
|
|
BasedOn="{StaticResource MaterialDesignTextBlock}" |
|
|
|
|
TargetType="{x:Type TextBlock}"> |
|
|
|
|
<Setter Property="FontSize" Value="{DynamicResource StdFontSize2}" /> |
|
|
|
|
<Setter Property="FontSize" Value="{DynamicResource StdFontSize1}" /> |
|
|
|
|
</Style> |
|
|
|
|
<Style |
|
|
|
|
x:Key="ToolbarTextBlock" |
|
|
|
@ -121,13 +119,13 @@
|
|
|
|
|
x:Key="DefButton" |
|
|
|
|
BasedOn="{StaticResource MaterialDesignRaisedButton}" |
|
|
|
|
TargetType="{x:Type ButtonBase}"> |
|
|
|
|
<Setter Property="FontSize" Value="{DynamicResource StdFontSize1}" /> |
|
|
|
|
<Setter Property="FontSize" Value="{DynamicResource StdFontSize}" /> |
|
|
|
|
</Style> |
|
|
|
|
<Style |
|
|
|
|
x:Key="DefContextMenu" |
|
|
|
|
BasedOn="{StaticResource MaterialDesignContextMenu}" |
|
|
|
|
TargetType="{x:Type ContextMenu}"> |
|
|
|
|
<Setter Property="FontSize" Value="{DynamicResource StdFontSize1}" /> |
|
|
|
|
<Setter Property="FontSize" Value="{DynamicResource StdFontSize}" /> |
|
|
|
|
<Setter Property="FontFamily" Value="{x:Static conv:MaterialDesignFonts.MyFont}" /> |
|
|
|
|
</Style> |
|
|
|
|
|
|
|
|
@ -135,7 +133,7 @@
|
|
|
|
|
x:Key="ToolbarMenu" |
|
|
|
|
BasedOn="{StaticResource MaterialDesignMenu}" |
|
|
|
|
TargetType="{x:Type Menu}"> |
|
|
|
|
<Setter Property="FontSize" Value="{DynamicResource StdFontSize1}" /> |
|
|
|
|
<Setter Property="FontSize" Value="{DynamicResource StdFontSize}" /> |
|
|
|
|
<Setter Property="FontFamily" Value="{x:Static conv:MaterialDesignFonts.MyFont}" /> |
|
|
|
|
</Style> |
|
|
|
|
|
|
|
|
@ -185,13 +183,13 @@
|
|
|
|
|
<Setter Property="Padding" Value="{StaticResource OutlinedTextBoxDefaultPadding}" /> |
|
|
|
|
</Style> |
|
|
|
|
<Style x:Key="ListItemChip" TargetType="{x:Type materialDesign:Chip}"> |
|
|
|
|
<Setter Property="FontSize" Value="{DynamicResource StdFontSize1}" /> |
|
|
|
|
<Setter Property="FontSize" Value="{DynamicResource StdFontSize}" /> |
|
|
|
|
</Style> |
|
|
|
|
<Style |
|
|
|
|
x:Key="ListItemTitle" |
|
|
|
|
BasedOn="{StaticResource MaterialDesignTextBlock}" |
|
|
|
|
TargetType="{x:Type TextBlock}"> |
|
|
|
|
<Setter Property="FontSize" Value="{DynamicResource StdFontSize1}" /> |
|
|
|
|
<Setter Property="FontSize" Value="{DynamicResource StdFontSize}" /> |
|
|
|
|
</Style> |
|
|
|
|
<Style |
|
|
|
|
x:Key="ListItemSubTitle" |
|
|
|
|