|
|
@ -9,7 +9,7 @@ |
|
|
<Setter Property="UseLayoutRounding" Value="True"/> |
|
|
<Setter Property="UseLayoutRounding" Value="True"/> |
|
|
<Setter Property="Width" Value="350"/> |
|
|
<Setter Property="Width" Value="350"/> |
|
|
<Setter Property="FontSize" Value="14"/> |
|
|
<Setter Property="FontSize" Value="14"/> |
|
|
<Setter Property="Foreground" Value="White"/> |
|
|
<Setter Property="Foreground" Value="{DynamicResource NotificationCardForegroundBrush}"/> |
|
|
<Setter Property="RenderTransformOrigin" Value="50%,75%"/> |
|
|
<Setter Property="RenderTransformOrigin" Value="50%,75%"/> |
|
|
<Setter Property="BorderThickness" Value="0" /> |
|
|
<Setter Property="BorderThickness" Value="0" /> |
|
|
<Setter Property="Background" Value="{DynamicResource NotificationCardBackgroundBrush}" /> |
|
|
<Setter Property="Background" Value="{DynamicResource NotificationCardBackgroundBrush}" /> |
|
|
@ -53,47 +53,47 @@ |
|
|
</Animation> |
|
|
</Animation> |
|
|
</ControlTheme.Animations> |
|
|
</ControlTheme.Animations> |
|
|
|
|
|
|
|
|
<Style Selector="^[IsClosing=true] /template/ LayoutTransformControl#PART_LayoutTransformControl"> |
|
|
<Style Selector="^[IsClosing=true] /template/ LayoutTransformControl#PART_LayoutTransformControl"> |
|
|
<Setter Property="RenderTransformOrigin" Value="50%,0%"/> |
|
|
<Setter Property="RenderTransformOrigin" Value="50%,0%"/> |
|
|
<Style.Animations> |
|
|
<Style.Animations> |
|
|
<Animation Duration="0:0:0.75" Easing="QuadraticEaseOut" FillMode="Forward"> |
|
|
<Animation Duration="0:0:0.75" Easing="QuadraticEaseOut" FillMode="Forward"> |
|
|
<KeyFrame Cue="0%"> |
|
|
<KeyFrame Cue="0%"> |
|
|
<Setter Property="TranslateTransform.X" Value="0"/> |
|
|
<Setter Property="TranslateTransform.X" Value="0"/> |
|
|
<Setter Property="ScaleTransform.ScaleY" Value="1"/> |
|
|
<Setter Property="ScaleTransform.ScaleY" Value="1"/> |
|
|
</KeyFrame> |
|
|
</KeyFrame> |
|
|
<KeyFrame Cue="70%"> |
|
|
<KeyFrame Cue="70%"> |
|
|
<Setter Property="TranslateTransform.X" Value="800"/> |
|
|
<Setter Property="TranslateTransform.X" Value="800"/> |
|
|
<Setter Property="ScaleTransform.ScaleY" Value="1"/> |
|
|
<Setter Property="ScaleTransform.ScaleY" Value="1"/> |
|
|
</KeyFrame> |
|
|
</KeyFrame> |
|
|
<KeyFrame Cue="100%"> |
|
|
<KeyFrame Cue="100%"> |
|
|
<Setter Property="ScaleTransform.ScaleY" Value="0"/> |
|
|
<Setter Property="ScaleTransform.ScaleY" Value="0"/> |
|
|
<Setter Property="TranslateTransform.X" Value="800"/> |
|
|
<Setter Property="TranslateTransform.X" Value="800"/> |
|
|
</KeyFrame> |
|
|
</KeyFrame> |
|
|
</Animation> |
|
|
</Animation> |
|
|
</Style.Animations> |
|
|
</Style.Animations> |
|
|
</Style> |
|
|
</Style> |
|
|
|
|
|
|
|
|
<Style Selector="^[IsClosing=true]"> |
|
|
<Style Selector="^[IsClosing=true]"> |
|
|
<Style.Animations> |
|
|
<Style.Animations> |
|
|
<Animation Duration="0:0:1.25" Easing="QuadraticEaseOut" FillMode="Forward"> |
|
|
<Animation Duration="0:0:1.25" Easing="QuadraticEaseOut" FillMode="Forward"> |
|
|
<KeyFrame Cue="100%"> |
|
|
<KeyFrame Cue="100%"> |
|
|
<Setter Property="IsClosed" Value="True"/> |
|
|
<Setter Property="IsClosed" Value="True"/> |
|
|
</KeyFrame> |
|
|
</KeyFrame> |
|
|
</Animation> |
|
|
</Animation> |
|
|
</Style.Animations> |
|
|
</Style.Animations> |
|
|
</Style> |
|
|
</Style> |
|
|
|
|
|
|
|
|
<Style Selector="^:information /template/ Panel#PART_HeaderBar"> |
|
|
<Style Selector="^:information /template/ Panel#PART_HeaderBar"> |
|
|
<Setter Property="Background" Value="{DynamicResource NotificationCardInformationBackgroundBrush}"/> |
|
|
<Setter Property="Background" Value="{DynamicResource NotificationCardInformationBackgroundBrush}"/> |
|
|
</Style> |
|
|
</Style> |
|
|
<Style Selector="^:success /template/ Panel#PART_HeaderBar"> |
|
|
<Style Selector="^:success /template/ Panel#PART_HeaderBar"> |
|
|
<Setter Property="Background" Value="{DynamicResource NotificationCardSuccessBackgroundBrush}"/> |
|
|
<Setter Property="Background" Value="{DynamicResource NotificationCardSuccessBackgroundBrush}"/> |
|
|
</Style> |
|
|
</Style> |
|
|
<Style Selector="^:warning /template/ Panel#PART_HeaderBar"> |
|
|
<Style Selector="^:warning /template/ Panel#PART_HeaderBar"> |
|
|
<Setter Property="Background" Value="{DynamicResource NotificationCardWarningBackgroundBrush}"/> |
|
|
<Setter Property="Background" Value="{DynamicResource NotificationCardWarningBackgroundBrush}"/> |
|
|
</Style> |
|
|
</Style> |
|
|
<Style Selector="^:error /template/ Panel#PART_HeaderBar"> |
|
|
<Style Selector="^:error /template/ Panel#PART_HeaderBar"> |
|
|
<Setter Property="Background" Value="{DynamicResource NotificationCardErrorBackgroundBrush}"/> |
|
|
<Setter Property="Background" Value="{DynamicResource NotificationCardErrorBackgroundBrush}"/> |
|
|
</Style> |
|
|
</Style> |
|
|
</ControlTheme> |
|
|
</ControlTheme> |
|
|
</ResourceDictionary> |
|
|
</ResourceDictionary> |
|
|
|