Initial commit: ReminderOrganizer WPF app
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
61
InputDialog.xaml
Normal file
61
InputDialog.xaml
Normal file
@@ -0,0 +1,61 @@
|
||||
<Window x:Class="ReminderOrganizer.InputDialog"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
Title="Input"
|
||||
Height="200" Width="400"
|
||||
WindowStartupLocation="CenterOwner"
|
||||
ResizeMode="NoResize"
|
||||
ShowInTaskbar="False"
|
||||
WindowStyle="None"
|
||||
AllowsTransparency="True"
|
||||
Background="Transparent"
|
||||
MouseLeftButtonDown="Window_MouseLeftButtonDown">
|
||||
<Window.Resources>
|
||||
<SolidColorBrush x:Key="PrimaryBrush" Color="#6366F1"/>
|
||||
<SolidColorBrush x:Key="PrimaryHoverBrush" Color="#4F46E5"/>
|
||||
<SolidColorBrush x:Key="TextPrimaryBrush" Color="#1E293B"/>
|
||||
<SolidColorBrush x:Key="TextSecondaryBrush" Color="#64748B"/>
|
||||
<SolidColorBrush x:Key="BorderBrush" Color="#CBD5E1"/>
|
||||
<SolidColorBrush x:Key="CardBrush" Color="#FFFFFF"/>
|
||||
<SolidColorBrush x:Key="InputBackgroundBrush" Color="#F1F5F9"/>
|
||||
</Window.Resources>
|
||||
|
||||
<Border CornerRadius="12" Background="{DynamicResource CardBrush}" Margin="8">
|
||||
<Border.Effect>
|
||||
<DropShadowEffect BlurRadius="20" ShadowDepth="5" Opacity="0.2" Direction="270" Color="Black"/>
|
||||
</Border.Effect>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto"/>
|
||||
<RowDefinition Height="*"/>
|
||||
</Grid.RowDefinitions>
|
||||
|
||||
<!-- Header -->
|
||||
<Border Grid.Row="0" Background="{DynamicResource PrimaryBrush}" CornerRadius="12,12,0,0" Padding="16,12">
|
||||
<Grid>
|
||||
<TextBlock Text="📁" FontSize="16" Foreground="White" VerticalAlignment="Center"/>
|
||||
<TextBlock x:Name="TxtPrompt" FontSize="14" FontWeight="SemiBold" Foreground="White" VerticalAlignment="Center" Margin="28,0,0,0"/>
|
||||
<Button Content="✕" HorizontalAlignment="Right" Foreground="White" Background="Transparent" BorderThickness="0"
|
||||
Width="28" Height="28" Cursor="Hand" Click="BtnCancel_Click"/>
|
||||
</Grid>
|
||||
</Border>
|
||||
|
||||
<!-- Content -->
|
||||
<StackPanel Grid.Row="1" Margin="16">
|
||||
<TextBox x:Name="TxtInput" Background="{DynamicResource InputBackgroundBrush}"
|
||||
BorderBrush="{DynamicResource BorderBrush}" BorderThickness="1"
|
||||
Padding="12,10" FontSize="14"/>
|
||||
|
||||
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Margin="0,16,0,0">
|
||||
<Button x:Name="BtnCancel" Click="BtnCancel_Click" Background="Transparent"
|
||||
Foreground="{DynamicResource TextPrimaryBrush}"
|
||||
BorderBrush="{DynamicResource BorderBrush}" BorderThickness="1"
|
||||
Padding="16,8" Cursor="Hand"/>
|
||||
<Button x:Name="BtnOk" Click="BtnOk_Click" Background="#6366F1"
|
||||
Foreground="White" BorderThickness="0"
|
||||
Padding="16,8" Margin="8,0,0,0" Cursor="Hand" IsDefault="True"/>
|
||||
</StackPanel>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Window>
|
||||
Reference in New Issue
Block a user