Files
asistencia-desktop/Asistencia/Styles/Cards.axaml
T

84 lines
3.7 KiB
XML

<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<Style Selector="Button.primary">
<Setter Property="Background" Value="{DynamicResource PrimaryNavy}" />
<Setter Property="Foreground" Value="{DynamicResource TextOnPrimary}" />
<Setter Property="CornerRadius" Value="8" />
<Setter Property="Padding" Value="20,10" />
<Setter Property="FontWeight" Value="SemiBold" />
<Setter Property="FontSize" Value="14" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="HorizontalContentAlignment" Value="Center" />
</Style>
<Style Selector="Button.primary:pointerover /template/ ContentPresenter">
<Setter Property="Background" Value="{DynamicResource PrimaryNavyLight}" />
</Style>
<Style Selector="Button.secondary">
<Setter Property="Background" Value="Transparent" />
<Setter Property="Foreground" Value="{DynamicResource PrimaryNavy}" />
<Setter Property="CornerRadius" Value="8" />
<Setter Property="Padding" Value="20,10" />
<Setter Property="FontWeight" Value="SemiBold" />
<Setter Property="FontSize" Value="14" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="BorderBrush" Value="{DynamicResource PrimaryNavy}" />
<Setter Property="HorizontalContentAlignment" Value="Center" />
</Style>
<Style Selector="Button.secondary:pointerover /template/ ContentPresenter">
<Setter Property="Background" Value="#F0F4FF" />
</Style>
<Style Selector="Button.danger">
<Setter Property="Background" Value="{DynamicResource DangerColor}" />
<Setter Property="Foreground" Value="{DynamicResource TextOnPrimary}" />
<Setter Property="CornerRadius" Value="8" />
<Setter Property="Padding" Value="20,10" />
<Setter Property="FontWeight" Value="SemiBold" />
<Setter Property="FontSize" Value="14" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="HorizontalContentAlignment" Value="Center" />
</Style>
<Style Selector="Button.success">
<Setter Property="Background" Value="{DynamicResource SuccessColor}" />
<Setter Property="Foreground" Value="{DynamicResource TextOnPrimary}" />
<Setter Property="CornerRadius" Value="8" />
<Setter Property="Padding" Value="12,8" />
<Setter Property="FontWeight" Value="SemiBold" />
<Setter Property="BorderThickness" Value="0" />
</Style>
<Style Selector="Border.card">
<Setter Property="Background" Value="{DynamicResource BackgroundPrimary}" />
<Setter Property="CornerRadius" Value="12" />
<Setter Property="Padding" Value="24" />
<Setter Property="BorderBrush" Value="{DynamicResource BorderColor}" />
<Setter Property="BorderThickness" Value="1" />
</Style>
<Style Selector="TextBlock.page-header">
<Setter Property="FontSize" Value="24" />
<Setter Property="FontWeight" Value="Bold" />
<Setter Property="Foreground" Value="{DynamicResource TextPrimary}" />
<Setter Property="Margin" Value="0,0,0,24" />
</Style>
<Style Selector="TextBlock.section-title">
<Setter Property="FontSize" Value="16" />
<Setter Property="FontWeight" Value="SemiBold" />
<Setter Property="Foreground" Value="{DynamicResource TextPrimary}" />
<Setter Property="Margin" Value="0,0,0,12" />
</Style>
<Style Selector="TextBlock.card-title">
<Setter Property="FontSize" Value="18" />
<Setter Property="FontWeight" Value="Bold" />
<Setter Property="Foreground" Value="{DynamicResource TextPrimary}" />
</Style>
</Styles>