зеркало из https://github.com/github/VisualStudio.git
fixup! Add GitHubTabControl
This commit is contained in:
Родитель
007538746f
Коммит
8d8185b181
|
@ -5,7 +5,9 @@
|
|||
mc:Ignorable="d">
|
||||
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="..\Assets\Controls\Validation\UserErrorMessages.xaml" />
|
||||
<ResourceDictionary Source="..\Assets\Controls\Validation\ValidationMessage.xaml" />
|
||||
<ResourceDictionary Source="..\Assets\Controls\GitHubTabControl.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
|
||||
</ResourceDictionary>
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="Controls/GitHubLinkButton.xaml" />
|
||||
<ResourceDictionary Source="Controls/LightModalViewTabControl.xaml" />
|
||||
<ResourceDictionary Source="Controls/ScrollViewerWithShadow.xaml" />
|
||||
<ResourceDictionary Source="Controls/LightListBox.xaml" />
|
||||
<ResourceDictionary Source="../Controls/Octicons/OcticonImage.xaml" />
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
<Style x:Key="LightModalViewTabItem" TargetType="{x:Type TabItem}">
|
||||
<Setter Property="Background" Value="Transparent"/>
|
||||
<Setter Property="Foreground" Value="{StaticResource GHLinkButtonTextBrush}"/>
|
||||
<Setter Property="Foreground" Value="{DynamicResource GHLinkButtonTextBrush}"/>
|
||||
<Setter Property="Margin" Value="0,0,0,0"/>
|
||||
<Setter Property="Padding" Value="0,0,12,0"/>
|
||||
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
|
||||
|
@ -50,7 +50,7 @@
|
|||
</Grid>
|
||||
<ControlTemplate.Triggers>
|
||||
<DataTrigger Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="true">
|
||||
<Setter Property="TextElement.Foreground" TargetName="contentPresenter" Value="{StaticResource GHLinkButtonHoverBrush}"/>
|
||||
<Setter Property="TextElement.Foreground" TargetName="contentPresenter" Value="{DynamicResource GHLinkButtonHoverBrush}" />
|
||||
</DataTrigger>
|
||||
|
||||
<DataTrigger Binding="{Binding IsEnabled, RelativeSource={RelativeSource Self}}" Value="false">
|
||||
|
|
Загрузка…
Ссылка в новой задаче