Merge pull request #3394 from onesounds/050328-NewHotkeyDesign

Adjust Hotkey Design
This commit is contained in:
DB P 2025-03-30 12:04:56 +09:00 committed by GitHub
commit f07c09f6cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 248 additions and 149 deletions

View file

@ -58,6 +58,9 @@
<SolidColorBrush x:Key="BasicSeparatorColor" Color="#cecece" /> <SolidColorBrush x:Key="BasicSeparatorColor" Color="#cecece" />
<SolidColorBrush x:Key="BasicLineColor" Color="#cecece" /> <SolidColorBrush x:Key="BasicLineColor" Color="#cecece" />
<SolidColorBrush x:Key="NewHotkeyForeground" Color="#44FFFFFF" />
<SolidColorBrush x:Key="BasicHotkeyBGColor" Color="#13FFFFFF" />
<SolidColorBrush x:Key="ThemeHoverButton" Color="#3c3c3c" /> <SolidColorBrush x:Key="ThemeHoverButton" Color="#3c3c3c" />
<SolidColorBrush x:Key="PopuBGColor" Color="#202020" /> <SolidColorBrush x:Key="PopuBGColor" Color="#202020" />
<SolidColorBrush x:Key="PopupBGColor" Color="#202020" /> <SolidColorBrush x:Key="PopupBGColor" Color="#202020" />
@ -115,7 +118,7 @@
<SolidColorBrush x:Key="InfoBarWarningIcon" Color="#FCE100" /> <SolidColorBrush x:Key="InfoBarWarningIcon" Color="#FCE100" />
<SolidColorBrush x:Key="InfoBarWarningBG" Color="#433519" /> <SolidColorBrush x:Key="InfoBarWarningBG" Color="#433519" />
<SolidColorBrush x:Key="InfoBarBD" Color="#19000000" /> <SolidColorBrush x:Key="InfoBarBD" Color="#19000000" />
<SolidColorBrush x:Key="MouseOverWindowCloseButtonForegroundBrush" Color="#ffffff" /> <SolidColorBrush x:Key="MouseOverWindowCloseButtonForegroundBrush" Color="#ffffff" />
<SolidColorBrush x:Key="ButtonOutBorder" Color="Transparent" /> <SolidColorBrush x:Key="ButtonOutBorder" Color="Transparent" />

View file

@ -51,6 +51,9 @@
<SolidColorBrush x:Key="PluginInfoColor" Color="#8f8f8f" /> <SolidColorBrush x:Key="PluginInfoColor" Color="#8f8f8f" />
<SolidColorBrush x:Key="BasicLabelColor" Color="#1b1b1b" /> <SolidColorBrush x:Key="BasicLabelColor" Color="#1b1b1b" />
<SolidColorBrush x:Key="NewHotkeyForeground" Color="#5E000000" />
<SolidColorBrush x:Key="BasicHotkeyBGColor" Color="#0A000000" />
<SolidColorBrush x:Key="ThemeHoverButton" Color="#f6f6f6" /> <SolidColorBrush x:Key="ThemeHoverButton" Color="#f6f6f6" />
<!-- Typo --> <!-- Typo -->
<SolidColorBrush x:Key="PopuBGColor" Color="#ffffff" /> <SolidColorBrush x:Key="PopuBGColor" Color="#ffffff" />

View file

@ -65,23 +65,24 @@
Margin="0 0 10 0" Margin="0 0 10 0"
VerticalAlignment="Center" VerticalAlignment="Center"
Visibility="{Binding ShowOpenResultHotkey}"> Visibility="{Binding ShowOpenResultHotkey}">
<TextBlock <Border x:Name="HotkeyBG" Style="{DynamicResource ItemHotkeyBGStyle}">
x:Name="Hotkey" <Border.Visibility>
Margin="12 0 12 0"
Padding="0 0 0 0"
HorizontalAlignment="Right"
VerticalAlignment="Center"
Style="{DynamicResource ItemHotkeyStyle}">
<TextBlock.Visibility>
<Binding Converter="{StaticResource ResourceKey=OpenResultHotkeyVisibilityConverter}" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=ListBoxItem}" /> <Binding Converter="{StaticResource ResourceKey=OpenResultHotkeyVisibilityConverter}" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=ListBoxItem}" />
</TextBlock.Visibility> </Border.Visibility>
<TextBlock.Text> <TextBlock
<MultiBinding StringFormat="{}{0}+{1}"> x:Name="Hotkey"
<Binding Path="OpenResultModifiers" /> Padding="0 0 0 0"
<Binding Converter="{StaticResource ResourceKey=OrdinalConverter}" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=ListBoxItem}" /> HorizontalAlignment="Right"
</MultiBinding> VerticalAlignment="Center"
</TextBlock.Text> Style="{DynamicResource ItemHotkeyStyle}">
</TextBlock> <TextBlock.Text>
<MultiBinding StringFormat="{}{0}+{1}">
<Binding Path="OpenResultModifiers" />
<Binding Converter="{StaticResource ResourceKey=OrdinalConverter}" RelativeSource="{RelativeSource Mode=FindAncestor, AncestorType=ListBoxItem}" />
</MultiBinding>
</TextBlock.Text>
</TextBlock>
</Border>
</StackPanel> </StackPanel>
<Grid Grid.Column="0"> <Grid Grid.Column="0">
@ -214,6 +215,7 @@
<Setter TargetName="Title" Property="Style" Value="{DynamicResource ItemTitleSelectedStyle}" /> <Setter TargetName="Title" Property="Style" Value="{DynamicResource ItemTitleSelectedStyle}" />
<Setter TargetName="SubTitle" Property="Style" Value="{DynamicResource ItemSubTitleSelectedStyle}" /> <Setter TargetName="SubTitle" Property="Style" Value="{DynamicResource ItemSubTitleSelectedStyle}" />
<Setter TargetName="Hotkey" Property="Style" Value="{DynamicResource ItemHotkeySelectedStyle}" /> <Setter TargetName="Hotkey" Property="Style" Value="{DynamicResource ItemHotkeySelectedStyle}" />
<Setter TargetName="HotkeyBG" Property="Style" Value="{DynamicResource ItemHotkeyBGSelectedStyle}" />
<Setter TargetName="GlyphIcon" Property="Style" Value="{DynamicResource ItemGlyphSelectedStyle}" /> <Setter TargetName="GlyphIcon" Property="Style" Value="{DynamicResource ItemGlyphSelectedStyle}" />
</DataTrigger> </DataTrigger>
</DataTemplate.Triggers> </DataTemplate.Triggers>

View file

