]> git.openstreetmap.org Git - rails.git/commitdiff
Default background for input fields to white
authorTom Hughes <tom@compton.nu>
Sun, 1 Feb 2015 10:15:00 +0000 (10:15 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 1 Feb 2015 10:15:00 +0000 (10:15 +0000)
Some browsers apparently default form fields to a background based
on the desktop theme, and don't inherit from body.

Fixes #883

app/assets/stylesheets/common.css.scss

index 0ca782ed54790ecb60c2a72a9390f3740e9d7996..7038bb69cdcc0cc67feb43e1a9e42fcb164d0957 100644 (file)
@@ -1871,6 +1871,7 @@ input[type="email"],
 input[type="url"],
 input[type="password"],
 textarea {
+  background-color: #fff;
   border: 1px solid #ccc;
   padding: 2px 5px;
   margin: 0;