跳到主要内容

github/tai

公开

Tai · Windows 软件与网站使用时长统计。上游 Planshit/Tai 的源码镜像,非灵栈原创;MIT 许可。来源:https://github.com/Planshit/Tai 。本次为手动同步,暂不提供安装包。

提交记录
修改UI/Themes/Button/Button.xaml+11 −3看文件
@@ -10,13 +10,13 @@
1010
1111 <!--<Setter Property="MinWidth" Value="150"/>-->
1212 <Setter Property="Height" Value="35"/>
13删除: <Setter Property="Background" Value="Transparent"/>
13新增: <Setter Property="Background" Value="White"/>
1414 <Setter Property="Template">
1515 <Setter.Value>
1616 <ControlTemplate TargetType="{x:Type local:Button}">
17删除: <Border Background="{TemplateBinding Background}" x:Name="Border">
17新增: <Border x:Name="Border">
1818
19删除: <Border BorderBrush="#f3f3f3" BorderThickness="1" Width="{TemplateBinding Width}" Height="{TemplateBinding Height}" x:Name="BoxBorder" CornerRadius="4" Background="White">
19新增: <Border BorderBrush="#f3f3f3" BorderThickness="1" Width="{TemplateBinding Width}" Height="{TemplateBinding Height}" x:Name="BoxBorder" CornerRadius="4" Background="{TemplateBinding Background}">
2020 <Border.Effect>
2121 <DropShadowEffect BlurRadius="5" ShadowDepth="2" Direction="315" Color="Gray" Opacity=".1"/>
2222 </Border.Effect>
@@ -70,7 +70,15 @@
7070 </Storyboard>
7171 </VisualState>
7272 <VisualState x:Name="Pressed">
73新增: <Storyboard>
74新增:
7375
76新增: <ColorAnimationUsingKeyFrames Storyboard.TargetProperty="(Border.Background).(SolidColorBrush.Color)"
77新增: Storyboard.TargetName="BoxBorder">
78新增: <EasingColorKeyFrame KeyTime="0"
79新增: Value="#eaeaea" />
80新增: </ColorAnimationUsingKeyFrames>
81新增: </Storyboard>
7482 </VisualState>
7583 </VisualStateGroup>
7684 </VisualStateManager.VisualStateGroups>