@ -351,17 +351,41 @@
<Setter Property="Inline.FontWeight" Value="Bold" /> <Setter Property="Inline.FontWeight" Value="Bold" />
</Style> </Style>
<Style x:Key="BaseItemHotkeyStyle" TargetType="{x:Type TextBlock}"> <Style x:Key="BaseItemHotkeyStyle" TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="15" /> <Setter Property="FontSize" Value="12" />
<Setter Property="Foreground" Value="#8f8f8f" /> <Setter Property="Foreground" Value="#8f8f8f" />
</Style> </Style>
<Style x:Key="BaseItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}"> <Style x:Key="BaseItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="15" /> <Setter Property="FontSize" Value="12" />
<Setter Property="Foreground" Value="#8f8f8f" /> <Setter Property="Foreground" Value="#8f8f8f" />
</Style> </Style>
<Style x:Key="BaseItemHotkeyBGStyle" TargetType="{x:Type Border}">
<Setter Property="Margin" Value="12 0 12 0" />
<Setter Property="Padding" Value="6 4 6 4" />
<Setter Property="Background" Value="#138A8A8A" />
<Setter Property="CornerRadius" Value="4" />
</Style>
<Style x:Key="BaseItemHotkeyBGSelectedStyle" TargetType="{x:Type Border}">
<Setter Property="Margin" Value="12 0 12 0" />
<Setter Property="Padding" Value="6 4 6 4" />
<Setter Property="CornerRadius" Value="4" />
<Setter Property="Background" Value="#138A8A8A" />
</Style>
<Style
x:Key="ItemHotkeyBGStyle"
BasedOn="{StaticResource BaseItemHotkeyBGStyle}"
TargetType="{x:Type Border}">
<Setter Property="Margin" Value="12 0 12 0" />
<Setter Property="Padding" Value="6 4 6 4" />
<Setter Property="CornerRadius" Value="4" />
</Style>
<Style
x:Key="ItemHotkeyBGSelectedStyle"
BasedOn="{StaticResource BaseItemHotkeyBGSelectedStyle}"
TargetType="{x:Type Border}" />
<!-- DO NOT USE THIS KEY. this key for themes with wrong typo. This key should be removed. Right key is BaseItemHotkeySelectedStyle. --> <!-- DO NOT USE THIS KEY. this key for themes with wrong typo. This key should be removed. Right key is BaseItemHotkeySelectedStyle. -->
<Style x:Key="BaseItemHotkeySelecetedStyle" TargetType="{x:Type TextBlock}"> <Style x:Key="BaseItemHotkeySelecetedStyle" TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="15" /> <Setter Property="FontSize" Value="12" />
<Setter Property="Foreground" Value="#8f8f8f" /> <Setter Property="Foreground" Value="#8f8f8f" />
</Style> </Style>
@ -488,7 +512,6 @@
x:Key="ItemHotkeyStyle" x:Key="ItemHotkeyStyle"
BasedOn="{StaticResource BaseItemHotkeyStyle}" BasedOn="{StaticResource BaseItemHotkeyStyle}"
TargetType="{x:Type TextBlock}"> TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="15" />
<Setter Property="Foreground" Value="#8f8f8f" /> <Setter Property="Foreground" Value="#8f8f8f" />
<Setter Property="Opacity" Value="0.5" /> <Setter Property="Opacity" Value="0.5" />
</Style> </Style>
@ -496,7 +519,6 @@
x:Key="ItemHotkeySelectedStyle" x:Key="ItemHotkeySelectedStyle"
BasedOn="{StaticResource BaseItemHotkeySelectedStyle}" BasedOn="{StaticResource BaseItemHotkeySelectedStyle}"
TargetType="{x:Type TextBlock}"> TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="15" />
<Setter Property="Foreground" Value="#8f8f8f" /> <Setter Property="Foreground" Value="#8f8f8f" />
<Setter Property="Opacity" Value="0.5" /> <Setter Property="Opacity" Value="0.5" />
</Style> </Style>

View file

@ -15,6 +15,7 @@
<system:String x:Key="SystemBG">Dark</system:String> <system:String x:Key="SystemBG">Dark</system:String>
<Color x:Key="LightBG">#C7000000</Color> <Color x:Key="LightBG">#C7000000</Color>
<Color x:Key="DarkBG">#C7000000</Color> <Color x:Key="DarkBG">#C7000000</Color>
<Thickness x:Key="ResultMargin">0 0 0 8</Thickness>
<Style x:Key="WindowRadius" TargetType="{x:Type Border}"> <Style x:Key="WindowRadius" TargetType="{x:Type Border}">
<Setter Property="CornerRadius" Value="0" /> <Setter Property="CornerRadius" Value="0" />
@ -145,13 +146,17 @@
<Setter Property="Height" Value="30" /> <Setter Property="Height" Value="30" />
<Setter Property="Opacity" Value="0.2" /> <Setter Property="Opacity" Value="0.2" />
</Style> </Style>
<Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}"> <Style
<Setter Property="FontSize" Value="14" /> x:Key="ItemHotkeyStyle"
BasedOn="{StaticResource BaseItemHotkeyStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#ffffff" /> <Setter Property="Foreground" Value="#ffffff" />
<Setter Property="Opacity" Value="0.2" /> <Setter Property="Opacity" Value="0.2" />
</Style> </Style>
<Style x:Key="ItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}"> <Style
<Setter Property="FontSize" Value="14" /> x:Key="ItemHotkeySelectedStyle"
BasedOn="{StaticResource BaseItemHotkeySelectedStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#ffffff" /> <Setter Property="Foreground" Value="#ffffff" />
<Setter Property="Opacity" Value="0.2" /> <Setter Property="Opacity" Value="0.2" />
</Style> </Style>

View file

@ -14,6 +14,7 @@
<system:String x:Key="SystemBG">Dark</system:String> <system:String x:Key="SystemBG">Dark</system:String>
<Color x:Key="LightBG">#B0000000</Color> <Color x:Key="LightBG">#B0000000</Color>
<Color x:Key="DarkBG">#B6000000</Color> <Color x:Key="DarkBG">#B6000000</Color>
<Thickness x:Key="ResultMargin">0 0 0 8</Thickness>
<Style x:Key="WindowRadius" TargetType="{x:Type Border}"> <Style x:Key="WindowRadius" TargetType="{x:Type Border}">
<Setter Property="CornerRadius" Value="0" /> <Setter Property="CornerRadius" Value="0" />
@ -142,13 +143,17 @@
<Setter Property="Height" Value="30" /> <Setter Property="Height" Value="30" />
<Setter Property="Opacity" Value="0.5" /> <Setter Property="Opacity" Value="0.5" />
</Style> </Style>
<Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}"> <Style
<Setter Property="FontSize" Value="14" /> x:Key="ItemHotkeyStyle"
BasedOn="{StaticResource BaseItemHotkeyStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#ffffff" /> <Setter Property="Foreground" Value="#ffffff" />
<Setter Property="Opacity" Value="0.5" /> <Setter Property="Opacity" Value="0.5" />
</Style> </Style>
<Style x:Key="ItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}"> <Style
<Setter Property="FontSize" Value="14" /> x:Key="ItemHotkeySelectedStyle"
BasedOn="{StaticResource BaseItemHotkeySelectedStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#ffffff" /> <Setter Property="Foreground" Value="#ffffff" />
<Setter Property="Opacity" Value="0.5" /> <Setter Property="Opacity" Value="0.5" />
</Style> </Style>

View file

@ -14,6 +14,8 @@
<system:String x:Key="SystemBG">Light</system:String> <system:String x:Key="SystemBG">Light</system:String>
<Color x:Key="LightBG">#BFFAFAFA</Color> <Color x:Key="LightBG">#BFFAFAFA</Color>
<Color x:Key="DarkBG">#BFFAFAFA</Color> <Color x:Key="DarkBG">#BFFAFAFA</Color>
<Thickness x:Key="ResultMargin">0 0 0 8</Thickness>
<Style <Style
x:Key="ItemGlyph" x:Key="ItemGlyph"
BasedOn="{StaticResource BaseGlyphStyle}" BasedOn="{StaticResource BaseGlyphStyle}"
@ -148,13 +150,17 @@
<Setter Property="Height" Value="30" /> <Setter Property="Height" Value="30" />
<Setter Property="Opacity" Value="0.2" /> <Setter Property="Opacity" Value="0.2" />
</Style> </Style>
<Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}"> <Style
<Setter Property="FontSize" Value="14" /> x:Key="ItemHotkeyStyle"
BasedOn="{StaticResource BaseItemHotkeyStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#000000" /> <Setter Property="Foreground" Value="#000000" />
<Setter Property="Opacity" Value="0.2" /> <Setter Property="Opacity" Value="0.2" />
</Style> </Style>
<Style x:Key="ItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}"> <Style
<Setter Property="FontSize" Value="14" /> x:Key="ItemHotkeySelectedStyle"
BasedOn="{StaticResource BaseItemHotkeySelectedStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#000000" /> <Setter Property="Foreground" Value="#000000" />
<Setter Property="Opacity" Value="0.2" /> <Setter Property="Opacity" Value="0.2" />
</Style> </Style>

