-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPageTemplatePickerWindow.xaml
More file actions
358 lines (338 loc) · 29.3 KB
/
Copy pathPageTemplatePickerWindow.xaml
File metadata and controls
358 lines (338 loc) · 29.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
<Window
x:Class="Caelum.PageTemplatePickerWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:controls="clr-namespace:Caelum.Controls"
Width="980"
Height="820"
MinWidth="720"
MinHeight="560"
WindowStartupLocation="CenterOwner"
ResizeMode="CanResize"
WindowStyle="None"
Background="Transparent"
AllowsTransparency="True"
ShowInTaskbar="False">
<Window.Resources>
<Style x:Key="TemplateCardButtonStyle" TargetType="Button">
<Setter Property="Background" Value="{DynamicResource ThemeSurfaceBrush}"/>
<Setter Property="BorderBrush" Value="{DynamicResource ThemeBorderBrush}"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="Padding" Value="0"/>
<Setter Property="Cursor" Value="Hand"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border x:Name="Root"
Background="{TemplateBinding Background}"
BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
CornerRadius="18"
Padding="{TemplateBinding Padding}">
<ContentPresenter/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="Tag" Value="True">
<Setter TargetName="Root" Property="Background" Value="{DynamicResource ThemeSelectionBrush}"/>
<Setter TargetName="Root" Property="BorderBrush" Value="{DynamicResource ThemeAccentBrush}"/>
<Setter TargetName="Root" Property="BorderThickness" Value="1.5"/>
</Trigger>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="Root" Property="Background" Value="{DynamicResource ThemeControlHoverBrush}"/>
<Setter TargetName="Root" Property="BorderBrush" Value="{DynamicResource ThemeAccentBrush}"/>
</Trigger>
<Trigger Property="IsPressed" Value="True">
<Setter TargetName="Root" Property="Background" Value="{DynamicResource ThemeControlPressedBrush}"/>
<Setter TargetName="Root" Property="BorderBrush" Value="{DynamicResource ThemeAccentPressedBrush}"/>
</Trigger>
<Trigger Property="IsKeyboardFocused" Value="True">
<Setter TargetName="Root" Property="BorderBrush" Value="{DynamicResource ThemeFocusBrush}"/>
<Setter TargetName="Root" Property="BorderThickness" Value="2"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="IconButtonStyle" TargetType="Button">
<Setter Property="Width" Value="34"/>
<Setter Property="Height" Value="34"/>
<Setter Property="Background" Value="Transparent"/>
<Setter Property="BorderThickness" Value="0"/>
<Setter Property="Cursor" Value="Hand"/>
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="Button">
<Border x:Name="Root"
Background="{TemplateBinding Background}"
BorderBrush="{DynamicResource ThemeFocusBrush}"
BorderThickness="0"
CornerRadius="10">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="Root" Property="Background" Value="{DynamicResource ThemeControlHoverBrush}"/>
</Trigger>
<Trigger Property="IsPressed" Value="True">
<Setter TargetName="Root" Property="Background" Value="{DynamicResource ThemeControlPressedBrush}"/>
</Trigger>
<Trigger Property="IsKeyboardFocused" Value="True">
<Setter TargetName="Root" Property="Background" Value="{DynamicResource ThemeControlHoverBrush}"/>
<Setter TargetName="Root" Property="BorderBrush" Value="{DynamicResource ThemeFocusBrush}"/>
<Setter TargetName="Root" Property="BorderThickness" Value="2"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Window.Resources>
<Border Background="{DynamicResource ThemePaperBrush}" CornerRadius="18" Padding="24" BorderBrush="{DynamicResource ThemeBorderBrush}" BorderThickness="1">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<StackPanel>
<TextBlock x:Name="TitleTextBlock" FontSize="24" FontWeight="SemiBold" Foreground="{DynamicResource ThemeForegroundBrush}"/>
<TextBlock x:Name="SubtitleTextBlock" Margin="0,8,0,0" FontSize="13" Foreground="{DynamicResource ThemeSubtleForegroundBrush}" TextWrapping="Wrap"/>
</StackPanel>
<Button Grid.Column="1"
x:Name="CloseButton"
Width="34"
Height="34"
Margin="12,0,0,0"
Click="CloseButton_Click"
Background="Transparent"
BorderThickness="0"
Cursor="Hand">
<Button.Template>
<ControlTemplate TargetType="Button">
<Border x:Name="Root"
Background="{TemplateBinding Background}"
BorderBrush="{DynamicResource ThemeFocusBrush}"
BorderThickness="0"
CornerRadius="10">
<ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="Root" Property="Background" Value="{DynamicResource ThemeControlHoverBrush}"/>
</Trigger>
<Trigger Property="IsKeyboardFocused" Value="True">
<Setter TargetName="Root" Property="Background" Value="{DynamicResource ThemeControlHoverBrush}"/>
<Setter TargetName="Root" Property="BorderBrush" Value="{DynamicResource ThemeFocusBrush}"/>
<Setter TargetName="Root" Property="BorderThickness" Value="2"/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Button.Template>
<controls:LucideIcon Kind="X" Width="14" Height="14" Stroke="{DynamicResource ThemeSubtleForegroundBrush}"/>
</Button>
</Grid>
<ScrollViewer x:Name="TemplateScrollViewer"
Grid.Row="1"
Margin="0,20,0,0"
VerticalScrollBarVisibility="Auto"
HorizontalScrollBarVisibility="Auto"
CanContentScroll="False"
PanningMode="Both">
<UniformGrid Columns="3" Rows="3" MinWidth="840">
<Button x:Name="BlankCard" Click="BlankCard_Click" Style="{StaticResource TemplateCardButtonStyle}" Margin="8">
<StackPanel Margin="18">
<Border Height="160" CornerRadius="16" Background="{DynamicResource ThemeSurfaceBrush}" BorderBrush="{DynamicResource ThemeBorderBrush}" BorderThickness="1">
<Grid Margin="18">
<Rectangle RadiusX="6" RadiusY="6" Fill="{DynamicResource ThemePaperBrush}" Stroke="{DynamicResource ThemeBorderBrush}" StrokeThickness="1"/>
</Grid>
</Border>
<TextBlock x:Name="BlankTitleTextBlock" Margin="0,16,0,0" FontSize="16" FontWeight="SemiBold" Foreground="{DynamicResource ThemeForegroundBrush}"/>
<TextBlock x:Name="BlankHintTextBlock" Margin="0,8,0,0" FontSize="12" Foreground="{DynamicResource ThemeSubtleForegroundBrush}" TextWrapping="Wrap"/>
</StackPanel>
</Button>
<Button x:Name="NotebookCard" Click="NotebookCard_Click" Style="{StaticResource TemplateCardButtonStyle}" Margin="8">
<StackPanel Margin="18">
<Border Height="160" CornerRadius="16" Background="{DynamicResource ThemeSurfaceAltBrush}" BorderBrush="{DynamicResource ThemeBorderBrush}" BorderThickness="1">
<Grid Margin="18">
<Rectangle RadiusX="6" RadiusY="6" Fill="{DynamicResource ThemePaperBrush}" Stroke="{DynamicResource ThemeBorderBrush}" StrokeThickness="1"/>
<Line X1="28" Y1="0" X2="28" Y2="124" Stroke="{DynamicResource ThemeMarginBrush}" StrokeThickness="1.5"/>
<Line X1="0" Y1="22" X2="120" Y2="22" Stroke="{DynamicResource ThemeInkBrush}" StrokeThickness="1" Opacity="0.32"/>
<Line X1="0" Y1="46" X2="120" Y2="46" Stroke="{DynamicResource ThemeSelectionBrush}" StrokeThickness="1"/>
<Line X1="0" Y1="70" X2="120" Y2="70" Stroke="{DynamicResource ThemeSelectionBrush}" StrokeThickness="1"/>
<Line X1="0" Y1="94" X2="120" Y2="94" Stroke="{DynamicResource ThemeSelectionBrush}" StrokeThickness="1"/>
</Grid>
</Border>
<TextBlock x:Name="NotebookTitleTextBlock" Margin="0,16,0,0" FontSize="16" FontWeight="SemiBold" Foreground="{DynamicResource ThemeForegroundBrush}"/>
<TextBlock x:Name="NotebookHintTextBlock" Margin="0,8,0,0" FontSize="12" Foreground="{DynamicResource ThemeSubtleForegroundBrush}" TextWrapping="Wrap"/>
</StackPanel>
</Button>
<Button x:Name="LinedCard" Click="LinedCard_Click" Style="{StaticResource TemplateCardButtonStyle}" Margin="8">
<StackPanel Margin="18">
<Border Height="160" CornerRadius="16" Background="{DynamicResource ThemeSurfaceBrush}" BorderBrush="{DynamicResource ThemeBorderBrush}" BorderThickness="1">
<Grid Margin="18">
<Rectangle RadiusX="6" RadiusY="6" Fill="{DynamicResource ThemePaperBrush}" Stroke="{DynamicResource ThemeBorderBrush}" StrokeThickness="1"/>
<Line X1="0" Y1="20" X2="120" Y2="20" Stroke="{DynamicResource ThemeBorderBrush}" StrokeThickness="1"/>
<Line X1="0" Y1="44" X2="120" Y2="44" Stroke="{DynamicResource ThemeBorderBrush}" StrokeThickness="1"/>
<Line X1="0" Y1="68" X2="120" Y2="68" Stroke="{DynamicResource ThemeBorderBrush}" StrokeThickness="1"/>
<Line X1="0" Y1="92" X2="120" Y2="92" Stroke="{DynamicResource ThemeBorderBrush}" StrokeThickness="1"/>
</Grid>
</Border>
<TextBlock x:Name="LinedTitleTextBlock" Margin="0,16,0,0" FontSize="16" FontWeight="SemiBold" Foreground="{DynamicResource ThemeForegroundBrush}"/>
<TextBlock x:Name="LinedHintTextBlock" Margin="0,8,0,0" FontSize="12" Foreground="{DynamicResource ThemeSubtleForegroundBrush}" TextWrapping="Wrap"/>
</StackPanel>
</Button>
<Button x:Name="QuadrilleCard" Click="QuadrilleCard_Click" Style="{StaticResource TemplateCardButtonStyle}" Margin="8">
<StackPanel Margin="18">
<Border Height="160" CornerRadius="16" Background="{DynamicResource ThemeSurfaceBrush}" BorderBrush="{DynamicResource ThemeBorderBrush}" BorderThickness="1">
<Grid Margin="18">
<Rectangle RadiusX="6" RadiusY="6" Fill="{DynamicResource ThemePaperBrush}" Stroke="{DynamicResource ThemeBorderBrush}" StrokeThickness="1"/>
<Line X1="24" Y1="0" X2="24" Y2="124" Stroke="{DynamicResource ThemeInkBrush}" StrokeThickness="1"/>
<Line X1="48" Y1="0" X2="48" Y2="124" Stroke="{DynamicResource ThemeSelectionBrush}" StrokeThickness="1"/>
<Line X1="72" Y1="0" X2="72" Y2="124" Stroke="{DynamicResource ThemeSelectionBrush}" StrokeThickness="1"/>
<Line X1="96" Y1="0" X2="96" Y2="124" Stroke="{DynamicResource ThemeAccentBrush}" StrokeThickness="1"/>
<Line X1="0" Y1="24" X2="120" Y2="24" Stroke="{DynamicResource ThemeAccentBrush}" StrokeThickness="1"/>
<Line X1="0" Y1="48" X2="120" Y2="48" Stroke="{DynamicResource ThemeSelectionBrush}" StrokeThickness="1"/>
<Line X1="0" Y1="72" X2="120" Y2="72" Stroke="{DynamicResource ThemeSelectionBrush}" StrokeThickness="1"/>
<Line X1="0" Y1="96" X2="120" Y2="96" Stroke="{DynamicResource ThemeAccentBrush}" StrokeThickness="1"/>
</Grid>
</Border>
<TextBlock x:Name="QuadrilleTitleTextBlock" Margin="0,16,0,0" FontSize="16" FontWeight="SemiBold" Foreground="{DynamicResource ThemeForegroundBrush}"/>
<TextBlock x:Name="QuadrilleHintTextBlock" Margin="0,8,0,0" FontSize="12" Foreground="{DynamicResource ThemeSubtleForegroundBrush}" TextWrapping="Wrap"/>
</StackPanel>
</Button>
<Button x:Name="DottedCard" Click="DottedCard_Click" Style="{StaticResource TemplateCardButtonStyle}" Margin="8">
<StackPanel Margin="18">
<Border Height="160" CornerRadius="16" Background="{DynamicResource ThemeSurfaceBrush}" BorderBrush="{DynamicResource ThemeBorderBrush}" BorderThickness="1">
<Grid Margin="18">
<Rectangle RadiusX="6" RadiusY="6" Fill="{DynamicResource ThemePaperBrush}" Stroke="{DynamicResource ThemeBorderBrush}" StrokeThickness="1"/>
<UniformGrid Rows="5" Columns="7" Margin="8">
<Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/>
<Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/>
<Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/>
<Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/>
<Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/><Ellipse Width="3" Height="3" Fill="{DynamicResource ThemeBorderBrush}"/>
</UniformGrid>
</Grid>
</Border>
<TextBlock x:Name="DottedTitleTextBlock" Margin="0,16,0,0" FontSize="16" FontWeight="SemiBold" Foreground="{DynamicResource ThemeForegroundBrush}"/>
<TextBlock x:Name="DottedHintTextBlock" Margin="0,8,0,0" FontSize="12" Foreground="{DynamicResource ThemeSubtleForegroundBrush}" TextWrapping="Wrap"/>
</StackPanel>
</Button>
<Button x:Name="MusicCard" Click="MusicCard_Click" Style="{StaticResource TemplateCardButtonStyle}" Margin="8">
<StackPanel Margin="18">
<Border Height="160" CornerRadius="16" Background="{DynamicResource ThemeSurfaceBrush}" BorderBrush="{DynamicResource ThemeBorderBrush}" BorderThickness="1">
<Grid Margin="18">
<Rectangle RadiusX="6" RadiusY="6" Fill="{DynamicResource ThemePaperBrush}" Stroke="{DynamicResource ThemeBorderBrush}" StrokeThickness="1"/>
<StackPanel Margin="0,12">
<UniformGrid Rows="5" Margin="0,0,0,12"><Line X1="0" X2="120" Stroke="{DynamicResource ThemeBorderBrush}"/><Line X1="0" X2="120" Stroke="{DynamicResource ThemeBorderBrush}"/><Line X1="0" X2="120" Stroke="{DynamicResource ThemeBorderBrush}"/><Line X1="0" X2="120" Stroke="{DynamicResource ThemeBorderBrush}"/><Line X1="0" X2="120" Stroke="{DynamicResource ThemeBorderBrush}"/></UniformGrid>
<UniformGrid Rows="5"><Line X1="0" X2="120" Stroke="{DynamicResource ThemeBorderBrush}"/><Line X1="0" X2="120" Stroke="{DynamicResource ThemeBorderBrush}"/><Line X1="0" X2="120" Stroke="{DynamicResource ThemeBorderBrush}"/><Line X1="0" X2="120" Stroke="{DynamicResource ThemeBorderBrush}"/><Line X1="0" X2="120" Stroke="{DynamicResource ThemeBorderBrush}"/></UniformGrid>
</StackPanel>
</Grid>
</Border>
<TextBlock x:Name="MusicTitleTextBlock" Margin="0,16,0,0" FontSize="16" FontWeight="SemiBold" Foreground="{DynamicResource ThemeForegroundBrush}"/>
<TextBlock x:Name="MusicHintTextBlock" Margin="0,8,0,0" FontSize="12" Foreground="{DynamicResource ThemeSubtleForegroundBrush}" TextWrapping="Wrap"/>
</StackPanel>
</Button>
<Button x:Name="CornellCard" Click="CornellCard_Click" Style="{StaticResource TemplateCardButtonStyle}" Margin="8">
<StackPanel Margin="18">
<Border Height="160" CornerRadius="16" Background="{DynamicResource ThemeSurfaceBrush}" BorderBrush="{DynamicResource ThemeBorderBrush}" BorderThickness="1">
<Grid Margin="18">
<Rectangle RadiusX="6" RadiusY="6" Fill="{DynamicResource ThemePaperBrush}" Stroke="{DynamicResource ThemeBorderBrush}" StrokeThickness="1"/>
<Line X1="0" Y1="24" X2="120" Y2="24" Stroke="{DynamicResource ThemeBorderBrush}" StrokeThickness="1.2"/>
<Line X1="34" Y1="24" X2="34" Y2="112" Stroke="{DynamicResource ThemeBorderBrush}" StrokeThickness="1.2"/>
<Line X1="0" Y1="112" X2="120" Y2="112" Stroke="{DynamicResource ThemeBorderBrush}" StrokeThickness="1.2"/>
</Grid>
</Border>
<TextBlock x:Name="CornellTitleTextBlock" Margin="0,16,0,0" FontSize="16" FontWeight="SemiBold" Foreground="{DynamicResource ThemeForegroundBrush}"/>
<TextBlock x:Name="CornellHintTextBlock" Margin="0,8,0,0" FontSize="12" Foreground="{DynamicResource ThemeSubtleForegroundBrush}" TextWrapping="Wrap"/>
</StackPanel>
</Button>
<Button x:Name="ChecklistCard" Click="ChecklistCard_Click" Style="{StaticResource TemplateCardButtonStyle}" Margin="8">
<StackPanel Margin="18">
<Border Height="160" CornerRadius="16" Background="{DynamicResource ThemeSurfaceBrush}" BorderBrush="{DynamicResource ThemeBorderBrush}" BorderThickness="1">
<Grid Margin="18">
<Rectangle RadiusX="6" RadiusY="6" Fill="{DynamicResource ThemePaperBrush}" Stroke="{DynamicResource ThemeBorderBrush}" StrokeThickness="1"/>
<StackPanel Margin="16,16,12,12">
<Grid Margin="0,0,0,12"><Grid.ColumnDefinitions><ColumnDefinition Width="16"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions><Rectangle Width="10" Height="10" Stroke="{DynamicResource ThemeAccentBrush}" RadiusX="2" RadiusY="2"/><Line Grid.Column="1" X1="0" X2="90" Y1="5" Y2="5" Stroke="{DynamicResource ThemeBorderBrush}"/></Grid>
<Grid Margin="0,0,0,12"><Grid.ColumnDefinitions><ColumnDefinition Width="16"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions><Rectangle Width="10" Height="10" Stroke="{DynamicResource ThemeAccentBrush}" RadiusX="2" RadiusY="2"/><Line Grid.Column="1" X1="0" X2="90" Y1="5" Y2="5" Stroke="{DynamicResource ThemeBorderBrush}"/></Grid>
<Grid Margin="0,0,0,12"><Grid.ColumnDefinitions><ColumnDefinition Width="16"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions><Rectangle Width="10" Height="10" Stroke="{DynamicResource ThemeAccentBrush}" RadiusX="2" RadiusY="2"/><Line Grid.Column="1" X1="0" X2="90" Y1="5" Y2="5" Stroke="{DynamicResource ThemeBorderBrush}"/></Grid>
<Grid><Grid.ColumnDefinitions><ColumnDefinition Width="16"/><ColumnDefinition Width="*"/></Grid.ColumnDefinitions><Rectangle Width="10" Height="10" Stroke="{DynamicResource ThemeAccentBrush}" RadiusX="2" RadiusY="2"/><Line Grid.Column="1" X1="0" X2="90" Y1="5" Y2="5" Stroke="{DynamicResource ThemeBorderBrush}"/></Grid>
</StackPanel>
</Grid>
</Border>
<TextBlock x:Name="ChecklistTitleTextBlock" Margin="0,16,0,0" FontSize="16" FontWeight="SemiBold" Foreground="{DynamicResource ThemeForegroundBrush}"/>
<TextBlock x:Name="ChecklistHintTextBlock" Margin="0,8,0,0" FontSize="12" Foreground="{DynamicResource ThemeSubtleForegroundBrush}" TextWrapping="Wrap"/>
</StackPanel>
</Button>
<Button x:Name="TwoColumnCard" Click="TwoColumnCard_Click" Style="{StaticResource TemplateCardButtonStyle}" Margin="8">
<StackPanel Margin="18">
<Border Height="160" CornerRadius="16" Background="{DynamicResource ThemeSurfaceBrush}" BorderBrush="{DynamicResource ThemeBorderBrush}" BorderThickness="1">
<Grid Margin="18">
<Rectangle RadiusX="6" RadiusY="6" Fill="{DynamicResource ThemePaperBrush}" Stroke="{DynamicResource ThemeBorderBrush}" StrokeThickness="1"/>
<Line X1="60" Y1="14" X2="60" Y2="110" Stroke="{DynamicResource ThemeAccentBrush}" StrokeThickness="1.2"/>
<Line X1="12" Y1="26" X2="50" Y2="26" Stroke="{DynamicResource ThemeBorderBrush}"/>
<Line X1="12" Y1="50" X2="50" Y2="50" Stroke="{DynamicResource ThemeBorderBrush}"/>
<Line X1="12" Y1="74" X2="50" Y2="74" Stroke="{DynamicResource ThemeBorderBrush}"/>
<Line X1="70" Y1="26" X2="108" Y2="26" Stroke="{DynamicResource ThemeBorderBrush}"/>
<Line X1="70" Y1="50" X2="108" Y2="50" Stroke="{DynamicResource ThemeBorderBrush}"/>
<Line X1="70" Y1="74" X2="108" Y2="74" Stroke="{DynamicResource ThemeBorderBrush}"/>
</Grid>
</Border>
<TextBlock x:Name="TwoColumnTitleTextBlock" Margin="0,16,0,0" FontSize="16" FontWeight="SemiBold" Foreground="{DynamicResource ThemeForegroundBrush}"/>
<TextBlock x:Name="TwoColumnHintTextBlock" Margin="0,8,0,0" FontSize="12" Foreground="{DynamicResource ThemeSubtleForegroundBrush}" TextWrapping="Wrap"/>
</StackPanel>
</Button>
</UniformGrid>
</ScrollViewer>
<StackPanel Grid.Row="2" Margin="0,24,0,0">
<Border x:Name="PathSectionBorder"
Visibility="Collapsed"
Background="{DynamicResource ThemeSurfaceBrush}"
BorderBrush="{DynamicResource ThemeBorderBrush}"
BorderThickness="1"
CornerRadius="16"
Padding="16,12">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<TextBlock x:Name="PathLabelTextBlock"
VerticalAlignment="Center"
FontSize="12"
FontWeight="SemiBold"
Foreground="{DynamicResource ThemeSubtleForegroundBrush}"/>
<TextBlock x:Name="SelectedFolderPathTextBlock"
Grid.Column="1"
Margin="12,0,12,0"
VerticalAlignment="Center"
FontSize="13"
Foreground="{DynamicResource ThemeForegroundBrush}"
TextTrimming="CharacterEllipsis"/>
<Button x:Name="BrowsePathButton"
Grid.Column="2"
Click="BrowsePathButton_Click"
Style="{StaticResource IconButtonStyle}">
<controls:LucideIcon Kind="FolderOpen" Width="16" Height="16" Stroke="{DynamicResource ThemeSubtleForegroundBrush}"/>
</Button>
</Grid>
</Border>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,16,0,0">
<Button x:Name="CreateButton"
Visibility="Collapsed"
Click="CreateButton_Click"
Style="{StaticResource DialogPrimaryButton}"
Margin="0,0,10,0"/>
<Button x:Name="CancelButton" Click="CancelButton_Click" Style="{StaticResource DialogSecondaryButton}"/>
</StackPanel>
</StackPanel>
</Grid>
</Border>
</Window>