From a2cd829a2c69cca4107aeca2e81d15815722a14b Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 31 Jan 2017 19:40:02 +0900 Subject: [PATCH] Colour conformity pass. --- osu.Game/Graphics/UserInterface/OsuTextBox.cs | 3 +++ osu.Game/Overlays/LoginOverlay.cs | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/osu.Game/Graphics/UserInterface/OsuTextBox.cs b/osu.Game/Graphics/UserInterface/OsuTextBox.cs index 814cf3dbdb..7d9c0b6e4b 100644 --- a/osu.Game/Graphics/UserInterface/OsuTextBox.cs +++ b/osu.Game/Graphics/UserInterface/OsuTextBox.cs @@ -13,6 +13,9 @@ namespace osu.Game.Graphics.UserInterface { public class OsuTextBox : TextBox { + protected override Color4 BackgroundUnfocused => Color4.Black.Opacity(0.5f); + protected override Color4 BackgroundFocused => OsuColour.Gray(0.3f).Opacity(0.8f); + public OsuTextBox() { Height = 40; diff --git a/osu.Game/Overlays/LoginOverlay.cs b/osu.Game/Overlays/LoginOverlay.cs index 5f8c60ff9b..0c2c00d3f0 100644 --- a/osu.Game/Overlays/LoginOverlay.cs +++ b/osu.Game/Overlays/LoginOverlay.cs @@ -33,7 +33,7 @@ namespace osu.Game.Overlays new Box { RelativeSizeAxes = Axes.Both, Colour = Color4.Black, - Alpha = 0.8f, + Alpha = 0.6f, }, new Container {