diff --git a/Content.Client/Info/LinkBanner.cs b/Content.Client/Info/LinkBanner.cs index 4b9ed70087..6439f32030 100644 --- a/Content.Client/Info/LinkBanner.cs +++ b/Content.Client/Info/LinkBanner.cs @@ -58,7 +58,9 @@ namespace Content.Client.Info _infoLinks.Add((cVar, button)); } - var saltedYaycaButton = new Button() {Text = "Привязать дискорд"}; + var saltedYaycaButton = new Button() {Text = "Привязать Discord"}; + + saltedYaycaButton.AddStyleClass("ButtonColorPurple"); saltedYaycaButton.OnPressed += _ => { diff --git a/Content.Client/LateJoin/LateJoinGui.cs b/Content.Client/LateJoin/LateJoinGui.cs index 9acfb03126..b36624be85 100644 --- a/Content.Client/LateJoin/LateJoinGui.cs +++ b/Content.Client/LateJoin/LateJoinGui.cs @@ -41,7 +41,7 @@ namespace Content.Client.LateJoin public LateJoinGui() { - MinSize = SetSize = new Vector2(360, 560); + MinSize = SetSize = new Vector2(500, 560); IoCManager.InjectDependencies(this); _sprites = _entitySystem.GetEntitySystem(); _crewManifest = _entitySystem.GetEntitySystem(); diff --git a/Content.Client/Stylesheets/StyleNano.cs b/Content.Client/Stylesheets/StyleNano.cs index 93caf2fd8d..6e54dc022d 100644 --- a/Content.Client/Stylesheets/StyleNano.cs +++ b/Content.Client/Stylesheets/StyleNano.cs @@ -108,6 +108,9 @@ namespace Content.Client.Stylesheets public static readonly Color ButtonColorGoodDefault = Color.FromHex("#3E6C45"); public static readonly Color ButtonColorGoodHovered = Color.FromHex("#31843E"); + public static readonly Color ButtonColorPurpleDefault = Color.FromHex("#4a2eab"); + public static readonly Color ButtonColorPurpleHovered = Color.FromHex("#654cbf"); + //NavMap public static readonly Color PointRed = Color.FromHex("#B02E26"); public static readonly Color PointGreen = Color.FromHex("#38b026"); @@ -147,6 +150,7 @@ namespace Content.Client.Stylesheets public const string StyleClassCrossButtonRed = "CrossButtonRed"; public const string StyleClassButtonColorRed = "ButtonColorRed"; public const string StyleClassButtonColorGreen = "ButtonColorGreen"; + public const string StyleClassButtonColorPurple = "ButtonColorPurple"; public override Stylesheet Stylesheet { get; } @@ -1426,6 +1430,17 @@ namespace Content.Client.Stylesheets .Prop(Control.StylePropertyModulateSelf, ButtonColorGoodHovered), // --- + // Purple Button --- + Element