]> git.smokeofanarchy.ru Git - space-station-14.git/commitdiff
Add a background for OptionsButton popup (#29792)
authoreoineoineoin <github@eoinrul.es>
Sat, 20 Jul 2024 03:54:36 +0000 (04:54 +0100)
committerGitHub <noreply@github.com>
Sat, 20 Jul 2024 03:54:36 +0000 (13:54 +1000)
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>
Content.Client/Stylesheets/StyleNano.cs

index b9a4e63f31592ba80c47f3999c8135e28c3e4c12..dba48a119da9c4c3aba192f3dff3c5f99259c568 100644 (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}),