From 80239c6e18503a151d76a58d59534c7964c02007 Mon Sep 17 00:00:00 2001 From: Wouter Admiraal Date: Fri, 21 Dec 2018 17:36:40 +0100 Subject: [PATCH] SONAR-10637 Style input placeholders --- server/sonar-web/src/main/js/app/styles/init/forms.css | 4 ++++ .../sonar-web/src/main/js/components/controls/SearchBox.css | 5 ----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/server/sonar-web/src/main/js/app/styles/init/forms.css b/server/sonar-web/src/main/js/app/styles/init/forms.css index 48af0f4a458..9c3f0729007 100644 --- a/server/sonar-web/src/main/js/app/styles/init/forms.css +++ b/server/sonar-web/src/main/js/app/styles/init/forms.css @@ -69,6 +69,10 @@ select:invalid { outline: none; } +input::placeholder { + color: var(--secondFontColor); +} + input[type='text'].is-valid, input[type='password'].is-valid, input[type='email'].is-valid, diff --git a/server/sonar-web/src/main/js/components/controls/SearchBox.css b/server/sonar-web/src/main/js/components/controls/SearchBox.css index 16f4d1f4e7a..f7577ddec34 100644 --- a/server/sonar-web/src/main/js/components/controls/SearchBox.css +++ b/server/sonar-web/src/main/js/components/controls/SearchBox.css @@ -39,11 +39,6 @@ font-size: var(--baseFontSize); } -.search-box-input::placeholder { - color: var(--secondFontColor); - opacity: 1; -} - .search-box-input::-webkit-search-decoration, .search-box-input::-webkit-search-cancel-button, .search-box-input::-webkit-search-results-button, -- 2.39.5