Content changes for TextEdit (#12557)

This commit is contained in:
Pieter-Jan Briers
2022-11-13 06:56:01 +01:00
committed by GitHub
parent e63bfff645
commit d49cb30df2
2 changed files with 34 additions and 0 deletions

View File

@@ -795,6 +795,10 @@ namespace Content.Client.Stylesheets
{
new StyleProperty("font-color", Color.Gray),
}),
Element<TextEdit>().Pseudo(TextEdit.StylePseudoClassPlaceholder)
.Prop("font-color", Color.Gray),
// Chat lineedit - we don't actually draw a stylebox around the lineedit itself, we put it around the
// input + other buttons, so we must clear the default stylebox
new StyleRule(new SelectorElement(typeof(LineEdit), new[] {StyleClassChatLineEdit}, null, null),