Make scrollbars less opaque.

This commit is contained in:
Pieter-Jan Briers
2019-07-19 01:21:48 +02:00
parent 90173f6147
commit 96516fa288

View File

@@ -100,28 +100,28 @@ namespace Content.Client.UserInterface
var vScrollBarGrabberNormal = new StyleBoxFlat var vScrollBarGrabberNormal = new StyleBoxFlat
{ {
BackgroundColor = Color.Gray, ContentMarginLeftOverride = 10 BackgroundColor = Color.Gray.WithAlpha(0.35f), ContentMarginLeftOverride = 10
}; };
var vScrollBarGrabberHover = new StyleBoxFlat var vScrollBarGrabberHover = new StyleBoxFlat
{ {
BackgroundColor = new Color(140, 140, 140), ContentMarginLeftOverride = 10 BackgroundColor = new Color(140, 140, 140).WithAlpha(0.35f), ContentMarginLeftOverride = 10
}; };
var vScrollBarGrabberGrabbed = new StyleBoxFlat var vScrollBarGrabberGrabbed = new StyleBoxFlat
{ {
BackgroundColor = new Color(160, 160, 160), ContentMarginLeftOverride = 10 BackgroundColor = new Color(160, 160, 160).WithAlpha(0.35f), ContentMarginLeftOverride = 10
}; };
var hScrollBarGrabberNormal = new StyleBoxFlat var hScrollBarGrabberNormal = new StyleBoxFlat
{ {
BackgroundColor = Color.Gray, ContentMarginTopOverride = 10 BackgroundColor = Color.Gray.WithAlpha(0.35f), ContentMarginTopOverride = 10
}; };
var hScrollBarGrabberHover = new StyleBoxFlat var hScrollBarGrabberHover = new StyleBoxFlat
{ {
BackgroundColor = new Color(140, 140, 140), ContentMarginTopOverride = 10 BackgroundColor = new Color(140, 140, 140).WithAlpha(0.35f), ContentMarginTopOverride = 10
}; };
var hScrollBarGrabberGrabbed = new StyleBoxFlat var hScrollBarGrabberGrabbed = new StyleBoxFlat
{ {
BackgroundColor = new Color(160, 160, 160), ContentMarginTopOverride = 10 BackgroundColor = new Color(160, 160, 160).WithAlpha(0.35f), ContentMarginTopOverride = 10
}; };
var progressBarBackground = new StyleBoxFlat var progressBarBackground = new StyleBoxFlat