mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Clean up the visual styles a bit
This commit is contained in:
parent
9ffd4fd446
commit
f46348f9b7
@ -11,15 +11,6 @@
|
||||
<FluentTheme Mode="Dark" />
|
||||
<StyleInclude Source="avares://Avalonia.Controls.DataGrid/Themes/Fluent.xaml"/>
|
||||
<StyleInclude Source="avares://Wabbajack.App/Assets/Wabbajack.axaml" />
|
||||
<Style Selector="Button:not(:pointerover) /template/ ContentPresenter">
|
||||
<Setter Property="Background" Value="Transparent" />
|
||||
</Style>
|
||||
|
||||
|
||||
<Style Selector="Button:pointerover /template/ ContentPresenter">
|
||||
<Setter Property="Background" Value="Transparent" />
|
||||
<Setter Property="BorderBrush" Value="LightGray" />
|
||||
<Setter Property="CornerRadius" Value="5" />
|
||||
</Style>
|
||||
</Application.Styles>
|
||||
</Application>
|
@ -7,7 +7,24 @@
|
||||
</Border>
|
||||
</Design.PreviewWith>
|
||||
|
||||
<Style Selector="Button:not(:pointerover) /template/ ContentPresenter">
|
||||
<Setter Property="Background" Value="#202020" />
|
||||
</Style>
|
||||
|
||||
|
||||
<Style Selector="Button:not(:pointerover).Transparent /template/ ContentPresenter">
|
||||
<Setter Property="Background" Value="Transparent" />
|
||||
</Style>
|
||||
|
||||
|
||||
|
||||
<Style Selector="Button:pointerover /template/ ContentPresenter">
|
||||
<Setter Property="Background" Value="#252525" />
|
||||
<Setter Property="BorderBrush" Value="LightGray" />
|
||||
<Setter Property="CornerRadius" Value="5" />
|
||||
</Style>
|
||||
|
||||
|
||||
<Style Selector="controls|TagView Border">
|
||||
<Setter Property="BorderThickness" Value="1" />
|
||||
<Setter Property="BorderBrush" Value="#121212" />
|
||||
|
@ -5,7 +5,7 @@
|
||||
xmlns:i="clr-namespace:Material.Icons.Avalonia;assembly=Material.Icons.Avalonia"
|
||||
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
|
||||
x:Class="Wabbajack.App.Controls.LargeIconButton">
|
||||
<Button x:Name="Button" x:FieldModifier="public">
|
||||
<Button x:Name="Button" x:FieldModifier="public" Classes="Transparent">
|
||||
<StackPanel Orientation="Vertical" HorizontalAlignment="Center" VerticalAlignment="Center">
|
||||
<i:MaterialIcon x:Name="IconControl" Width="140" Height="140" />
|
||||
<TextBlock x:Name="TextBlock" HorizontalAlignment="Center" FontSize="28" FontWeight="Bold" />
|
||||
|
@ -212,6 +212,7 @@ public class StandardInstallationViewModel : ViewModelBase
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_logger.LogError(ex, "During installation");
|
||||
ErrorPageViewModel.Display("During installation", ex);
|
||||
}
|
||||
}
|
||||
|
@ -33,7 +33,7 @@
|
||||
|
||||
<Grid RowDefinitions="40, *">
|
||||
<Grid ColumnDefinitions="40, Auto, *, 40, 40, 40, 40">
|
||||
<Button Grid.Column="0" x:Name="BackButton" x:FieldModifier="public">
|
||||
<Button Grid.Column="0" x:Name="BackButton" x:FieldModifier="public" Classes="Transparent">
|
||||
<i:MaterialIcon Kind="ArrowBack" />
|
||||
</Button>
|
||||
<TextBlock Grid.Column="1" HorizontalAlignment="Left" VerticalAlignment="Center" x:Name="TitleText"></TextBlock>
|
||||
|
Loading…
Reference in New Issue
Block a user