|
|
|
@ -1,23 +1,22 @@ |
|
|
|
<Style xmlns="https://github.com/avaloniaui" Selector="Window"> |
|
|
|
<Setter Property="Background" Value="{DynamicResource ThemeBackgroundBrush}"/> |
|
|
|
<Setter Property="Foreground" Value="{DynamicResource ThemeForegroundBrush}"/> |
|
|
|
<Setter Property="FontSize" Value="{DynamicResource FontSizeNormal}"/> |
|
|
|
<Setter Property="Background" Value="{DynamicResource SystemControlBackgroundAltHighBrush}"/> |
|
|
|
<Setter Property="TransparencyBackgroundFallback" Value="{DynamicResource SystemControlBackgroundAltHighBrush}" /> |
|
|
|
<Setter Property="Foreground" Value="{DynamicResource SystemControlForegroundBaseHighBrush}"/> |
|
|
|
<Setter Property="FontSize" Value="{DynamicResource ContentControlFontSize}"/> |
|
|
|
<Setter Property="FontFamily" Value="{DynamicResource ContentControlThemeFontFamily}" /> |
|
|
|
<Setter Property="Template"> |
|
|
|
<ControlTemplate> |
|
|
|
<Panel> |
|
|
|
<Panel IsHitTestVisible="False" Margin="{TemplateBinding OffScreenMargin}"> |
|
|
|
<Border Name="PART_TransparencyFallback" IsHitTestVisible="False" /> |
|
|
|
</Panel> |
|
|
|
<Border Background="{TemplateBinding Background}"> |
|
|
|
<VisualLayerManager> |
|
|
|
<ContentPresenter Name="PART_ContentPresenter" |
|
|
|
ContentTemplate="{TemplateBinding ContentTemplate}" |
|
|
|
Content="{TemplateBinding Content}" |
|
|
|
Margin="{TemplateBinding Padding}" |
|
|
|
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
|
|
|
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/> |
|
|
|
</VisualLayerManager> |
|
|
|
</Border> |
|
|
|
<Border Name="PART_TransparencyFallback" IsHitTestVisible="False" /> |
|
|
|
<Border Background="{TemplateBinding Background}" IsHitTestVisible="False" /> |
|
|
|
<VisualLayerManager> |
|
|
|
<ContentPresenter Name="PART_ContentPresenter" |
|
|
|
ContentTemplate="{TemplateBinding ContentTemplate}" |
|
|
|
Content="{TemplateBinding Content}" |
|
|
|
Margin="{TemplateBinding Padding}" |
|
|
|
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}" |
|
|
|
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"/> |
|
|
|
</VisualLayerManager> |
|
|
|
</Panel> |
|
|
|
</ControlTemplate> |
|
|
|
</Setter> |
|
|
|
|