From 66d5b9896f4d6e34029fad5737ae215bdab7a88e Mon Sep 17 00:00:00 2001 From: JKingsnorth Date: Wed, 25 Nov 2015 10:23:07 +0000 Subject: [PATCH] Make merge CSS less specific and better integrated --- css/civicrm.css | 20 ++++++++------------ templates/CRM/Contact/Form/Merge.tpl | 4 ++-- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/css/civicrm.css b/css/civicrm.css index 100951216f..3d4bf9dc77 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -3163,6 +3163,14 @@ div.m ul#civicrm-menu, } /* table row highlightng */ +.crm-container .crm-row-ok { + background-color: #EFFFE7; + border-bottom: 1px solid #ccc; +} +.crm-container .crm-row-error { + background-color: #FFECEC; + border-bottom: 1px solid #ccc; +} .crm-container table.row-highlight tr:hover, .crm-container .crm-row-selected { background-color: #FFFFCC; @@ -3173,18 +3181,6 @@ div.m ul#civicrm-menu, .crm-container .even.crm-row-selected { background-color: #fffdb2; } -.crm-container table tr.merge-row-equal { - background-color: #EFFFE7; - border-bottom: 1px solid #ccc; -} -.crm-container table tr.merge-row-diff { - background-color: #FFECEC; - border-bottom: 1px solid #ccc; -} -.crm-container table tr.merge-row-equal.crm-row-selected, -.crm-container table tr.merge-row-diff.crm-row-selected { - background-color: #fffdb2; -} #crm-container .crm-socialnetwork { margin-top: 1em; diff --git a/templates/CRM/Contact/Form/Merge.tpl b/templates/CRM/Contact/Form/Merge.tpl index dd1041ef32..015c20a3ff 100644 --- a/templates/CRM/Contact/Form/Merge.tpl +++ b/templates/CRM/Contact/Form/Merge.tpl @@ -85,9 +85,9 @@ {else} {if $row.main eq $row.other} - + {else} - + {/if} {$row.title} -- 2.25.1