Skip to content

Commit

Permalink
(chocolateyGH-685) Remove obsolete unused styles
Browse files Browse the repository at this point in the history
  • Loading branch information
punker76 committed Mar 2, 2021
1 parent f17c853 commit c786091
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 78 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -332,10 +332,6 @@
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Resources\ControlStyles\SourceList.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
</Page>
<Page Include="Resources\ControlStyles\ToggleSwitch.xaml">
<Generator>MSBuild:Compile</Generator>
<SubType>Designer</SubType>
Expand Down

This file was deleted.

56 changes: 0 additions & 56 deletions Source/ChocolateyGui.Common.Windows/Resources/Controls.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="ControlStyles/Typography.xaml" />
<ResourceDictionary Source="ControlStyles/SourceList.xaml" />
<ResourceDictionary Source="ControlStyles/ToggleSwitch.xaml" />
</ResourceDictionary.MergedDictionaries>

Expand Down Expand Up @@ -213,12 +212,6 @@
<Setter Property="FontSize" Value="16" />
</Style>

<Style x:Key="VersionNumberTextBlockStyle" TargetType="{x:Type TextBlock}"
BasedOn="{StaticResource SourceBaseTextBlockStyle}">
<Setter Property="FontSize" Value="16" />
<Setter Property="Foreground" Value="Black" />
</Style>

<Style x:Key="SourcesListBoxItemContainerStyle" TargetType="{x:Type ListBoxItem}" BasedOn="{StaticResource {x:Type ListBoxItem}}">
<Setter Property="BorderThickness" Value="2,0,0,0" />
<Setter Property="Padding" Value="20,10" />
Expand Down Expand Up @@ -471,11 +464,6 @@
<Setter Property="FontSize" Value="22" />
</Style>

<Style x:Key="DescriptionTextStyle" TargetType="{x:Type Run}">
<Setter Property="Foreground" Value="{DynamicResource BodyColorBrush}" />
<Setter Property="FontSize" Value="16" />
</Style>

<Style x:Key="PageCountTextStyle" TargetType="{x:Type TextBlock}">
<Setter Property="FontWeight" Value="Bold" />
<Setter Property="FontSize" Value="14" />
Expand All @@ -485,50 +473,6 @@
<Setter Property="Foreground" Value="#5c9fd8" />
</Style>

<Style TargetType="{x:Type FlowDocument}" x:Key="DocumentStyle">
<Setter Property="FontFamily"
Value="Calibri" />
<Setter Property="TextAlignment"
Value="Left" />
<Setter Property="Foreground" Value="#FF000000" />
</Style>

<Style x:Key="PageHeader"
TargetType="{x:Type Paragraph}">
<Setter Property="FontSize"
Value="42" />
<Setter Property="Foreground"
Value="#ff000000" />
<Setter Property="FontWeight"
Value="Light" />
</Style>

<Style x:Key="SubHeader"
TargetType="{x:Type Paragraph}">
<Setter Property="FontSize"
Value="20" />
<Setter Property="Foreground"
Value="#ff000000" />
<Setter Property="FontWeight"
Value="Light" />
</Style>

<Style x:Key="SubHeaderSecondary"
TargetType="{x:Type Paragraph}">
<Setter Property="FontSize"
Value="20" />
<Setter Property="Foreground"
Value="#99000000" />
<Setter Property="FontWeight"
Value="Light" />
</Style>

<Style x:Key="PageTextBlockStyle" TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#FF000000" />
<Setter Property="Margin" Value="5,0,5,5" />
<Setter Property="FontSize" Value="14" />
</Style>

<Style x:Key="BigIconButton" TargetType="{x:Type Button}" BasedOn="{StaticResource MahApps.Styles.Button.Circle}">
<Setter Property="Width" Value="48" />
<Setter Property="Height" Value="48" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<WrapPanel Grid.Column="0" Orientation="Horizontal" Margin="0,5" Style="{StaticResource LeftSourceListItem}">
<WrapPanel Grid.Column="0" Orientation="Horizontal" Margin="0,5">
<StackPanel Orientation="Horizontal" Margin="0 0 5 0">
<Label Margin="5,0" FontSize="16" FontWeight="SemiBold" VerticalAlignment="Center"
Target="{Binding ElementName=SearchTextBox}" Content="{x:Static properties:Resources.LocalSourceView_SearchBoxText}"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<WrapPanel Grid.Column="0" Orientation="Horizontal" Margin="0,5" Style="{StaticResource LeftSourceListItem}">
<WrapPanel Grid.Column="0" Orientation="Horizontal" Margin="0,5">
<StackPanel Orientation="Horizontal" Margin="0 0 5 0">
<Label Margin="5,0" FontSize="16" FontWeight="SemiBold" VerticalAlignment="Center"
Target="{Binding ElementName=SearchTextBox}" Content="{x:Static properties:Resources.RemoteSourceView_SearchBoxText}"/>
Expand Down

0 comments on commit c786091

Please sign in to comment.