View file

@ -26,7 +26,7 @@
x:Key="QueryBoxStyle" x:Key="QueryBoxStyle"
BasedOn="{StaticResource BaseQueryBoxStyle}" BasedOn="{StaticResource BaseQueryBoxStyle}"
TargetType="{x:Type TextBox}"> TargetType="{x:Type TextBox}">
<Setter Property="Padding" Value="0 4 50 0" /> <Setter Property="Padding" Value="0 0 50 0" />
<Setter Property="Foreground" Value="{m:DynamicColor SystemControlHighlightBaseHighBrush}" /> <Setter Property="Foreground" Value="{m:DynamicColor SystemControlHighlightBaseHighBrush}" />
<Setter Property="FontSize" Value="18" /> <Setter Property="FontSize" Value="18" />
<Setter Property="Height" Value="38" /> <Setter Property="Height" Value="38" />
@ -36,7 +36,7 @@
x:Key="QuerySuggestionBoxStyle" x:Key="QuerySuggestionBoxStyle"
BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}" BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}"
TargetType="{x:Type TextBox}"> TargetType="{x:Type TextBox}">
<Setter Property="Padding" Value="0 4 50 0" /> <Setter Property="Padding" Value="0 0 50 0" />
<Setter Property="Background" Value="Transparent" /> <Setter Property="Background" Value="Transparent" />
<Setter Property="Height" Value="38" /> <Setter Property="Height" Value="38" />
<Setter Property="FontSize" Value="18" /> <Setter Property="FontSize" Value="18" />

View file

@ -33,7 +33,7 @@
x:Key="QueryBoxStyle" x:Key="QueryBoxStyle"
BasedOn="{StaticResource BaseQueryBoxStyle}" BasedOn="{StaticResource BaseQueryBoxStyle}"
TargetType="{x:Type TextBox}"> TargetType="{x:Type TextBox}">
<Setter Property="Padding" Value="0,4,50,0" /> <Setter Property="Padding" Value="0,0,50,0" />
<Setter Property="CaretBrush" Value="#336766" /> <Setter Property="CaretBrush" Value="#336766" />
<Setter Property="Foreground" Value="#e7e9eb" /> <Setter Property="Foreground" Value="#e7e9eb" />
<Setter Property="FontSize" Value="18" /> <Setter Property="FontSize" Value="18" />
@ -44,7 +44,7 @@
x:Key="QuerySuggestionBoxStyle" x:Key="QuerySuggestionBoxStyle"
BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}" BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}"
TargetType="{x:Type TextBox}"> TargetType="{x:Type TextBox}">
<Setter Property="Padding" Value="0,4,50,0" /> <Setter Property="Padding" Value="0,0,50,0" />
<Setter Property="Background" Value="Transparent" /> <Setter Property="Background" Value="Transparent" />
<Setter Property="Height" Value="38" /> <Setter Property="Height" Value="38" />
<Setter Property="FontSize" Value="18" /> <Setter Property="FontSize" Value="18" />
@ -56,7 +56,7 @@
BasedOn="{StaticResource BaseWindowBorderStyle}" BasedOn="{StaticResource BaseWindowBorderStyle}"
TargetType="{x:Type Border}"> TargetType="{x:Type Border}">
<Setter Property="BorderThickness" Value="1" /> <Setter Property="BorderThickness" Value="1" />
<Setter Property="BorderBrush" Value="#09181e" /> <Setter Property="BorderBrush" Value="#1e292f" />
<Setter Property="Background" Value="#0f1f26" /> <Setter Property="Background" Value="#0f1f26" />
<Setter Property="CornerRadius" Value="6" /> <Setter Property="CornerRadius" Value="6" />
<Setter Property="UseLayoutRounding" Value="True" /> <Setter Property="UseLayoutRounding" Value="True" />

View file

