|
9 | 9 | xmlns:avalonia="clr-namespace:FluentIcons.Avalonia;assembly=FluentIcons.Avalonia"
|
10 | 10 | xmlns:windowModels="clr-namespace:vj0.WindowModels"
|
11 | 11 | xmlns:profiles="clr-namespace:vj0.Controls.Profiles"
|
12 |
| - xmlns:application="clr-namespace:vj0.Application" |
13 | 12 | xmlns:avalonia1="clr-namespace:Material.Icons.Avalonia;assembly=Material.Icons.Avalonia"
|
14 | 13 | xmlns:vj0="clr-namespace:vj0"
|
15 | 14 |
|
|
52 | 51 | Does not look good at higher opacities
|
53 | 52 | -->
|
54 | 53 | <Grid Opacity="0.25" Name="TitleBarGradient">
|
55 |
| - <Border Margin="15 0 15 0" Opacity="{Binding TitleBarOpacity}" Background="{Binding TitleBarSecondGradientBrush}" HorizontalAlignment="Stretch" Height="40"> |
| 54 | + <Border Margin="10 0 10 0" Opacity="{Binding TitleBarOpacity}" Background="{Binding TitleBarSecondGradientBrush}" HorizontalAlignment="Stretch" Height="40"> |
56 | 55 | <Border.Effect>
|
57 |
| - <BlurEffect Radius="50"/> |
| 56 | + <BlurEffect Radius="75"/> |
58 | 57 | </Border.Effect>
|
59 | 58 | </Border>
|
60 | 59 | </Grid>
|
61 | 60 |
|
62 | 61 | <!-- Profile Button -->
|
63 |
| - <Button Name="Profile" ClipToBounds="True" Opacity="{Binding ProfileButtonOpacity}" BorderThickness="0" Padding="5 0 10 0" Background="Transparent" Height="45" CornerRadius="8"> |
| 62 | + <Button Name="Profile" ClipToBounds="True" Opacity="{Binding ProfileButtonOpacity}" BorderThickness="0" Padding="5 0 10 0" Background="Transparent" Height="45" CornerRadius="10"> |
64 | 63 | <Button.Flyout>
|
65 | 64 | <Flyout>
|
66 |
| - <Grid Width="150" Margin="3"> |
| 65 | + <Grid Margin="3"> |
67 | 66 | <StackPanel Spacing="8">
|
68 | 67 | <Button Cursor="Hand" Click="EditProfile" HorizontalAlignment="Stretch" Padding="10 0" Height="35" Background="Transparent" CornerRadius="8" HorizontalContentAlignment="Left" VerticalContentAlignment="Center">
|
69 | 68 | <ToolTip.Tip>
|
|
73 | 72 | </StackPanel>
|
74 | 73 | </ToolTip.Tip>
|
75 | 74 |
|
76 |
| - <StackPanel Orientation="Horizontal" Spacing="10"> |
77 |
| - <avalonia:FluentIcon Icon="Settings" IconSize="Size32" FontSize="21" IconVariant="Regular"/> |
| 75 | + <StackPanel Orientation="Horizontal" Spacing="12" Opacity="1"> |
| 76 | + <avalonia:FluentIcon Icon="Settings" IconSize="Size32" FontSize="17" IconVariant="Regular"/> |
78 | 77 |
|
79 | 78 | <TextBlock FontWeight="Light" FontSize="14" HorizontalAlignment="Center" VerticalAlignment="Center">
|
80 | 79 | Settings
|
|
87 | 86 | </Button.Flyout>
|
88 | 87 |
|
89 | 88 | <StackPanel Orientation="Horizontal" Spacing="10" Background="Transparent" Cursor="Hand">
|
90 |
| - <profiles:ProfileSplashControl Radius="20" SplashScale="1.09" DataContext="{Binding CurrentProfile}"/> |
| 89 | + <profiles:ProfileSplashControl Radius="12" SplashScale="1.09" DataContext="{Binding CurrentProfile}"/> |
91 | 90 |
|
92 | 91 | <!-- Display Name -->
|
93 | 92 | <TextBlock Name="ProfileName" MaxWidth="250" TextWrapping="NoWrap" TextTrimming="CharacterEllipsis" Foreground="White" Text="{Binding ProfileDisplayName}" FontSize="14" FontWeight="DemiBold" VerticalAlignment="Center" HorizontalAlignment="Center"></TextBlock>
|
|
124 | 123 | </Border>
|
125 | 124 |
|
126 | 125 | <StackPanel HorizontalAlignment="Left" VerticalAlignment="Center" Spacing="2">
|
127 |
| - <TextBlock FontSize="16" HorizontalAlignment="Left" VerticalAlignment="Center" Text="{x:Static vj0:Globals.VERSION}"/> |
| 126 | + <TextBlock FontSize="16" FontWeight="SemiBold" HorizontalAlignment="Left" VerticalAlignment="Center" Text="{x:Static vj0:Globals.VERSION}"/> |
128 | 127 | <TextBlock FontFamily="Consolas" IsVisible="{x:Static vj0:Globals.IS_COMMIT_AVAILABLE}" FontSize="12" Opacity="0.5" Text="{x:Static vj0:Globals.COMMIT}"/>
|
129 | 128 | <TextBlock FontFamily="Consolas" IsVisible="{x:Static vj0:Globals.IS_COMMIT_UNAVAILABLE}" FontSize="12" Opacity="0.5" Text="unknown commit"/>
|
130 | 129 | </StackPanel>
|
|
0 commit comments