From c488f8107de1d6e6064e55457aca3e271088fbae Mon Sep 17 00:00:00 2001 From: Andrew Hunt Date: Tue, 13 May 2014 21:56:44 -0400 Subject: [PATCH] CRM-14486 switch to display logo as a div with background ---------------------------------------- * CRM-14486: Empowered by CiviCRM - footer added to all public pages (with option to disable) https://issues.civicrm.org/jira/browse/CRM-14486 --- css/civicrm.css | 18 ++++++++++++++++-- templates/CRM/common/publicFooter.tpl | 2 +- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/css/civicrm.css b/css/civicrm.css index 3f6726d713..fa558723e6 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -712,10 +712,24 @@ input.crm-form-entityref { padding: 0.8em 0; } -.crm-container img.empowered-by-logo { - vertical-align: baseline; +.crm-container a.empowered-by-link { + display: inline-block; + height: 34px; position: relative; + width: 99px; +} + +.crm-container div.empowered-by-logo { + background: url('../i/civi99.png') no-repeat; + display: block; + line-height: 34px; + position: absolute; top: 9px; + width: 99px; +} + +.crm-container div.empowered-by-logo span { + visibility: hidden; } #crm-record-log { diff --git a/templates/CRM/common/publicFooter.tpl b/templates/CRM/common/publicFooter.tpl index f267fdb97e..f3c5612f87 100644 --- a/templates/CRM/common/publicFooter.tpl +++ b/templates/CRM/common/publicFooter.tpl @@ -25,7 +25,7 @@ *} {if $config->empoweredBy} -{capture assign=civilogo}{/capture} +{capture assign=civilogo}{/capture} -- 2.25.1