|
|
@ -40,81 +40,25 @@ |
|
|
<Setter Property="Height" Value="100"/> |
|
|
<Setter Property="Height" Value="100"/> |
|
|
<Setter Property="Child" Value="{StaticResource Acorn}"/> |
|
|
<Setter Property="Child" Value="{StaticResource Acorn}"/> |
|
|
</Style> |
|
|
</Style> |
|
|
<Style Selector="Border.Rect1:pointerover"> |
|
|
<Style Selector="Border.Rect1"> |
|
|
<Style.Animations> |
|
|
<Style.Animations> |
|
|
<Animation Duration="0:0:2.5" |
|
|
<Animation Duration="0:0:2.5" |
|
|
RepeatBehavior="Repeat" |
|
|
RepeatBehavior="Repeat" |
|
|
RepeatCount="4" FillMode="None" PlaybackDirection="AlternateReverse" Easing="SineEaseInOut"> |
|
|
RepeatCount="4" FillMode="None" |
|
|
<TransformKeyFrames Property="RotateTransform.Angle"> |
|
|
PlaybackDirection="AlternateReverse" |
|
|
<KeyFrame Cue="0%" Value="0"/> |
|
|
Easing="SineEaseInOut"> |
|
|
<KeyFrame Cue="100%" Value="0"/> |
|
|
<KeyFrame Cue="0%"> |
|
|
<KeyFrame Cue="20%" Value="45"/> |
|
|
<DoubleSetter Property="Opacity" Value="0"/> |
|
|
<KeyFrame Cue="80%" Value="120"/> |
|
|
</KeyFrame> |
|
|
</TransformKeyFrames> |
|
|
<KeyFrame Cue="0%"> |
|
|
<TransformKeyFrames Property="ScaleTransform.ScaleX"> |
|
|
<TransformSetter Property="RotateTransform.Angle" Value="360"/> |
|
|
<KeyFrame Cue="0%" Value="1"/> |
|
|
</KeyFrame> |
|
|
<KeyFrame Cue="50%" Value="1.5"/> |
|
|
<KeyFrame Cue="100%"> |
|
|
<KeyFrame Cue="100%" Value="1"/> |
|
|
<DoubleSetter Property="Opacity" Value="1"/> |
|
|
</TransformKeyFrames> |
|
|
</KeyFrame> |
|
|
</Animation> |
|
|
</Animation> |
|
|
</Style.Animations> |
|
|
</Style.Animations> |
|
|
</Style> |
|
|
</Style> |
|
|
<Style Selector="Border.Rect2:pointerover"> |
|
|
|
|
|
<Style.Animations> |
|
|
|
|
|
<Animation Duration="0:0:0.5" Easing="SineEaseInOut"> |
|
|
|
|
|
<TransformKeyFrames Property="ScaleTransform.ScaleX"> |
|
|
|
|
|
<KeyFrame Cue="0%" Value="1"/> |
|
|
|
|
|
<KeyFrame Cue="50%" Value="0.8"/> |
|
|
|
|
|
<KeyFrame Cue="100%" Value="1"/> |
|
|
|
|
|
</TransformKeyFrames> |
|
|
|
|
|
<TransformKeyFrames Property="ScaleTransform.ScaleY"> |
|
|
|
|
|
<KeyFrame Cue="0%" Value="1"/> |
|
|
|
|
|
<KeyFrame Cue="50%" Value="0.8"/> |
|
|
|
|
|
<KeyFrame Cue="100%" Value="1"/> |
|
|
|
|
|
</TransformKeyFrames> |
|
|
|
|
|
</Animation> |
|
|
|
|
|
</Style.Animations> |
|
|
|
|
|
</Style> |
|
|
|
|
|
<Style Selector="Border.Rect3"> |
|
|
|
|
|
<Setter Property="Child" Value="{StaticResource Heart}"/> |
|
|
|
|
|
<Style.Animations> |
|
|
|
|
|
<Animation Duration="0:0:0.5" Easing="QuadraticEaseInOut" RepeatBehavior="Loop"> |
|
|
|
|
|
<TransformKeyFrames Property="ScaleTransform.ScaleX"> |
|
|
|
|
|
<KeyFrame Cue="0%" Value="1"/> |
|
|
|
|
|
<KeyFrame Cue="50%" Value="0.8"/> |
|
|
|
|
|
<KeyFrame Cue="100%" Value="1"/> |
|
|
|
|
|
</TransformKeyFrames> |
|
|
|
|
|
<TransformKeyFrames Property="ScaleTransform.ScaleY"> |
|
|
|
|
|
<KeyFrame Cue="0%" Value="1"/> |
|
|
|
|
|
<KeyFrame Cue="50%" Value="0.8"/> |
|
|
|
|
|
<KeyFrame Cue="100%" Value="1"/> |
|
|
|
|
|
</TransformKeyFrames> |
|
|
|
|
|
</Animation> |
|
|
|
|
|
</Style.Animations> |
|
|
|
|
|
</Style> |
|
|
|
|
|
<Style Selector="Border.Rect4:pointerover"> |
|
|
|
|
|
<Style.Animations> |
|
|
|
|
|
<Animation Duration="0:0:3" Easing="BounceEaseInOut"> |
|
|
|
|
|
<TransformKeyFrames Property="TranslateTransform.Y"> |
|
|
|
|
|
<KeyFrame Cue="0%" Value="0"/> |
|
|
|
|
|
<KeyFrame Cue="48%" Value="-100"/> |
|
|
|
|
|
<KeyFrame Cue="100%" Value="0"/> |
|
|
|
|
|
</TransformKeyFrames> |
|
|
|
|
|
</Animation> |
|
|
|
|
|
</Style.Animations> |
|
|
|
|
|
</Style> |
|
|
|
|
|
<Style Selector="Border.Rect5:pointerover"> |
|
|
|
|
|
<Style.Animations> |
|
|
|
|
|
<Animation Duration="0:0:3" Easing="CircularEaseInOut"> |
|
|
|
|
|
<TransformKeyFrames Property="SkewTransform.AngleX"> |
|
|
|
|
|
<KeyFrame Cue="0%" Value="0"/> |
|
|
|
|
|
<KeyFrame Cue="25%" Value="-20"/> |
|
|
|
|
|
<KeyFrame Cue="75%" Value="20"/> |
|
|
|
|
|
<KeyFrame Cue="100%" Value="0"/> |
|
|
|
|
|
</TransformKeyFrames> |
|
|
|
|
|
</Animation> |
|
|
|
|
|
</Style.Animations> |
|
|
|
|
|
</Style> |
|
|
|
|
|
</Styles> |
|
|
</Styles> |
|
|
</UserControl.Styles> |
|
|
</UserControl.Styles> |
|
|
<Grid> |
|
|
<Grid> |
|
|
|