diff --git a/Content.Client/Communications/UI/CommunicationsConsoleBoundUserInterface.cs b/Content.Client/Communications/UI/CommunicationsConsoleBoundUserInterface.cs
index 1c94d32bf8d17d..cd03c5fc1e15db 100644
--- a/Content.Client/Communications/UI/CommunicationsConsoleBoundUserInterface.cs
+++ b/Content.Client/Communications/UI/CommunicationsConsoleBoundUserInterface.cs
@@ -78,6 +78,16 @@ public void BroadcastButtonPressed(string message)
SendMessage(new CommunicationsConsoleBroadcastMessage(message));
}
+ public void MaintEmergencyButtonPressed()
+ {
+ SendMessage(new CommunicationsConsoleToggleEmergencyMaintMessage());
+ }
+
+ public void CentCommButtonPressed()
+ {
+ SendMessage(new CommunicationsConsoleCentCommButtonMessage());
+ }
+
public void CallShuttle()
{
SendMessage(new CommunicationsConsoleCallEmergencyShuttleMessage());
diff --git a/Content.Client/Communications/UI/CommunicationsConsoleMenu.xaml b/Content.Client/Communications/UI/CommunicationsConsoleMenu.xaml
index ea2f77d457d781..ad67c57403047a 100644
--- a/Content.Client/Communications/UI/CommunicationsConsoleMenu.xaml
+++ b/Content.Client/Communications/UI/CommunicationsConsoleMenu.xaml
@@ -3,15 +3,30 @@
Title="{Loc 'comms-console-menu-title'}"
MinSize="400 225">
-
+
+
-
+
-
+
+
+
+
+
+
+
-
+
diff --git a/Content.Client/Communications/UI/CommunicationsConsoleMenu.xaml.cs b/Content.Client/Communications/UI/CommunicationsConsoleMenu.xaml.cs
index 4d8dd86a4dcce8..804713a04e3cd4 100644
--- a/Content.Client/Communications/UI/CommunicationsConsoleMenu.xaml.cs
+++ b/Content.Client/Communications/UI/CommunicationsConsoleMenu.xaml.cs
@@ -59,6 +59,10 @@ public CommunicationsConsoleMenu(CommunicationsConsoleBoundUserInterface owner)
};
AlertLevelButton.Disabled = !owner.AlertLevelSelectable;
+ MaintEmergencyButton.OnPressed += (_) => Owner.MaintEmergencyButtonPressed();
+
+ CentCommButton.OnPressed += (_) => Owner.CentCommButtonPressed();
+
EmergencyShuttleButton.OnPressed += (_) => Owner.EmergencyShuttleButtonPressed();
EmergencyShuttleButton.Disabled = !owner.CanCall;
@@ -113,7 +117,7 @@ public void UpdateCountdown()
}
EmergencyShuttleButton.Text = Loc.GetString("comms-console-menu-recall-shuttle");
- CountdownLabel.SetMessage($"Time remaining\n{Owner.Countdown.ToString()}s");
+ CountdownLabel.SetMessage($"Tempo restante:\n{Owner.Countdown.ToString()}s");
}
public override void Close()
diff --git a/Content.Client/Stylesheets/StyleNano.cs b/Content.Client/Stylesheets/StyleNano.cs
index 6a5e0d82a20333..39fdb61132529b 100644
--- a/Content.Client/Stylesheets/StyleNano.cs
+++ b/Content.Client/Stylesheets/StyleNano.cs
@@ -95,8 +95,10 @@ public sealed class StyleNano : StyleBase
public static readonly Color ButtonColorDefault = Color.FromHex("#464966");
public static readonly Color ButtonColorDefaultRed = Color.FromHex("#D43B3B");
+ public static readonly Color ButtonColorDefaultYellow = Color.FromHex("#9c812c");
public static readonly Color ButtonColorHovered = Color.FromHex("#575b7f");
public static readonly Color ButtonColorHoveredRed = Color.FromHex("#DF6B6B");
+ public static readonly Color ButtonColorHoveredYellow = Color.FromHex("#a88b4f");
public static readonly Color ButtonColorPressed = Color.FromHex("#3e6c45");
public static readonly Color ButtonColorDisabled = Color.FromHex("#30313c");
@@ -145,6 +147,7 @@ public sealed class StyleNano : StyleBase
//Buttons
public const string StyleClassCrossButtonRed = "CrossButtonRed";
public const string StyleClassButtonColorRed = "ButtonColorRed";
+ public const string StyleClassButtonColorYellow = "ButtonColorYellow";
public const string StyleClassButtonColorGreen = "ButtonColorGreen";
public static readonly Color ChatBackgroundColor = Color.FromHex("#25252ADD");
@@ -1176,6 +1179,13 @@ public StyleNano(IResourceCache resCache) : base(resCache)
new StyleProperty(Button.StylePropertyModulateSelf, ButtonColorDefaultRed),
}),
+ new StyleRule(
+ new SelectorElement(typeof(MenuButton), new[] {MenuButton.StyleClassYellowTopButton}, null, new[] {Button.StylePseudoClassNormal}),
+ new[]
+ {
+ new StyleProperty(Button.StylePropertyModulateSelf, ButtonColorDefaultYellow),
+ }),
+
new StyleRule(
new SelectorElement(typeof(MenuButton), null, null, new[] {Button.StylePseudoClassNormal}),
new[]
@@ -1204,6 +1214,13 @@ public StyleNano(IResourceCache resCache) : base(resCache)
new StyleProperty(Button.StylePropertyModulateSelf, ButtonColorHoveredRed),
}),
+ new StyleRule(
+ new SelectorElement(typeof(MenuButton), new[] {MenuButton.StyleClassYellowTopButton}, null, new[] {Button.StylePseudoClassHover}),
+ new[]
+ {
+ new StyleProperty(Button.StylePropertyModulateSelf, ButtonColorHoveredYellow),
+ }),
+
new StyleRule(
new SelectorElement(typeof(Label), new[] {MenuButton.StyleClassLabelTopButton}, null, null),
new[]
@@ -1463,6 +1480,17 @@ public StyleNano(IResourceCache resCache) : base(resCache)
.Prop(Control.StylePropertyModulateSelf, ButtonColorHoveredRed),
// ---
+ // Yellow Button ---
+ Element