JD2022-TU1/main/tools/framework/JD.Remoting/Gui/WPF/VisualStyles.xaml

42 lines
No EOL
2.1 KiB
XML

<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:system="clr-namespace:System;assembly=mscorlib"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008">
<Style x:Key="GenericLabelStyle" TargetType="Label">
<Setter Property="FontFamily" Value="Arial"/>
<Setter Property="FontSize" Value="13px"/>
<Setter Property="FontWeight" Value="Regular"/>
<Setter Property="Foreground" Value="WhiteSmoke"/>
</Style>
<Style x:Key="TextBoxStyle" TargetType="TextBox">
<Setter Property="Width" Value="156"/>
<Setter Property="Height" Value="23"/>
<Setter Property="FontFamily" Value="Arial"/>
<Setter Property="FontSize" Value="12px"/>
<Setter Property="FontWeight" Value="Regular"/>
<Setter Property="Foreground" Value="Black"/>
<Setter Property="Background" Value="LightGray"/>
<Setter Property="HorizontalContentAlignment" Value="Left"/>
<Setter Property="VerticalContentAlignment" Value="Center"/>
</Style>
<Style x:Key="GenericButtonStyle" TargetType="Button">
<Setter Property="Margin" Value="2"/>
<Setter Property="Foreground" Value="Black"/>
<Setter Property="FontFamily" Value="Arial"/>
<Setter Property="FontSize" Value="12px"/>
<Setter Property="FontWeight" Value="Bold"/>
<Setter Property="Background" >
<Setter.Value>
<LinearGradientBrush StartPoint="0,0" EndPoint="0,1" >
<GradientStop Color="LightCyan" Offset="0.1"/>
<GradientStop Color="LightSlateGray" Offset="0.8"/>
<GradientStop Color="LightCyan" Offset="1"/>
</LinearGradientBrush>
</Setter.Value>
</Setter>
</Style>
</ResourceDictionary>