CRM-17100 - Fix campaign widget bar color
authorColeman Watts <coleman@civicrm.org>
Fri, 28 Aug 2015 16:21:23 +0000 (12:21 -0400)
committerColeman Watts <coleman@civicrm.org>
Fri, 28 Aug 2015 16:21:23 +0000 (12:21 -0400)
CRM/Contribute/Form/ContributionPage/Widget.php
templates/CRM/Contribute/Page/Widget.tpl

index 9b91f478c995050d25d75ccd5eb681f3dac019aa..055b10bd3e27c11ae1a36fd982600971e0357ae3 100644 (file)
@@ -95,7 +95,7 @@ class CRM_Contribute_Form_ContributionPage_Widget extends CRM_Contribute_Form_Co
         ts('Progress Bar Color'),
         'text',
         FALSE,
-        '#FFFFFF',
+        '#2786C2',
       ),
       'color_main_text' => array(
         ts('Additional Text Color'),
@@ -122,7 +122,7 @@ class CRM_Contribute_Form_ContributionPage_Widget extends CRM_Contribute_Form_Co
         '#96C0E7',
       ),
       'color_about_link' => array(
-        ts('Button Link Color'),
+        ts('Button Text Color'),
         'text',
         FALSE,
         '#556C82',
index ac4463254da1c7c9ebea2ab72ccaa573a09b6a55..1074e2e1a71f9f0f59f67742f33f8ee07c09e718 100644 (file)
         background-color: {/literal}{$form.color_main_bg.value}{literal};
     } /* title */
     .crm-contribute-widget .crm-amount-raised { color:#000; }
-    .crm-contribute-widget .crm-amount-bar  /* progress bar */
-        background-color:{/literal}{$form.color_bar.value}{literal};
-        border-color:#CECECE;
+    .crm-contribute-widget .crm-amount-fill {
+      background-color:{/literal}{$form.color_bar.value}{literal};
     }
-    .crm-contribute-widget .crm-amount-fill { background-color:#2786C2; }
     .crm-contribute-widget a.crm-contribute-button { /* button color */
         background-color:{/literal}{$form.color_button.value}{literal};
     }