|
44 | 44 | </Trigger>
|
45 | 45 | </Style.Triggers>
|
46 | 46 | </Style>
|
47 |
| - <Style TargetType="{x:Type Button}" x:Key="SupportMeHover"> |
48 |
| - <Setter Property="Background" Value="#d82242"/> |
49 |
| - <Setter Property="Foreground" Value="White"/> |
50 |
| - <Setter Property="Template"> |
51 |
| - <Setter.Value> |
52 |
| - <ControlTemplate TargetType="{x:Type Button}"> |
53 |
| - <Border CornerRadius="5,5,5,5" Background="{TemplateBinding Background}" BorderThickness="1"> |
54 |
| - <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center"/> |
55 |
| - </Border> |
56 |
| - </ControlTemplate> |
57 |
| - </Setter.Value> |
58 |
| - </Setter> |
59 |
| - <Style.Triggers> |
60 |
| - <Trigger Property="IsMouseOver" Value="true"> |
61 |
| - <Trigger.EnterActions> |
62 |
| - <BeginStoryboard> |
63 |
| - <Storyboard> |
64 |
| - <ColorAnimation To="#FF131313" |
65 |
| - Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)" |
66 |
| - FillBehavior="HoldEnd" Duration="0:0:0.25" AutoReverse="False" RepeatBehavior="1x"/> |
67 |
| - </Storyboard> |
68 |
| - </BeginStoryboard> |
69 |
| - </Trigger.EnterActions> |
70 |
| - |
71 |
| - <Trigger.ExitActions> |
72 |
| - <BeginStoryboard> |
73 |
| - <Storyboard> |
74 |
| - <ColorAnimation |
75 |
| - Storyboard.TargetProperty="(Control.Background).(SolidColorBrush.Color)" |
76 |
| - FillBehavior="HoldEnd" Duration="0:0:0.25" AutoReverse="False" RepeatBehavior="1x"/> |
77 |
| - </Storyboard> |
78 |
| - </BeginStoryboard> |
79 |
| - </Trigger.ExitActions> |
80 |
| - </Trigger> |
81 |
| - </Style.Triggers> |
82 |
| - </Style> |
83 |
| - |
84 |
| - |
85 | 47 | <Style TargetType="{x:Type Button}" x:Key="RunOptimizerHover">
|
86 | 48 | <Setter Property="Background" Value="#d82242"/>
|
87 | 49 | <Setter Property="Foreground" Value="White"/>
|
|
212 | 174 | </Setter>
|
213 | 175 | </Style>
|
214 | 176 | <Storyboard x:Key="Startup">
|
215 |
| - <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="RunSw"> |
216 |
| - <EasingDoubleKeyFrame KeyTime="0" Value="0"> |
217 |
| - <EasingDoubleKeyFrame.EasingFunction> |
218 |
| - <QuarticEase EasingMode="EaseInOut"/> |
219 |
| - </EasingDoubleKeyFrame.EasingFunction> |
220 |
| - </EasingDoubleKeyFrame> |
221 |
| - <EasingDoubleKeyFrame KeyTime="0:0:2" Value="0"> |
222 |
| - <EasingDoubleKeyFrame.EasingFunction> |
223 |
| - <QuarticEase EasingMode="EaseInOut"/> |
224 |
| - </EasingDoubleKeyFrame.EasingFunction> |
225 |
| - </EasingDoubleKeyFrame> |
226 |
| - <EasingDoubleKeyFrame KeyTime="0:0:3" Value="1"> |
227 |
| - <EasingDoubleKeyFrame.EasingFunction> |
228 |
| - <QuarticEase EasingMode="EaseInOut"/> |
229 |
| - </EasingDoubleKeyFrame.EasingFunction> |
230 |
| - </EasingDoubleKeyFrame> |
231 |
| - </DoubleAnimationUsingKeyFrames> |
232 | 177 | <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="textBlock4">
|
233 | 178 | <EasingDoubleKeyFrame KeyTime="0" Value="0">
|
234 | 179 | <EasingDoubleKeyFrame.EasingFunction>
|
|
428 | 373 | </EasingDoubleKeyFrame.EasingFunction>
|
429 | 374 | </EasingDoubleKeyFrame>
|
430 | 375 | </DoubleAnimationUsingKeyFrames>
|
| 376 | + <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="accept"> |
| 377 | + <EasingDoubleKeyFrame KeyTime="0" Value="0"> |
| 378 | + <EasingDoubleKeyFrame.EasingFunction> |
| 379 | + <QuarticEase EasingMode="EaseInOut"/> |
| 380 | + </EasingDoubleKeyFrame.EasingFunction> |
| 381 | + </EasingDoubleKeyFrame> |
| 382 | + <EasingDoubleKeyFrame KeyTime="0:0:2" Value="0"> |
| 383 | + <EasingDoubleKeyFrame.EasingFunction> |
| 384 | + <QuarticEase EasingMode="EaseInOut"/> |
| 385 | + </EasingDoubleKeyFrame.EasingFunction> |
| 386 | + </EasingDoubleKeyFrame> |
| 387 | + <EasingDoubleKeyFrame KeyTime="0:0:3" Value="1"> |
| 388 | + <EasingDoubleKeyFrame.EasingFunction> |
| 389 | + <QuarticEase EasingMode="EaseInOut"/> |
| 390 | + </EasingDoubleKeyFrame.EasingFunction> |
| 391 | + </EasingDoubleKeyFrame> |
| 392 | + </DoubleAnimationUsingKeyFrames> |
431 | 393 | </Storyboard>
|
432 | 394 | <Storyboard x:Key="StarMeAnimationBegin">
|
433 | 395 | <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="SupportMe">
|
|
436 | 398 | <QuarticEase EasingMode="EaseInOut"/>
|
437 | 399 | </EasingDoubleKeyFrame.EasingFunction>
|
438 | 400 | </EasingDoubleKeyFrame>
|
439 |
| - <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="-7"> |
| 401 | + <EasingDoubleKeyFrame KeyTime="0:0:0.4" Value="-5"> |
440 | 402 | <EasingDoubleKeyFrame.EasingFunction>
|
441 | 403 | <QuarticEase EasingMode="EaseInOut"/>
|
442 | 404 | </EasingDoubleKeyFrame.EasingFunction>
|
443 | 405 | </EasingDoubleKeyFrame>
|
444 | 406 | </DoubleAnimationUsingKeyFrames>
|
| 407 | + <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="SupportMe"> |
| 408 | + <EasingColorKeyFrame KeyTime="0" Value="#FF444444"> |
| 409 | + <EasingColorKeyFrame.EasingFunction> |
| 410 | + <QuarticEase EasingMode="EaseInOut"/> |
| 411 | + </EasingColorKeyFrame.EasingFunction> |
| 412 | + </EasingColorKeyFrame> |
| 413 | + <EasingColorKeyFrame KeyTime="0:0:0.4" Value="#8C98F73C"> |
| 414 | + <EasingColorKeyFrame.EasingFunction> |
| 415 | + <QuarticEase EasingMode="EaseInOut"/> |
| 416 | + </EasingColorKeyFrame.EasingFunction> |
| 417 | + </EasingColorKeyFrame> |
| 418 | + </ColorAnimationUsingKeyFrames> |
445 | 419 | </Storyboard>
|
446 | 420 | <Storyboard x:Key="StarMeAnimationStop">
|
447 | 421 | <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="SupportMe">
|
448 |
| - <EasingDoubleKeyFrame KeyTime="0" Value="-7"> |
| 422 | + <EasingDoubleKeyFrame KeyTime="0" Value="-5"> |
449 | 423 | <EasingDoubleKeyFrame.EasingFunction>
|
450 | 424 | <QuarticEase EasingMode="EaseInOut"/>
|
451 | 425 | </EasingDoubleKeyFrame.EasingFunction>
|
|
456 | 430 | </EasingDoubleKeyFrame.EasingFunction>
|
457 | 431 | </EasingDoubleKeyFrame>
|
458 | 432 | </DoubleAnimationUsingKeyFrames>
|
| 433 | + <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="SupportMe"> |
| 434 | + <EasingColorKeyFrame KeyTime="0" Value="#8C98F73C"> |
| 435 | + <EasingColorKeyFrame.EasingFunction> |
| 436 | + <QuarticEase EasingMode="EaseInOut"/> |
| 437 | + </EasingColorKeyFrame.EasingFunction> |
| 438 | + </EasingColorKeyFrame> |
| 439 | + <EasingColorKeyFrame KeyTime="0:0:0.4" Value="#FF444444"> |
| 440 | + <EasingColorKeyFrame.EasingFunction> |
| 441 | + <QuarticEase EasingMode="EaseInOut"/> |
| 442 | + </EasingColorKeyFrame.EasingFunction> |
| 443 | + </EasingColorKeyFrame> |
| 444 | + </ColorAnimationUsingKeyFrames> |
459 | 445 | </Storyboard>
|
460 | 446 | <Style x:Key="ButtonStyle2" TargetType="{x:Type Button}">
|
461 | 447 | <Setter Property="FocusVisualStyle" Value="{StaticResource FocusVisual}"/>
|
|
494 | 480 | </Setter.Value>
|
495 | 481 | </Setter>
|
496 | 482 | </Style>
|
497 |
| - <Storyboard x:Key="ButtonAnimationEnter"> |
498 |
| - <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="RunSw"> |
499 |
| - <EasingColorKeyFrame KeyTime="0" Value="#FF171717"> |
500 |
| - <EasingColorKeyFrame.EasingFunction> |
501 |
| - <QuarticEase EasingMode="EaseInOut"/> |
502 |
| - </EasingColorKeyFrame.EasingFunction> |
503 |
| - </EasingColorKeyFrame> |
504 |
| - <EasingColorKeyFrame KeyTime="0:0:0.3" Value="#FF1B1B1B"> |
505 |
| - <EasingColorKeyFrame.EasingFunction> |
506 |
| - <QuarticEase EasingMode="EaseInOut"/> |
507 |
| - </EasingColorKeyFrame.EasingFunction> |
508 |
| - </EasingColorKeyFrame> |
509 |
| - </ColorAnimationUsingKeyFrames> |
510 |
| - </Storyboard> |
511 |
| - <Storyboard x:Key="ButtonAnimationLeave"> |
512 |
| - <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Panel.Background).(SolidColorBrush.Color)" Storyboard.TargetName="RunSw"> |
513 |
| - <EasingColorKeyFrame KeyTime="0" Value="#FF1B1B1B"> |
514 |
| - <EasingColorKeyFrame.EasingFunction> |
515 |
| - <QuarticEase EasingMode="EaseInOut"/> |
516 |
| - </EasingColorKeyFrame.EasingFunction> |
517 |
| - </EasingColorKeyFrame> |
518 |
| - <EasingColorKeyFrame KeyTime="0:0:0.3" Value="#FF171717"> |
519 |
| - <EasingColorKeyFrame.EasingFunction> |
520 |
| - <QuarticEase EasingMode="EaseInOut"/> |
521 |
| - </EasingColorKeyFrame.EasingFunction> |
522 |
| - </EasingColorKeyFrame> |
523 |
| - </ColorAnimationUsingKeyFrames> |
524 |
| - </Storyboard> |
| 483 | + <Storyboard x:Key="ButtonAnimationEnter"/> |
| 484 | + <Storyboard x:Key="ButtonAnimationLeave"/> |
525 | 485 | <Storyboard x:Key="TextBlockAnimationEnter">
|
526 | 486 | <ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="textBlock4">
|
527 | 487 | <EasingThicknessKeyFrame KeyTime="0" Value="278,150,278,0">
|
|
569 | 529 | <QuarticEase EasingMode="EaseInOut"/>
|
570 | 530 | </EasingColorKeyFrame.EasingFunction>
|
571 | 531 | </EasingColorKeyFrame>
|
572 |
| - <EasingColorKeyFrame KeyTime="0:0:0.4" Value="#1900E8FF"> |
| 532 | + <EasingColorKeyFrame KeyTime="0:0:0.4" Value="#1998F73C"> |
573 | 533 | <EasingColorKeyFrame.EasingFunction>
|
574 | 534 | <QuarticEase EasingMode="EaseInOut"/>
|
575 | 535 | </EasingColorKeyFrame.EasingFunction>
|
|
578 | 538 | </Storyboard>
|
579 | 539 | <Storyboard x:Key="convernormalanimationend">
|
580 | 540 | <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(TextElement.Foreground).(SolidColorBrush.Color)" Storyboard.TargetName="button">
|
581 |
| - <EasingColorKeyFrame KeyTime="0" Value="#1900E8FF"> |
| 541 | + <EasingColorKeyFrame KeyTime="0" Value="#1998F73C"> |
582 | 542 | <EasingColorKeyFrame.EasingFunction>
|
583 | 543 | <QuarticEase EasingMode="EaseInOut"/>
|
584 | 544 | </EasingColorKeyFrame.EasingFunction>
|
|
621 | 581 | <EventTrigger RoutedEvent="UIElement.MouseLeave" SourceName="SupportMe">
|
622 | 582 | <BeginStoryboard x:Name="StarMeAnimationStop_BeginStoryboard" Storyboard="{StaticResource StarMeAnimationStop}"/>
|
623 | 583 | </EventTrigger>
|
624 |
| - <EventTrigger RoutedEvent="UIElement.MouseEnter" SourceName="RunSw"> |
625 |
| - <BeginStoryboard x:Name="ButtonAnimationEnter_BeginStoryboard" Storyboard="{StaticResource ButtonAnimationEnter}"/> |
626 |
| - </EventTrigger> |
627 |
| - <EventTrigger RoutedEvent="UIElement.MouseLeave" SourceName="RunSw"> |
628 |
| - <BeginStoryboard x:Name="ButtonAnimationLeave_BeginStoryboard" Storyboard="{StaticResource ButtonAnimationLeave}"/> |
629 |
| - </EventTrigger> |
630 | 584 | <EventTrigger RoutedEvent="UIElement.MouseEnter" SourceName="textBlock4">
|
631 | 585 | <BeginStoryboard x:Name="TextBlockAnimationEnter_BeginStoryboard1" Storyboard="{StaticResource TextBlockAnimationEnter}"/>
|
632 | 586 | </EventTrigger>
|
|
651 | 605 | <DropShadowEffect ShadowDepth="0" RenderingBias="Quality" BlurRadius="10" Color="#FF131313"/>
|
652 | 606 | </Border.Effect>
|
653 | 607 | </Border>
|
654 |
| - <Button Style="{DynamicResource RunOptimizerHover}" x:Name="RunSw" Margin="300,318,300,88" BorderBrush="{x:Null}" Background="#FF171717" Foreground="White" FontSize="14" FontFamily="Yu Gothic UI Semibold" Click="RunSw_Click" FontWeight="Normal" RenderTransformOrigin="0.5,0.5" Content="RUN OPTIMIZER" Cursor="Hand"> |
655 |
| - <Button.RenderTransform> |
656 |
| - <TransformGroup> |
657 |
| - <ScaleTransform/> |
658 |
| - <SkewTransform/> |
659 |
| - <RotateTransform/> |
660 |
| - <TranslateTransform/> |
661 |
| - </TransformGroup> |
662 |
| - </Button.RenderTransform> |
663 |
| - </Button> |
664 | 608 | <TextBlock x:Name="textBlock4" HorizontalAlignment="Center" TextWrapping="Wrap" VerticalAlignment="Top" Height="146" Width="244" Foreground="#FFA5A5A5" FontFamily="Yu Gothic UI Semibold" FontSize="14" TextAlignment="Center" FontWeight="Normal" Margin="278,150,278,0" RenderTransformOrigin="0.5,0.5">
|
665 | 609 | <TextBlock.RenderTransform>
|
666 | 610 | <TransformGroup>
|
|
708 | 652 | <TranslateTransform/>
|
709 | 653 | </TransformGroup>
|
710 | 654 | </TextBlock.RenderTransform><Run Text="SADCOY"/><Run Language="de-de" Text=" [BETA]"/></TextBlock>
|
711 |
| - <Button Style="{DynamicResource SupportMeHover}" x:Name="SupportMe" Content="Star Me!" HorizontalAlignment="Left" Margin="634,48,0,0" VerticalAlignment="Top" Background="#FF131313" BorderBrush="{x:Null}" Foreground="#FF444444" FontFamily="Yu Gothic UI Semibold" Click="SupportMe_Click" RenderTransformOrigin="0.5,0.5" Cursor="Hand"> |
| 655 | + <Button Style="{DynamicResource ConvertNormal}" x:Name="SupportMe" Content="Star Me!" HorizontalAlignment="Left" Margin="634,48,0,0" VerticalAlignment="Top" Background="#FF131313" BorderBrush="{x:Null}" Foreground="#FF444444" FontFamily="Yu Gothic UI Semibold" Click="SupportMe_Click" RenderTransformOrigin="0.5,0.5" Cursor="Hand"> |
712 | 656 | <Button.RenderTransform>
|
713 | 657 | <TransformGroup>
|
714 | 658 | <ScaleTransform/>
|
|
728 | 672 | </TransformGroup>
|
729 | 673 | </Button.RenderTransform>
|
730 | 674 | </Button>
|
| 675 | + <Button Style="{DynamicResource RunOptimizerHover}" x:Name="accept" Margin="318,312,318,95" BorderBrush="{x:Null}" Background="#00171717" Foreground="White" FontSize="14" FontFamily="Yu Gothic UI Semibold" Click="RunSw_Click" FontWeight="Normal" RenderTransformOrigin="0.5,0.5" Content="RUN OPTIMIZER" Cursor="Hand"> |
| 676 | + <Button.Effect> |
| 677 | + <DropShadowEffect ShadowDepth="0" Color="#FF7DFF00" BlurRadius="100" Opacity="0.2"/> |
| 678 | + </Button.Effect> |
| 679 | + <Button.RenderTransform> |
| 680 | + <TransformGroup> |
| 681 | + <ScaleTransform/> |
| 682 | + <SkewTransform/> |
| 683 | + <RotateTransform/> |
| 684 | + <TranslateTransform/> |
| 685 | + </TransformGroup> |
| 686 | + </Button.RenderTransform> |
| 687 | + </Button> |
731 | 688 | </Grid>
|
732 | 689 | </Window>
|
0 commit comments