From 8c7e7e55104139934e8917ae1969c9fa379bbbde Mon Sep 17 00:00:00 2001 From: Pieter-Jan Briers Date: Mon, 8 Apr 2019 18:58:16 +0200 Subject: [PATCH] Update submodule, implement style for Tree. --- Content.Client/UserInterface/NanoStyle.cs | 14 ++++++++++++++ RobustToolbox | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/Content.Client/UserInterface/NanoStyle.cs b/Content.Client/UserInterface/NanoStyle.cs index 7762a1cc84201c..258889b5e1c212 100644 --- a/Content.Client/UserInterface/NanoStyle.cs +++ b/Content.Client/UserInterface/NanoStyle.cs @@ -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 + }) + }), }); } } diff --git a/RobustToolbox b/RobustToolbox index d58d576677802e..b172a47d9e67c5 160000 --- a/RobustToolbox +++ b/RobustToolbox @@ -1 +1 @@ -Subproject commit d58d576677802e7d47a0ca9abb4786d24106f0a4 +Subproject commit b172a47d9e67c5ac22bc7509508fff3c6575af4e