From 3f120c78cbc199db16d80977d41f4d29c9aee40e Mon Sep 17 00:00:00 2001 From: "Dominik Schilling (ocean90)" Date: Wed, 30 Nov 2016 23:06:27 +0000 Subject: [PATCH] Twenty Seventeen: Provide a background color fallback for non-webkit browsers on input styles This allows the styles to work correctly when modified by high contrast computer setups. Merge of [39388] to the 4.7 branch. Props presskopp. See #38939. git-svn-id: https://develop.svn.wordpress.org/branches/4.7@39389 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyseventeen/style.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wp-content/themes/twentyseventeen/style.css b/src/wp-content/themes/twentyseventeen/style.css index 0f17b1958c..cc93251d53 100644 --- a/src/wp-content/themes/twentyseventeen/style.css +++ b/src/wp-content/themes/twentyseventeen/style.css @@ -933,6 +933,7 @@ input[type="datetime-local"], input[type="color"], textarea { color: #666; + background: #fff; background-image: -webkit-linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0)); border: 1px solid #bbb; -webkit-border-radius: 3px;