mirror of
https://github.com/microsoft/PowerToys.git
synced 2024-12-14 03:37:10 +08:00
53 lines
2.9 KiB
XML
53 lines
2.9 KiB
XML
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
|
|
|
<ResourceDictionary.MergedDictionaries>
|
|
<ResourceDictionary Source="Default.xaml"></ResourceDictionary>
|
|
</ResourceDictionary.MergedDictionaries>
|
|
|
|
<Style x:Key="QueryBoxStyle" BasedOn="{StaticResource BaseQueryBoxStyle}" TargetType="{x:Type TextBox}">
|
|
<Setter Property="Background" Value="{%searchFieldBackgroundColor%}"/>
|
|
<Setter Property="Foreground" Value="{%searchFieldTextColor%}" />
|
|
</Style>
|
|
<Style x:Key="WindowBorderStyle" BasedOn="{StaticResource BaseWindowBorderStyle}" TargetType="{x:Type Border}">
|
|
<Setter Property="Background" Value="{%backgroundColor%}"></Setter>
|
|
<Setter Property="CornerRadius" Value="8" />
|
|
<Setter Property="BorderBrush" Value="{%borderColor%}" />
|
|
<Setter Property="BorderThickness" Value="10" />
|
|
</Style>
|
|
<Style x:Key="WindowStyle" TargetType="{x:Type Window}" BasedOn="{StaticResource BaseWindowStyle}" >
|
|
<Setter Property="Width" Value="520"></Setter>
|
|
</Style>
|
|
<Style x:Key="PendingLineStyle" BasedOn="{StaticResource BasePendingLineStyle}" TargetType="{x:Type Line}" >
|
|
</Style>
|
|
|
|
<!-- Item Style -->
|
|
<Style x:Key="ItemTitleStyle" BasedOn="{StaticResource BaseItemTitleStyle}" TargetType="{x:Type TextBlock}" >
|
|
<Setter Property="Foreground" Value="{%resultTextColor%}"></Setter>
|
|
</Style>
|
|
<Style x:Key="ItemSubTitleStyle" BasedOn="{StaticResource BaseItemSubTitleStyle}" TargetType="{x:Type TextBlock}" >
|
|
<Setter Property="Foreground" Value="{%resultSubtextColor%}"></Setter>
|
|
</Style>
|
|
<Style x:Key="ItemTitleSelectedStyle" BasedOn="{StaticResource BaseItemTitleSelectedStyle}" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="{%selectedResultForeground%}" />
|
|
</Style>
|
|
<Style x:Key="ItemSubTitleSelectedStyle" BasedOn="{StaticResource BaseItemSubTitleSelectedStyle}" TargetType="{x:Type TextBlock}">
|
|
<Setter Property="Foreground" Value="{%selectedSubtextForeground%}" />
|
|
</Style>
|
|
<Color x:Key="ItemSelectedBackgroundColor">{%selectedResultBackgroundColor%}</Color>
|
|
|
|
<!-- button style in the middle of the scrollbar -->
|
|
<Style x:Key="ThumbStyle" BasedOn="{StaticResource BaseThumbStyle}" TargetType="{x:Type Thumb}">
|
|
<Setter Property="Template">
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Thumb}">
|
|
<Border CornerRadius="2" DockPanel.Dock="Right" Background="{%scrollbarColor%}" BorderBrush="Transparent" BorderThickness="0" />
|
|
</ControlTemplate>
|
|
</Setter.Value>
|
|
</Setter>
|
|
</Style>
|
|
|
|
<Style x:Key="ScrollBarStyle" BasedOn="{StaticResource BaseScrollBarStyle}" TargetType="{x:Type ScrollBar}">
|
|
</Style>
|
|
</ResourceDictionary>
|