Skip to content

Commit

Permalink
Update submodule, implement style for Tree.
Browse files Browse the repository at this point in the history
  • Loading branch information
PJB3005 committed Apr 8, 2019
1 parent 49845d7 commit 8c7e7e5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions Content.Client/UserInterface/NanoStyle.cs
Expand Up @@ -357,6 +357,20 @@ public NanoStyle()
{
new StyleProperty(ItemList.StylePropertySelectedItemBackground, new StyleBoxFlat { BackgroundColor = new Color(75, 75, 86)})
}),

// Tree
new StyleRule(new SelectorElement(typeof(Tree), null, null, null), new []
{
new StyleProperty(Tree.StylePropertyBackground, new StyleBoxFlat { BackgroundColor = new Color(32, 32, 40)})
}),
new StyleRule(new SelectorElement(typeof(Tree), null, null, null), new []
{
new StyleProperty(Tree.StylePropertyItemBoxSelected, new StyleBoxFlat
{
BackgroundColor = new Color(55, 55, 68),
ContentMarginLeftOverride = 4
})
}),
});
}
}
Expand Down

0 comments on commit 8c7e7e5

Please sign in to comment.