108 lines
4.6 KiB
XML
108 lines
4.6 KiB
XML
<Window x:Class="AxCopilot.Views.ReminderPopupWindow"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
WindowStyle="None"
|
|
AllowsTransparency="True"
|
|
UseLayoutRounding="True"
|
|
SnapsToDevicePixels="True"
|
|
Background="Transparent"
|
|
Topmost="True"
|
|
ShowInTaskbar="False"
|
|
ResizeMode="NoResize"
|
|
Width="340"
|
|
SizeToContent="Height"
|
|
WindowStartupLocation="Manual"
|
|
Focusable="False">
|
|
|
|
<Border x:Name="PopupBorder"
|
|
Background="{DynamicResource LauncherBackground}"
|
|
BorderBrush="{DynamicResource BorderColor}"
|
|
BorderThickness="1"
|
|
CornerRadius="14"
|
|
Padding="18,14,18,0">
|
|
<Border.Effect>
|
|
<DropShadowEffect BlurRadius="16" ShadowDepth="4" Opacity="0.28" Direction="270"/>
|
|
</Border.Effect>
|
|
|
|
<StackPanel>
|
|
|
|
<!-- ── 상단 헤더: 아이콘 + 근무 시간 + 닫기 버튼 ── -->
|
|
<Grid Margin="0,0,0,10">
|
|
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
|
|
<!-- 시계 아이콘 -->
|
|
<TextBlock Text=""
|
|
FontFamily="Segoe MDL2 Assets"
|
|
FontSize="13"
|
|
Foreground="{DynamicResource AccentColor}"
|
|
VerticalAlignment="Center"
|
|
Margin="0,0,7,0"/>
|
|
<!-- 근무 시간 -->
|
|
<TextBlock x:Name="UsageText"
|
|
FontSize="11.5"
|
|
Foreground="{DynamicResource SecondaryText}"
|
|
VerticalAlignment="Center"/>
|
|
</StackPanel>
|
|
<!-- 닫기 버튼 -->
|
|
<Button x:Name="CloseBtn"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Center"
|
|
Width="22" Height="22"
|
|
Cursor="Hand"
|
|
Click="CloseBtn_Click"
|
|
ToolTip="닫기">
|
|
<Button.Template>
|
|
<ControlTemplate TargetType="Button">
|
|
<Border x:Name="Bg" CornerRadius="5" Background="Transparent">
|
|
<TextBlock Text=""
|
|
FontFamily="Segoe MDL2 Assets"
|
|
FontSize="10"
|
|
Foreground="{DynamicResource SecondaryText}"
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"/>
|
|
</Border>
|
|
<ControlTemplate.Triggers>
|
|
<Trigger Property="IsMouseOver" Value="True">
|
|
<Setter TargetName="Bg" Property="Background" Value="{DynamicResource ItemHoverBackground}"/>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</Button.Template>
|
|
</Button>
|
|
</Grid>
|
|
|
|
<!-- ── 구분선 ── -->
|
|
<Rectangle Height="1" Fill="{DynamicResource SeparatorColor}" Margin="0,0,0,12"/>
|
|
|
|
<!-- ── 문구 텍스트 ── -->
|
|
<TextBlock x:Name="QuoteText"
|
|
Foreground="{DynamicResource PrimaryText}"
|
|
FontSize="13.5"
|
|
FontWeight="Normal"
|
|
TextWrapping="Wrap"
|
|
LineHeight="22"
|
|
Margin="0,0,0,8"/>
|
|
|
|
<!-- ── 출처 (명언일 때만 표시) ── -->
|
|
<TextBlock x:Name="AuthorText"
|
|
Foreground="{DynamicResource AccentColor}"
|
|
FontSize="11"
|
|
FontStyle="Italic"
|
|
Margin="0,0,0,4"
|
|
Visibility="Collapsed"/>
|
|
|
|
<!-- ── 카운트다운 프로그레스 바 ── -->
|
|
<ProgressBar x:Name="CountdownBar"
|
|
Height="2"
|
|
Margin="0,10,0,0"
|
|
Background="Transparent"
|
|
BorderThickness="0"
|
|
Foreground="{DynamicResource AccentColor}"
|
|
Minimum="0"/>
|
|
|
|
<!-- 하단 여백 -->
|
|
<Rectangle Height="10"/>
|
|
|
|
</StackPanel>
|
|
</Border>
|
|
</Window>
|