@ -1,58 +1,57 @@
<!--
Name: Rider
IsDark: False
HasBlur: False
-->
<ResourceDictionary <ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:system="clr-namespace:System;assembly=mscorlib"> xmlns:system="clr-namespace:System;assembly=mscorlib">
<ResourceDictionary.MergedDictionaries> <ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/Themes/Base.xaml" /> <ResourceDictionary Source="pack://application:,,,/Themes/Base.xaml" />
</ResourceDictionary.MergedDictionaries> </ResourceDictionary.MergedDictionaries>
<Thickness x:Key="ResultMargin">0 0 0 8</Thickness>
<Style <Style
x:Key="ItemGlyph" x:Key="ItemGlyph"
BasedOn="{StaticResource BaseGlyphStyle}" BasedOn="{StaticResource BaseGlyphStyle}"
TargetType="{x:Type TextBlock}"> TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#ebebeb" /> <Setter Property="Foreground" Value="#dfe1e5" />
</Style> </Style>
<Style <Style
x:Key="QueryBoxStyle" x:Key="QueryBoxStyle"
BasedOn="{StaticResource BaseQueryBoxStyle}" BasedOn="{StaticResource BaseQueryBoxStyle}"
TargetType="{x:Type TextBox}"> TargetType="{x:Type TextBox}">
<Setter Property="Foreground" Value="#ebebeb" /> <Setter Property="Padding" Value="0 0 50 0" />
<Setter Property="Background" Value="Transparent" /> <Setter Property="Foreground" Value="#dfe1e5" />
<Setter Property="FontSize" Value="18" />
<Setter Property="Height" Value="38" />
</Style> </Style>
<Style <Style
x:Key="QuerySuggestionBoxStyle" x:Key="QuerySuggestionBoxStyle"
BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}" BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}"
TargetType="{x:Type TextBox}"> TargetType="{x:Type TextBox}">
<Setter Property="Foreground" Value="#ebebeb" /> <Setter Property="Padding" Value="0 0 50 0" />
<Setter Property="Opacity" Value="0.2" /> <Setter Property="Background" Value="Transparent" />
<Setter Property="Height" Value="38" />
<Setter Property="FontSize" Value="18" />
<Setter Property="Foreground" Value="#24DFE1E5" />
</Style> </Style>
<Style <Style
x:Key="WindowBorderStyle" x:Key="WindowBorderStyle"
BasedOn="{StaticResource BaseWindowBorderStyle}" BasedOn="{StaticResource BaseWindowBorderStyle}"
TargetType="{x:Type Border}"> TargetType="{x:Type Border}">
<Setter Property="CornerRadius" Value="5" /> <Setter Property="BorderThickness" Value="1" />
<Setter Property="BorderThickness" Value="1,1,0,0" /> <Setter Property="BorderBrush" Value="#393b40" />
<Setter Property="BorderBrush" Value="#666666" /> <Setter Property="Background" Value="#2b2d30" />
<Setter Property="Background"> <Setter Property="CornerRadius" Value="8" />
<Setter.Value> <Setter Property="UseLayoutRounding" Value="True" />
<SolidColorBrush Opacity="0.95" Color="#333333" />
</Setter.Value>
</Setter>
</Style> </Style>
<Style <Style
x:Key="WindowStyle" x:Key="WindowStyle"
BasedOn="{StaticResource BaseWindowStyle}" BasedOn="{StaticResource BaseWindowStyle}"
TargetType="{x:Type Window}"> TargetType="{x:Type Window}" />
<Setter Property="Background">
<Setter.Value>
<SolidColorBrush Opacity="0.5" Color="White" />
</Setter.Value>
</Setter>
</Style>
<Style <Style
x:Key="PendingLineStyle" x:Key="PendingLineStyle"
BasedOn="{StaticResource BasePendingLineStyle}" BasedOn="{StaticResource BasePendingLineStyle}"
@ -63,27 +62,36 @@
x:Key="ItemTitleStyle" x:Key="ItemTitleStyle"
BasedOn="{StaticResource BaseItemTitleStyle}" BasedOn="{StaticResource BaseItemTitleStyle}"
TargetType="{x:Type TextBlock}"> TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#ebebeb" /> <Setter Property="Foreground" Value="#dfe1e5" />
</Style> </Style>
<Style <Style
x:Key="ItemSubTitleStyle" x:Key="ItemSubTitleStyle"
BasedOn="{StaticResource BaseItemSubTitleStyle}" BasedOn="{StaticResource BaseItemSubTitleStyle}"
TargetType="{x:Type TextBlock}"> TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#787878" /> <Setter Property="Foreground" Value="#6f737a" />
</Style> </Style>
<Style
x:Key="SeparatorStyle"
BasedOn="{StaticResource BaseSeparatorStyle}"
TargetType="{x:Type Rectangle}">
<Setter Property="Fill" Value="#393b40" />
<Setter Property="Height" Value="1" />
<Setter Property="Margin" Value="0 0 0 8" />
</Style>
<Style x:Key="HighlightStyle" />
<Style <Style
x:Key="ItemTitleSelectedStyle" x:Key="ItemTitleSelectedStyle"
BasedOn="{StaticResource BaseItemTitleSelectedStyle}" BasedOn="{StaticResource BaseItemTitleSelectedStyle}"
TargetType="{x:Type TextBlock}"> TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#ffffff" /> <Setter Property="Foreground" Value="#dfe1e5" />
</Style> </Style>
<Style <Style
x:Key="ItemSubTitleSelectedStyle" x:Key="ItemSubTitleSelectedStyle"
BasedOn="{StaticResource BaseItemSubTitleSelectedStyle}" BasedOn="{StaticResource BaseItemSubTitleSelectedStyle}"
TargetType="{x:Type TextBlock}"> TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#949494" /> <Setter Property="Foreground" Value="#dfe1e5" />
</Style> </Style>
<SolidColorBrush x:Key="ItemSelectedBackgroundColor">#545454</SolidColorBrush> <SolidColorBrush x:Key="ItemSelectedBackgroundColor">#2e436e</SolidColorBrush>
<!-- button style in the middle of the scrollbar --> <!-- button style in the middle of the scrollbar -->
<Style <Style
@ -94,7 +102,7 @@
<Setter.Value> <Setter.Value>
<ControlTemplate TargetType="{x:Type Thumb}"> <ControlTemplate TargetType="{x:Type Thumb}">
<Border <Border
Background="#525252" Background="#393b40"
BorderBrush="Transparent" BorderBrush="Transparent"
BorderThickness="0" BorderThickness="0"
CornerRadius="2" CornerRadius="2"
@ -106,69 +114,83 @@
<Style <Style
x:Key="ScrollBarStyle" x:Key="ScrollBarStyle"
BasedOn="{StaticResource BaseScrollBarStyle}" BasedOn="{StaticResource BaseScrollBarStyle}"
TargetType="{x:Type ScrollBar}"> TargetType="{x:Type ScrollBar}" />
<Setter Property="Background" Value="#a0a0a0" />
</Style>
<Style <Style
x:Key="SearchIconStyle" x:Key="SearchIconStyle"
BasedOn="{StaticResource BaseSearchIconStyle}" BasedOn="{StaticResource BaseSearchIconStyle}"
TargetType="{x:Type Path}"> TargetType="{x:Type Path}">
<Setter Property="Fill" Value="#FFFFFF" /> <Setter Property="Fill" Value="#6f737a" />
<Setter Property="Width" Value="24" />
<Setter Property="Height" Value="24" />
</Style>
<Style x:Key="SearchIconPosition" TargetType="{x:Type Canvas}">
<Setter Property="Background" Value="#2b2d30" />
<Setter Property="Width" Value="32" /> <Setter Property="Width" Value="32" />
<Setter Property="Height" Value="32" /> <Setter Property="Height" Value="32" />
<Setter Property="Opacity" Value="0.2" /> <Setter Property="Margin" Value="0 8 8 0" />
</Style> <Setter Property="HorizontalAlignment" Value="Right" />
<Style
x:Key="SeparatorStyle"
BasedOn="{StaticResource BaseSeparatorStyle}"
TargetType="{x:Type Rectangle}">
<Setter Property="Fill" Value="#474747" />
<Setter Property="Height" Value="1" />
<Setter Property="Margin" Value="0,0,0,8" />
</Style> </Style>
<Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}"> <Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="14" /> <Setter Property="FontSize" Value="12" />
<Setter Property="Foreground" Value="#787878" /> <Setter Property="Foreground" Value="#6f737a" />
</Style> </Style>
<Style x:Key="ItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}"> <Style x:Key="ItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="14" /> <Setter Property="FontSize" Value="12" />
<Setter Property="Foreground" Value="#787878" /> <Setter Property="Foreground" Value="#6f737a" />
</Style>
<Style x:Key="ItemGlyphSelectedStyle" TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#dfe1e5" />
<Setter Property="VerticalAlignment" Value="Center" />
<Setter Property="HorizontalAlignment" Value="Center" />
<Setter Property="Width" Value="25" />
<Setter Property="Height" Value="25" />
<Setter Property="FontSize" Value="25" />
</Style>
<CornerRadius x:Key="ItemRadius">8</CornerRadius>
<Thickness x:Key="ItemMargin">10 0 10 0</Thickness>
<Thickness x:Key="ResultMargin">0 0 0 10</Thickness>
<Style
x:Key="ClockPanel"
BasedOn="{StaticResource BaseClockPanel}"
TargetType="{x:Type StackPanel}">
<Setter Property="Margin" Value="0 0 54 0" />
</Style> </Style>
<Style <Style
x:Key="ClockBox" x:Key="ClockBox"
BasedOn="{StaticResource BaseClockBox}" BasedOn="{StaticResource BaseClockBox}"
TargetType="{x:Type TextBlock}"> TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#787878" /> <Setter Property="Foreground" Value="#6f737a" />
</Style> </Style>
<Style <Style
x:Key="DateBox" x:Key="DateBox"
BasedOn="{StaticResource BaseDateBox}" BasedOn="{StaticResource BaseDateBox}"
TargetType="{x:Type TextBlock}"> TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#787878" /> <Setter Property="Foreground" Value="#6f737a" />
</Style> </Style>
<Style <Style
x:Key="PreviewBorderStyle" x:Key="PreviewBorderStyle"
BasedOn="{StaticResource BasePreviewBorderStyle}" BasedOn="{StaticResource BasePreviewBorderStyle}"
TargetType="{x:Type Border}"> TargetType="{x:Type Border}">
<Setter Property="BorderBrush" Value="#474747" /> <Setter Property="Margin" Value="0 0 10 8" />
<Setter Property="BorderBrush" Value="#393b40" />
</Style> </Style>
<Style <Style
x:Key="PreviewItemTitleStyle" x:Key="PreviewItemTitleStyle"
BasedOn="{StaticResource BasePreviewItemTitleStyle}" BasedOn="{StaticResource BasePreviewItemTitleStyle}"
TargetType="{x:Type TextBlock}"> TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#ebebeb" /> <Setter Property="Foreground" Value="#6f737a" />
</Style> </Style>
<Style <Style
x:Key="PreviewItemSubTitleStyle" x:Key="PreviewItemSubTitleStyle"
BasedOn="{StaticResource BasePreviewItemSubTitleStyle}" BasedOn="{StaticResource BasePreviewItemSubTitleStyle}"
TargetType="{x:Type TextBlock}"> TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#787878" /> <Setter Property="Foreground" Value="#6f737a" />
</Style> </Style>
<Style <Style
x:Key="PreviewGlyph" x:Key="PreviewGlyph"
BasedOn="{StaticResource BasePreviewGlyph}" BasedOn="{StaticResource BasePreviewGlyph}"
TargetType="{x:Type TextBlock}"> TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#ebebeb" /> <Setter Property="Foreground" Value="#dfe1e5" />
</Style> </Style>
</ResourceDictionary> </ResourceDictionary>

