巨石化纤
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

80 lines
3.9 KiB

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="Shared.xaml" />
</ResourceDictionary.MergedDictionaries>
<Style x:Key="CommonGridSplitter" TargetType="{x:Type GridSplitter}">
<Setter Property="ShowsPreview" Value="False"/>
<Setter Property="HorizontalAlignment" Value="Stretch" />
<Setter Property="VerticalAlignment" Value="Center"/>
<Setter Property="Margin" Value="20,2,20,2"/>
<Setter Property="Height" Value="2"/>
<Setter Property="Background" Value="#FFB1703C"/>
<Setter Property="BitmapEffect">
<Setter.Value>
<DropShadowBitmapEffect></DropShadowBitmapEffect>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="CommonVerticalGridSplitter" TargetType="{x:Type GridSplitter}">
<Setter Property="ShowsPreview" Value="False"/>
<Setter Property="HorizontalAlignment" Value="Center" />
<Setter Property="VerticalAlignment" Value="Stretch"/>
<Setter Property="Margin" Value="2,20,2,20"/>
<Setter Property="Width" Value="2"/>
<Setter Property="Background" Value="#FFB1703C"/>
<Setter Property="BitmapEffect">
<Setter.Value>
<DropShadowBitmapEffect></DropShadowBitmapEffect>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="CommonTextBlock" TargetType="{x:Type TextBlock}">
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="Margin" Value="2,0" />
<Setter Property="FontFamily" Value="{StaticResource CommonFontFamily}" />
<Setter Property="FontSize" Value="{StaticResource CommonFontSize}" />
</Style>
<Style x:Key="CommonTextBox" TargetType="{x:Type TextBox}">
<Setter Property="Margin" Value="2,0" />
<Setter Property="Width" Value="120" />
<Setter Property="Height" Value="25" />
<Setter Property="FontFamily" Value="{StaticResource CommonFontFamily}" />
<Setter Property="FontSize" Value="{StaticResource CommonFontSize}" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="Template" Value="{DynamicResource TextBoxTemplate}" />
</Style>
<Style x:Key="CommonStackPanel" TargetType="{x:Type StackPanel}">
<Setter Property="Orientation" Value="Horizontal" />
<Setter Property="Margin" Value="5,0" />
<Setter Property="Height" Value="35" />
</Style>
<Style x:Key="CommonComboBox" TargetType="{x:Type ComboBox}">
<Setter Property="DisplayMemberPath" Value="NAME" />
<Setter Property="SelectedValuePath" Value="VALUE" />
<Setter Property="Margin" Value="2,0" />
<Setter Property="Width" Value="120" />
<Setter Property="Height" Value="25" />
<Setter Property="FontFamily" Value="{StaticResource CommonFontFamily}" />
<Setter Property="FontSize" Value="{StaticResource CommonFontSize}" />
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
<Setter Property="VerticalContentAlignment" Value="Center" />
<Setter Property="Template" Value="{DynamicResource ComboBoxTemplate}" />
</Style>
<Style x:Key="CommonWrapPanel" TargetType="{x:Type WrapPanel}">
<Setter Property="Margin" Value="0,2" />
</Style>
<Style x:Key="CommonButton" TargetType="{x:Type Button}">
<Setter Property="FocusVisualStyle" Value="{DynamicResource NuclearButtonFocusVisual}" />
<Setter Property="Foreground" Value="#FF042271" />
<Setter Property="Margin" Value="5" />
<Setter Property="Height" Value="25"/>
<Setter Property="MinWidth" Value="25" />
<Setter Property="Padding" Value="12, 0" />
<Setter Property="FontFamily" Value="{StaticResource CommonFontFamily}" />
<Setter Property="FontSize" Value="{StaticResource CommonFontSize}" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="Template" Value="{DynamicResource ButtonTemplate}" />
</Style>
</ResourceDictionary>