-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLockKeyWindow.xaml
More file actions
49 lines (48 loc) · 2.25 KB
/
Copy pathLockKeyWindow.xaml
File metadata and controls
49 lines (48 loc) · 2.25 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
<Window x:Class="FluentTune.LockKeyWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ui="http://schemas.lepo.co/wpfui/2022/xaml"
Title="FluentTune Lock"
WindowStyle="None"
ResizeMode="NoResize"
ShowInTaskbar="False"
ShowActivated="False"
Topmost="True"
AllowsTransparency="True"
Background="Transparent"
WindowStartupLocation="Manual"
Focusable="False"
IsHitTestVisible="False"
SizeToContent="WidthAndHeight"
Opacity="0">
<Grid Margin="26">
<Grid.RenderTransform>
<TranslateTransform x:Name="RootTransform" Y="0" />
</Grid.RenderTransform>
<Border x:Name="Card" CornerRadius="16" Padding="18,14" BorderThickness="1">
<Border.Effect>
<DropShadowEffect BlurRadius="26" ShadowDepth="0" Opacity="0.5" Color="#000000" />
</Border.Effect>
<Border.Background>
<LinearGradientBrush StartPoint="0,0" EndPoint="0.4,1">
<GradientStop Color="#F21E2130" Offset="0" />
<GradientStop Color="#F2141620" Offset="1" />
</LinearGradientBrush>
</Border.Background>
<Border.BorderBrush>
<LinearGradientBrush StartPoint="0,0" EndPoint="0,1">
<GradientStop Color="#45FFFFFF" Offset="0" />
<GradientStop Color="#10FFFFFF" Offset="1" />
</LinearGradientBrush>
</Border.BorderBrush>
<StackPanel Orientation="Horizontal" VerticalAlignment="Center">
<Border x:Name="IconChip" Width="46" Height="46" CornerRadius="12" Margin="0,0,14,0">
<ui:SymbolIcon x:Name="LockIcon" Symbol="LockClosed24" FontSize="24" Foreground="White"
HorizontalAlignment="Center" VerticalAlignment="Center" />
</Border>
<TextBlock x:Name="LockText" Text="Caps Lock" FontSize="17" FontWeight="SemiBold"
Foreground="White" VerticalAlignment="Center" Margin="0,0,4,0" />
</StackPanel>
</Border>
</Grid>
</Window>