Upload FastSeekWpf/MainWindow.xaml
Browse files
FastSeekWpf/MainWindow.xaml
CHANGED
|
@@ -20,14 +20,13 @@
|
|
| 20 |
KeyDown="Window_KeyDown"
|
| 21 |
SnapsToDevicePixels="False"
|
| 22 |
UseLayoutRounding="True"
|
| 23 |
-
RenderOptions.BitmapScalingMode="HighQuality"
|
|
|
|
| 24 |
|
| 25 |
<Window.Resources>
|
| 26 |
<!-- Brushes -->
|
| 27 |
-
<SolidColorBrush x:Key="BgBrush" Color="#0E1018" Opacity="0.96"/>
|
| 28 |
<SolidColorBrush x:Key="BgSolid" Color="#0E1018"/>
|
| 29 |
<SolidColorBrush x:Key="AccentBrush" Color="#5B8DEF"/>
|
| 30 |
-
<SolidColorBrush x:Key="AccentGlow" Color="#5B8DEF" Opacity="0.25"/>
|
| 31 |
<SolidColorBrush x:Key="TextBrush" Color="#E8ECF4"/>
|
| 32 |
<SolidColorBrush x:Key="TextDimBrush" Color="#6B7280"/>
|
| 33 |
<SolidColorBrush x:Key="BorderBrush" Color="#1E2230"/>
|
|
@@ -43,19 +42,19 @@
|
|
| 43 |
<!-- Window appear animation -->
|
| 44 |
<Storyboard x:Key="AppearAnim">
|
| 45 |
<DoubleAnimation Storyboard.TargetProperty="Opacity"
|
| 46 |
-
From="0" To="1" Duration="0:0:0.
|
| 47 |
<DoubleAnimation.EasingFunction>
|
| 48 |
<QuadraticEase EasingMode="EaseOut"/>
|
| 49 |
</DoubleAnimation.EasingFunction>
|
| 50 |
</DoubleAnimation>
|
| 51 |
<DoubleAnimation Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)"
|
| 52 |
-
From="0.
|
| 53 |
<DoubleAnimation.EasingFunction>
|
| 54 |
<QuadraticEase EasingMode="EaseOut"/>
|
| 55 |
</DoubleAnimation.EasingFunction>
|
| 56 |
</DoubleAnimation>
|
| 57 |
<DoubleAnimation Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)"
|
| 58 |
-
From="0.
|
| 59 |
<DoubleAnimation.EasingFunction>
|
| 60 |
<QuadraticEase EasingMode="EaseOut"/>
|
| 61 |
</DoubleAnimation.EasingFunction>
|
|
@@ -64,7 +63,7 @@
|
|
| 64 |
|
| 65 |
<Storyboard x:Key="FadeAnim">
|
| 66 |
<DoubleAnimation Storyboard.TargetProperty="Opacity"
|
| 67 |
-
To="0" Duration="0:0:0.
|
| 68 |
</Storyboard>
|
| 69 |
|
| 70 |
<!-- Search box style -->
|
|
@@ -152,7 +151,7 @@
|
|
| 152 |
<ScaleTransform ScaleX="1" ScaleY="1" CenterX="360" CenterY="0"/>
|
| 153 |
</Window.RenderTransform>
|
| 154 |
|
| 155 |
-
<!-- Outer glow border -->
|
| 156 |
<Border Background="Transparent" CornerRadius="14" Margin="12"
|
| 157 |
BorderThickness="1" BorderBrush="{StaticResource BorderBrush}"
|
| 158 |
SnapsToDevicePixels="False">
|
|
@@ -163,7 +162,8 @@
|
|
| 163 |
|
| 164 |
<!-- Main content with rounded background -->
|
| 165 |
<Border Background="{StaticResource BgSolid}" CornerRadius="12"
|
| 166 |
-
BorderThickness="1" BorderBrush="#1A1E2E"
|
|
|
|
| 167 |
|
| 168 |
<Grid>
|
| 169 |
<Grid.RowDefinitions>
|
|
|
|
| 20 |
KeyDown="Window_KeyDown"
|
| 21 |
SnapsToDevicePixels="False"
|
| 22 |
UseLayoutRounding="True"
|
| 23 |
+
RenderOptions.BitmapScalingMode="HighQuality"
|
| 24 |
+
Opacity="0">
|
| 25 |
|
| 26 |
<Window.Resources>
|
| 27 |
<!-- Brushes -->
|
|
|
|
| 28 |
<SolidColorBrush x:Key="BgSolid" Color="#0E1018"/>
|
| 29 |
<SolidColorBrush x:Key="AccentBrush" Color="#5B8DEF"/>
|
|
|
|
| 30 |
<SolidColorBrush x:Key="TextBrush" Color="#E8ECF4"/>
|
| 31 |
<SolidColorBrush x:Key="TextDimBrush" Color="#6B7280"/>
|
| 32 |
<SolidColorBrush x:Key="BorderBrush" Color="#1E2230"/>
|
|
|
|
| 42 |
<!-- Window appear animation -->
|
| 43 |
<Storyboard x:Key="AppearAnim">
|
| 44 |
<DoubleAnimation Storyboard.TargetProperty="Opacity"
|
| 45 |
+
From="0" To="1" Duration="0:0:0.12">
|
| 46 |
<DoubleAnimation.EasingFunction>
|
| 47 |
<QuadraticEase EasingMode="EaseOut"/>
|
| 48 |
</DoubleAnimation.EasingFunction>
|
| 49 |
</DoubleAnimation>
|
| 50 |
<DoubleAnimation Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleX)"
|
| 51 |
+
From="0.97" To="1" Duration="0:0:0.15">
|
| 52 |
<DoubleAnimation.EasingFunction>
|
| 53 |
<QuadraticEase EasingMode="EaseOut"/>
|
| 54 |
</DoubleAnimation.EasingFunction>
|
| 55 |
</DoubleAnimation>
|
| 56 |
<DoubleAnimation Storyboard.TargetProperty="(UIElement.RenderTransform).(ScaleTransform.ScaleY)"
|
| 57 |
+
From="0.97" To="1" Duration="0:0:0.15">
|
| 58 |
<DoubleAnimation.EasingFunction>
|
| 59 |
<QuadraticEase EasingMode="EaseOut"/>
|
| 60 |
</DoubleAnimation.EasingFunction>
|
|
|
|
| 63 |
|
| 64 |
<Storyboard x:Key="FadeAnim">
|
| 65 |
<DoubleAnimation Storyboard.TargetProperty="Opacity"
|
| 66 |
+
To="0" Duration="0:0:0.08"/>
|
| 67 |
</Storyboard>
|
| 68 |
|
| 69 |
<!-- Search box style -->
|
|
|
|
| 151 |
<ScaleTransform ScaleX="1" ScaleY="1" CenterX="360" CenterY="0"/>
|
| 152 |
</Window.RenderTransform>
|
| 153 |
|
| 154 |
+
<!-- Outer glow / shadow border -->
|
| 155 |
<Border Background="Transparent" CornerRadius="14" Margin="12"
|
| 156 |
BorderThickness="1" BorderBrush="{StaticResource BorderBrush}"
|
| 157 |
SnapsToDevicePixels="False">
|
|
|
|
| 162 |
|
| 163 |
<!-- Main content with rounded background -->
|
| 164 |
<Border Background="{StaticResource BgSolid}" CornerRadius="12"
|
| 165 |
+
BorderThickness="1" BorderBrush="#1A1E2E"
|
| 166 |
+
MouseLeftButtonDown="Window_MouseLeftButtonDown">
|
| 167 |
|
| 168 |
<Grid>
|
| 169 |
<Grid.RowDefinitions>
|