Fixed some styling
All checks were successful
Java CI / test (push) Successful in 1m23s

This commit is contained in:
WeeXnes 2025-05-06 20:49:41 +02:00
parent 7717e63d04
commit 2156aff43c
3 changed files with 8 additions and 5 deletions

View file

@ -8,7 +8,7 @@
<ApplicationManifest>app.manifest</ApplicationManifest>
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
<AssemblyVersion>1.0</AssemblyVersion>
<FileVersion>1.5</FileVersion>
<FileVersion>1.6</FileVersion>
</PropertyGroup>
<ItemGroup>

View file

@ -26,7 +26,7 @@
</ExperimentalAcrylicBorder>
<Grid>
<Border Width="1" Background="#80000000" Margin="5,10" HorizontalAlignment="Center" ZIndex="1"/>
<Border Width="1" Background="#80000000" Margin="5,20" HorizontalAlignment="Center" ZIndex="1" Name="MiddleSeperator" IsVisible="False"/>
<Border Background="#80000000" CornerRadius="10" Margin="10" Name="ContentBorder">
<ListBox Name="PasswordList" Background="Transparent" SelectionChanged="PasswordList_OnSelectionChanged"
Margin="10">
@ -82,7 +82,8 @@
</ListBox>
</Border>
<Border Background="#80000000" Name="AddPasswordContainer" IsVisible="False" PointerPressed="OuterBorder_OnPointerPressed" ZIndex="11">
<Border Background="#2b2f36" CornerRadius="10" PointerPressed="InnerBorder_OnPointerPressed"
<Border Background="#80000000" CornerRadius="10" PointerPressed="InnerBorder_OnPointerPressed"
Name="AddPasswordBorder"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Height="300"

View file

@ -20,13 +20,15 @@ public partial class MainWindow : Window
this.TransparencyLevelHint = new[] { WindowTransparencyLevel.None };
this.Background = new SolidColorBrush(Color.Parse(ColorScheme.Surface.Color_1));
this.ContentBorder.Background = new SolidColorBrush(Color.Parse(ColorScheme.Surface.Color_2));
AcrylicBorderObject.IsVisible = false;
this.AddPasswordBorder.Background = new SolidColorBrush(Color.Parse(ColorScheme.Surface.Color_2));
this.MiddleSeperator.IsVisible = true;
this.AcrylicBorderObject.IsVisible = false;
}
else
{
this.TransparencyLevelHint = new[] { WindowTransparencyLevel.AcrylicBlur };
this.Background = Brushes.Transparent;
AcrylicBorderObject.IsVisible = true;
this.AcrylicBorderObject.IsVisible = true;
}
}
public MainWindow(string masterPassword)