<ResourceDictionary x:Class="Pos.ResourceDictionaries.MenuButtonResource"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:Pos.ResourceDictionaries">

    <Style TargetType="Button">
        <Setter Property="Margin" Value="4"/>
        <Setter Property="FontSize" Value="24"/>
    </Style>

    <Style x:Key="MenuButtons">
        <Setter Property="Control.Width" Value="250" />
        <Setter Property="Control.Height" Value="100" />
        <Setter Property="Control.FontSize" Value="40" />
        <Setter Property="Control.Margin" Value="15" />
    </Style>

    <Style x:Key="Buttons">
        <Setter Property="Control.HorizontalAlignment" Value="Stretch"/>
        <Setter Property="Control.Height" Value="50" />
        <Setter Property="Control.FontSize" Value="35" />
        <Setter Property="Control.Margin" Value="10" />
    </Style>
    <Style x:Key="ButtonsNoLeftRightMargin">
        <Setter Property="Control.HorizontalAlignment" Value="Stretch"/>
        <Setter Property="Control.Height" Value="50" />
        <Setter Property="Control.FontSize" Value="35" />
        <Setter Property="Control.Margin" Value="0,10,0,10" />
    </Style>
    <Style x:Key="SaleButtons">
        <Setter Property="Control.FontSize" Value="15" />
        <Setter Property="Control.Margin" Value="10,2,0,2" />
        <Setter Property="Control.Padding" Value="10,5,10,5" />
    </Style>
    <Style x:Key="SaleButtonsActive">
        <Setter Property="Control.FontSize" Value="15" />
        <Setter Property="Control.Margin" Value="10,2,0,2" />
        <Setter Property="Control.Padding" Value="10,5,10,5" />
        <Setter Property="Control.BorderBrush" Value="DarkBlue" />
        <Setter Property="Control.Background" Value="DeepSkyBlue"/>
    </Style>
    <Style x:Key="MaxButtons">
        <Setter Property="Control.FontSize" Value="50" />
        <Setter Property="Control.Margin" Value="10" />
        <Setter Property="Control.Padding" Value="10" />
    </Style>
    <Style x:Key="MediumButtons">
        <Setter Property="Control.FontSize" Value="20" />
        <Setter Property="Control.Margin" Value="10" />
        <Setter Property="Control.Padding" Value="5" />
    </Style>
    <Style x:Key="SmallButtons">
        <Setter Property="Control.FontSize" Value="15" />
        <Setter Property="Control.Margin" Value="5" />
        <Setter Property="Control.Padding" Value="3,1,3,1" />
    </Style>

    <Style x:Key="TextBox">
        <Setter Property="Control.Height" Value="40"/>
        <Setter Property="Control.HorizontalAlignment" Value="Stretch"/>
        <Setter Property="Control.FontSize" Value="25" />
        <Setter Property="Control.Margin" Value="10,5,10,0" />
    </Style>
    <Style x:Key="ListBox">
        <Setter Property="Control.FontSize" Value="25" />
        <Setter Property="Control.Margin" Value="0" />
    </Style>

    <Style x:Key="ComboBox">
        <Setter Property="Control.FontSize" Value="25" />
        <Setter Property="Control.Margin" Value="10" />
    </Style>

    <Style x:Key="GroupBox">
        <Setter Property="Control.FontSize" Value="18"/>
        <Setter Property="Control.FontWeight" Value="Bold"/>
        <Setter Property="Border.BorderThickness" Value="3"/>
        <Setter Property="Border.BorderBrush" Value="DarkGray"/>
        <Setter Property="Border.CornerRadius" Value="5"/>
    </Style>

    <Style x:Key="StandardBigText">
        <Setter Property="Control.FontSize" Value="20"/>
        <Setter Property="Control.Margin" Value="0,0,0,0"/>
    </Style>
    <Style x:Key="StandardBoldBigText">
        <Setter Property="Control.FontSize" Value="20"/>
        <Setter Property="Control.Margin" Value="0,0,0,0"/>
        <Setter Property="Control.FontWeight" Value="Bold"/>
    </Style>
    <Style x:Key="StandardLabel">
        <Setter Property="Control.FontSize" Value="20"/>
        <Setter Property="Control.Margin" Value="10,0,0,0"/>
    </Style>
    <Style x:Key="StandardLabelWarning">
        <Setter Property="Control.FontSize" Value="20"/>
        <Setter Property="Control.Foreground" Value="Red"></Setter>
        <Setter Property="Control.Margin" Value="10,0,0,0"/>
    </Style>
    <Style x:Key="BoldLabelNoMargin">
        <Setter Property="Control.FontSize" Value="20"/>
        <Setter Property="Control.FontWeight" Value="Bold"/>
    </Style>
    <Style x:Key="BoldLabelWarningNoMargin">
        <Setter Property="Control.FontSize" Value="20"/>
        <Setter Property="Control.Foreground" Value="Red"></Setter>
        <Setter Property="Control.FontWeight" Value="Bold"/>
    </Style>
    <Style x:Key="BoldSuccess">
        <Setter Property="Control.FontSize" Value="20"/>
        <Setter Property="Control.Foreground" Value="Green"></Setter>
        <Setter Property="Control.FontWeight" Value="Bold"/>
    </Style>
    <Style TargetType="{x:Type DatePickerTextBox}">
        <Setter Property="Text" Value="Vælg en dato" />
    </Style>
</ResourceDictionary>
