270270 <Setter Property =" HorizontalAlignment" Value =" Right" />
271271 </Style >
272272
273+ <Style x : Key =" BaseClockPanel" TargetType =" {x:Type StackPanel}" >
274+ <Setter Property =" HorizontalAlignment" Value =" Right" />
275+ <Setter Property =" VerticalAlignment" Value =" Center" />
276+ <Setter Property =" Height" Value =" Auto" />
277+ <Setter Property =" Margin" Value =" 0 0 14 0" />
278+ <Setter Property =" Visibility" Value =" Collapsed" />
279+ </Style >
280+ <Style x : Key =" BaseClockBox" TargetType =" {x:Type TextBlock}" >
281+ <Setter Property =" FontSize" Value =" 20" />
282+ <Setter Property =" Foreground" Value =" #8f8f8f" />
283+ <Setter Property =" VerticalAlignment" Value =" Bottom" />
284+ <Setter Property =" HorizontalAlignment" Value =" Right" />
285+ <Setter Property =" Margin" Value =" 0 0 0 -5" />
286+ </Style >
287+ <Style x : Key =" BaseDateBox" TargetType =" {x:Type TextBlock}" >
288+ <Setter Property =" FontSize" Value =" 14" />
289+ <Setter Property =" Foreground" Value =" #8f8f8f" />
290+ <Setter Property =" VerticalAlignment" Value =" Top" />
291+ <Setter Property =" HorizontalAlignment" Value =" Right" />
292+ <Setter Property =" Margin" Value =" 0 0 0 0" />
293+ </Style >
294+
273295 <!-- for classic themes-->
274296 <Style x : Key =" SearchIconStyle" TargetType =" {x:Type Path}" >
275297 <Setter Property =" Fill" Value =" #555555" />
293315 <Setter Property =" Foreground" Value =" #8f8f8f" />
294316 <Setter Property =" Opacity" Value =" 0.5" />
295317 </Style >
318+
319+ <Style x : Key =" ClockBox" TargetType =" {x:Type TextBlock}" BasedOn =" {StaticResource BaseClockBox}" >
320+ </Style >
321+ <Style x : Key =" DateBox" TargetType =" {x:Type TextBlock}" BasedOn =" {StaticResource BaseDateBox}" >
322+ </Style >
323+ <Style x : Key =" ClockPanel" TargetType =" {x:Type StackPanel}" BasedOn =" {StaticResource BaseClockPanel}" >
324+ </Style >
296325</ResourceDictionary >
297326
0 commit comments