From 98a3ecbcb569300ce6fbf4c2563da6a0c96fd65f Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Mon, 18 Feb 2019 13:34:25 +0000 Subject: [PATCH] Tweak placeholder styles to also affect member search --- res/themes/light/css/_light.scss | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/res/themes/light/css/_light.scss b/res/themes/light/css/_light.scss index e13784b4fa..e52f62b044 100644 --- a/res/themes/light/css/_light.scss +++ b/res/themes/light/css/_light.scss @@ -286,9 +286,12 @@ $panel-gradient: rgba(242, 245, 248, 0), rgba(242, 245, 248, 1); flex: 1; color: $primary-fg-color; } - input::placeholder { - color: $roomsublist-label-fg-color; - } + } + + :not(.mx_textinput):not(.mx_Field):not(.mx_no_textinput) > input[type=text]::placeholder, + :not(.mx_textinput):not(.mx_Field):not(.mx_no_textinput) > input[type=search]::placeholder, + .mx_textinput input::placeholder { + color: $roomsublist-label-fg-color; } }