mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-04-24 10:26:34 +08:00
fix: add opacity to CheckGlyph.
This commit is contained in:
@@ -33,6 +33,7 @@
|
|||||||
CornerRadius="{TemplateBinding CornerRadius}">
|
CornerRadius="{TemplateBinding CornerRadius}">
|
||||||
<Grid ColumnDefinitions="Auto,*">
|
<Grid ColumnDefinitions="Auto,*">
|
||||||
<Panel
|
<Panel
|
||||||
|
Name="PART_GlyphPanel"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
TemplatedControl.IsTemplateFocusTarget="True"
|
TemplatedControl.IsTemplateFocusTarget="True"
|
||||||
VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
|
||||||
@@ -106,14 +107,10 @@
|
|||||||
<Style Selector="^ /template/ Border#NormalRectangle">
|
<Style Selector="^ /template/ Border#NormalRectangle">
|
||||||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckedDisabledBorderBrush}" />
|
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckedDisabledBorderBrush}" />
|
||||||
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckedDisabledBackground}" />
|
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckedDisabledBackground}" />
|
||||||
<Setter Property="Opacity" Value="0.75" />
|
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter">
|
<Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter">
|
||||||
<Setter Property="Foreground" Value="{DynamicResource CheckBoxDisabledForeground}" />
|
<Setter Property="Foreground" Value="{DynamicResource CheckBoxDisabledForeground}" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^ /template/ PathIcon#CheckGlyph">
|
|
||||||
<Setter Property="Foreground" Value="{DynamicResource CheckBoxGlyphDisabledFill}" />
|
|
||||||
</Style>
|
|
||||||
</Style>
|
</Style>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
@@ -124,6 +121,12 @@
|
|||||||
<Style Selector="^:checked /template/ PathIcon#CheckGlyph">
|
<Style Selector="^:checked /template/ PathIcon#CheckGlyph">
|
||||||
<Setter Property="Data" Value="{DynamicResource CheckBoxCheckGlyph}" />
|
<Setter Property="Data" Value="{DynamicResource CheckBoxCheckGlyph}" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
|
<Style Selector="^:disabled">
|
||||||
|
<Style Selector="^ /template/ Panel#PART_GlyphPanel">
|
||||||
|
<Setter Property="Opacity" Value="0.75" />
|
||||||
|
</Style>
|
||||||
|
</Style>
|
||||||
</ControlTheme>
|
</ControlTheme>
|
||||||
|
|
||||||
<ControlTheme
|
<ControlTheme
|
||||||
@@ -138,7 +141,9 @@
|
|||||||
BorderBrush="{TemplateBinding BorderBrush}"
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
BorderThickness="{TemplateBinding BorderThickness}"
|
BorderThickness="{TemplateBinding BorderThickness}"
|
||||||
CornerRadius="{TemplateBinding CornerRadius}">
|
CornerRadius="{TemplateBinding CornerRadius}">
|
||||||
<Panel VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
|
<Panel
|
||||||
|
Name="PART_GlyphPanel"
|
||||||
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
|
||||||
<Border
|
<Border
|
||||||
Name="NormalRectangle"
|
Name="NormalRectangle"
|
||||||
Width="{DynamicResource CheckBoxBoxWidth}"
|
Width="{DynamicResource CheckBoxBoxWidth}"
|
||||||
@@ -183,6 +188,7 @@
|
|||||||
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||||
ColumnDefinitions="Auto,*">
|
ColumnDefinitions="Auto,*">
|
||||||
<Panel
|
<Panel
|
||||||
|
Name="PART_GlyphPanel"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
VerticalAlignment="Top"
|
VerticalAlignment="Top"
|
||||||
Margin="{DynamicResource CheckBoxBoxMargin}">
|
Margin="{DynamicResource CheckBoxBoxMargin}">
|
||||||
@@ -279,7 +285,6 @@
|
|||||||
<Style Selector="^ /template/ Border#NormalRectangle">
|
<Style Selector="^ /template/ Border#NormalRectangle">
|
||||||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckedDisabledBorderBrush}" />
|
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckedDisabledBorderBrush}" />
|
||||||
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckedDisabledBackground}" />
|
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckedDisabledBackground}" />
|
||||||
<Setter Property="Opacity" Value="0.75" />
|
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^ /template/ Border#RootBorder">
|
<Style Selector="^ /template/ Border#RootBorder">
|
||||||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCardCheckedDisabledBorderBrush}" />
|
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCardCheckedDisabledBorderBrush}" />
|
||||||
@@ -287,9 +292,6 @@
|
|||||||
<Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter">
|
<Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter">
|
||||||
<Setter Property="Foreground" Value="{DynamicResource CheckBoxDisabledForeground}" />
|
<Setter Property="Foreground" Value="{DynamicResource CheckBoxDisabledForeground}" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^ /template/ PathIcon#CheckGlyph">
|
|
||||||
<Setter Property="Foreground" Value="{DynamicResource CheckBoxGlyphDisabledFill}" />
|
|
||||||
</Style>
|
|
||||||
</Style>
|
</Style>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
@@ -305,6 +307,12 @@
|
|||||||
<Setter Property="Background" Value="{DynamicResource CheckBoxCardCheckedBackground}" />
|
<Setter Property="Background" Value="{DynamicResource CheckBoxCardCheckedBackground}" />
|
||||||
</Style>
|
</Style>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
|
<Style Selector="^:disabled">
|
||||||
|
<Style Selector="^ /template/ Panel#PART_GlyphPanel">
|
||||||
|
<Setter Property="Opacity" Value="0.75" />
|
||||||
|
</Style>
|
||||||
|
</Style>
|
||||||
</ControlTheme>
|
</ControlTheme>
|
||||||
|
|
||||||
<ControlTheme x:Key="PureCardCheckBox" TargetType="CheckBox">
|
<ControlTheme x:Key="PureCardCheckBox" TargetType="CheckBox">
|
||||||
|
|||||||
@@ -137,6 +137,7 @@
|
|||||||
CornerRadius="{TemplateBinding CornerRadius}">
|
CornerRadius="{TemplateBinding CornerRadius}">
|
||||||
<Grid ColumnDefinitions="Auto,*">
|
<Grid ColumnDefinitions="Auto,*">
|
||||||
<Panel
|
<Panel
|
||||||
|
Name="PART_GlyphPanel"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
TemplatedControl.IsTemplateFocusTarget="True"
|
TemplatedControl.IsTemplateFocusTarget="True"
|
||||||
VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
|
||||||
@@ -224,13 +225,18 @@
|
|||||||
<Style Selector="^ /template/ Ellipse#OuterEllipse">
|
<Style Selector="^ /template/ Ellipse#OuterEllipse">
|
||||||
<Setter Property="Stroke" Value="{DynamicResource RadioButtonCheckIconDisabledBorderBrush}" />
|
<Setter Property="Stroke" Value="{DynamicResource RadioButtonCheckIconDisabledBorderBrush}" />
|
||||||
<Setter Property="Fill" Value="{DynamicResource RadioButtonCheckIconDisabledBackground}" />
|
<Setter Property="Fill" Value="{DynamicResource RadioButtonCheckIconDisabledBackground}" />
|
||||||
<Setter Property="Opacity" Value="0.75" />
|
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter">
|
<Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter">
|
||||||
<Setter Property="Foreground" Value="{DynamicResource RadioButtonDisabledForeground}" />
|
<Setter Property="Foreground" Value="{DynamicResource RadioButtonDisabledForeground}" />
|
||||||
</Style>
|
</Style>
|
||||||
</Style>
|
</Style>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
|
<Style Selector="^:disabled">
|
||||||
|
<Style Selector="^ /template/ Panel#PART_GlyphPanel">
|
||||||
|
<Setter Property="Opacity" Value="0.75" />
|
||||||
|
</Style>
|
||||||
|
</Style>
|
||||||
</ControlTheme>
|
</ControlTheme>
|
||||||
|
|
||||||
|
|
||||||
@@ -321,6 +327,7 @@
|
|||||||
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||||
ColumnDefinitions="Auto,*">
|
ColumnDefinitions="Auto,*">
|
||||||
<Panel
|
<Panel
|
||||||
|
Name="PART_GlyphPanel"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
VerticalAlignment="Top"
|
VerticalAlignment="Top"
|
||||||
Margin="{DynamicResource RadioButtonIconMargin}">
|
Margin="{DynamicResource RadioButtonIconMargin}">
|
||||||
@@ -431,7 +438,6 @@
|
|||||||
<Style Selector="^ /template/ Ellipse#OuterEllipse">
|
<Style Selector="^ /template/ Ellipse#OuterEllipse">
|
||||||
<Setter Property="Stroke" Value="{DynamicResource RadioButtonCheckIconDisabledBorderBrush}" />
|
<Setter Property="Stroke" Value="{DynamicResource RadioButtonCheckIconDisabledBorderBrush}" />
|
||||||
<Setter Property="Fill" Value="{DynamicResource RadioButtonCheckIconDisabledBackground}" />
|
<Setter Property="Fill" Value="{DynamicResource RadioButtonCheckIconDisabledBackground}" />
|
||||||
<Setter Property="Opacity" Value="0.75" />
|
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^ /template/ Border#RootBorder">
|
<Style Selector="^ /template/ Border#RootBorder">
|
||||||
<Setter Property="BorderBrush" Value="{DynamicResource RadioButtonCheckIconDisabledBackground}" />
|
<Setter Property="BorderBrush" Value="{DynamicResource RadioButtonCheckIconDisabledBackground}" />
|
||||||
@@ -442,6 +448,12 @@
|
|||||||
</Style>
|
</Style>
|
||||||
</Style>
|
</Style>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
|
<Style Selector="^:disabled">
|
||||||
|
<Style Selector="^ /template/ Panel#PART_GlyphPanel">
|
||||||
|
<Setter Property="Opacity" Value="0.75" />
|
||||||
|
</Style>
|
||||||
|
</Style>
|
||||||
</ControlTheme>
|
</ControlTheme>
|
||||||
|
|
||||||
|
|
||||||
@@ -539,6 +551,7 @@
|
|||||||
CornerRadius="{TemplateBinding CornerRadius}">
|
CornerRadius="{TemplateBinding CornerRadius}">
|
||||||
<Grid ColumnDefinitions="Auto,*">
|
<Grid ColumnDefinitions="Auto,*">
|
||||||
<Panel
|
<Panel
|
||||||
|
Name="PART_GlyphPanel"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
TemplatedControl.IsTemplateFocusTarget="True"
|
TemplatedControl.IsTemplateFocusTarget="True"
|
||||||
VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
|
||||||
@@ -612,20 +625,22 @@
|
|||||||
<Style Selector="^ /template/ Border#NormalRectangle">
|
<Style Selector="^ /template/ Border#NormalRectangle">
|
||||||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckedDisabledBorderBrush}" />
|
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckedDisabledBorderBrush}" />
|
||||||
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckedDisabledBackground}" />
|
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckedDisabledBackground}" />
|
||||||
<Setter Property="Opacity" Value="0.75" />
|
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter">
|
<Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter">
|
||||||
<Setter Property="Foreground" Value="{DynamicResource CheckBoxDisabledForeground}" />
|
<Setter Property="Foreground" Value="{DynamicResource CheckBoxDisabledForeground}" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^ /template/ PathIcon#CheckGlyph">
|
|
||||||
<Setter Property="Foreground" Value="{DynamicResource CheckBoxGlyphDisabledFill}" />
|
|
||||||
</Style>
|
|
||||||
</Style>
|
</Style>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
<Style Selector="^:selected /template/ PathIcon#CheckGlyph">
|
<Style Selector="^:selected /template/ PathIcon#CheckGlyph">
|
||||||
<Setter Property="Data" Value="{DynamicResource CheckBoxCheckGlyph}" />
|
<Setter Property="Data" Value="{DynamicResource CheckBoxCheckGlyph}" />
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
|
<Style Selector="^:disabled">
|
||||||
|
<Style Selector="^ /template/ Panel#PART_GlyphPanel">
|
||||||
|
<Setter Property="Opacity" Value="0.75" />
|
||||||
|
</Style>
|
||||||
|
</Style>
|
||||||
</ControlTheme>
|
</ControlTheme>
|
||||||
|
|
||||||
|
|
||||||
@@ -657,6 +672,7 @@
|
|||||||
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||||
ColumnDefinitions="Auto,*">
|
ColumnDefinitions="Auto,*">
|
||||||
<Panel
|
<Panel
|
||||||
|
Name="PART_GlyphPanel"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
VerticalAlignment="Top"
|
VerticalAlignment="Top"
|
||||||
Margin="{DynamicResource CheckBoxBoxMargin}">
|
Margin="{DynamicResource CheckBoxBoxMargin}">
|
||||||
@@ -753,7 +769,6 @@
|
|||||||
<Style Selector="^ /template/ Border#NormalRectangle">
|
<Style Selector="^ /template/ Border#NormalRectangle">
|
||||||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckedDisabledBorderBrush}" />
|
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCheckedDisabledBorderBrush}" />
|
||||||
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckedDisabledBackground}" />
|
<Setter Property="Background" Value="{DynamicResource CheckBoxCheckedDisabledBackground}" />
|
||||||
<Setter Property="Opacity" Value="0.75" />
|
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^ /template/ Border#RootBorder">
|
<Style Selector="^ /template/ Border#RootBorder">
|
||||||
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCardCheckedDisabledBorderBrush}" />
|
<Setter Property="BorderBrush" Value="{DynamicResource CheckBoxCardCheckedDisabledBorderBrush}" />
|
||||||
@@ -761,8 +776,11 @@
|
|||||||
<Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter">
|
<Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter">
|
||||||
<Setter Property="Foreground" Value="{DynamicResource CheckBoxDisabledForeground}" />
|
<Setter Property="Foreground" Value="{DynamicResource CheckBoxDisabledForeground}" />
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^ /template/ PathIcon#CheckGlyph">
|
</Style>
|
||||||
<Setter Property="Foreground" Value="{DynamicResource CheckBoxGlyphDisabledFill}" />
|
|
||||||
|
<Style Selector="^:disabled">
|
||||||
|
<Style Selector="^ /template/ Panel#PART_GlyphPanel">
|
||||||
|
<Setter Property="Opacity" Value="0.75" />
|
||||||
</Style>
|
</Style>
|
||||||
</Style>
|
</Style>
|
||||||
</Style>
|
</Style>
|
||||||
|
|||||||
@@ -34,6 +34,7 @@
|
|||||||
CornerRadius="{TemplateBinding CornerRadius}">
|
CornerRadius="{TemplateBinding CornerRadius}">
|
||||||
<Grid ColumnDefinitions="Auto,*">
|
<Grid ColumnDefinitions="Auto,*">
|
||||||
<Panel
|
<Panel
|
||||||
|
Name="PART_GlyphPanel"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
TemplatedControl.IsTemplateFocusTarget="True"
|
TemplatedControl.IsTemplateFocusTarget="True"
|
||||||
VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}">
|
||||||
@@ -45,7 +46,6 @@
|
|||||||
Stroke="{DynamicResource RadioButtonUncheckIconDefaultBorderBrush}"
|
Stroke="{DynamicResource RadioButtonUncheckIconDefaultBorderBrush}"
|
||||||
StrokeThickness="{DynamicResource RadioButtonUncheckIconDefaultThickness}"
|
StrokeThickness="{DynamicResource RadioButtonUncheckIconDefaultThickness}"
|
||||||
UseLayoutRounding="False" />
|
UseLayoutRounding="False" />
|
||||||
|
|
||||||
<Ellipse
|
<Ellipse
|
||||||
Name="CheckGlyph"
|
Name="CheckGlyph"
|
||||||
Width="{DynamicResource RadioButtonGlyphRadius}"
|
Width="{DynamicResource RadioButtonGlyphRadius}"
|
||||||
@@ -121,13 +121,18 @@
|
|||||||
<Style Selector="^ /template/ Ellipse#OuterEllipse">
|
<Style Selector="^ /template/ Ellipse#OuterEllipse">
|
||||||
<Setter Property="Stroke" Value="{DynamicResource RadioButtonCheckIconDisabledBorderBrush}" />
|
<Setter Property="Stroke" Value="{DynamicResource RadioButtonCheckIconDisabledBorderBrush}" />
|
||||||
<Setter Property="Fill" Value="{DynamicResource RadioButtonCheckIconDisabledBackground}" />
|
<Setter Property="Fill" Value="{DynamicResource RadioButtonCheckIconDisabledBackground}" />
|
||||||
<Setter Property="Opacity" Value="0.75" />
|
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter">
|
<Style Selector="^ /template/ ContentPresenter#PART_ContentPresenter">
|
||||||
<Setter Property="Foreground" Value="{DynamicResource RadioButtonDisabledForeground}" />
|
<Setter Property="Foreground" Value="{DynamicResource RadioButtonDisabledForeground}" />
|
||||||
</Style>
|
</Style>
|
||||||
</Style>
|
</Style>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
|
<Style Selector="^:disabled">
|
||||||
|
<Style Selector="^ /template/ Panel#PART_GlyphPanel">
|
||||||
|
<Setter Property="Opacity" Value="0.75" />
|
||||||
|
</Style>
|
||||||
|
</Style>
|
||||||
</ControlTheme>
|
</ControlTheme>
|
||||||
|
|
||||||
<ControlTheme x:Key="RadioButtonGroupBorder" TargetType="Border">
|
<ControlTheme x:Key="RadioButtonGroupBorder" TargetType="Border">
|
||||||
@@ -213,6 +218,7 @@
|
|||||||
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||||
ColumnDefinitions="Auto,*">
|
ColumnDefinitions="Auto,*">
|
||||||
<Panel
|
<Panel
|
||||||
|
Name="PART_GlyphPanel"
|
||||||
Grid.Column="0"
|
Grid.Column="0"
|
||||||
VerticalAlignment="Top"
|
VerticalAlignment="Top"
|
||||||
Margin="{DynamicResource RadioButtonIconMargin}">
|
Margin="{DynamicResource RadioButtonIconMargin}">
|
||||||
@@ -323,7 +329,6 @@
|
|||||||
<Style Selector="^ /template/ Ellipse#OuterEllipse">
|
<Style Selector="^ /template/ Ellipse#OuterEllipse">
|
||||||
<Setter Property="Stroke" Value="{DynamicResource RadioButtonCheckIconDisabledBorderBrush}" />
|
<Setter Property="Stroke" Value="{DynamicResource RadioButtonCheckIconDisabledBorderBrush}" />
|
||||||
<Setter Property="Fill" Value="{DynamicResource RadioButtonCheckIconDisabledBackground}" />
|
<Setter Property="Fill" Value="{DynamicResource RadioButtonCheckIconDisabledBackground}" />
|
||||||
<Setter Property="Opacity" Value="0.75" />
|
|
||||||
</Style>
|
</Style>
|
||||||
<Style Selector="^ /template/ Border#RootBorder">
|
<Style Selector="^ /template/ Border#RootBorder">
|
||||||
<Setter Property="BorderBrush" Value="{DynamicResource RadioButtonCheckIconDisabledBackground}" />
|
<Setter Property="BorderBrush" Value="{DynamicResource RadioButtonCheckIconDisabledBackground}" />
|
||||||
@@ -334,6 +339,12 @@
|
|||||||
</Style>
|
</Style>
|
||||||
</Style>
|
</Style>
|
||||||
</Style>
|
</Style>
|
||||||
|
|
||||||
|
<Style Selector="^:disabled">
|
||||||
|
<Style Selector="^ /template/ Panel#PART_GlyphPanel">
|
||||||
|
<Setter Property="Opacity" Value="0.75" />
|
||||||
|
</Style>
|
||||||
|
</Style>
|
||||||
</ControlTheme>
|
</ControlTheme>
|
||||||
|
|
||||||
<ControlTheme x:Key="PureCardRadioButton" TargetType="RadioButton">
|
<ControlTheme x:Key="PureCardRadioButton" TargetType="RadioButton">
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
<StaticResource x:Key="CheckBoxForeground" ResourceKey="SemiColorText0" />
|
<StaticResource x:Key="CheckBoxForeground" ResourceKey="SemiColorText0" />
|
||||||
<StaticResource x:Key="CheckBoxDisabledForeground" ResourceKey="SemiColorDisabledText" />
|
<StaticResource x:Key="CheckBoxDisabledForeground" ResourceKey="SemiColorDisabledText" />
|
||||||
<StaticResource x:Key="CheckBoxGlyphFill" ResourceKey="SemiColorWhite" />
|
<StaticResource x:Key="CheckBoxGlyphFill" ResourceKey="SemiColorWhite" />
|
||||||
<StaticResource x:Key="CheckBoxGlyphDisabledFill" ResourceKey="SemiColorWhite" />
|
|
||||||
<SolidColorBrush x:Key="CheckBoxDefaultBackground" Color="Transparent" />
|
<SolidColorBrush x:Key="CheckBoxDefaultBackground" Color="Transparent" />
|
||||||
<StaticResource x:Key="CheckBoxDefaultBorderBrush" ResourceKey="SemiColorText3" />
|
<StaticResource x:Key="CheckBoxDefaultBorderBrush" ResourceKey="SemiColorText3" />
|
||||||
<StaticResource x:Key="CheckBoxPointeroverBackground" ResourceKey="SemiColorFill0" />
|
<StaticResource x:Key="CheckBoxPointeroverBackground" ResourceKey="SemiColorFill0" />
|
||||||
@@ -26,4 +25,7 @@
|
|||||||
<StaticResource x:Key="CheckBoxCardPressedBackground" ResourceKey="SemiColorFill1" />
|
<StaticResource x:Key="CheckBoxCardPressedBackground" ResourceKey="SemiColorFill1" />
|
||||||
<StaticResource x:Key="CheckBoxCardCheckedPointeroverBorderBrush" ResourceKey="SemiColorPrimaryPointerover" />
|
<StaticResource x:Key="CheckBoxCardCheckedPointeroverBorderBrush" ResourceKey="SemiColorPrimaryPointerover" />
|
||||||
<StaticResource x:Key="CheckBoxCardCheckedPressedBorderBrush" ResourceKey="SemiColorPrimaryActive" />
|
<StaticResource x:Key="CheckBoxCardCheckedPressedBorderBrush" ResourceKey="SemiColorPrimaryActive" />
|
||||||
|
|
||||||
|
<!-- Obsolete -->
|
||||||
|
<StaticResource x:Key="CheckBoxGlyphDisabledFill" ResourceKey="SemiColorWhite" />
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
<StaticResource x:Key="CheckBoxForeground" ResourceKey="SemiColorWindowText" />
|
<StaticResource x:Key="CheckBoxForeground" ResourceKey="SemiColorWindowText" />
|
||||||
<StaticResource x:Key="CheckBoxDisabledForeground" ResourceKey="SemiColorGrayText" />
|
<StaticResource x:Key="CheckBoxDisabledForeground" ResourceKey="SemiColorGrayText" />
|
||||||
<StaticResource x:Key="CheckBoxGlyphFill" ResourceKey="SemiColorHighlightText" />
|
<StaticResource x:Key="CheckBoxGlyphFill" ResourceKey="SemiColorHighlightText" />
|
||||||
<StaticResource x:Key="CheckBoxGlyphDisabledFill" ResourceKey="SemiColorHighlightText" />
|
|
||||||
<StaticResource x:Key="CheckBoxDefaultBackground" ResourceKey="SemiColorWindow" />
|
<StaticResource x:Key="CheckBoxDefaultBackground" ResourceKey="SemiColorWindow" />
|
||||||
<StaticResource x:Key="CheckBoxDefaultBorderBrush" ResourceKey="SemiColorButtonText" />
|
<StaticResource x:Key="CheckBoxDefaultBorderBrush" ResourceKey="SemiColorButtonText" />
|
||||||
<StaticResource x:Key="CheckBoxPointeroverBackground" ResourceKey="SemiColorHighlightText" />
|
<StaticResource x:Key="CheckBoxPointeroverBackground" ResourceKey="SemiColorHighlightText" />
|
||||||
@@ -26,4 +25,7 @@
|
|||||||
<StaticResource x:Key="CheckBoxCardPressedBackground" ResourceKey="SemiColorWindow" />
|
<StaticResource x:Key="CheckBoxCardPressedBackground" ResourceKey="SemiColorWindow" />
|
||||||
<StaticResource x:Key="CheckBoxCardCheckedPointeroverBorderBrush" ResourceKey="SemiColorButtonText" />
|
<StaticResource x:Key="CheckBoxCardCheckedPointeroverBorderBrush" ResourceKey="SemiColorButtonText" />
|
||||||
<StaticResource x:Key="CheckBoxCardCheckedPressedBorderBrush" ResourceKey="SemiColorHighlight" />
|
<StaticResource x:Key="CheckBoxCardCheckedPressedBorderBrush" ResourceKey="SemiColorHighlight" />
|
||||||
|
|
||||||
|
<!-- Obsolete -->
|
||||||
|
<StaticResource x:Key="CheckBoxGlyphDisabledFill" ResourceKey="SemiColorHighlightText" />
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
<StaticResource x:Key="CheckBoxForeground" ResourceKey="SemiColorText0" />
|
<StaticResource x:Key="CheckBoxForeground" ResourceKey="SemiColorText0" />
|
||||||
<StaticResource x:Key="CheckBoxDisabledForeground" ResourceKey="SemiColorDisabledText" />
|
<StaticResource x:Key="CheckBoxDisabledForeground" ResourceKey="SemiColorDisabledText" />
|
||||||
<StaticResource x:Key="CheckBoxGlyphFill" ResourceKey="SemiColorWhite" />
|
<StaticResource x:Key="CheckBoxGlyphFill" ResourceKey="SemiColorWhite" />
|
||||||
<StaticResource x:Key="CheckBoxGlyphDisabledFill" ResourceKey="SemiColorWhite" />
|
|
||||||
<SolidColorBrush x:Key="CheckBoxDefaultBackground" Color="Transparent" />
|
<SolidColorBrush x:Key="CheckBoxDefaultBackground" Color="Transparent" />
|
||||||
<StaticResource x:Key="CheckBoxDefaultBorderBrush" ResourceKey="SemiColorText3" />
|
<StaticResource x:Key="CheckBoxDefaultBorderBrush" ResourceKey="SemiColorText3" />
|
||||||
<StaticResource x:Key="CheckBoxPointeroverBackground" ResourceKey="SemiColorFill0" />
|
<StaticResource x:Key="CheckBoxPointeroverBackground" ResourceKey="SemiColorFill0" />
|
||||||
@@ -26,4 +25,7 @@
|
|||||||
<StaticResource x:Key="CheckBoxCardPressedBackground" ResourceKey="SemiColorFill1" />
|
<StaticResource x:Key="CheckBoxCardPressedBackground" ResourceKey="SemiColorFill1" />
|
||||||
<StaticResource x:Key="CheckBoxCardCheckedPointeroverBorderBrush" ResourceKey="SemiColorPrimaryPointerover" />
|
<StaticResource x:Key="CheckBoxCardCheckedPointeroverBorderBrush" ResourceKey="SemiColorPrimaryPointerover" />
|
||||||
<StaticResource x:Key="CheckBoxCardCheckedPressedBorderBrush" ResourceKey="SemiColorPrimaryActive" />
|
<StaticResource x:Key="CheckBoxCardCheckedPressedBorderBrush" ResourceKey="SemiColorPrimaryActive" />
|
||||||
|
|
||||||
|
<!-- Obsolete -->
|
||||||
|
<StaticResource x:Key="CheckBoxGlyphDisabledFill" ResourceKey="SemiColorWhite" />
|
||||||
</ResourceDictionary>
|
</ResourceDictionary>
|
||||||
Reference in New Issue
Block a user