- tweak: Style change - start

This commit is contained in:
2025-01-20 16:35:48 +03:00
parent 19de47bacf
commit 86e0536f0f
7 changed files with 58 additions and 33 deletions

View File

@@ -0,0 +1,4 @@
<ResourceDictionary xmlns="https://github.com/avaloniaui" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
<SolidColorBrush x:Key="NoneBackground">#00000000</SolidColorBrush>
<SolidColorBrush x:Key="DefaultBackground">#121212</SolidColorBrush>
</ResourceDictionary>

View File

@@ -4,34 +4,37 @@
</Style>
<Style Selector="Border">
<Setter Property="BorderBrush" Value="#343334" />
<Setter Property="Background" Value="#222222" />
<Setter Property="Background" Value="{StaticResource NoneBackground}" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="BoxShadow" Value="0 0 10 0 #222222" />
</Style>
<Style Selector="Label">
<Setter Property="Foreground" Value="#f7f7ff" />
</Style>
<Style Selector="ItemsControl">
<Setter Property="Background" Value="{StaticResource NoneBackground}" />
</Style>
<Style Selector="Button">
<Setter Property="BorderBrush" Value="#343334" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="Padding" Value="5" />
<Setter Property="CornerRadius" Value="10" />
<Setter Property="Background" Value="{StaticResource NoneBackground}" />
</Style>
<Style Selector="Button:pressed">
<Setter Property="RenderTransform" Value="{x:Null}" />
<Setter Property="Background" Value="{StaticResource NoneBackground}" />
</Style>
<Style Selector="Border.ButtonBack">
<Setter Property="Background" Value="#e63462" />
<Setter Property="CornerRadius" Value="0,0,10,0" />
<Style Selector="Button:pointerover">
<Setter Property="BorderThickness" Value="0,0,0,2" />
</Style>
<Style Selector="Button.ViewSelectButton">
<Setter Property="CornerRadius" Value="0,8,8,0" />
<Setter Property="Margin" Value="0,0,0,5" />
<Setter Property="Padding" Value="8" />
<Setter Property="Background" Value="#00000000" />
<Setter Property="Background" Value="{StaticResource NoneBackground}" />
</Style>
<Style Selector="Button.ViewSelectButton:pressed">
@@ -49,18 +52,18 @@
<Setter Property="CornerRadius" Value="0,8,8,0" />
<Setter Property="Margin" Value="0,0,0,5" />
<Setter Property="Padding" Value="8" />
<Setter Property="Background" Value="#00000000" />
<Setter Property="Background" Value="{StaticResource NoneBackground}" />
</Style>
<Style Selector="ListBox.AccountSelector > ListBoxItem">
<Style Selector="ListBox.AccountSelector &gt; ListBoxItem">
<Setter Property="CornerRadius" Value="0" />
<Setter Property="Margin" Value="0,0,0,0" />
<Setter Property="Padding" Value="0" />
<Setter Property="Background" Value="#00000000" />
<Setter Property="Background" Value="{StaticResource NoneBackground}" />
<Setter Property="Focusable" Value="False" />
</Style>
<Style Selector="ListBox.AccountSelector > ListBoxItem:selected">
<Setter Property="Background" Value="#00000000" />
<Style Selector="TextBox">
<Setter Property="Background" Value="{StaticResource NoneBackground}" />
</Style>
</Styles>