Skip to content

Commit

Permalink
remove border #146
Browse files Browse the repository at this point in the history
  • Loading branch information
sboulema committed Mar 4, 2024
1 parent be31b36 commit 0a29335
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 18 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,9 @@ jobs:
personal-access-code: ${{ secrets.VS_PUBLISHER_ACCESS_TOKEN }}

- name: Publish to Open VSIX Gallery - VS2019
uses: leandro-hermes/action-upload-file@v1.1.0
with:
host: 'www.vsixgallery.com'
path: '/api/upload?repo=${{ env.repoUrl }}&issuetracker=${{ env.repoUrl }}/issues'
https: true
filePath: CodeNav/CodeNav.VS2019/bin/release/CodeNav.VS2019.vsix
run: |
curl -L 'https://www.vsixgallery.com/api/upload?repo=${{ env.repoUrl }}&issuetracker=${{ env.repoUrl }}/issues' -F 'file=@"CodeNav/CodeNav.VS2022/bin/release/CodeNav.VS2019.vsix"'
- name: Publish to Open VSIX Gallery - VS2022
uses: leandro-hermes/action-upload-file@v1.1.0
with:
host: 'www.vsixgallery.com'
path: '/api/upload?repo=${{ env.repoUrl }}&issuetracker=${{ env.repoUrl }}/issues'
https: true
filePath: CodeNav/CodeNav.VS2022/bin/release/CodeNav.VS2022.vsix
run: |
curl -L 'https://www.vsixgallery.com/api/upload?repo=${{ env.repoUrl }}&issuetracker=${{ env.repoUrl }}/issues' -F 'file=@"CodeNav/CodeNav.VS2022/bin/release/CodeNav.VS2022.vsix"'
6 changes: 5 additions & 1 deletion CodeNav.Shared/Controls/ClassDataTemplate.xaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:models="clr-namespace:CodeNav.Models"
xmlns:imaging="clr-namespace:Microsoft.VisualStudio.Imaging;assembly=Microsoft.VisualStudio.Imaging">
xmlns:imaging="clr-namespace:Microsoft.VisualStudio.Imaging;assembly=Microsoft.VisualStudio.Imaging"
xmlns:vsShell="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.15.0">

<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="../Styles/PlusMinusExpanderStyles.xaml" />
Expand Down Expand Up @@ -44,6 +45,9 @@
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="Expander" Property="BorderBrush" Value="SteelBlue"/>
</Trigger>
<Trigger Property="IsMouseOver" Value="False">
<Setter TargetName="Expander" Property="BorderBrush" Value="{DynamicResource {x:Static vsShell:EnvironmentColors.ToolWindowBorderBrushKey}}"/>
</Trigger>
</DataTemplate.Triggers>
</DataTemplate>

Expand Down
3 changes: 2 additions & 1 deletion CodeNav.Shared/Controls/FilterToolbar.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
Background="Transparent"
Text="{Binding FilterText, Mode=TwoWay}"
Foreground="{DynamicResource {x:Static platformUI:EnvironmentColors.ToolWindowTextBrushKey}}"
CaretBrush="{DynamicResource {x:Static platformUI:EnvironmentColors.ToolWindowTextBrushKey}}"/>
CaretBrush="{DynamicResource {x:Static platformUI:EnvironmentColors.ToolWindowTextBrushKey}}"
BorderBrush="{DynamicResource {x:Static platformUI:EnvironmentColors.ToolWindowBorderBrushKey}}"/>
<TextBlock IsHitTestVisible="False" Text="Enter text to filter by..." VerticalAlignment="Center" HorizontalAlignment="Left" Margin="10,0,0,0" Padding="0,0,10,0" Foreground="DarkGray">
<TextBlock.Style>
<Style TargetType="{x:Type TextBlock}">
Expand Down
6 changes: 5 additions & 1 deletion CodeNav.Shared/Controls/NamespaceDataTemplate.xaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:models="clr-namespace:CodeNav.Models"
xmlns:imaging="clr-namespace:Microsoft.VisualStudio.Imaging;assembly=Microsoft.VisualStudio.Imaging">
xmlns:imaging="clr-namespace:Microsoft.VisualStudio.Imaging;assembly=Microsoft.VisualStudio.Imaging"
xmlns:vsShell="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.15.0">

<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="../Styles/PlusMinusExpanderStyles.xaml" />
Expand Down Expand Up @@ -57,6 +58,9 @@
<Trigger Property="IsMouseOver" Value="True">
<Setter TargetName="Expander" Property="BorderBrush" Value="SteelBlue"/>
</Trigger>
<Trigger Property="IsMouseOver" Value="False">
<Setter TargetName="Expander" Property="BorderBrush" Value="{DynamicResource {x:Static vsShell:EnvironmentColors.ToolWindowBorderBrushKey}}"/>
</Trigger>
</DataTemplate.Triggers>
</DataTemplate>

Expand Down
6 changes: 3 additions & 3 deletions CodeNav.Shared/Styles/PlusMinusExpanderStyles.xaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:imaging="clr-namespace:Microsoft.VisualStudio.Imaging;assembly=Microsoft.VisualStudio.Imaging"
xmlns:catalog="clr-namespace:Microsoft.VisualStudio.Imaging;assembly=Microsoft.VisualStudio.ImageCatalog">
xmlns:catalog="clr-namespace:Microsoft.VisualStudio.Imaging;assembly=Microsoft.VisualStudio.ImageCatalog"
xmlns:vsShell="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Shell.15.0">

<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="../Menus/ItemContextMenu.xaml"/>
Expand Down Expand Up @@ -64,8 +65,7 @@
<Border BorderThickness="0" x:Name="ExpanderHeaderBorder">
<Border.BorderBrush>
<LinearGradientBrush StartPoint="0,0" EndPoint="1,0">
<GradientStop Color="DarkGray" Offset="0.0" />
<GradientStop Color="LightGray" Offset="0.5" />
<GradientStop Color="{DynamicResource {x:Static vsShell:EnvironmentColors.ToolWindowBorderColorKey}}" Offset="0.0" />
<GradientStop Color="Transparent" Offset="1" />
</LinearGradientBrush>
</Border.BorderBrush>
Expand Down
5 changes: 5 additions & 0 deletions CodeNav.Tests/Files/TestRegions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ public void OutsideRegionFunction()
public void SiblingRegionFunction()
{

}

void _MethodWithoutAccessModifier()
{

}
#endregion
}
Expand Down

0 comments on commit 0a29335

Please sign in to comment.