]> dev.renevier.net Git - syj.git/blobdiff - public/css/generic.css
work around webkit #42985 for *all* text inputs
[syj.git] / public / css / generic.css
index 6b166ab9a0043ff9a5c2bf94f6a88a47cf3e3a60..dd70f840410aaebec719dfd3a5d43214ddf6fa70 100644 (file)
@@ -1,6 +1,11 @@
 /*  This file is part of Syj, Copyright (c) 2010 Arnaud Renevier,
     and is published under the AGPL license. */
 
+body, html {
+    background-color: white;
+    color: black;
+}
+
 /*
  * generic rules
  */
@@ -62,6 +67,13 @@ input {
     -moz-transition: background-color 0.3s ease-out;
 }
 
+@media screen and (-webkit-min-device-pixel-ratio:0) {
+    /* work around webkit bug #42985 */
+    input {
+        background-color: #FEFEFE;
+    }
+}
+
 /*
  * footer
  */