]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-10637 Style input placeholders
authorWouter Admiraal <wouter.admiraal@sonarsource.com>
Fri, 21 Dec 2018 16:36:40 +0000 (17:36 +0100)
committerSonarTech <sonartech@sonarsource.com>
Wed, 26 Dec 2018 19:20:58 +0000 (20:20 +0100)
server/sonar-web/src/main/js/app/styles/init/forms.css
server/sonar-web/src/main/js/components/controls/SearchBox.css

index 48af0f4a4582bfbf73ee105f6cd4622020bfb4f0..9c3f0729007a1a26eca15f47b764dd41e2a0a07b 100644 (file)
@@ -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,
index 16f4d1f4e7afa600f9d755d8d2ef6b1aa3b05acf..f7577ddec3469879bce45e4145198fcb48e267df 100644 (file)
   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,