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 deltanedas
parent ad3dec7a3d
commit f1d1416a13
1 changed files with 3 additions and 0 deletions

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}),