CineBook Projekt hinzugefügt
This commit is contained in:
139
App.xaml
Normal file
139
App.xaml
Normal file
@@ -0,0 +1,139 @@
|
||||
<Application x:Class="CineBook.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
StartupUri="Views/LoginWindow.xaml">
|
||||
<Application.Resources>
|
||||
<SolidColorBrush x:Key="BrushBlack" Color="#0A0A0A"/>
|
||||
<SolidColorBrush x:Key="BrushGold" Color="#F5C518"/>
|
||||
<SolidColorBrush x:Key="BrushRed" Color="#C0392B"/>
|
||||
<SolidColorBrush x:Key="BrushCream" Color="#F5F0E8"/>
|
||||
<SolidColorBrush x:Key="BrushGray" Color="#2C2C2C"/>
|
||||
<SolidColorBrush x:Key="BrushDarkGray" Color="#1A1A1A"/>
|
||||
<SolidColorBrush x:Key="BrushLightGray" Color="#444444"/>
|
||||
<SolidColorBrush x:Key="BrushGreen" Color="#27AE60"/>
|
||||
<SolidColorBrush x:Key="BrushTransparent" Color="Transparent"/>
|
||||
|
||||
<!-- Global Button Style -->
|
||||
<Style x:Key="RetroButton" TargetType="Button">
|
||||
<Setter Property="Background" Value="{StaticResource BrushGold}"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource BrushBlack}"/>
|
||||
<Setter Property="FontFamily" Value="Courier New"/>
|
||||
<Setter Property="FontWeight" Value="Bold"/>
|
||||
<Setter Property="FontSize" Value="12"/>
|
||||
<Setter Property="Padding" Value="14,7"/>
|
||||
<Setter Property="BorderThickness" Value="2"/>
|
||||
<Setter Property="BorderBrush" Value="#A0820F"/>
|
||||
<Setter Property="Cursor" Value="Hand"/>
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="Button">
|
||||
<Border Background="{TemplateBinding Background}"
|
||||
BorderBrush="{TemplateBinding BorderBrush}"
|
||||
BorderThickness="{TemplateBinding BorderThickness}"
|
||||
CornerRadius="2">
|
||||
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"
|
||||
Margin="{TemplateBinding Padding}"/>
|
||||
</Border>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsMouseOver" Value="True">
|
||||
<Setter Property="Background" Value="#FFD700"/>
|
||||
<Setter Property="BorderBrush" Value="#F5C518"/>
|
||||
</Trigger>
|
||||
<Trigger Property="IsPressed" Value="True">
|
||||
<Setter Property="Background" Value="#A0820F"/>
|
||||
</Trigger>
|
||||
<Trigger Property="IsEnabled" Value="False">
|
||||
<Setter Property="Opacity" Value="0.5"/>
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="RetroButtonRed" TargetType="Button" BasedOn="{StaticResource RetroButton}">
|
||||
<Setter Property="Background" Value="{StaticResource BrushRed}"/>
|
||||
<Setter Property="Foreground" Value="White"/>
|
||||
<Setter Property="BorderBrush" Value="#922B21"/>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="RetroButtonGray" TargetType="Button" BasedOn="{StaticResource RetroButton}">
|
||||
<Setter Property="Background" Value="{StaticResource BrushLightGray}"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource BrushCream}"/>
|
||||
<Setter Property="BorderBrush" Value="#222"/>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="RetroButtonGreen" TargetType="Button" BasedOn="{StaticResource RetroButton}">
|
||||
<Setter Property="Background" Value="{StaticResource BrushGreen}"/>
|
||||
<Setter Property="Foreground" Value="White"/>
|
||||
<Setter Property="BorderBrush" Value="#1E8449"/>
|
||||
</Style>
|
||||
|
||||
<!-- TextBox Style -->
|
||||
<Style x:Key="RetroTextBox" TargetType="TextBox">
|
||||
<Setter Property="Background" Value="#111"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource BrushGold}"/>
|
||||
<Setter Property="CaretBrush" Value="{StaticResource BrushGold}"/>
|
||||
<Setter Property="BorderBrush" Value="#444"/>
|
||||
<Setter Property="BorderThickness" Value="1"/>
|
||||
<Setter Property="FontFamily" Value="Courier New"/>
|
||||
<Setter Property="FontSize" Value="13"/>
|
||||
<Setter Property="Padding" Value="6,4"/>
|
||||
<Setter Property="SelectionBrush" Value="{StaticResource BrushGold}"/>
|
||||
</Style>
|
||||
|
||||
<!-- PasswordBox Style -->
|
||||
<Style x:Key="RetroPasswordBox" TargetType="PasswordBox">
|
||||
<Setter Property="Background" Value="#111"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource BrushGold}"/>
|
||||
<Setter Property="CaretBrush" Value="{StaticResource BrushGold}"/>
|
||||
<Setter Property="BorderBrush" Value="#444"/>
|
||||
<Setter Property="BorderThickness" Value="1"/>
|
||||
<Setter Property="FontFamily" Value="Courier New"/>
|
||||
<Setter Property="FontSize" Value="13"/>
|
||||
<Setter Property="Padding" Value="6,4"/>
|
||||
</Style>
|
||||
|
||||
<!-- ComboBox Style -->
|
||||
<Style x:Key="RetroComboBox" TargetType="ComboBox">
|
||||
<Setter Property="Background" Value="#111"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource BrushGold}"/>
|
||||
<Setter Property="BorderBrush" Value="#444"/>
|
||||
<Setter Property="FontFamily" Value="Courier New"/>
|
||||
<Setter Property="Padding" Value="6,4"/>
|
||||
</Style>
|
||||
|
||||
<!-- Label Style -->
|
||||
<Style x:Key="RetroLabel" TargetType="TextBlock">
|
||||
<Setter Property="Foreground" Value="{StaticResource BrushCream}"/>
|
||||
<Setter Property="FontFamily" Value="Courier New"/>
|
||||
<Setter Property="FontSize" Value="12"/>
|
||||
</Style>
|
||||
|
||||
<Style x:Key="RetroHeader" TargetType="TextBlock">
|
||||
<Setter Property="Foreground" Value="{StaticResource BrushGold}"/>
|
||||
<Setter Property="FontFamily" Value="Courier New"/>
|
||||
<Setter Property="FontSize" Value="20"/>
|
||||
<Setter Property="FontWeight" Value="Bold"/>
|
||||
</Style>
|
||||
|
||||
<!-- DataGrid Style -->
|
||||
<Style x:Key="RetroDataGrid" TargetType="DataGrid">
|
||||
<Setter Property="Background" Value="#111"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource BrushCream}"/>
|
||||
<Setter Property="BorderBrush" Value="#333"/>
|
||||
<Setter Property="GridLinesVisibility" Value="Horizontal"/>
|
||||
<Setter Property="HorizontalGridLinesBrush" Value="#2a2a2a"/>
|
||||
<Setter Property="FontFamily" Value="Courier New"/>
|
||||
<Setter Property="FontSize" Value="12"/>
|
||||
<Setter Property="RowBackground" Value="#111"/>
|
||||
<Setter Property="AlternatingRowBackground" Value="#161616"/>
|
||||
<Setter Property="SelectionMode" Value="Single"/>
|
||||
<Setter Property="AutoGenerateColumns" Value="False"/>
|
||||
<Setter Property="CanUserAddRows" Value="False"/>
|
||||
<Setter Property="CanUserDeleteRows" Value="False"/>
|
||||
<Setter Property="IsReadOnly" Value="True"/>
|
||||
<Setter Property="HeadersVisibility" Value="Column"/>
|
||||
</Style>
|
||||
</Application.Resources>
|
||||
</Application>
|
||||
Reference in New Issue
Block a user