]> dev.renevier.net Git - syj.git/commitdiff
work around webkit #42985 for *all* text inputs
authorarno <arno@renevier.net>
Wed, 28 Jul 2010 22:12:33 +0000 (00:12 +0200)
committerarno <arno@renevier.net>
Fri, 6 Aug 2010 22:09:40 +0000 (00:09 +0200)
public/css/generic.css
public/css/syj.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
  */
index c64bfdb74155982914d768f2250fd01742050998..a0db8fded387ec5f11cc0e9bd4aca7d51a66e449 100644 (file)
@@ -58,7 +58,6 @@ body, html {
 }
 #geom_title {
     margin-top: 0.7em;
-    background-color: #FDFDFD; /* work around webkit bug #42985 */
 }
 #geom_submit {
     margin-top: 0.7em;