View file

@ -21,7 +21,7 @@
<Setter Property="SelectionBrush" Value="#0a68d8" /> <Setter Property="SelectionBrush" Value="#0a68d8" />
<Setter Property="Height" Value="42" /> <Setter Property="Height" Value="42" />
<Setter Property="FontSize" Value="24" /> <Setter Property="FontSize" Value="24" />
<Setter Property="Padding" Value="0,0,66,0" /> <Setter Property="Padding" Value="0 0 66 0" />
</Style> </Style>
<Style <Style
x:Key="QuerySuggestionBoxStyle" x:Key="QuerySuggestionBoxStyle"
@ -30,16 +30,16 @@
<Setter Property="Foreground" Value="#72767d" /> <Setter Property="Foreground" Value="#72767d" />
<Setter Property="Height" Value="42" /> <Setter Property="Height" Value="42" />
<Setter Property="FontSize" Value="24" /> <Setter Property="FontSize" Value="24" />
<Setter Property="Padding" Value="0,0,66,0" /> <Setter Property="Padding" Value="0 0 66 0" />
</Style> </Style>
<Style <Style
x:Key="WindowBorderStyle" x:Key="WindowBorderStyle"
BasedOn="{StaticResource BaseWindowBorderStyle}" BasedOn="{StaticResource BaseWindowBorderStyle}"
TargetType="{x:Type Border}"> TargetType="{x:Type Border}">
<Setter Property="BorderThickness" Value="2" /> <Setter Property="BorderThickness" Value="2" />
<Setter Property="BorderBrush" Value="#2f3136" /> <Setter Property="BorderBrush" Value="#3a3a41" />
<Setter Property="CornerRadius" Value="4" /> <Setter Property="CornerRadius" Value="4" />
<Setter Property="Background" Value="#36393f" /> <Setter Property="Background" Value="#2e2e34" />
</Style> </Style>
<Style <Style
x:Key="WindowStyle" x:Key="WindowStyle"
@ -90,23 +90,25 @@
<Setter Property="Cursor" Value="Arrow" /> <Setter Property="Cursor" Value="Arrow" />
<Setter Property="Foreground" Value="#72767d" /> <Setter Property="Foreground" Value="#72767d" />
</Style> </Style>
<SolidColorBrush x:Key="ItemSelectedBackgroundColor">#49443c</SolidColorBrush> <SolidColorBrush x:Key="ItemSelectedBackgroundColor">#36363d</SolidColorBrush>
<Style <Style
x:Key="ItemImageSelectedStyle" x:Key="ItemImageSelectedStyle"
BasedOn="{StaticResource BaseItemImageSelectedStyle}" BasedOn="{StaticResource BaseItemImageSelectedStyle}"
TargetType="{x:Type Image}"> TargetType="{x:Type Image}">
<Setter Property="Cursor" Value="Arrow" /> <Setter Property="Cursor" Value="Arrow" />
</Style> </Style>
<Style x:Key="HighlightStyle"> <Style x:Key="HighlightStyle" />
<Setter Property="Inline.FontWeight" Value="Bold" /> <Style
</Style> x:Key="ItemHotkeyStyle"
<Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}"> BasedOn="{StaticResource BaseItemHotkeyStyle}"
<Setter Property="FontSize" Value="15" /> TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#72767d" /> <Setter Property="Foreground" Value="#72767d" />
<Setter Property="Opacity" Value="0.8" /> <Setter Property="Opacity" Value="0.8" />
</Style> </Style>
<Style x:Key="ItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}"> <Style
<Setter Property="FontSize" Value="15" /> x:Key="ItemHotkeySelectedStyle"
BasedOn="{StaticResource BaseItemHotkeySelectedStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#72767d" /> <Setter Property="Foreground" Value="#72767d" />
<Setter Property="Opacity" Value="0.8" /> <Setter Property="Opacity" Value="0.8" />
</Style> </Style>
@ -123,7 +125,7 @@
<Setter.Value> <Setter.Value>
<ControlTemplate TargetType="{x:Type Thumb}"> <ControlTemplate TargetType="{x:Type Thumb}">
<Border <Border
Background="#202225" Background="#787881"
BorderBrush="Transparent" BorderBrush="Transparent"
BorderThickness="0" BorderThickness="0"
CornerRadius="2" CornerRadius="2"
@ -140,9 +142,9 @@
x:Key="SeparatorStyle" x:Key="SeparatorStyle"
BasedOn="{StaticResource BaseSeparatorStyle}" BasedOn="{StaticResource BaseSeparatorStyle}"
TargetType="{x:Type Rectangle}"> TargetType="{x:Type Rectangle}">
<Setter Property="Fill" Value="#42454a" /> <Setter Property="Fill" Value="#3a3a41" />
<Setter Property="Height" Value="1" /> <Setter Property="Height" Value="1" />
<Setter Property="Margin" Value="12,0,12,6" /> <Setter Property="Margin" Value="0 0 0 0" />
</Style> </Style>
<Style <Style
x:Key="SearchIconStyle" x:Key="SearchIconStyle"
@ -169,6 +171,7 @@
BasedOn="{StaticResource BasePreviewBorderStyle}" BasedOn="{StaticResource BasePreviewBorderStyle}"
TargetType="{x:Type Border}"> TargetType="{x:Type Border}">
<Setter Property="BorderBrush" Value="#42454a" /> <Setter Property="BorderBrush" Value="#42454a" />
<Setter Property="Margin" Value="0 0 0 0" />
</Style> </Style>
<Style <Style
x:Key="PreviewItemTitleStyle" x:Key="PreviewItemTitleStyle"

View file

@ -21,7 +21,7 @@
<Setter Property="Foreground" Value="#f8f8f2" /> <Setter Property="Foreground" Value="#f8f8f2" />
<Setter Property="CaretBrush" Value="#ffb86c" /> <Setter Property="CaretBrush" Value="#ffb86c" />
<Setter Property="FontSize" Value="26" /> <Setter Property="FontSize" Value="26" />
<Setter Property="Padding" Value="0,4,66,0" /> <Setter Property="Padding" Value="0,0,66,0" />
<Setter Property="Height" Value="42" /> <Setter Property="Height" Value="42" />
</Style> </Style>
<Style <Style
@ -30,7 +30,7 @@
TargetType="{x:Type TextBox}"> TargetType="{x:Type TextBox}">
<Setter Property="Foreground" Value="#6272a4" /> <Setter Property="Foreground" Value="#6272a4" />
<Setter Property="FontSize" Value="26" /> <Setter Property="FontSize" Value="26" />
<Setter Property="Padding" Value="0,4,66,0" /> <Setter Property="Padding" Value="0,0,66,0" />
<Setter Property="Height" Value="42" /> <Setter Property="Height" Value="42" />
</Style> </Style>
<Style <Style

