- add: new lobby and ui tweaks. (#7)
* base * arrow pointer for buttons * some progress for text buttons, need cleaning * fixed observe button, remove fraction * just for now * ui tweaks * more ui tweaks * feat: ченджлог в лобби --------- Co-authored-by: Remuchi <RemuchiOfficial@gmail.com>
This commit is contained in:
@@ -15,11 +15,11 @@ public sealed class MenuButton : ContainerButton
|
||||
public const string StyleClassLabelTopButton = "topButtonLabel";
|
||||
public const string StyleClassRedTopButton = "topButtonLabel";
|
||||
|
||||
private static readonly Color ColorNormal = Color.FromHex("#879B8F");
|
||||
private static readonly Color ColorRedNormal = Color.FromHex("#aC4D5B");
|
||||
private static readonly Color ColorHovered = Color.FromHex("#ffffff");
|
||||
private static readonly Color ColorRedHovered = Color.FromHex("#FFFFFF");
|
||||
private static readonly Color ColorPressed = Color.FromHex("#789B8C");
|
||||
private static readonly Color ColorNormal = Color.FromHex("#5a5a5a");
|
||||
private static readonly Color ColorRedNormal = Color.FromHex("#640000");
|
||||
private static readonly Color ColorHovered = Color.FromHex("#646464");
|
||||
private static readonly Color ColorRedHovered = Color.FromHex("#960000");
|
||||
private static readonly Color ColorPressed = Color.FromHex("#464646");
|
||||
|
||||
private const float VertPad = 8f;
|
||||
private Color NormalColor => HasStyleClass(StyleClassRedTopButton) ? ColorRedNormal : ColorNormal;
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace Content.Client.UserInterface.Systems.Atmos.GasTank
|
||||
var back = new StyleBoxTexture
|
||||
{
|
||||
Texture = panelTex,
|
||||
Modulate = Color.FromHex("#25252A"),
|
||||
Modulate = Color.FromHex("#141414"),
|
||||
};
|
||||
|
||||
back.SetPatchMargin(StyleBox.Margin.All, 10);
|
||||
|
||||
@@ -7,9 +7,9 @@ namespace Content.Client.UserInterface.Systems.Chat.Controls;
|
||||
|
||||
public sealed class ChannelFilterButton : ChatPopupButton<ChannelFilterPopup>
|
||||
{
|
||||
private static readonly Color ColorNormal = Color.FromHex("#7b7e9e");
|
||||
private static readonly Color ColorHovered = Color.FromHex("#9699bb");
|
||||
private static readonly Color ColorPressed = Color.FromHex("#789B8C");
|
||||
private static readonly Color ColorNormal = Color.FromHex("#5a5a5a");
|
||||
private static readonly Color ColorHovered = Color.FromHex("#646464");
|
||||
private static readonly Color ColorPressed = Color.FromHex("#464646");
|
||||
private readonly TextureRect? _textureRect;
|
||||
private readonly ChatUIController _chatUIController;
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
MinSize="465 225">
|
||||
<PanelContainer HorizontalExpand="True" VerticalExpand="True">
|
||||
<PanelContainer.PanelOverride>
|
||||
<graphics:StyleBoxFlat BackgroundColor="#25252ADD" />
|
||||
<graphics:StyleBoxFlat BackgroundColor="#141414AA" />
|
||||
</PanelContainer.PanelOverride>
|
||||
|
||||
<BoxContainer Orientation="Vertical" SeparationOverride="4" HorizontalExpand="True" VerticalExpand="True">
|
||||
|
||||
Reference in New Issue
Block a user