feat: WIP.
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
xmlns:u="https://irihi.tech/ursa">
|
||||
<ControlTheme x:Key="{x:Type u:RatingCharacter}" TargetType="u:RatingCharacter">
|
||||
<Setter Property="Foreground" Value="{DynamicResource RatingCharacterUnSelectedForeground}" />
|
||||
<Setter Property="Background" Value="{DynamicResource RatingCharacterUnSelectedForeground}" />
|
||||
<Setter Property="Background" Value="{DynamicResource RatingCharacterBackground}" />
|
||||
<Setter Property="Cursor" Value="Hand" />
|
||||
<Setter Property="VerticalAlignment" Value="Stretch" />
|
||||
<Setter Property="Template">
|
||||
@@ -15,7 +15,6 @@
|
||||
Data="{DynamicResource RatingStarIconGlyph}"
|
||||
Fill="{TemplateBinding Background}" />
|
||||
<Border Name="{x:Static u:RatingCharacter.PART_IconGlyph}"
|
||||
IsVisible="True"
|
||||
ClipToBounds="True">
|
||||
<Path Width="24"
|
||||
Height="24"
|
||||
@@ -32,15 +31,7 @@
|
||||
<Setter Property="RenderTransform" Value="scale(1.1)" />
|
||||
</Style>
|
||||
<Style Selector="^:selected">
|
||||
<Setter Property="Foreground" Value="{DynamicResource RatingCharacterSelectedForeground}" />
|
||||
</Style>
|
||||
<Style Selector="^:half">
|
||||
<!-- <Setter Property="Foreground"> -->
|
||||
<!-- <LinearGradientBrush StartPoint="0%,0%" EndPoint="0%,100%"> -->
|
||||
<!-- <GradientStop Color="#6b4c1b" Offset="0" /> -->
|
||||
<!-- <GradientStop Color="#291e10" Offset="1" /> -->
|
||||
<!-- </LinearGradientBrush> -->
|
||||
<!-- </Setter> -->
|
||||
<Setter Property="Foreground" Value="{DynamicResource RatingCharacterForeground}" />
|
||||
</Style>
|
||||
</ControlTheme>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user