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:
@@ -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}),
|
||||
|
||||
Reference in New Issue
Block a user