From 9f1dd9f876d052b226f65e2b9307f86b22dc74cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Aguilera=20Puerto?= <6766154+Zumorica@users.noreply.github.com> Date: Sat, 6 Apr 2019 17:07:43 +0200 Subject: [PATCH] ItemList style. (#183) --- Content.Client/UserInterface/NanoStyle.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Content.Client/UserInterface/NanoStyle.cs b/Content.Client/UserInterface/NanoStyle.cs index 70b149b0d4..7762a1cc84 100644 --- a/Content.Client/UserInterface/NanoStyle.cs +++ b/Content.Client/UserInterface/NanoStyle.cs @@ -339,6 +339,24 @@ namespace Content.Client.UserInterface { new StyleProperty(PanelContainer.StylePropertyPanel, new StyleBoxFlat { BackgroundColor = new Color(21, 21, 26)}) }), + + // ItemList + new StyleRule(new SelectorElement(typeof(ItemList), null, null, null), new [] + { + new StyleProperty(ItemList.StylePropertyBackground, new StyleBoxFlat { BackgroundColor = new Color(32, 32, 40)}) + }), + new StyleRule(new SelectorElement(typeof(ItemList), null, null, null), new [] + { + new StyleProperty(ItemList.StylePropertyItemBackground, new StyleBoxFlat { BackgroundColor = new Color(55, 55, 68)}) + }), + new StyleRule(new SelectorElement(typeof(ItemList), null, null, null), new [] + { + new StyleProperty(ItemList.StylePropertyDisabledItemBackground, new StyleBoxFlat { BackgroundColor = new Color(10, 10, 12)}) + }), + new StyleRule(new SelectorElement(typeof(ItemList), null, null, null), new [] + { + new StyleProperty(ItemList.StylePropertySelectedItemBackground, new StyleBoxFlat { BackgroundColor = new Color(75, 75, 86)}) + }), }); } }