From 4dc810ad3cd6f48eda2eea2cc30c45b6ec465e61 Mon Sep 17 00:00:00 2001 From: Scott Taylor Date: Sun, 27 Sep 2015 18:40:40 +0000 Subject: [PATCH] Feature Image: Improve the preview for transparent background images by using CSS3 to show a checkered background. Props metodiew. Fixes #33299. git-svn-id: https://develop.svn.wordpress.org/trunk@34634 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/edit.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wp-admin/css/edit.css b/src/wp-admin/css/edit.css index adbf856a99..a67077a2ac 100644 --- a/src/wp-admin/css/edit.css +++ b/src/wp-admin/css/edit.css @@ -291,6 +291,9 @@ ul.wp-tab-bar li { max-width: 100%; height: auto; width: auto; + background-image: linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4), linear-gradient(45deg, #c4c4c4 25%, transparent 25%, transparent 75%, #c4c4c4 75%, #c4c4c4); + background-position: 0 0, 10px 10px; + background-size: 20px 20px; } form#tags-filter {