Add a background for OptionsButton popup (#29792)

Add a reasonable background for OptionsButton popup

Co-authored-by: Eoin Mcloughlin <helloworld@eoinrul.es>
Co-authored-by: ShadowCommander <10494922+ShadowCommander@users.noreply.github.com>
This commit is contained in:
eoineoineoin
2024-07-20 04:54:36 +01:00
committed by GitHub
parent b04f98513c
commit 1783e0e4c2

View File

@@ -1343,6 +1343,9 @@ namespace Content.Client.Stylesheets
new StyleProperty(Label.StylePropertyAlignMode, Label.AlignMode.Center),
}),
Element<PanelContainer>().Class(OptionButton.StyleClassOptionsBackground)
.Prop(PanelContainer.StylePropertyPanel, new StyleBoxFlat(Color.FromHex("#25252A"))),
new StyleRule(new SelectorElement(typeof(PanelContainer), new []{ ClassHighDivider}, null, null), new []
{
new StyleProperty(PanelContainer.StylePropertyPanel, new StyleBoxFlat { BackgroundColor = NanoGold, ContentMarginBottomOverride = 2, ContentMarginLeftOverride = 2}),