X-Git-Url: https://dev.renevier.net/?a=blobdiff_plain;f=public%2Fcss%2Fgeneric.css;h=dd70f840410aaebec719dfd3a5d43214ddf6fa70;hb=2d66d0fe742edb3d91af7f76154619ecbcf75c6d;hp=466d059c7e52d178ca3c974255b9c1edc0323f40;hpb=190fd621df4920c56a422c03663874cddaa67d64;p=syj.git diff --git a/public/css/generic.css b/public/css/generic.css index 466d059..dd70f84 100644 --- a/public/css/generic.css +++ b/public/css/generic.css @@ -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 */ @@ -56,6 +61,19 @@ label { vertical-align: top; } +input { + /* transitions for highlight effects */ + -webkit-transition: background-color 0.3s ease-out; + -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 */