|
62 | 62 | <Button Name="Profile" ClipToBounds="True" Opacity="{Binding ProfileButtonOpacity}" BorderThickness="0" Padding="5 0 10 0" Background="Transparent" Height="45" CornerRadius="10">
|
63 | 63 | <Button.Flyout>
|
64 | 64 | <Flyout>
|
65 |
| - <Grid Margin="3"> |
66 |
| - <StackPanel Spacing="8"> |
67 |
| - <Button Cursor="Hand" Click="EditProfile" HorizontalAlignment="Stretch" Padding="10 0" Height="35" Background="Transparent" CornerRadius="8" HorizontalContentAlignment="Left" VerticalContentAlignment="Center"> |
| 65 | + <Grid Margin="5"> |
| 66 | + <StackPanel Spacing="15"> |
| 67 | + <StackPanel Orientation="Horizontal" Spacing="12" Margin="0 0 20 0"> |
| 68 | + <profiles:ProfileSplashControl Radius="12" SplashScale="1.5" DataContext="{Binding CurrentProfile}"/> |
| 69 | + |
| 70 | + <StackPanel HorizontalAlignment="Left" VerticalAlignment="Center" Spacing="0"> |
| 71 | + <TextBlock MaxWidth="250" TextWrapping="NoWrap" TextTrimming="CharacterEllipsis" FontSize="18" FontWeight="DemiBold" HorizontalAlignment="Left" VerticalAlignment="Center" Text="{Binding ProfileDisplayName}"/> |
| 72 | + <TextBlock FontFamily="Consolas" FontSize="14" Opacity="0.5" Text="{Binding CurrentProfile.FileID}"/> |
| 73 | + </StackPanel> |
| 74 | + </StackPanel> |
| 75 | + |
| 76 | + <Border Background="White" Height="1" Opacity="0.06" Margin="-50 5 -50 0"></Border> |
| 77 | + |
| 78 | + <Button Cursor="Hand" Click="EditProfile" HorizontalAlignment="Stretch" Padding="10 0" Height="45" Background="Transparent" CornerRadius="8" HorizontalContentAlignment="Left" VerticalContentAlignment="Center"> |
68 | 79 | <ToolTip.Tip>
|
69 | 80 | <StackPanel Orientation="Horizontal">
|
70 | 81 | <TextBlock HorizontalAlignment="Center" VerticalAlignment="Center">Edit Settings</TextBlock>
|
|
73 | 84 | </ToolTip.Tip>
|
74 | 85 |
|
75 | 86 | <StackPanel Orientation="Horizontal" Spacing="12" Opacity="1">
|
76 |
| - <avalonia:FluentIcon Icon="Settings" IconSize="Size32" FontSize="17" IconVariant="Regular"/> |
| 87 | + <avalonia:FluentIcon Icon="Settings" IconSize="Size32" FontSize="19" IconVariant="Regular"/> |
77 | 88 |
|
78 |
| - <TextBlock FontWeight="Light" FontSize="14" HorizontalAlignment="Center" VerticalAlignment="Center"> |
| 89 | + <TextBlock FontWeight="Light" FontSize="16" HorizontalAlignment="Center" VerticalAlignment="Center"> |
79 | 90 | Settings
|
80 | 91 | </TextBlock>
|
81 | 92 | </StackPanel>
|
|
110 | 121 | <Button.Flyout>
|
111 | 122 | <Flyout Placement="Bottom" VerticalOffset="3">
|
112 | 123 | <StackPanel Spacing="15" Margin="5">
|
113 |
| - <StackPanel Orientation="Horizontal" Spacing="10" Margin="0 0 10 0"> |
| 124 | + <StackPanel Orientation="Horizontal" Spacing="12" Margin="0 0 10 0"> |
114 | 125 | <Border Width="40" Height="40" CornerRadius="10" Background="Black">
|
115 | 126 | <Image
|
116 | 127 | Source="/Assets/Views/Version.png"
|
117 | 128 | Width="30"
|
118 | 129 | HorizontalAlignment="Center"
|
119 | 130 | VerticalAlignment="Center"
|
120 | 131 | IsHitTestVisible="False"
|
121 |
| - Height="16" |
| 132 | + Height="17" |
122 | 133 | Margin="0 2 0 0"/>
|
123 | 134 | </Border>
|
124 | 135 |
|
|
132 | 143 | <StackPanel Orientation="Horizontal" Spacing="5" HorizontalAlignment="Center">
|
133 | 144 | <Button Click="CopyGitCloneCommand" Cursor="Hand"
|
134 | 145 | HorizontalAlignment="Stretch"
|
135 |
| - Padding="10" |
136 | 146 | FontWeight="Normal"
|
137 | 147 | Opacity="0.95"
|
138 | 148 | Background="Black"
|
| 149 | + Height="30" |
| 150 | + BorderThickness="1" |
139 | 151 | BorderBrush="#1f2023"
|
140 | 152 | CornerRadius="15">
|
141 | 153 |
|
|
170 | 182 | <avalonia1:MaterialIcon Kind="Git"/>
|
171 | 183 | </Button>
|
172 | 184 |
|
173 |
| - <Button HorizontalAlignment="Stretch" ToolTip.Tip="View Commit" Background="Black" CornerRadius="15" Cursor="Hand" IsVisible="{x:Static vj0:Globals.IS_COMMIT_AVAILABLE}" Click="OpenGitHubLink" Height="30"> |
| 185 | + <Button HorizontalAlignment="Stretch" BorderThickness="1" ToolTip.Tip="View Commit" Background="Black" CornerRadius="15" Cursor="Hand" IsVisible="{x:Static vj0:Globals.IS_COMMIT_AVAILABLE}" Click="OpenGitHubLink" Height="30"> |
174 | 186 | <Button.Resources>
|
175 | 187 | <ResourceDictionary>
|
176 | 188 | <SolidColorBrush x:Key="ButtonBackgroundPointerOver">#0f0f0f</SolidColorBrush>
|
|
185 | 197 | <avalonia1:MaterialIcon Kind="Github"/>
|
186 | 198 | </Button>
|
187 | 199 |
|
188 |
| - <Button HorizontalAlignment="Stretch" ToolTip.Tip="View License" Background="Black" CornerRadius="15" Cursor="Hand" Click="OpenGitHubLicense" Height="30"> |
| 200 | + <Button HorizontalAlignment="Stretch" BorderThickness="1" ToolTip.Tip="View License" Background="Black" CornerRadius="15" Cursor="Hand" Click="OpenGitHubLicense" Height="30"> |
189 | 201 | <Button.Resources>
|
190 | 202 | <ResourceDictionary>
|
191 | 203 | <SolidColorBrush x:Key="ButtonBackgroundPointerOver">#0f0f0f</SolidColorBrush>
|
|
0 commit comments