math-suite/Source/Calculator/Styles/Display.xaml

26 lines
1.1 KiB
XML

<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style x:Key="DisplayStyle" TargetType="{x:Type TextBox}">
<Setter Property="TextAlignment" Value="Right"/>
<Setter Property="FontFamily" Value="/#Astronaut" />
<Setter Property="FontSize" Value="40" />
<Setter Property="Foreground" Value="#FFC94A" />
<Setter Property="Background" Value="#20FFFFFF" />
<Setter Property="BorderBrush" Value="Gray" />
<Setter Property="BitmapEffect">
<Setter.Value>
<DropShadowBitmapEffect Color="Orange"
ShadowDepth="1" Opacity=".6"
/>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="DisplayIndicatorStyle" TargetType="{x:Type Border}">
<Setter Property="Background" Value="Transparent" />
<Setter Property="Padding" Value="3,0,3,0" />
<Setter Property="CornerRadius" Value="3" />
</Style>
</ResourceDictionary>