Start working on those top left buttons in the UI draft.

This commit is contained in:
Pieter-Jan Briers
2019-07-14 23:02:45 +02:00
parent 837a906538
commit cdcafbada6
8 changed files with 218 additions and 23 deletions

View File

@@ -440,7 +440,23 @@ namespace Content.Client.UserInterface
new StyleRule(new SelectorElement(typeof(Label), new []{StyleClassPowerStateGood}, null, null), new []
{
new StyleProperty(Label.StylePropertyFontColor, new Color(0.024f, 0.8f, 0.0f))
}),
}),
// Those buttons on the top left.
new StyleRule(new SelectorElement(typeof(TextureButton), new []{GameHud.StyleClassTopMenuButton}, null, TextureButton.StylePseudoClassNormal), new []
{
new StyleProperty(Control.StylePropertyModulateSelf, Color.FromHex("#7b7e9e"))
}),
new StyleRule(new SelectorElement(typeof(TextureButton), new []{GameHud.StyleClassTopMenuButton}, null, TextureButton.StylePseudoClassHover), new []
{
new StyleProperty(Control.StylePropertyModulateSelf, Color.FromHex("#8285a3"))
}),
new StyleRule(new SelectorElement(typeof(TextureButton), new []{GameHud.StyleClassTopMenuButton}, null, TextureButton.StylePseudoClassPressed), new []
{
new StyleProperty(Control.StylePropertyModulateSelf, Color.FromHex("#00b061"))
}),
});
}
}