From: Wouter Admiraal Date: Fri, 21 Dec 2018 16:36:40 +0000 (+0100) Subject: SONAR-10637 Style input placeholders X-Git-Tag: 7.6~198 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=80239c6e18503a151d76a58d59534c7964c02007;p=sonarqube.git SONAR-10637 Style input placeholders --- 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,