|
7 | 7 | Height="680" |
8 | 8 | MinWidth="900" |
9 | 9 | MinHeight="560" |
10 | | - WindowStartupLocation="CenterScreen"> |
11 | | - <Grid Margin="12"> |
12 | | - <Grid.RowDefinitions> |
13 | | - <RowDefinition Height="Auto" /> |
14 | | - <RowDefinition Height="10" /> |
15 | | - <RowDefinition Height="*" /> |
16 | | - </Grid.RowDefinitions> |
17 | | - <Grid.ColumnDefinitions> |
18 | | - <ColumnDefinition Width="320" /> |
19 | | - <ColumnDefinition Width="12" /> |
20 | | - <ColumnDefinition Width="*" /> |
21 | | - </Grid.ColumnDefinitions> |
| 10 | + WindowStartupLocation="CenterScreen" |
| 11 | + WindowStyle="None" |
| 12 | + AllowsTransparency="True" |
| 13 | + Background="Transparent" |
| 14 | + Foreground="{DynamicResource TextPrimaryBrush}"> |
| 15 | + <Border Background="{DynamicResource WindowBackgroundBrush}" |
| 16 | + CornerRadius="12" |
| 17 | + BorderBrush="{StaticResource BorderBrush}" |
| 18 | + BorderThickness="1"> |
| 19 | + <Grid> |
| 20 | + <Grid.RowDefinitions> |
| 21 | + <RowDefinition Height="Auto" /> |
| 22 | + <RowDefinition Height="*" /> |
| 23 | + </Grid.RowDefinitions> |
22 | 24 |
|
23 | | - <DockPanel Grid.Row="0" Grid.ColumnSpan="3"> |
24 | | - <StackPanel DockPanel.Dock="Left"> |
25 | | - <TextBlock VerticalAlignment="Center" |
26 | | - FontSize="17" |
27 | | - FontWeight="SemiBold" |
28 | | - Text="PrimeDictate Workspace" /> |
29 | | - <TextBlock Margin="0,4,0,0" |
30 | | - Foreground="#555" |
31 | | - Text="{Binding RuntimeStatusText}" /> |
32 | | - </StackPanel> |
33 | | - <StackPanel DockPanel.Dock="Right" Orientation="Horizontal"> |
34 | | - <Button Width="88" |
35 | | - Margin="0,0,8,0" |
36 | | - Content="Settings" |
37 | | - Click="OnSettingsClick" /> |
38 | | - <Button Width="88" |
39 | | - Content="History" |
40 | | - Click="OnHistoryClick" /> |
41 | | - </StackPanel> |
42 | | - </DockPanel> |
| 25 | + <!-- Custom Title Bar --> |
| 26 | + <Grid Background="Transparent" MouseLeftButtonDown="OnTitleBarMouseLeftButtonDown"> |
| 27 | + <Grid.ColumnDefinitions> |
| 28 | + <ColumnDefinition Width="*" /> |
| 29 | + <ColumnDefinition Width="Auto" /> |
| 30 | + </Grid.ColumnDefinitions> |
| 31 | + |
| 32 | + <StackPanel Orientation="Horizontal" Margin="16,12,0,12" VerticalAlignment="Center"> |
| 33 | + <TextBlock FontSize="16" |
| 34 | + FontWeight="SemiBold" |
| 35 | + Text="PrimeDictate Workspace" /> |
| 36 | + <TextBlock Margin="12,2,0,0" |
| 37 | + Foreground="{StaticResource TextSecondaryBrush}" |
| 38 | + VerticalAlignment="Center" |
| 39 | + Text="{Binding RuntimeStatusText}" /> |
| 40 | + </StackPanel> |
| 41 | + |
| 42 | + <StackPanel Grid.Column="1" Orientation="Horizontal" VerticalAlignment="Top" Margin="0,8,8,0"> |
| 43 | + <Button Width="88" Margin="0,0,8,0" Content="Settings" Click="OnSettingsClick" /> |
| 44 | + <Button Width="88" Margin="0,0,16,0" Content="History" Click="OnHistoryClick" /> |
| 45 | + <Button Width="32" Height="32" Content="—" Background="Transparent" BorderThickness="0" Click="OnMinimizeClick" ToolTip="Minimize" /> |
| 46 | + <Button Width="32" Height="32" Content="✕" Background="Transparent" BorderThickness="0" Click="OnCloseClick" ToolTip="Close" /> |
| 47 | + </StackPanel> |
| 48 | + </Grid> |
43 | 49 |
|
44 | | - <Border Grid.Row="2" |
45 | | - Grid.Column="0" |
46 | | - BorderBrush="#DDD" |
| 50 | + <Grid Grid.Row="1" Margin="12,0,12,12"> |
| 51 | + <Grid.ColumnDefinitions> |
| 52 | + <ColumnDefinition Width="320" /> |
| 53 | + <ColumnDefinition Width="12" /> |
| 54 | + <ColumnDefinition Width="*" /> |
| 55 | + </Grid.ColumnDefinitions> |
| 56 | + |
| 57 | + <Border Grid.Column="0" |
| 58 | + BorderBrush="{StaticResource BorderBrush}" |
47 | 59 | BorderThickness="1" |
48 | 60 | CornerRadius="6" |
49 | 61 | Padding="10"> |
|
62 | 74 | <DataTemplate> |
63 | 75 | <Border Margin="0,0,0,6" |
64 | 76 | Padding="6" |
65 | | - BorderBrush="#EFEFEF" |
| 77 | + BorderBrush="{StaticResource BorderSubtleBrush}" |
66 | 78 | BorderThickness="1" |
67 | 79 | CornerRadius="4"> |
68 | 80 | <Grid> |
|
75 | 87 | <TextBlock Grid.Row="1" |
76 | 88 | Margin="0,2,0,0" |
77 | 89 | FontSize="12" |
78 | | - Foreground="#666" |
| 90 | + Foreground="{StaticResource TextSecondaryBrush}" |
79 | 91 | Text="{Binding Summary}" /> |
80 | 92 | <TextBlock Grid.Row="2" |
81 | 93 | Margin="0,4,0,0" |
82 | 94 | FontSize="12" |
83 | | - Foreground="#333" |
| 95 | + Foreground="{StaticResource TextSecondaryBrush}" |
84 | 96 | Text="{Binding LatestTranscript}" |
85 | 97 | TextTrimming="CharacterEllipsis" |
86 | 98 | ToolTip="{Binding LatestTranscript}" /> |
|
92 | 104 | </DockPanel> |
93 | 105 | </Border> |
94 | 106 |
|
95 | | - <Border Grid.Row="2" |
96 | | - Grid.Column="2" |
97 | | - BorderBrush="#DDD" |
| 107 | + <Border Grid.Column="2" |
| 108 | + BorderBrush="{StaticResource BorderBrush}" |
98 | 109 | BorderThickness="1" |
99 | 110 | CornerRadius="6" |
100 | 111 | Padding="10"> |
|
123 | 134 | <GridViewColumn.CellTemplate> |
124 | 135 | <DataTemplate> |
125 | 136 | <TextBlock FontFamily="Consolas" |
126 | | - Foreground="#666" |
| 137 | + Foreground="{StaticResource TextSecondaryBrush}" |
127 | 138 | Text="{Binding TimestampUtc, StringFormat={}{0:HH:mm:ss}}" /> |
128 | 139 | </DataTemplate> |
129 | 140 | </GridViewColumn.CellTemplate> |
|
160 | 171 | <GridViewColumn.CellTemplate> |
161 | 172 | <DataTemplate> |
162 | 173 | <TextBlock FontFamily="Consolas" |
163 | | - Foreground="#666" |
| 174 | + Foreground="{StaticResource TextSecondaryBrush}" |
164 | 175 | Text="{Binding TimestampUtc, StringFormat={}{0:HH:mm:ss}}" /> |
165 | 176 | </DataTemplate> |
166 | 177 | </GridViewColumn.CellTemplate> |
|
181 | 192 | </Grid> |
182 | 193 | </Border> |
183 | 194 | </Grid> |
| 195 | + </Grid> |
| 196 | + </Border> |
184 | 197 | </Window> |
0 commit comments