View file

@ -11,7 +11,7 @@
TargetType="{x:Type TextBox}"> TargetType="{x:Type TextBox}">
<Setter Property="Foreground" Value="#b88f3a" /> <Setter Property="Foreground" Value="#b88f3a" />
<Setter Property="CaretBrush" Value="#b88f3a" /> <Setter Property="CaretBrush" Value="#b88f3a" />
<Setter Property="Padding" Value="0,0,66,0" /> <Setter Property="Padding" Value="0 0 66 0" />
<Setter Property="Height" Value="42" /> <Setter Property="Height" Value="42" />
</Style> </Style>
<Style <Style
@ -25,7 +25,7 @@
BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}" BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}"
TargetType="{x:Type TextBox}"> TargetType="{x:Type TextBox}">
<Setter Property="Foreground" Value="#a09b8c" /> <Setter Property="Foreground" Value="#a09b8c" />
<Setter Property="Padding" Value="0,0,66,0" /> <Setter Property="Padding" Value="0 0 66 0" />
<Setter Property="Height" Value="42" /> <Setter Property="Height" Value="42" />
</Style> </Style>
@ -56,7 +56,7 @@
TargetType="{x:Type Rectangle}"> TargetType="{x:Type Rectangle}">
<Setter Property="Fill" Value="#785a28" /> <Setter Property="Fill" Value="#785a28" />
<Setter Property="Height" Value="1" /> <Setter Property="Height" Value="1" />
<Setter Property="Margin" Value="0,0,0,0" /> <Setter Property="Margin" Value="0 0 0 0" />
</Style> </Style>
<Style <Style
x:Key="ItemTitleStyle" x:Key="ItemTitleStyle"
@ -110,12 +110,16 @@
<Style x:Key="HighlightStyle"> <Style x:Key="HighlightStyle">
<Setter Property="Inline.FontWeight" Value="Bold" /> <Setter Property="Inline.FontWeight" Value="Bold" />
</Style> </Style>
<Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}"> <Style
<Setter Property="FontSize" Value="15" /> x:Key="ItemHotkeyStyle"
BasedOn="{StaticResource BaseItemHotkeyStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#5b5a56" /> <Setter Property="Foreground" Value="#5b5a56" />
</Style> </Style>
<Style x:Key="ItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}"> <Style
<Setter Property="FontSize" Value="15" /> x:Key="ItemHotkeySelectedStyle"
BasedOn="{StaticResource BaseItemHotkeySelectedStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#5b5a56" /> <Setter Property="Foreground" Value="#5b5a56" />
</Style> </Style>
<Geometry x:Key="SearchIconImg">F1 M12000,12000z M0,0z M10354,10962C10326,10951 10279,10927 10249,10907 10216,10886 9476,10153 8370,9046 7366,8042 6541,7220 6536,7220 6532,7220 6498,7242 6461,7268 6213,7447 5883,7619 5592,7721 5194,7860 4802,7919 4360,7906 3612,7886 2953,7647 2340,7174 2131,7013 1832,6699 1664,6465 1394,6088 1188,5618 1097,5170 1044,4909 1030,4764 1030,4470 1030,4130 1056,3914 1135,3609 1263,3110 1511,2633 1850,2235 1936,2134 2162,1911 2260,1829 2781,1395 3422,1120 4090,1045 4271,1025 4667,1025 4848,1045 5505,1120 6100,1368 6630,1789 6774,1903 7081,2215 7186,2355 7362,2588 7467,2759 7579,2990 7802,3455 7911,3937 7911,4460 7911,4854 7861,5165 7737,5542 7684,5702 7675,5724 7602,5885 7517,6071 7390,6292 7270,6460 7242,6499 7220,6533 7220,6538 7220,6542 8046,7371 9055,8380 10441,9766 10898,10229 10924,10274 10945,10308 10966,10364 10976,10408 10990,10472 10991,10493 10980,10554 10952,10717 10840,10865 10690,10937 10621,10971 10607,10974 10510,10977 10425,10980 10395,10977 10354,10962z M4685,7050C5214,7001 5694,6809 6100,6484 6209,6396 6396,6209 6484,6100 7151,5267 7246,4110 6721,3190 6369,2571 5798,2137 5100,1956 4706,1855 4222,1855 3830,1957 3448,2056 3140,2210 2838,2453 2337,2855 2010,3427 1908,4080 1877,4274 1877,4656 1908,4850 1948,5105 2028,5370 2133,5590 2459,6272 3077,6782 3810,6973 3967,7014 4085,7034 4290,7053 4371,7061 4583,7059 4685,7050z</Geometry> <Geometry x:Key="SearchIconImg">F1 M12000,12000z M0,0z M10354,10962C10326,10951 10279,10927 10249,10907 10216,10886 9476,10153 8370,9046 7366,8042 6541,7220 6536,7220 6532,7220 6498,7242 6461,7268 6213,7447 5883,7619 5592,7721 5194,7860 4802,7919 4360,7906 3612,7886 2953,7647 2340,7174 2131,7013 1832,6699 1664,6465 1394,6088 1188,5618 1097,5170 1044,4909 1030,4764 1030,4470 1030,4130 1056,3914 1135,3609 1263,3110 1511,2633 1850,2235 1936,2134 2162,1911 2260,1829 2781,1395 3422,1120 4090,1045 4271,1025 4667,1025 4848,1045 5505,1120 6100,1368 6630,1789 6774,1903 7081,2215 7186,2355 7362,2588 7467,2759 7579,2990 7802,3455 7911,3937 7911,4460 7911,4854 7861,5165 7737,5542 7684,5702 7675,5724 7602,5885 7517,6071 7390,6292 7270,6460 7242,6499 7220,6533 7220,6538 7220,6542 8046,7371 9055,8380 10441,9766 10898,10229 10924,10274 10945,10308 10966,10364 10976,10408 10990,10472 10991,10493 10980,10554 10952,10717 10840,10865 10690,10937 10621,10971 10607,10974 10510,10977 10425,10980 10395,10977 10354,10962z M4685,7050C5214,7001 5694,6809 6100,6484 6209,6396 6396,6209 6484,6100 7151,5267 7246,4110 6721,3190 6369,2571 5798,2137 5100,1956 4706,1855 4222,1855 3830,1957 3448,2056 3140,2210 2838,2453 2337,2855 2010,3427 1908,4080 1877,4274 1877,4656 1908,4850 1948,5105 2028,5370 2133,5590 2459,6272 3077,6782 3810,6973 3967,7014 4085,7034 4290,7053 4371,7061 4583,7059 4685,7050z</Geometry>
@ -140,7 +144,7 @@
x:Key="PreviewBorderStyle" x:Key="PreviewBorderStyle"
BasedOn="{StaticResource BasePreviewBorderStyle}" BasedOn="{StaticResource BasePreviewBorderStyle}"
TargetType="{x:Type Border}"> TargetType="{x:Type Border}">
<Setter Property="Margin" Value="0,0,10,0" /> <Setter Property="Margin" Value="0 0 10 0" />
<Setter Property="BorderBrush" Value="#785a28" /> <Setter Property="BorderBrush" Value="#785a28" />
</Style> </Style>
<Style <Style

View file

