-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
1,674 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:sys="clr-namespace:System;assembly=mscorlib"> | ||
|
||
<sys:Double x:Key="FontSizeSmall">12</sys:Double> | ||
<sys:Double x:Key="FontSize">14</sys:Double> | ||
<sys:Double x:Key="FontSizeLarge">15</sys:Double> | ||
<sys:Double x:Key="FontSizeLarger">20</sys:Double> | ||
<sys:Double x:Key="FontSizeLargest">29</sys:Double> | ||
<FontFamily x:Key="FontFamily">Trebuchet MS</FontFamily> | ||
<Thickness x:Key="PopupBorderThickness">1</Thickness> | ||
<Thickness x:Key="ControlBorderThickness">1</Thickness> | ||
<sys:Double x:Key="EllipseBorderThickness">1</sys:Double> | ||
<CornerRadius x:Key="ControlCornerRadius">1</CornerRadius> | ||
|
||
<!-- Also controls corners of associated borders. --> | ||
<CornerRadius x:Key="CoverCornerRadius">5</CornerRadius> | ||
|
||
<!-- Not currently functioning; hopefully you have this font installed already. --> | ||
<FontFamily x:Key="SymbolFont">Fonts/segoeuisym.ttf#Segoe UI Symbol</FontFamily> | ||
|
||
<!-- Effectively the Accent Color: #AARRGGBB, #RRGGBB, & Web safe colors are accepted. --> | ||
<Color x:Key="GlyphColor">#FF55CDFF</Color> | ||
|
||
<!-- Currently Unused --> | ||
<Color x:Key="HighlightGlyphColor">#FFFF0000</Color> | ||
|
||
<Color x:Key="BlackColor">#FF000000</Color> | ||
<Color x:Key="WhiteColor">#FFFFFFFF</Color> | ||
<Color x:Key="TextColor">#f2f2f2</Color> | ||
<Color x:Key="TextColorDarker">#A3A3A3</Color> | ||
<Color x:Key="TextColorDark">#FF000000</Color> | ||
<Color x:Key="MainColor">#4D4D4D</Color> | ||
<Color x:Key="MainColorDark">#171717</Color> | ||
<Color x:Key="HoverColor">#7A7A7A</Color> | ||
<Color x:Key="PopupBackgroundColor">#202020</Color> | ||
<Color x:Key="PopupBorderColor">#2B2B2B</Color> | ||
<Color x:Key="BackgroundToneColor">#171717</Color> | ||
<Color x:Key="GridItemBackgroundColor">#636363</Color> | ||
<Color x:Key="PanelSeparatorColor">#2B2B2B</Color> | ||
<Color x:Key="PanelBackgroundColor">#191919</Color> | ||
|
||
<SolidColorBrush x:Key="ControlBackgroundBrush" Color="Transparent" /> | ||
<SolidColorBrush x:Key="TextBrush" Color="{DynamicResource TextColor}" /> | ||
<SolidColorBrush x:Key="TextBrushDarker" Color="{DynamicResource TextColorDarker}" /> | ||
<SolidColorBrush x:Key="TextBrushDark" Color="{DynamicResource TextColorDark}" /> | ||
<SolidColorBrush x:Key="NormalBrush" Color="{DynamicResource MainColor}" /> | ||
<SolidColorBrush x:Key="NormalBrushDark" Color="{DynamicResource MainColorDark}" /> | ||
<SolidColorBrush x:Key="NormalBorderBrush" Color="#535353" /> | ||
<SolidColorBrush x:Key="HoverBrush" Color="{DynamicResource HoverColor}" /> | ||
<SolidColorBrush x:Key="GlyphBrush" Color="{DynamicResource GlyphColor}" /> | ||
<SolidColorBrush x:Key="HighlightGlyphBrush" Color="{DynamicResource HighlightGlyphColor}" /> | ||
<SolidColorBrush x:Key="PopupBorderBrush" Color="{DynamicResource PopupBorderColor}" /> | ||
<SolidColorBrush x:Key="TooltipBackgroundBrush" Color="{DynamicResource BackgroundToneColor}" /> | ||
<SolidColorBrush x:Key="ButtonBackgroundBrush" Color="#171717" /> | ||
<SolidColorBrush x:Key="GridItemBackgroundBrush" Color="{DynamicResource GridItemBackgroundColor}" Opacity=".5 "/> | ||
<SolidColorBrush x:Key="PanelSeparatorBrush" Color="{DynamicResource PanelSeparatorColor}" Opacity=".5"/> | ||
<SolidColorBrush x:Key="PanelBackgroundBrush" Color="{DynamicResource PanelBackgroundColor}" Opacity=".5" /> | ||
<SolidColorBrush x:Key="PopupBackgroundBrush" Color="{DynamicResource PopupBackgroundColor}" /> | ||
<SolidColorBrush x:Key="DetailsPanelBrush" Color="{DynamicResource PopupBackgroundColor}" Opacity=".5" /> | ||
<SolidColorBrush x:Key="PlayButtonBrush" Color="#19B14E" /> | ||
<SolidColorBrush x:Key="PlayBorderBrush" Color="#C1FFCB" /> | ||
<SolidColorBrush x:Key="TitlebarBrush" Color="{DynamicResource PanelBackgroundColor}" /> | ||
<SolidColorBrush x:Key="DisabledBackgroundBrush" Color="{DynamicResource MainColorDark}" /> | ||
|
||
<SolidColorBrush x:Key="PositiveRatingBrush" Color="#78ffa0" /> | ||
<SolidColorBrush x:Key="NegativeRatingBrush" Color="#ff6b6b" /> | ||
<SolidColorBrush x:Key="MixedRatingBrush" Color="#fffca1" /> | ||
|
||
<SolidColorBrush x:Key="ExpanderBackgroundBrush" Color="#884D4D4D" /> | ||
|
||
<SolidColorBrush x:Key="WindowBackgroundBrush" Color="{DynamicResource PopupBackgroundColor}"/> | ||
|
||
<LinearGradientBrush x:Key="CoverHighlightBrush" StartPoint="0.5,0.0" EndPoint="0.5,0.75" > | ||
<GradientStop Color="#40FFFFFF" Offset="0"/> | ||
<GradientStop Color="#00FFFFFF" Offset="1.0"/> | ||
</LinearGradientBrush> | ||
|
||
</ResourceDictionary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
|
||
<Style TargetType="WindowBase"> | ||
<Setter Property="Background" Value="{DynamicResource WindowBackgroundBrush}" /> | ||
<Setter Property="Template"> | ||
<Setter.Value> | ||
<ControlTemplate TargetType="{x:Type WindowBase}"> | ||
<Border Background="{TemplateBinding Background}"> | ||
<AdornerDecorator> | ||
<ContentPresenter /> | ||
</AdornerDecorator> | ||
</Border> | ||
</ControlTemplate> | ||
</Setter.Value> | ||
</Setter> | ||
</Style> | ||
</ResourceDictionary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" | ||
xmlns:sys="clr-namespace:System;assembly=mscorlib" | ||
mc:Ignorable="d"> | ||
|
||
<Style TargetType="{x:Type Button}" BasedOn="{StaticResource BaseStyle}"> | ||
<Setter Property="Background" Value="{DynamicResource ButtonBackgroundBrush}" /> | ||
<Setter Property="Foreground" Value="{DynamicResource GlyphBrush}" /> | ||
<Setter Property="BorderBrush" Value="{DynamicResource NormalBorderBrush}" /> | ||
<Setter Property="BorderThickness" Value="{DynamicResource ControlBorderThickness}" /> | ||
<Setter Property="SnapsToDevicePixels" Value="True" /> | ||
<Setter Property="Padding" Value="10,5,10,5" /> | ||
<Setter Property="Template"> | ||
<Setter.Value> | ||
<ControlTemplate TargetType="{x:Type Button}"> | ||
<Border x:Name="Border" Cursor="Hand" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" | ||
CornerRadius="{DynamicResource ControlCornerRadius}" Style="{DynamicResource HighlightBorder}"> | ||
<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" | ||
VerticalAlignment="{TemplateBinding VerticalContentAlignment}" | ||
Margin="{TemplateBinding Padding}" RecognizesAccessKey="True" /> | ||
</Border> | ||
<ControlTemplate.Triggers> | ||
<Trigger Property="IsFocused" Value="True"> | ||
<Setter Property="BorderBrush" Value="{DynamicResource GlyphBrush}" TargetName="Border" /> | ||
</Trigger> | ||
</ControlTemplate.Triggers> | ||
</ControlTemplate> | ||
</Setter.Value> | ||
</Setter> | ||
<Style.Triggers> | ||
<Trigger Property="IsMouseOver" Value="True"> | ||
<Setter Property="Foreground" Value="{DynamicResource TextBrush}" /> | ||
<Setter Property="Background" Value="{DynamicResource HoverBrush}" /> | ||
</Trigger> | ||
</Style.Triggers> | ||
</Style> | ||
</ResourceDictionary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" | ||
xmlns:sys="clr-namespace:System;assembly=mscorlib" | ||
mc:Ignorable="d"> | ||
|
||
<Style TargetType="{x:Type ComboBox}" BasedOn="{StaticResource BaseStyle}"> | ||
<Setter Property="Foreground" Value="{DynamicResource TextBrush}" /> | ||
<Setter Property="SnapsToDevicePixels" Value="True" /> | ||
<Setter Property="Background" Value="{DynamicResource ControlBackgroundBrush}"/> | ||
<Setter Property="BorderBrush" Value="{DynamicResource NormalBrush}"/> | ||
<Setter Property="BorderThickness" Value="{DynamicResource ControlBorderThickness}" /> | ||
<Setter Property="Template"> | ||
<Setter.Value> | ||
<ControlTemplate TargetType="{x:Type ComboBox}"> | ||
<Border x:Name="Border" BorderThickness="{TemplateBinding BorderThickness}" CornerRadius="{DynamicResource ControlCornerRadius}" | ||
Style="{DynamicResource HighlightBorder}"> | ||
<Grid> | ||
<ToggleButton x:Name="ToggleButton" Focusable="False" ClickMode="Press" Margin="0,0,2,0" | ||
IsChecked="{Binding Path=IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"> | ||
<ToggleButton.Template> | ||
<ControlTemplate TargetType="{x:Type ToggleButton}"> | ||
<DockPanel LastChildFill="False" Background="Transparent"> | ||
<Viewbox DockPanel.Dock="Right" Width="20" > | ||
<TextBlock Text="6" FontFamily="Marlett" Foreground="{DynamicResource GlyphBrush}" | ||
VerticalAlignment="Center"/> | ||
</Viewbox> | ||
</DockPanel> | ||
</ControlTemplate> | ||
</ToggleButton.Template> | ||
</ToggleButton> | ||
<ContentPresenter x:Name="ContentSite" HorizontalAlignment="Left" VerticalAlignment="Center" | ||
Margin="5,0,25,0" IsHitTestVisible="False" Content="{TemplateBinding SelectionBoxItem}" | ||
ContentTemplate="{TemplateBinding SelectionBoxItemTemplate}" | ||
ContentTemplateSelector="{TemplateBinding ItemTemplateSelector}" /> | ||
<TextBox x:Name="PART_EditableTextBox" Visibility="Hidden" VerticalAlignment="Center" | ||
HorizontalAlignment="Stretch" Margin="0,0,25,0" Focusable="True" | ||
BorderThickness="0" Background="{TemplateBinding Background}" | ||
IsReadOnly="{TemplateBinding IsReadOnly}" Foreground="{DynamicResource TextBrush}"> | ||
</TextBox> | ||
<Popup x:Name="Popup" IsOpen="{TemplateBinding IsDropDownOpen}" | ||
Placement="Bottom" Focusable="False" AllowsTransparency="True"> | ||
<Grid MaxHeight="{TemplateBinding MaxDropDownHeight}" MinWidth="{TemplateBinding ActualWidth}" | ||
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"> | ||
<Border BorderBrush="{DynamicResource PopupBorderBrush}" | ||
BorderThickness="{DynamicResource PopupBorderThickness}" | ||
Background="{DynamicResource PopupBackgroundBrush}"> | ||
<ScrollViewer HorizontalScrollBarVisibility="Auto" VerticalScrollBarVisibility="Auto"> | ||
<StackPanel IsItemsHost="True" KeyboardNavigation.DirectionalNavigation="Contained" /> | ||
</ScrollViewer> | ||
</Border> | ||
</Grid> | ||
</Popup> | ||
</Grid> | ||
</Border> | ||
<ControlTemplate.Triggers> | ||
<Trigger Property="IsFocused" Value="True"> | ||
<Setter Property="BorderBrush" Value="{DynamicResource GlyphBrush}" TargetName="Border" /> | ||
</Trigger> | ||
<Trigger Property="IsEditable" Value="True"> | ||
<Setter Property="IsTabStop" Value="False" /> | ||
<Setter Property="Visibility" Value="Visible" TargetName="PART_EditableTextBox" /> | ||
<Setter Property="Visibility" Value="Hidden" TargetName="ContentSite" /> | ||
</Trigger> | ||
</ControlTemplate.Triggers> | ||
</ControlTemplate> | ||
</Setter.Value> | ||
</Setter> | ||
</Style> | ||
|
||
<Style TargetType="{x:Type ComboBoxItem}"> | ||
<Setter Property="Foreground" Value="{DynamicResource TextBrush}" /> | ||
<Setter Property="Background" Value="{DynamicResource ControlBackgroundBrush}" /> | ||
<Setter Property="SnapsToDevicePixels" Value="True" /> | ||
<Setter Property="Padding" Value="5" /> | ||
<Setter Property="Template"> | ||
<Setter.Value> | ||
<ControlTemplate TargetType="{x:Type ComboBoxItem}"> | ||
<Grid> | ||
<Rectangle x:Name="HoverRectangle" IsHitTestVisible="False" Visibility="Collapsed" Fill="{DynamicResource HoverBrush}" /> | ||
<Rectangle x:Name="SelectedRectangle" IsHitTestVisible="False" Visibility="Collapsed" Fill="{DynamicResource GlyphBrush}" Opacity=".5"/> | ||
<Border Background="Transparent" Padding="{TemplateBinding Padding}"> | ||
<ContentPresenter VerticalAlignment="Center" /> | ||
</Border> | ||
</Grid> | ||
<ControlTemplate.Triggers> | ||
<Trigger Property="IsHighlighted" Value="True"> | ||
<Setter Property="Visibility" Value="Visible" TargetName="HoverRectangle" /> | ||
</Trigger> | ||
<Trigger Property="IsMouseOver" Value="True"> | ||
<Setter Property="Visibility" Value="Visible" TargetName="HoverRectangle" /> | ||
</Trigger> | ||
<Trigger Property="IsSelected" Value="True"> | ||
<Setter Property="Visibility" Value="Visible" TargetName="SelectedRectangle" /> | ||
</Trigger> | ||
</ControlTemplate.Triggers> | ||
</ControlTemplate> | ||
</Setter.Value> | ||
</Setter> | ||
<Style.Triggers> | ||
<Trigger Property="Selector.IsSelected" Value="True"> | ||
<Setter Property="Foreground" Value="{DynamicResource TextBrushDark}" /> | ||
</Trigger> | ||
</Style.Triggers> | ||
</Style> | ||
</ResourceDictionary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity" | ||
xmlns:sys="clr-namespace:System;assembly=mscorlib" | ||
mc:Ignorable="d"> | ||
|
||
<Style TargetType="{x:Type Thumb}"> | ||
<Setter Property="Background" Value="{DynamicResource NormalBrush}" /> | ||
<Setter Property="Template"> | ||
<Setter.Value> | ||
<ControlTemplate TargetType="{x:Type Thumb}"> | ||
<Grid> | ||
<Rectangle x:Name="HoverRectangle" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" | ||
Width="Auto" Height="Auto" RadiusX="3" RadiusY="4" | ||
Stroke="{x:Null}" Margin="4.5,1,4.5,1" MinHeight="10" | ||
Fill="{TemplateBinding Background}" /> | ||
</Grid> | ||
<ControlTemplate.Triggers> | ||
<Trigger Property="IsFocused" Value="True" /> | ||
<Trigger Property="IsMouseOver" Value="True"> | ||
<Setter Property="Fill" Value="{DynamicResource HoverBrush}" TargetName="HoverRectangle" /> | ||
</Trigger> | ||
<DataTrigger Binding="{Binding IsFocused, RelativeSource={RelativeSource AncestorType=Track}}" Value="True"> | ||
<Setter Property="Fill" Value="{DynamicResource HoverBrush}" TargetName="HoverRectangle" /> | ||
</DataTrigger> | ||
</ControlTemplate.Triggers> | ||
</ControlTemplate> | ||
</Setter.Value> | ||
</Setter> | ||
</Style> | ||
</ResourceDictionary> |
Oops, something went wrong.