Skip to content

Commit

Permalink
Notifications: Tweak close button hover
Browse files Browse the repository at this point in the history
Change all four border colors on hover.
Improve tooltip wording.
  • Loading branch information
SLaks committed Dec 26, 2013
1 parent c6a9913 commit 6020465
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Rebracer/Notifications/GrowlNotifications.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,20 +33,20 @@
FontFamily="Arial" FontSize="14" FontWeight="Bold" VerticalAlignment="Center" Margin="2,4,4,2" TextWrapping="Wrap" TextTrimming="CharacterEllipsis" />
<Model:TitleBarButton x:Name="CloseButton" Grid.Column="2"
HorizontalAlignment="Right" VerticalAlignment="Top"
Padding="9,10" Margin="8,-12,-12,0"
Padding="9,10" Margin="8,-13,-13,0"
BorderBrush="{DynamicResource {x:Static shell:VsBrushes.DropDownBorderKey}}"
BorderThickness="1,0,0,1"
BorderThickness="1"
GlyphForeground="{DynamicResource {x:Static shell:VsBrushes.DropDownGlyphKey}}"
HoverBackground="{DynamicResource {x:Static shell:VsBrushes.CommandBarMouseOverBackgroundBeginKey}}"
HoverBorderBrush="{DynamicResource {x:Static shell:VsBrushes.DropDownMouseOverBorderKey}}"
HoverForeground="{DynamicResource {x:Static shell:VsBrushes.DropDownMouseOverGlyphKey}}"
HoverBorderThickness="1,0,0,1"
HoverBorderThickness="1"
PressedBackground="{DynamicResource {x:Static shell:VsBrushes.ComboBoxMouseDownBorderKey}}"
PressedBorderBrush="{DynamicResource {x:Static shell:VsBrushes.ComboBoxMouseDownBorderKey}}"
PressedForeground="{DynamicResource {x:Static shell:VsBrushes.ComboBoxMouseDownBackgroundKey}}"
PressedBorderThickness="1,0,0,1"
PressedBorderThickness="1"
AutomationProperties.Name="Close" AutomationProperties.AutomationId="Close"
ToolTip="Close">
ToolTip="Dismiss this notification">
<Path Stretch="Uniform" Data="F1M0,0L2,0 5,3 8,0 10,0 6,4 10,8 8,8 5,5 2,8 0,8 4,4 0,0z"
Fill="{Binding Path=(TextElement.Foreground), RelativeSource={RelativeSource Self}}" />
</Model:TitleBarButton>
Expand Down

0 comments on commit 6020465

Please sign in to comment.