@ -16,7 +16,7 @@
x:Key="QueryBoxStyle" x:Key="QueryBoxStyle"
BasedOn="{StaticResource BaseQueryBoxStyle}" BasedOn="{StaticResource BaseQueryBoxStyle}"
TargetType="{x:Type TextBox}"> TargetType="{x:Type TextBox}">
<Setter Property="Padding" Value="0,4,50,0" /> <Setter Property="Padding" Value="0 0 50 0" />
<Setter Property="Foreground" Value="#fbfdff" /> <Setter Property="Foreground" Value="#fbfdff" />
<Setter Property="FontSize" Value="18" /> <Setter Property="FontSize" Value="18" />
<Setter Property="Height" Value="38" /> <Setter Property="Height" Value="38" />
@ -26,7 +26,7 @@
x:Key="QuerySuggestionBoxStyle" x:Key="QuerySuggestionBoxStyle"
BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}" BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}"
TargetType="{x:Type TextBox}"> TargetType="{x:Type TextBox}">
<Setter Property="Padding" Value="0,4,50,0" /> <Setter Property="Padding" Value="0 0 50 0" />
<Setter Property="Background" Value="Transparent" /> <Setter Property="Background" Value="Transparent" />
<Setter Property="Height" Value="38" /> <Setter Property="Height" Value="38" />
<Setter Property="FontSize" Value="18" /> <Setter Property="FontSize" Value="18" />
@ -38,7 +38,7 @@
BasedOn="{StaticResource BaseWindowBorderStyle}" BasedOn="{StaticResource BaseWindowBorderStyle}"
TargetType="{x:Type Border}"> TargetType="{x:Type Border}">
<Setter Property="BorderThickness" Value="1" /> <Setter Property="BorderThickness" Value="1" />
<Setter Property="BorderBrush" Value="#111828" /> <Setter Property="BorderBrush" Value="#202938" />
<Setter Property="Background" Value="#111828" /> <Setter Property="Background" Value="#111828" />
<Setter Property="CornerRadius" Value="8" /> <Setter Property="CornerRadius" Value="8" />
<Setter Property="UseLayoutRounding" Value="True" /> <Setter Property="UseLayoutRounding" Value="True" />
@ -71,7 +71,7 @@
TargetType="{x:Type Rectangle}"> TargetType="{x:Type Rectangle}">
<Setter Property="Fill" Value="#202938" /> <Setter Property="Fill" Value="#202938" />
<Setter Property="Height" Value="1" /> <Setter Property="Height" Value="1" />
<Setter Property="Margin" Value="0,0,0,8" /> <Setter Property="Margin" Value="0 0 0 8" />
</Style> </Style>
<Style x:Key="HighlightStyle" /> <Style x:Key="HighlightStyle" />
<Style <Style
@ -122,7 +122,7 @@
<Setter Property="Background" Value="#111828" /> <Setter Property="Background" Value="#111828" />
<Setter Property="Width" Value="32" /> <Setter Property="Width" Value="32" />
<Setter Property="Height" Value="32" /> <Setter Property="Height" Value="32" />
<Setter Property="Margin" Value="0,8,8,0" /> <Setter Property="Margin" Value="0 8 8 0" />
<Setter Property="HorizontalAlignment" Value="Right" /> <Setter Property="HorizontalAlignment" Value="Right" />
</Style> </Style>
@ -149,7 +149,7 @@
x:Key="ClockPanel" x:Key="ClockPanel"
BasedOn="{StaticResource ClockPanel}" BasedOn="{StaticResource ClockPanel}"
TargetType="{x:Type StackPanel}"> TargetType="{x:Type StackPanel}">
<Setter Property="Margin" Value="0,0,54,0" /> <Setter Property="Margin" Value="0 0 54 0" />
</Style> </Style>
<Style <Style
x:Key="ClockBox" x:Key="ClockBox"
@ -167,7 +167,7 @@
x:Key="PreviewBorderStyle" x:Key="PreviewBorderStyle"
BasedOn="{StaticResource BasePreviewBorderStyle}" BasedOn="{StaticResource BasePreviewBorderStyle}"
TargetType="{x:Type Border}"> TargetType="{x:Type Border}">
<Setter Property="Margin" Value="0,0,10,8" /> <Setter Property="Margin" Value="0 0 10 8" />
<Setter Property="BorderBrush" Value="#202938" /> <Setter Property="BorderBrush" Value="#202938" />
</Style> </Style>
<Style <Style

View file

@ -40,7 +40,7 @@
TargetType="{x:Type Rectangle}"> TargetType="{x:Type Rectangle}">
<Setter Property="Fill" Value="#4c566a" /> <Setter Property="Fill" Value="#4c566a" />
<Setter Property="Height" Value="1" /> <Setter Property="Height" Value="1" />
<Setter Property="Margin" Value="12,0,12,8" /> <Setter Property="Margin" Value="12 0 12 8" />
</Style> </Style>
<Style <Style
x:Key="WindowStyle" x:Key="WindowStyle"
@ -116,12 +116,16 @@
<Setter Property="Width" Value="32" /> <Setter Property="Width" Value="32" />
<Setter Property="Height" Value="32" /> <Setter Property="Height" Value="32" />
</Style> </Style>
<Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}"> <Style
<Setter Property="FontSize" Value="15" /> x:Key="ItemHotkeyStyle"
BasedOn="{StaticResource BaseItemHotkeyStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#8391AB" /> <Setter Property="Foreground" Value="#8391AB" />
</Style> </Style>
<Style x:Key="ItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}"> <Style
<Setter Property="FontSize" Value="15" /> x:Key="ItemHotkeySelectedStyle"
BasedOn="{StaticResource BaseItemHotkeySelectedStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#8391AB" /> <Setter Property="Foreground" Value="#8391AB" />
</Style> </Style>
<Style <Style

View file

@ -112,12 +112,16 @@
<Setter Property="Width" Value="28" /> <Setter Property="Width" Value="28" />
<Setter Property="Height" Value="28" /> <Setter Property="Height" Value="28" />
</Style> </Style>
<Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}"> <Style
<Setter Property="FontSize" Value="14" /> x:Key="ItemHotkeyStyle"
BasedOn="{StaticResource BaseItemHotkeyStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#ed92c9" /> <Setter Property="Foreground" Value="#ed92c9" />
</Style> </Style>
<Style x:Key="ItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}"> <Style
<Setter Property="FontSize" Value="14" /> x:Key="ItemHotkeySelectedStyle"
BasedOn="{StaticResource BaseItemHotkeySelectedStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="#ed92c9" /> <Setter Property="Foreground" Value="#ed92c9" />
</Style> </Style>
<Style <Style

View file

@ -27,7 +27,7 @@
x:Key="QueryBoxStyle" x:Key="QueryBoxStyle"
BasedOn="{StaticResource BaseQueryBoxStyle}" BasedOn="{StaticResource BaseQueryBoxStyle}"
TargetType="{x:Type TextBox}"> TargetType="{x:Type TextBox}">
<Setter Property="Padding" Value="0,2,42,0" /> <Setter Property="Padding" Value="0,0,42,0" />
<Setter Property="Foreground" Value="#282728" /> <Setter Property="Foreground" Value="#282728" />
<Setter Property="FontSize" Value="16" /> <Setter Property="FontSize" Value="16" />
<Setter Property="Height" Value="24" /> <Setter Property="Height" Value="24" />
@ -37,7 +37,7 @@
x:Key="QuerySuggestionBoxStyle" x:Key="QuerySuggestionBoxStyle"
BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}" BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}"
TargetType="{x:Type TextBox}"> TargetType="{x:Type TextBox}">
<Setter Property="Padding" Value="0,2,42,0" /> <Setter Property="Padding" Value="0,0,42,0" />
<Setter Property="Background" Value="Transparent" /> <Setter Property="Background" Value="Transparent" />
<Setter Property="Height" Value="24" /> <Setter Property="Height" Value="24" />
<Setter Property="FontSize" Value="16" /> <Setter Property="FontSize" Value="16" />

