-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2518 from Nexus-Mods/leftmenu-small-fixes
Small left menu fixes
- Loading branch information
Showing
10 changed files
with
102 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 37 additions & 22 deletions
59
...Themes/NexusMods.Themes.NexusFluentDark/Styles/UserControls/LeftMenu/LeftMenuStyles.axaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,47 @@ | ||
<Styles xmlns="https://github.com/avaloniaui" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:loadout="clr-namespace:NexusMods.App.UI.LeftMenu.Loadout;assembly=NexusMods.App.UI"> | ||
xmlns:loadout="clr-namespace:NexusMods.App.UI.LeftMenu.Loadout;assembly=NexusMods.App.UI" | ||
xmlns:home="clr-namespace:NexusMods.App.UI.LeftMenu.Home;assembly=NexusMods.App.UI"> | ||
<Design.PreviewWith> | ||
<Border Padding="8" Width="200" Height="500" Classes="Low"> | ||
<loadout:LoadoutLeftMenuView> | ||
<loadout:LoadoutLeftMenuView.DataContext> | ||
<loadout:LoadoutLeftMenuDesignViewModel/> | ||
</loadout:LoadoutLeftMenuView.DataContext> | ||
</loadout:LoadoutLeftMenuView> | ||
<Border Padding="8" Width="500" Height="500" Classes="Low"> | ||
|
||
<Grid ColumnDefinitions="200, 200"> | ||
<home:HomeLeftMenuView Grid.Column="0" > | ||
<home:HomeLeftMenuView.DataContext> | ||
<home:HomeLeftMenuDesignViewModel/> | ||
</home:HomeLeftMenuView.DataContext> | ||
</home:HomeLeftMenuView> | ||
|
||
<loadout:LoadoutLeftMenuView Grid.Column="1"> | ||
<loadout:LoadoutLeftMenuView.DataContext> | ||
<loadout:LoadoutLeftMenuDesignViewModel/> | ||
</loadout:LoadoutLeftMenuView.DataContext> | ||
</loadout:LoadoutLeftMenuView> | ||
</Grid> | ||
</Border> | ||
</Design.PreviewWith> | ||
|
||
<!-- HOME & LOADOUT LEFT MENU --> | ||
<Style Selector="home|HomeLeftMenuView,loadout|LoadoutLeftMenuView"> | ||
|
||
<!-- MAIN STACK --> | ||
<Style Selector="^ StackPanel#LeftMenuStack"> | ||
<Setter Property="Spacing" Value="{StaticResource Spacing-1.5}" /> | ||
|
||
<!-- Add Styles Here --> | ||
|
||
<Style Selector="loadout|LoadoutLeftMenuView"> | ||
|
||
<Style Selector="^ Grid > StackPanel"> | ||
<Setter Property="Spacing" Value="{StaticResource Spacing-2}" /> | ||
|
||
<Style Selector="^ StackPanel > Separator"> | ||
<Setter Property="Margin" Value="0,4,0,8" /> | ||
<Setter Property="Background" Value="{StaticResource StrokeTranslucentSubduedBrush}" /> | ||
</Style> | ||
|
||
<Style Selector="^ > StackPanel > TextBlock"> | ||
<Setter Property="Theme" Value="{StaticResource TitleXSSemiTheme}" /> | ||
<Setter Property="Foreground" Value="{StaticResource NeutralWeakBrush}" /> | ||
<!-- SEPERATOR AND TITLE STACK --> | ||
<Style Selector="^ > StackPanel"> | ||
<Setter Property="Margin" Value="0,4,0,4" /> | ||
<Style Selector="^ > Separator"> | ||
<Setter Property="Margin" Value="0,0,0,12" /> | ||
<Setter Property="Background" Value="{StaticResource StrokeTranslucentSubduedBrush}" /> | ||
</Style> | ||
<Style Selector="^ > TextBlock"> | ||
<Setter Property="Theme" Value="{StaticResource TitleXSSemiTheme}" /> | ||
<Setter Property="Foreground" Value="{StaticResource NeutralWeakBrush}" /> | ||
</Style> | ||
</Style> | ||
</Style> | ||
</Style> | ||
|
||
|
||
</Styles> |