From 49ec824b9f3763d2df8e535d3e1c6973d0e31c39 Mon Sep 17 00:00:00 2001 From: Daryl Koopersmith Date: Sat, 25 May 2013 16:48:37 +0000 Subject: [PATCH] Improve contrast of revision diffs. Fixes #24422. git-svn-id: http://core.svn.wordpress.org/trunk@24355 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/css/colors-classic.css | 6 ++---- wp-admin/css/colors-fresh.css | 6 ++---- wp-admin/css/wp-admin.css | 7 ------- 3 files changed, 4 insertions(+), 15 deletions(-) diff --git a/wp-admin/css/colors-classic.css b/wp-admin/css/colors-classic.css index 54e1ed07c0..b677ae92e7 100644 --- a/wp-admin/css/colors-classic.css +++ b/wp-admin/css/colors-classic.css @@ -1625,8 +1625,7 @@ a.post-state-format, /* Diff */ table.diff .diff-deletedline { - background-color: #fdd; - border-color: #ffc0c0; + background-color: #ffe9e9; } table.diff .diff-deletedline del { @@ -1634,8 +1633,7 @@ table.diff .diff-deletedline del { } table.diff .diff-addedline { - background-color: #dfd; - border-color: #aef9ae; + background-color: #e9ffe9; } table.diff .diff-addedline ins { diff --git a/wp-admin/css/colors-fresh.css b/wp-admin/css/colors-fresh.css index 3a1792ce78..caea32a434 100644 --- a/wp-admin/css/colors-fresh.css +++ b/wp-admin/css/colors-fresh.css @@ -1519,8 +1519,7 @@ a.post-state-format, /* Diff */ table.diff .diff-deletedline { - background-color: #fdd; - border-color: #ffc0c0; + background-color: #ffe9e9; } table.diff .diff-deletedline del { @@ -1528,8 +1527,7 @@ table.diff .diff-deletedline del { } table.diff .diff-addedline { - background-color: #dfd; - border-color: #aef9ae; + background-color: #e9ffe9; } table.diff .diff-addedline ins { diff --git a/wp-admin/css/wp-admin.css b/wp-admin/css/wp-admin.css index 78cc5e857c..87b694a90d 100644 --- a/wp-admin/css/wp-admin.css +++ b/wp-admin/css/wp-admin.css @@ -3563,13 +3563,6 @@ table.diff td, table.diff th { padding: .5em; font-family: Consolas, Monaco, monospace; - border-radius: 3px; -} - -table.diff .diff-deletedline, -table.diff .diff-addedline { - border-width: 1px; - border-style: solid; } table.diff .diff-deletedline del,