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> <ApplicationManifest>app.manifest</ApplicationManifest>
<AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault> <AvaloniaUseCompiledBindingsByDefault>true</AvaloniaUseCompiledBindingsByDefault>
<AssemblyVersion>1.0</AssemblyVersion> <AssemblyVersion>1.0</AssemblyVersion>
<FileVersion>1.5</FileVersion> <FileVersion>1.6</FileVersion>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View file

@ -26,7 +26,7 @@
</ExperimentalAcrylicBorder> </ExperimentalAcrylicBorder>
<Grid> <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"> <Border Background="#80000000" CornerRadius="10" Margin="10" Name="ContentBorder">
<ListBox Name="PasswordList" Background="Transparent" SelectionChanged="PasswordList_OnSelectionChanged" <ListBox Name="PasswordList" Background="Transparent" SelectionChanged="PasswordList_OnSelectionChanged"
Margin="10"> Margin="10">
@ -82,7 +82,8 @@
</ListBox> </ListBox>
</Border> </Border>
<Border Background="#80000000" Name="AddPasswordContainer" IsVisible="False" PointerPressed="OuterBorder_OnPointerPressed" ZIndex="11"> <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" HorizontalAlignment="Center"
VerticalAlignment="Center" VerticalAlignment="Center"
Height="300" Height="300"

View file

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