From b0d215a771f5816a21e8fc90d961ebadeaae8b12 Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Thu, 11 Oct 2012 00:36:42 +0000 Subject: [PATCH] Media Modal: Show progress bars for uploading images, and adjust progress bar styles to compensate for the darker attachment background. see #21390. git-svn-id: https://develop.svn.wordpress.org/trunk@22176 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/css/media-views.css | 5 +++-- wp-includes/media.php | 6 +++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/wp-includes/css/media-views.css b/wp-includes/css/media-views.css index 06b8535639..c08dfbc1b9 100644 --- a/wp-includes/css/media-views.css +++ b/wp-includes/css/media-views.css @@ -442,15 +442,16 @@ width: 70%; margin: 10px auto; padding: 2px; - border: 2px solid #dfdfdf; + border: 2px solid #ccc; border-radius: 8px; + background: #fff; } .media-progress-bar div { height: 8px; min-width: 8px; width: 0; - background: #dfdfdf; + background: #ccc; border-radius: 10px; -webkit-transition: width 200ms; -moz-transition: width 200ms; diff --git a/wp-includes/media.php b/wp-includes/media.php index 491ab76bb6..40c5e1a27f 100644 --- a/wp-includes/media.php +++ b/wp-includes/media.php @@ -1329,13 +1329,13 @@ function wp_print_media_templates( $attachment ) {