Skip to content

Commit

Permalink
Added hover images from Titan; Re-added glow on focus, based on simpl…
Browse files Browse the repository at this point in the history
…e border
  • Loading branch information
morpheusxx committed Dec 21, 2012
1 parent 87f8ae7 commit 424b5b4
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 2 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Expand Up @@ -194,7 +194,13 @@
<Style x:Key="HomeButtonControlStyle" TargetType="{x:Type Control}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate/>
<ControlTemplate>
<Border x:Name="HoverGlow" BorderBrush="#4000B7FF" CornerRadius="5" BorderThickness="4" Margin="-8" IsVisible="false"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<Border BorderBrush="#00B7FF" CornerRadius="5" BorderThickness="2" Margin="-6"
HorizontalAlignment="Stretch" VerticalAlignment="Stretch"/>
</Border>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
Expand Down
Expand Up @@ -66,7 +66,7 @@
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ListViewItem}">
<Button Style="{ThemeResource HomeButtonStyle}" Margin="5"
<Button Style="{ThemeResource HomeButtonStyle}" Margin="0,0,20,20"
Command="{DynamicResource ResourceKey=Menu_Command}"
IsEnabled="{Binding Enabled}" SetFocus="{Binding Path=Selected,Mode=OneTime}"
OpacityMask="{StaticResource ButtonMask}">
Expand All @@ -82,6 +82,7 @@

<Setter TargetName="ItemLabel" Property="Scroll" Value="Auto"/>
<Setter TargetName="ItemLabel" Property="Color" Value="{ThemeResource TextColor}"/>
<Setter TargetName="HoverGlow" Property="IsVisible" Value="true"/>
</Trigger>

</Button.Triggers>
Expand Down

0 comments on commit 424b5b4

Please sign in to comment.