KevinCreeper před 5 roky
rodič
revize
0459b8ad7a
1 změnil soubory, kde provedl 16 přidání a 0 odebrání
  1. 16 0
      News.xaml

+ 16 - 0
News.xaml

@@ -3220,18 +3220,25 @@
 				<BeginStoryboard>
 					<Storyboard>
 						<ColorAnimation Storyboard.TargetName="view" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" To="#777777" Duration="0:0:0.0" />
+						<ColorAnimation Storyboard.TargetName="view2" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" To="#777777" Duration="0:0:0.0" />
 						<ColorAnimation Storyboard.TargetName="viewBdr" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" To="#BBFFFFFF" />
+						<ColorAnimation Storyboard.TargetName="viewBdr2" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" To="#BBFFFFFF" />
 						<ColorAnimation Storyboard.TargetName="viewBdr" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="#777777" />
+						<ColorAnimation Storyboard.TargetName="viewBdr2" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="#777777" />
 					</Storyboard>
 				</BeginStoryboard>
 			</EventTrigger>
 			<EventTrigger RoutedEvent="MouseEnter">
 				<BeginStoryboard>
 					<Storyboard>
+						<ColorAnimation Storyboard.TargetName="view" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" To="{Binding}" Duration="0:0:0.25" />
 						<ColorAnimation Storyboard.TargetName="view" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" To="{Binding}" Duration="0:0:0.25" />
 						<ColorAnimation Storyboard.TargetName="viewBdr" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" To="{Binding}" Duration="0:0:0.25" />
+						<ColorAnimation Storyboard.TargetName="viewBdr2" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" To="{Binding}" Duration="0:0:0.25" />
 						<DoubleAnimation Storyboard.TargetName="viewBdr" Storyboard.TargetProperty="Width" To="260" Duration="0:0:0.1" />
+						<DoubleAnimation Storyboard.TargetName="viewBdr2" Storyboard.TargetProperty="Width" To="260" Duration="0:0:0.1" />
 						<ColorAnimation Storyboard.TargetName="viewBdr" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="{Binding}" Duration="0:0:0.25" />
+						<ColorAnimation Storyboard.TargetName="viewBdr2" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="{Binding}" Duration="0:0:0.25" />
 					</Storyboard>
 				</BeginStoryboard>
 			</EventTrigger>
@@ -3239,15 +3246,24 @@
 				<BeginStoryboard>
 					<Storyboard>
 						<ColorAnimation Storyboard.TargetName="view" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" To="#777777" Duration="0:0:0.75" />
+						<ColorAnimation Storyboard.TargetName="view2" Storyboard.TargetProperty="(TextBlock.Foreground).(SolidColorBrush.Color)" To="#777777" Duration="0:0:0.75" />
 						<ColorAnimation Storyboard.TargetName="viewBdr" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" To="#BBFFFFFF" Duration="0:0:0.5" />
+						<ColorAnimation Storyboard.TargetName="viewBdr2" Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)" To="#BBFFFFFF" Duration="0:0:0.5" />
 						<DoubleAnimation Storyboard.TargetName="viewBdr" Storyboard.TargetProperty="Width" To="240" Duration="0:0:0.1" />
+						<DoubleAnimation Storyboard.TargetName="viewBdr2" Storyboard.TargetProperty="Width" To="240" Duration="0:0:0.1" />
 						<ColorAnimation Storyboard.TargetName="viewBdr" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="#777777" Duration="0:0:0.75" />
+						<ColorAnimation Storyboard.TargetName="viewBdr2" Storyboard.TargetProperty="(Border.BorderBrush).(SolidColorBrush.Color)" To="#777777" Duration="0:0:0.75" />
 					</Storyboard>
 				</BeginStoryboard>
 			</EventTrigger>
 
 
 	</Grid.Triggers>
+		<local:MyButton EventType="打开帮助" EventData="http://www.lightbeacon.top/pnh/history/1.18.json">
+			<Border x:Name="viewBdr" Height="40" Width="240" Background="{StaticResource ColorBrush6}" Opacity="1" CornerRadius="4" BorderThickness="1.5" BorderBrush="{StaticResource ColorBrush4}">
+				<TextBlock x:Name="view" Text="浏览 1.18 更新历史" Margin="10" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14" Foreground="{StaticResource ColorBrush4}" FontWeight="Bold" />
+			</Border>
+		</local:MyButton>
 		<local:MyButton EventType="打开帮助" EventData="http://www.lightbeacon.top/pnh/history/1.17.json">
 			<Border x:Name="viewBdr2" Height="40" Width="240" Background="{StaticResource ColorBrush6}" Opacity="1" CornerRadius="4" BorderThickness="1.5" BorderBrush="{StaticResource ColorBrush4}">
 				<TextBlock x:Name="view2" Text="浏览 1.17 更新历史" Margin="10" HorizontalAlignment="Center" VerticalAlignment="Center" FontSize="14" Foreground="{StaticResource ColorBrush4}" FontWeight="Bold" />