mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-12 23:14:34 +01:00
* Rework ServerSelector app UI * fix border on linux --------- Co-authored-by: Mikhail Tyukin <mishakeys20@gmail.com>
26 lines
1.0 KiB
XML
26 lines
1.0 KiB
XML
<Application xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:sty="using:FluentAvalonia.Styling"
|
|
x:Class="ServerSelector.App"
|
|
RequestedThemeVariant="Dark">
|
|
<!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
|
|
|
|
<Application.Styles>
|
|
<sty:FluentAvaloniaTheme />
|
|
<Style Selector="Button">
|
|
<Setter Property="Transitions">
|
|
<Transitions>
|
|
<TransformOperationsTransition Property="RenderTransform" Duration="0:0:0.2"/>
|
|
</Transitions>
|
|
</Setter>
|
|
</Style>
|
|
<Style Selector="Button:pointerover">
|
|
<Setter Property="RenderTransform" Value="scale(1.05)"/>
|
|
<Setter Property="Opacity" Value="0.9"/>
|
|
</Style>
|
|
<Style Selector="Button:pressed">
|
|
<Setter Property="RenderTransform" Value="scale(0.95)"/>
|
|
</Style>
|
|
</Application.Styles>
|
|
</Application>
|