|
@@ -138,10 +138,10 @@
|
|
|
|
|
|
<SolidColorBrush x:Key="Expander.MouseOver.Circle.Stroke" Color="#FF5593FF" />
|
|
<SolidColorBrush x:Key="Expander.MouseOver.Circle.Stroke" Color="#FF5593FF" />
|
|
<SolidColorBrush x:Key="Expander.MouseOver.Circle.Fill" Color="#FFF3F9FF" />
|
|
<SolidColorBrush x:Key="Expander.MouseOver.Circle.Fill" Color="#FFF3F9FF" />
|
|
- <SolidColorBrush x:Key="Expander.MouseOver.Arrow.Stroke" Color="#FF000000" />
|
|
|
|
|
|
+ <SolidColorBrush x:Key="Expander.MouseOver.Arrow.Stroke" Color="#616469" />
|
|
<SolidColorBrush x:Key="Expander.Pressed.Circle.Stroke" Color="#FF3C77DD" />
|
|
<SolidColorBrush x:Key="Expander.Pressed.Circle.Stroke" Color="#FF3C77DD" />
|
|
<SolidColorBrush x:Key="Expander.Pressed.Circle.Fill" Color="#FFD9ECFF" />
|
|
<SolidColorBrush x:Key="Expander.Pressed.Circle.Fill" Color="#FFD9ECFF" />
|
|
- <SolidColorBrush x:Key="Expander.Pressed.Arrow.Stroke" Color="#FF000000" />
|
|
|
|
|
|
+ <SolidColorBrush x:Key="Expander.Pressed.Arrow.Stroke" Color="#616469" />
|
|
<SolidColorBrush x:Key="Expander.Disabled.Circle.Stroke" Color="#FFBCBCBC" />
|
|
<SolidColorBrush x:Key="Expander.Disabled.Circle.Stroke" Color="#FFBCBCBC" />
|
|
<SolidColorBrush x:Key="Expander.Disabled.Circle.Fill" Color="#FFE6E6E6" />
|
|
<SolidColorBrush x:Key="Expander.Disabled.Circle.Fill" Color="#FFE6E6E6" />
|
|
<SolidColorBrush x:Key="Expander.Disabled.Arrow.Stroke" Color="#FF707070" />
|
|
<SolidColorBrush x:Key="Expander.Disabled.Arrow.Stroke" Color="#FF707070" />
|
|
@@ -153,11 +153,11 @@
|
|
<Setter.Value>
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
|
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
|
<Border Padding="{TemplateBinding Padding}">
|
|
<Border Padding="{TemplateBinding Padding}">
|
|
- <Grid Background="Transparent" SnapsToDevicePixels="False">
|
|
|
|
|
|
+ <Grid Background="{StaticResource color.sys.layout.fg.light}" SnapsToDevicePixels="False">
|
|
<Grid.ColumnDefinitions>
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
|
<ColumnDefinition Width="*" />
|
|
<ColumnDefinition Width="*" />
|
|
- <ColumnDefinition Width="19" />
|
|
|
|
|
|
+ <ColumnDefinition Width="35" />
|
|
</Grid.ColumnDefinitions>
|
|
</Grid.ColumnDefinitions>
|
|
<Ellipse
|
|
<Ellipse
|
|
x:Name="circle"
|
|
x:Name="circle"
|
|
@@ -169,29 +169,11 @@
|
|
Stroke="{StaticResource Expander.Static.Circle.Stroke}"
|
|
Stroke="{StaticResource Expander.Static.Circle.Stroke}"
|
|
Visibility="Collapsed" />
|
|
Visibility="Collapsed" />
|
|
<Rectangle Grid.Column="0" />
|
|
<Rectangle Grid.Column="0" />
|
|
- <!--<Polygon
|
|
|
|
- x:Name="Collapsed"
|
|
|
|
- Grid.Column="1"
|
|
|
|
- Margin="0,0,12,0"
|
|
|
|
- HorizontalAlignment="Center"
|
|
|
|
- VerticalAlignment="Center"
|
|
|
|
- Fill="Black"
|
|
|
|
- Points="11 2 5 8 11 14"
|
|
|
|
- SnapsToDevicePixels="false"
|
|
|
|
- Stroke="{StaticResource Expander.Static.Arrow.Stroke}"
|
|
|
|
- StrokeThickness="2">
|
|
|
|
- <Polygon.RenderTransform>
|
|
|
|
- <TransformGroup>
|
|
|
|
- <TranslateTransform X="8" Y="8" />
|
|
|
|
- <ScaleTransform ScaleX="-1" ScaleY="1" />
|
|
|
|
- <TranslateTransform X="25" Y="-8" />
|
|
|
|
- </TransformGroup>
|
|
|
|
- </Polygon.RenderTransform>
|
|
|
|
- </Polygon>-->
|
|
|
|
|
|
+
|
|
<Path
|
|
<Path
|
|
Name="arrowdown"
|
|
Name="arrowdown"
|
|
Grid.Column="1"
|
|
Grid.Column="1"
|
|
- Margin="0,0,5,0"
|
|
|
|
|
|
+ Margin="0,0,15,0"
|
|
HorizontalAlignment="Right"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Data="M6 7.56427L2.03039 3.59467L0.969727 4.65533L5.46967 9.15526C5.76256 9.44816 6.23743 9.44816 6.53033 9.15526L11.0303 4.65533L9.9696 3.59467L6 7.56427Z"
|
|
Data="M6 7.56427L2.03039 3.59467L0.969727 4.65533L5.46967 9.15526C5.76256 9.44816 6.23743 9.44816 6.53033 9.15526L11.0303 4.65533L9.9696 3.59467L6 7.56427Z"
|
|
@@ -199,34 +181,15 @@
|
|
<Path
|
|
<Path
|
|
Name="Collapsed"
|
|
Name="Collapsed"
|
|
Grid.Column="1"
|
|
Grid.Column="1"
|
|
- Margin="0,0,5,0"
|
|
|
|
|
|
+ Margin="0,0,15,0"
|
|
HorizontalAlignment="Right"
|
|
HorizontalAlignment="Right"
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Data="M7.56438 5.99999L3.59473 9.96964L4.65539 11.0303L9.15537 6.53032C9.44826 6.23743 9.44826 5.76255 9.15537 5.46966L4.65539 0.969675L3.59473 2.03033L7.56438 5.99999Z"
|
|
Data="M7.56438 5.99999L3.59473 9.96964L4.65539 11.0303L9.15537 6.53032C9.44826 6.23743 9.44826 5.76255 9.15537 5.46966L4.65539 0.969675L3.59473 2.03033L7.56438 5.99999Z"
|
|
Fill="Black" />
|
|
Fill="Black" />
|
|
- <!--<Polygon
|
|
|
|
- x:Name="arrowdown"
|
|
|
|
- Grid.Column="1"
|
|
|
|
- Margin="0,0,12,0"
|
|
|
|
- HorizontalAlignment="Center"
|
|
|
|
- VerticalAlignment="Center"
|
|
|
|
- Fill="Black"
|
|
|
|
- Points="11 2 5 8 11 14"
|
|
|
|
- SnapsToDevicePixels="false"
|
|
|
|
- Stroke="{StaticResource Expander.Static.Arrow.Stroke}"
|
|
|
|
- StrokeThickness="2"
|
|
|
|
- Visibility="Collapsed">
|
|
|
|
- <Polygon.RenderTransform>
|
|
|
|
- <TransformGroup>
|
|
|
|
- <TranslateTransform X="8" Y="8" />
|
|
|
|
- <RotateTransform Angle="-90" />
|
|
|
|
- <TranslateTransform X="-5" Y="22" />
|
|
|
|
- </TransformGroup>
|
|
|
|
- </Polygon.RenderTransform>
|
|
|
|
- </Polygon>-->
|
|
|
|
|
|
+
|
|
<ContentPresenter
|
|
<ContentPresenter
|
|
Grid.Column="0"
|
|
Grid.Column="0"
|
|
- Margin="0,0,0,0"
|
|
|
|
|
|
+ Margin="2,0,0,0"
|
|
HorizontalAlignment="Stretch"
|
|
HorizontalAlignment="Stretch"
|
|
VerticalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
RecognizesAccessKey="True"
|
|
RecognizesAccessKey="True"
|
|
@@ -268,8 +231,8 @@
|
|
</Style>
|
|
</Style>
|
|
|
|
|
|
<Style x:Key="GropExpanderHeader" TargetType="{x:Type Expander}">
|
|
<Style x:Key="GropExpanderHeader" TargetType="{x:Type Expander}">
|
|
- <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.ControlTextBrushKey}}" />
|
|
|
|
- <Setter Property="Background" Value="#FFFFFF" />
|
|
|
|
|
|
+ <Setter Property="Foreground" Value="{StaticResource color.sys.text.neutral.lv1}" />
|
|
|
|
+ <Setter Property="Background" Value="{StaticResource color.sys.layout.mg}" />
|
|
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
|
|
<Setter Property="HorizontalContentAlignment" Value="Stretch" />
|
|
<Setter Property="VerticalContentAlignment" Value="Stretch" />
|
|
<Setter Property="VerticalContentAlignment" Value="Stretch" />
|
|
<Setter Property="BorderBrush" Value="Transparent" />
|
|
<Setter Property="BorderBrush" Value="Transparent" />
|
|
@@ -278,7 +241,7 @@
|
|
<Setter.Value>
|
|
<Setter.Value>
|
|
<ControlTemplate TargetType="{x:Type Expander}">
|
|
<ControlTemplate TargetType="{x:Type Expander}">
|
|
<Border
|
|
<Border
|
|
- Margin="0,8"
|
|
|
|
|
|
+ Margin="0,2"
|
|
Background="{TemplateBinding Background}"
|
|
Background="{TemplateBinding Background}"
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderBrush="{TemplateBinding BorderBrush}"
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
BorderThickness="{TemplateBinding BorderThickness}"
|
|
@@ -321,7 +284,7 @@
|
|
<Setter TargetName="ExpandSite" Property="Visibility" Value="Visible" />
|
|
<Setter TargetName="ExpandSite" Property="Visibility" Value="Visible" />
|
|
</Trigger>
|
|
</Trigger>
|
|
<Trigger Property="IsExpanded" Value="false">
|
|
<Trigger Property="IsExpanded" Value="false">
|
|
- <Setter Property="Foreground" Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
|
|
|
|
|
|
+ <Setter Property="Foreground" Value="{StaticResource color.sys.text.neutral.lv1}" />
|
|
</Trigger>
|
|
</Trigger>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate.Triggers>
|
|
</ControlTemplate>
|
|
</ControlTemplate>
|