Базовая работа на Linux
This commit is contained in:
@@ -1,10 +1,41 @@
|
||||
<Application xmlns="https://github.com/avaloniaui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
x:Class="Sms.TaskTwo.Avalonia.App"
|
||||
RequestedThemeVariant="Default">
|
||||
<!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
|
||||
|
||||
<Application.Styles>
|
||||
<FluentTheme />
|
||||
</Application.Styles>
|
||||
</Application>
|
||||
RequestedThemeVariant="Light">
|
||||
<Application.Styles>
|
||||
<StyleInclude Source="avares://Avalonia.Controls.DataGrid/Themes/Fluent.xaml" />
|
||||
<FluentTheme />
|
||||
<Style Selector="Button.titleButton">
|
||||
<Setter Property="Width" Value="40" />
|
||||
<Setter Property="Height" Value="44" />
|
||||
<Setter Property="Background" Value="Transparent" />
|
||||
<Setter Property="BorderThickness" Value="0" />
|
||||
<Setter Property="FontSize" Value="18" />
|
||||
<Setter Property="Padding" Value="0" />
|
||||
<Setter Property="CornerRadius" Value="0" />
|
||||
</Style>
|
||||
<Style Selector="Button.titleButton:pointerover">
|
||||
<Setter Property="Background" Value="#D8D8D8" />
|
||||
</Style>
|
||||
<Style Selector="Button.titleButton.close:pointerover">
|
||||
<Setter Property="Background" Value="#E81123" />
|
||||
<Setter Property="Foreground" Value="White" />
|
||||
</Style>
|
||||
<Style Selector="DataGridRow.appSettings">
|
||||
<Setter Property="Background" Value="#E3F2FD" />
|
||||
</Style>
|
||||
<Style Selector="DataGridRow.custom">
|
||||
<Setter Property="Background" Value="#FFF8E1" />
|
||||
</Style>
|
||||
<Style Selector="DataGridRow.userStore">
|
||||
<Setter Property="BorderBrush" Value="#2E7D32" />
|
||||
<Setter Property="BorderThickness" Value="0,0,0,2" />
|
||||
</Style>
|
||||
<Style Selector="DataGridRow.appSettings.userStore">
|
||||
<Setter Property="Background" Value="#C8E6C9" />
|
||||
</Style>
|
||||
<Style Selector="DataGrid">
|
||||
<Setter Property="RowHeight" Value="32" />
|
||||
</Style>
|
||||
</Application.Styles>
|
||||
</Application>
|
||||
|
||||
Reference in New Issue
Block a user