forked from LorisYounger/VPet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathResourceStyle.xaml
212 lines (204 loc) · 9.83 KB
/
ResourceStyle.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:pu="clr-namespace:Panuon.WPF.UI;assembly=Panuon.WPF.UI"
xmlns:pucore="clr-namespace:Panuon.WPF;assembly=Panuon.WPF">
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/VPet-Simulator.Core;component/Display/Theme.xaml"/>
<ResourceDictionary Source="/VPet-Simulator.Core;component/Display/basestyle.xaml"/>
</ResourceDictionary.MergedDictionaries>
<Style x:Key="BaseWindowXStyle"
TargetType="pu:WindowX">
<Setter Property="pu:WindowXCaption.Background"
Value="{DynamicResource DARKPrimary}" />
<Setter Property="pu:WindowXCaption.Foreground"
Value="{DynamicResource DARKPrimaryText}" />
<Setter Property="pu:WindowXCaption.Buttons"
Value="Close" />
<Setter Property="pu:WindowXCaption.CloseButtonStyle">
<Setter.Value>
<Style TargetType="Button"
BasedOn="{StaticResource {x:Static pu:WindowXCaption.CloseButtonStyleKey}}">
<Setter Property="pu:ButtonHelper.HoverBackground"
Value="{x:Null}" />
</Style>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="StandardComboBoxStyle"
TargetType="{x:Type ComboBox}"
BasedOn="{StaticResource {x:Type ComboBox}}">
<Setter Property="FontSize"
Value="14" />
<Setter Property="Height"
Value="30" />
<Setter Property="Background"
Value="{DynamicResource DARKPrimaryText}" />
<Setter Property="BorderThickness"
Value="1.5" />
<Setter Property="BorderBrush"
Value="{DynamicResource DARKPrimary}" />
<Setter Property="Padding"
Value="7,0,15,0" />
<Setter Property="pu:ComboBoxHelper.CornerRadius"
Value="5" />
<Setter Property="pu:ComboBoxHelper.WatermarkForeground"
Value="#DCDCDC" />
<Setter Property="pu:ComboBoxHelper.ItemsSelectedBackground"
Value="{DynamicResource DARKPrimary}" />
<Setter Property="pu:ComboBoxHelper.ItemsSelectedForeground"
Value="{DynamicResource DARKPrimaryText}" />
<Setter Property="pu:ComboBoxHelper.ItemsHoverBackground"
Value="{DynamicResource DARKPrimaryTrans4}" />
<Setter Property="pu:ComboBoxHelper.ItemsPadding"
Value="22,0" />
<Setter Property="pu:DropDownHelper.BorderThickness"
Value="1" />
<Setter Property="pu:DropDownHelper.Background"
Value="{DynamicResource DARKPrimaryText}" />
<Setter Property="pu:DropDownHelper.ShadowColor"
Value="{DynamicResource ShadowColor}" />
<Setter Property="pu:DropDownHelper.CornerRadius"
Value="5" />
<Setter Property="pu:DropDownHelper.MinHeight"
Value="100" />
<Setter Property="pu:DropDownHelper.ClipDockSideShadow"
Value="False" />
<Setter Property="pu:DropDownHelper.BorderBrush"
Value="{DynamicResource DARKPrimary}" />
<Setter Property="pu:ShadowHelper.BlurRadius"
Value="15" />
<Setter Property="pu:ShadowHelper.Opacity"
Value="0.5" />
<Setter Property="pu:ComboBoxHelper.ToggleArrowTransformControlStyle">
<Setter.Value>
<Style TargetType="pu:TransformControl"
BasedOn="{StaticResource {x:Static pu:ComboBoxHelper.ToggleArrowTransformControlStyleKey}}">
<Setter Property="Foreground"
Value="{DynamicResource PrimaryText}" />
<Setter Property="FontSize"
Value="10" />
<Setter Property="Content"
Value="" />
</Style>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="StandardSliderStyle"
TargetType="Slider"
BasedOn="{StaticResource {x:Type Slider}}">
<Setter Property="Background"
Value="{DynamicResource DARKPrimaryTrans4}" />
<Setter Property="Foreground"
Value="{DynamicResource DARKPrimaryDark}" />
<Setter Property="pu:SliderHelper.ThumbShadowColor"
Value="{DynamicResource ShadowColor}" />
<Setter Property="pu:SliderHelper.TrackThickness"
Value="2.5" />
<Setter Property="pu:SliderHelper.ThumbBorderBrush"
Value="{DynamicResource DARKPrimary}" />
<Setter Property="pu:SliderHelper.ThumbBorderThickness"
Value="2.5" />
<Setter Property="pu:SliderHelper.CoveredBackground"
Value="{DynamicResource DARKPrimary}" />
<Setter Property="pu:ShadowHelper.ShadowDepth"
Value="3" />
<Setter Property="pu:ShadowHelper.Direction"
Value="270" />
<Setter Property="pu:ShadowHelper.Opacity"
Value="0.5" />
</Style>
<Style x:Key="StandardRadioButtonStyle"
TargetType="RadioButton"
BasedOn="{StaticResource {x:Type RadioButton}}">
<Setter Property="pu:RadioButtonHelper.CheckedToggleBrush"
Value="{DynamicResource DARKPrimary}" />
<Setter Property="pu:RadioButtonHelper.CheckedBorderBrush"
Value="{DynamicResource DARKPrimary}" />
</Style>
<Style x:Key="SideMenuListBoxStyle"
TargetType="ListBox"
BasedOn="{StaticResource {x:Type ListBox}}">
<Setter Property="BorderThickness"
Value="0" />
<Setter Property="Background"
Value="Transparent" />
<Setter Property="pu:ListBoxHelper.ItemsHeight"
Value="30" />
<Setter Property="pu:ListBoxHelper.ItemsPadding"
Value="15,0" />
<Setter Property="pu:ListBoxHelper.ItemsCornerRadius"
Value="5" />
<Setter Property="pu:ListBoxHelper.ItemsHoverBackground"
Value="{x:Null}" />
<Setter Property="pu:ListBoxHelper.ItemsSelectedBackground"
Value="{DynamicResource DARKPrimary}" />
<Setter Property="pu:ListBoxHelper.ItemsSelectedForeground"
Value="{DynamicResource DARKPrimaryText}" />
</Style>
<Style x:Key="ToolBarMenuStyle"
TargetType="Menu"
BasedOn="{StaticResource {x:Type Menu}}">
<Setter Property="Height"
Value="55" />
<Setter Property="FontSize"
Value="24" />
<Setter Property="VerticalContentAlignment"
Value="Center" />
<Setter Property="pu:MenuHelper.TopLevelDropDownVerticalOffset"
Value="-25" />
<Setter Property="BorderBrush"
Value="{DynamicResource DARKPrimaryDarker}" />
<Setter Property="Background"
Value="{DynamicResource DARKPrimaryText}" />
<Setter Property="pu:MenuHelper.CornerRadius"
Value="5" />
<Setter Property="pu:MenuHelper.TopLevelDropDownPlacement"
Value="TopRight" />
<Setter Property="pu:MenuHelper.TopLevelItemsPadding"
Value="15,0" />
<Setter Property="pu:MenuHelper.TopLevelItemsBackground"
Value="Transparent" />
<Setter Property="pu:MenuHelper.TopLevelItemsHoverBackground"
Value="{DynamicResource SecondaryLighter}" />
<Setter Property="pu:MenuHelper.TopLevelItemsHoverForeground"
Value="{DynamicResource DARKPrimary}" />
<Setter Property="pu:MenuHelper.TopLevelItemsOpenedBackground"
Value="{DynamicResource SecondaryLighter}" />
<Setter Property="pu:MenuHelper.TopLevelItemsOpenedForeground"
Value="{DynamicResource DARKPrimary}" />
<Setter Property="pu:MenuHelper.SubmenuItemsPadding"
Value="15,0" />
<Setter Property="pu:MenuHelper.SubmenuItemsHeight"
Value="55" />
<Setter Property="pu:MenuHelper.SubmenuItemsIconWidth"
Value="NaN" />
<Setter Property="pu:MenuHelper.SubmenuItemsWidth"
Value="200" />
<Setter Property="pu:DropDownHelper.CornerRadius"
Value="5" />
<Setter Property="pu:MenuHelper.SubmenuItemsBackground"
Value="Transparent" />
<Setter Property="pu:MenuHelper.SubmenuItemsHoverBackground"
Value="{DynamicResource SecondaryLighter}" />
<!--<Setter Property="pu:MenuHelper.SubmenuItemsHoverForeground"
Value="{DynamicResource DARKPrimary}" />-->
<Setter Property="pu:MenuHelper.SubmenuItemsOpenedBackground"
Value="{DynamicResource SecondaryLighter}" />
<!--<Setter Property="pu:MenuHelper.SubmenuItemsOpenedForeground"
Value="{DynamicResource DARKPrimary}" />-->
<Setter Property="pu:MenuHelper.SubmenuItemsSeparatorVisibility"
Value="Visible" />
<Setter Property="pu:MenuHelper.SubmenuItemsSeparatorBrush"
Value="#CCCECF" />
<Setter Property="pu:MenuHelper.SubmenuItemsSeparatorMargin"
Value="10,0" />
<!--<Setter Property="pu:MenuHelper.ShadowColor"
Value="{DynamicResource ShadowColor}" />-->
<Setter Property="pu:DropDownHelper.ShadowColor"
Value="{DynamicResource ShadowColor}" />
<Setter Property="pu:ShadowHelper.Opacity"
Value="0.7" />
<Setter Property="pu:ShadowHelper.BlurRadius"
Value="25" />
</Style>
</ResourceDictionary>