View file

@ -21,7 +21,7 @@
<Setter Property="CaretBrush" Value="#FFAA47" /> <Setter Property="CaretBrush" Value="#FFAA47" />
<Setter Property="FontSize" Value="26" /> <Setter Property="FontSize" Value="26" />
<Setter Property="Height" Value="42" /> <Setter Property="Height" Value="42" />
<Setter Property="Padding" Value="0,4,66,0" /> <Setter Property="Padding" Value="0,0,66,0" />
</Style> </Style>
<Style <Style
x:Key="QuerySuggestionBoxStyle" x:Key="QuerySuggestionBoxStyle"
@ -30,7 +30,7 @@
<Setter Property="Foreground" Value="#798189" /> <Setter Property="Foreground" Value="#798189" />
<Setter Property="FontSize" Value="26" /> <Setter Property="FontSize" Value="26" />
<Setter Property="Height" Value="42" /> <Setter Property="Height" Value="42" />
<Setter Property="Padding" Value="0,4,66,0" /> <Setter Property="Padding" Value="0,0,66,0" />
</Style> </Style>
<Style <Style
x:Key="WindowBorderStyle" x:Key="WindowBorderStyle"

View file

@ -32,7 +32,7 @@
x:Key="QueryBoxStyle" x:Key="QueryBoxStyle"
BasedOn="{StaticResource BaseQueryBoxStyle}" BasedOn="{StaticResource BaseQueryBoxStyle}"
TargetType="{x:Type TextBox}"> TargetType="{x:Type TextBox}">
<Setter Property="Padding" Value="0 4 50 0" /> <Setter Property="Padding" Value="0 0 50 0" />
<Setter Property="CaretBrush" Value="#fa7941" /> <Setter Property="CaretBrush" Value="#fa7941" />
<Setter Property="Foreground" Value="#ffffff" /> <Setter Property="Foreground" Value="#ffffff" />
<Setter Property="FontSize" Value="18" /> <Setter Property="FontSize" Value="18" />
@ -43,7 +43,7 @@
x:Key="QuerySuggestionBoxStyle" x:Key="QuerySuggestionBoxStyle"
BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}" BasedOn="{StaticResource BaseQuerySuggestionBoxStyle}"
TargetType="{x:Type TextBox}"> TargetType="{x:Type TextBox}">
<Setter Property="Padding" Value="0 4 50 0" /> <Setter Property="Padding" Value="0 0 50 0" />
<Setter Property="Background" Value="Transparent" /> <Setter Property="Background" Value="Transparent" />
<Setter Property="Height" Value="38" /> <Setter Property="Height" Value="38" />
<Setter Property="FontSize" Value="18" /> <Setter Property="FontSize" Value="18" />

View file

@ -36,7 +36,7 @@
<Setter Property="FontSize" Value="22" /> <Setter Property="FontSize" Value="22" />
<Setter Property="Foreground" Value="{DynamicResource Color05B}" /> <Setter Property="Foreground" Value="{DynamicResource Color05B}" />
<Setter Property="CaretBrush" Value="{DynamicResource Color05B}" /> <Setter Property="CaretBrush" Value="{DynamicResource Color05B}" />
<Setter Property="Padding" Value="0 4 66 0" /> <Setter Property="Padding" Value="0 0 66 0" />
<Setter Property="Height" Value="42" /> <Setter Property="Height" Value="42" />
</Style> </Style>
<Style <Style
@ -45,7 +45,7 @@
TargetType="{x:Type TextBox}"> TargetType="{x:Type TextBox}">
<Setter Property="Foreground" Value="{DynamicResource QuerySuggestionBoxForeground}" /> <Setter Property="Foreground" Value="{DynamicResource QuerySuggestionBoxForeground}" />
<Setter Property="FontSize" Value="22" /> <Setter Property="FontSize" Value="22" />
<Setter Property="Padding" Value="0 4 66 0" /> <Setter Property="Padding" Value="0 0 66 0" />
<Setter Property="Height" Value="42" /> <Setter Property="Height" Value="42" />
</Style> </Style>
<Style <Style
@ -113,15 +113,18 @@
<Style x:Key="HighlightStyle"> <Style x:Key="HighlightStyle">
<Setter Property="Inline.FontWeight" Value="SemiBold" /> <Setter Property="Inline.FontWeight" Value="SemiBold" />
</Style> </Style>
<Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}"> <Style
<Setter Property="FontSize" Value="13" /> x:Key="ItemHotkeyStyle"
BasedOn="{StaticResource BaseItemHotkeyStyle}"
TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="11" />
<Setter Property="Foreground" Value="{DynamicResource HotkeyForeground}" /> <Setter Property="Foreground" Value="{DynamicResource HotkeyForeground}" />
</Style> </Style>
<Style <Style
x:Key="ItemHotkeySelectedStyle" x:Key="ItemHotkeySelectedStyle"
BasedOn="{StaticResource BaseItemHotkeySelectedStyle}" BasedOn="{StaticResource BaseItemHotkeySelectedStyle}"
TargetType="{x:Type TextBlock}"> TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="13" /> <Setter Property="FontSize" Value="11" />
<Setter Property="Foreground" Value="{DynamicResource HotkeySelectedForeground}" /> <Setter Property="Foreground" Value="{DynamicResource HotkeySelectedForeground}" />
</Style> </Style>
<!-- button style in the middle of the scrollbar --> <!-- button style in the middle of the scrollbar -->

View file

@ -156,13 +156,26 @@
</Style> </Style>
<Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}"> <Style x:Key="ItemHotkeyStyle" TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="12" /> <Setter Property="FontSize" Value="11" />
<Setter Property="Foreground" Value="{DynamicResource HotkeyForeground}" /> <Setter Property="Foreground" Value="{DynamicResource NewHotkeyForeground}" />
</Style> </Style>
<Style x:Key="ItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}"> <Style x:Key="ItemHotkeySelectedStyle" TargetType="{x:Type TextBlock}">
<Setter Property="FontSize" Value="12" /> <Setter Property="FontSize" Value="11" />
<Setter Property="Foreground" Value="{DynamicResource HotkeySelectedForeground}" /> <Setter Property="Foreground" Value="{DynamicResource NewHotkeyForeground}" />
</Style> </Style>
<Style
x:Key="ItemHotkeyBGStyle"
BasedOn="{StaticResource BaseItemHotkeyBGStyle}"
TargetType="{x:Type Border}">
<Setter Property="Background" Value="{DynamicResource BasicHotkeyBGColor}" />
</Style>
<Style
x:Key="ItemHotkeyBGSelectedStyle"
BasedOn="{StaticResource BaseItemHotkeyBGSelectedStyle}"
TargetType="{x:Type Border}">
<Setter Property="Background" Value="{DynamicResource BasicHotkeyBGColor}" />
</Style>
<Style x:Key="ItemGlyphSelectedStyle" TargetType="{x:Type TextBlock}"> <Style x:Key="ItemGlyphSelectedStyle" TargetType="{x:Type TextBlock}">
<Setter Property="Foreground" Value="{DynamicResource Color05B}" /> <Setter Property="Foreground" Value="{DynamicResource Color05B}" />
<Setter Property="VerticalAlignment" Value="Center" /> <Setter Property="VerticalAlignment" Value="Center" />