1+ <ResourceDictionary xmlns =" http://schemas.microsoft.com/winfx/2006/xaml/presentation"
2+ xmlns : x =" http://schemas.microsoft.com/winfx/2006/xaml"
3+ xmlns : cache =" clr-namespace:GitHub.VisualStudio.Helpers"
4+ xmlns : ui =" clr-namespace:GitHub.UI;assembly=GitHub.UI" >
5+
6+ <ResourceDictionary .MergedDictionaries>
7+ <cache : SharedDictionaryManager Source =" pack://application:,,,/GitHub.UI;component/SharedDictionary.xaml" />
8+ </ResourceDictionary .MergedDictionaries>
9+
10+ <Style x : Key =" GitHubComboBoxBorder" TargetType =" {x:Type Border}" >
11+ <Setter Property =" Margin" Value =" 10" />
12+ <Setter Property =" BorderThickness" Value =" 1" />
13+ <Setter Property =" BorderBrush" Value =" {DynamicResource GitHubComboBoxBorderBrush}" />
14+ <Setter Property =" Effect" >
15+ <Setter .Value>
16+ <DropShadowEffect Direction =" 315" ShadowDepth =" 5" BlurRadius =" 5" Opacity =" 0.25" />
17+ </Setter .Value>
18+ </Setter >
19+ </Style >
20+
21+ <Style x : Key =" GitHubComboBoxContainer" TargetType =" {x:Type Grid}" >
22+ <Setter Property =" Background" Value =" {DynamicResource GitHubComboBoxBackgroundBrush}" />
23+
24+ <Style .Resources>
25+ <Style TargetType =" {x:Type TextBlock}" BasedOn =" {StaticResource {x:Type TextBlock}}" >
26+ <Setter Property =" Foreground" Value =" {DynamicResource GitHubVsToolWindowText}" />
27+ </Style >
28+
29+ <Style TargetType =" {x:Type ui:OcticonImage}" BasedOn =" {StaticResource {x:Type ui:OcticonImage}}" >
30+ <Setter Property =" Foreground" Value =" {DynamicResource GitHubVsToolWindowText}" />
31+ </Style >
32+
33+ <Style TargetType =" {x:Type Separator}" BasedOn =" {StaticResource {x:Type Separator}}" >
34+ <Setter Property =" Background" Value =" {DynamicResource GitHubComboBoxBorderBrush}" />
35+ <Setter Property =" Margin" Value =" 0" />
36+ </Style >
37+
38+ <Style TargetType =" {x:Type ui:FilterTextBox}" BasedOn =" {StaticResource {x:Type ui:FilterTextBox}}" >
39+ <Setter Property =" BorderBrush" Value =" {DynamicResource GitHubComboBoxBorderBrush}" />
40+ <Setter Property =" Foreground" Value =" {DynamicResource GitHubVsWindowText}" />
41+ <Setter Property =" Background" Value =" {DynamicResource GitHubVsBrandedUIBackground}" />
42+ <Setter Property =" Margin" Value =" 5" />
43+ <Setter Property =" Height" Value =" 25" />
44+ </Style >
45+
46+ <Style TargetType =" {x:Type ListBox}" BasedOn =" {StaticResource {x:Type ListBox}}" >
47+ <Setter Property =" ScrollViewer.HorizontalScrollBarVisibility" Value =" Disabled" />
48+ <Setter Property =" BorderThickness" Value =" 0" />
49+ <Setter Property =" Background" Value =" Transparent" />
50+ <Setter Property =" MaxHeight" Value =" 100" />
51+ </Style >
52+
53+ <Style TargetType =" {x:Type ListBoxItem}" BasedOn =" {StaticResource {x:Type ListBoxItem}}" >
54+ <Setter Property =" Padding" Value =" 3" />
55+ <Setter Property =" HorizontalContentAlignment" Value =" Stretch" />
56+ </Style >
57+ </Style .Resources>
58+ </Style >
59+
60+ </ResourceDictionary >
0 commit comments