This commit is contained in:
Yoshi Askharoun
2024-05-13 02:12:38 -05:00
parent 84289947cb
commit 6d6cb25448
2 changed files with 78 additions and 73 deletions
+9 -9
View File
@@ -31,14 +31,6 @@
</Style>
</Window.Resources>
<Border x:Name="BackgroundBorder">
<Border.Background>
<LinearGradientBrush StartPoint="0,0" EndPoint="0,100" MappingMode="Absolute">
<GradientStop x:Name="BackgroundStop0" Color="#FFEDC2DE" Offset="0"/>
<GradientStop x:Name="BackgroundStop1" Color="#00EDC2DE" Offset="1"/>
</LinearGradientBrush>
</Border.Background>
<Grid x:Name="LayoutRoot">
<Grid.RowDefinitions>
<RowDefinition Height="24"/>
@@ -46,6 +38,15 @@
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Border x:Name="BackgroundBorder" Grid.RowSpan="3">
<Border.Background>
<LinearGradientBrush StartPoint="0,0" EndPoint="0,100" MappingMode="Absolute">
<GradientStop x:Name="BackgroundStop0" Color="#5CE851B5" Offset="0"/>
<GradientStop x:Name="BackgroundStop1" Color="#00E851B5" Offset="1"/>
</LinearGradientBrush>
</Border.Background>
</Border>
<StackPanel Grid.Row="0" Grid.RowSpan="2" Orientation="Horizontal" Panel.ZIndex="128"
HorizontalAlignment="Right" VerticalAlignment="Top">
<zmhc:PathButton ToolTip="Minimize"
@@ -103,6 +104,5 @@
</ContentControl>
</Border>
</Grid>
</Border>
</Window>
+10 -5
View File
@@ -45,16 +45,21 @@
<Run Text="{Binding Title, Mode=OneWay}" FontWeight="SemiBold" FontSize="16"/>
<Run Text=" By "/><Run Text="{Binding Author, Mode=OneWay}"/>
</TextBlock>
<TextBlock Text="{Binding Description}" Grid.Row="1" FontSize="14" TextWrapping="Wrap"/>
<TextBlock Text="{Binding Description}" Grid.Row="1"
FontSize="14" TextWrapping="Wrap"/>
<Button x:Name="ModResetButton" Grid.Column="1" Click="ModResetButton_Click" ToolTip="Reset"
Style="{StaticResource MetroButton}">
<mah:FontIcon Glyph="&#xE10E;" FontFamily="Segoe MDL2 Assets" Margin="4" />
Style="{StaticResource OverlayButtonStyle}">
<Viewbox Width="12" Height="12">
<Path Fill="White" Data="F1 M 18.085938 3.085938 L 11.181641 10 L 18.085938 16.914062 L 16.914062 18.085938 L 10 11.181641 L 3.085938 18.085938 L 1.914062 16.914062 L 8.818359 10 L 1.914062 3.085938 L 3.085938 1.914062 L 10 8.818359 L 16.914062 1.914062 Z"/>
</Viewbox>
</Button>
<Button x:Name="ModInstallButton" Grid.Column="2" Click="ModInstallButton_Click" ToolTip="Install"
Style="{StaticResource MetroAccentButton}">
<mah:FontIcon Glyph="&#xE73E;" FontFamily="Segoe MDL2 Assets" Margin="4" />
Style="{StaticResource OverlayButtonStyle}">
<Viewbox Width="12" Height="12">
<Path Fill="White" Data="F1 M 18.574219 1.914062 L 19.755859 3.085938 L 6.669922 16.181641 L 0.244141 9.755859 L 1.425781 8.574219 L 6.669922 13.818359 Z"/>
</Viewbox>
</Button>
</Grid>
</Border>