diff --git a/CRM/Core/Controller.php b/CRM/Core/Controller.php
index 4a4254c25505..68c653185855 100644
--- a/CRM/Core/Controller.php
+++ b/CRM/Core/Controller.php
@@ -568,8 +568,8 @@ public function wizardHeader($currentPageName) {
public function addWizardStyle(&$wizard) {
$wizard['style'] = [
'barClass' => '',
- 'stepPrefixCurrent' => ' ',
- 'stepPrefixPast' => ' ',
+ 'stepPrefixCurrent' => ' ',
+ 'stepPrefixPast' => ' ',
'stepPrefixFuture' => ' ',
'subStepPrefixCurrent' => ' ',
'subStepPrefixPast' => ' ',
diff --git a/CRM/Core/Smarty/plugins/block.crmButton.php b/CRM/Core/Smarty/plugins/block.crmButton.php
index 390a8e73030e..64543d595768 100644
--- a/CRM/Core/Smarty/plugins/block.crmButton.php
+++ b/CRM/Core/Smarty/plugins/block.crmButton.php
@@ -47,7 +47,7 @@ function smarty_block_crmButton($params, $text, &$smarty) {
if (strpos($icon, 'fa-') !== 0) {
$icon = "fa-$icon";
}
- $iconMarkup = " ";
+ $iconMarkup = " ";
}
// All other params are treated as html attributes
CRM_Utils_Array::remove($params, 'icon', 'p', 'q', 'a', 'f', 'h', 'fb', 'fe');
diff --git a/ang/crmMailingAB/EditCtrl/report.html b/ang/crmMailingAB/EditCtrl/report.html
index 18380923c1ee..5e97ae964a5b 100644
--- a/ang/crmMailingAB/EditCtrl/report.html
+++ b/ang/crmMailingAB/EditCtrl/report.html
@@ -83,7 +83,7 @@
class="crm-hover-button action-item"
ng-href="{{statUrl(am.mailing, statType, 'report')}}"
title="{{ts('Reports for \'%1\'', {1: statType.title})}}"
- crm-icon="clipboard"
+ crm-icon="fa-clipboard"
>
diff --git a/ang/crmUi.js b/ang/crmUi.js
index c6ba58b1464e..355939c2dcf7 100644
--- a/ang/crmUi.js
+++ b/ang/crmUi.js
@@ -908,7 +908,7 @@
})
// Example for Font Awesome: Save
- // Example for jQuery UI (deprecated): Save
+ // Example for jQuery UI (deprecated): Save
.directive('crmIcon', function() {
return {
restrict: 'EA',
diff --git a/css/civicrm.css b/css/civicrm.css
index 5f52d778ac48..cf61ef5a7d05 100644
--- a/css/civicrm.css
+++ b/css/civicrm.css
@@ -1835,8 +1835,6 @@ input.crm-form-entityref {
.crm-container .crm-button input {
background: none;
- _background: #6C6C6C;
- /* IE6 only */
border: medium none;
color: #FFF;
cursor: pointer;
@@ -1851,6 +1849,12 @@ input.crm-form-entityref {
margin-left: 20px;
}
+/* Reset WP backend min-height for buttons */
+
+.wp-core-ui .crm-container .button {
+ min-height: 0;
+}
+
.crm-container a.button,
.crm-container a.button:link,
.crm-container a.button:visited,
@@ -1870,11 +1874,19 @@ input.crm-form-entityref {
border: 1px solid #3e3e3e;
}
+.crm-container a.button,
+.crm-container a.button:link,
+.crm-container a.button:visited,
.crm-container span.crm-button {
display: block;
- float: left !important;
+ float: left;
overflow: hidden;
- padding: 1px;
+ line-height: 135%;
+}
+
+/* Preserving the important but not sure why */
+.crm-container span.crm-button {
+ float: left !important;
}
.crm-container button.crm-button {
@@ -1892,22 +1904,12 @@ input.crm-form-entityref {
.crm-container .crm-button input[type=button],
.crm-container .crm-button input.crm-form-submit {
- padding: 3px 5px 2px;
+ padding: 0;
margin: 0;
background: none;
- _background: #6C6C6C;
- /* IE6 only */
border: none;
}
-.crm-container a.button,
-.crm-container a.button:link,
-.crm-container a.button:visited {
- display: block;
- float: left;
- line-height: 135%;
-}
-
.crm-container .crm-button:hover,
.crm-container .crm-button:focus,
.crm-container input[type=submit]:hover,
@@ -2046,31 +2048,6 @@ input.crm-form-entityref {
margin-left: 3px;
}
-.crm-container .crm-button.crm-icon-button {
- padding: 2px 2px 1px 4px;
-}
-
-.crm-container .crm-button.crm-icon-button input {
- padding-left: 18px;
-}
-
-.crm-container .crm-button.button-crm-i {
- padding: 2px 0 1px 5px;
-}
-
-.crm-container .crm-button.button-crm-i input {
- padding-left: 0;
-}
-
-.crm-container .crm-button-icon {
- background-image: url("../i/icons/jquery-ui-FFFFFF.png");
- height: 16px;
- width: 16px;
- display: block;
- position: absolute;
- pointer-events: none;
-}
-
.crm-container .delete-icon {
background-position: -176px -96px;
}
@@ -2117,22 +2094,6 @@ a.crm-i:hover {
color: #86c661;
}
-.crm-i-button {
- position: relative;
-}
-
-.crm-i-button>.crm-i {
- position: absolute;
- pointer-events: none;
- top: .4em;
- left: .4em;
-}
-
-.crm-container .crm-button.crm-i-button input[type="button"],
-.crm-container .crm-button.crm-i-button input.crm-form-submit {
- padding-left: 1.6em;
-}
-
.crm-container a.helpicon {
opacity: .8;
}
diff --git a/js/crm.ajax.js b/js/crm.ajax.js
index 9a3c3f1ce572..e65bd7b2a22c 100644
--- a/js/crm.ajax.js
+++ b/js/crm.ajax.js
@@ -517,7 +517,7 @@
added.push(identifier);
}
// display:none causes the form to not submit when pressing "enter"
- $el.parents(buttonContainers).css({height: 0, padding: 0, margin: 0, overflow: 'hidden'}).find('.crm-button-icon').hide();
+ $el.parents(buttonContainers).css({height: 0, padding: 0, margin: 0, overflow: 'hidden'});
});
$el.dialog('option', 'buttons', buttons);
}
diff --git a/templates/CRM/Admin/Form/Preferences/Display.tpl b/templates/CRM/Admin/Form/Preferences/Display.tpl
index 049a5ebf9975..44ff0ba7aabb 100644
--- a/templates/CRM/Admin/Form/Preferences/Display.tpl
+++ b/templates/CRM/Admin/Form/Preferences/Display.tpl
@@ -161,8 +161,8 @@
{$form.editor_id.html}
-
-
+
+
{$form.ckeditor_config.html}
diff --git a/templates/CRM/Admin/Page/APIExplorer.tpl b/templates/CRM/Admin/Page/APIExplorer.tpl
index 1e1b8eb497da..9c127fcb6fca 100644
--- a/templates/CRM/Admin/Page/APIExplorer.tpl
+++ b/templates/CRM/Admin/Page/APIExplorer.tpl
@@ -285,8 +285,8 @@
-
-
+
+
diff --git a/templates/CRM/Admin/Page/CKEditorConfig.tpl b/templates/CRM/Admin/Page/CKEditorConfig.tpl
index 14af566be27a..ad179df5ab7a 100644
--- a/templates/CRM/Admin/Page/CKEditorConfig.tpl
+++ b/templates/CRM/Admin/Page/CKEditorConfig.tpl
@@ -99,10 +99,10 @@
-
+
-
+
diff --git a/templates/CRM/Contact/Form/Search/Custom/FullText.tpl b/templates/CRM/Contact/Form/Search/Custom/FullText.tpl
index 6a7d8b516a80..51a3c91956d8 100644
--- a/templates/CRM/Contact/Form/Search/Custom/FullText.tpl
+++ b/templates/CRM/Contact/Form/Search/Custom/FullText.tpl
@@ -62,7 +62,7 @@
{if !$table and $summary.addShowAllLink.Contact}
{ts}View all results for contacts{/ts}
+ title="{ts}View all results for contacts{/ts}">
{ts}View all results for contacts{/ts}
{/if}
{* note we using location="below" because we don't want to use rows per page for now. And therefore don't put location="bottom" for now. *}
{if $table}{include file="CRM/common/pager.tpl" location="below"}{/if}
@@ -125,7 +125,7 @@
{if !$table and $summary.addShowAllLink.Activity}
{ts}View all results for activities{/ts}
+ title="{ts}View all results for activities{/ts}">
{ts}View all results for activities{/ts}
{/if}
{if $table}{include file="CRM/common/pager.tpl" location="below"}{/if}
@@ -182,7 +182,7 @@
{if !$table and $summary.addShowAllLink.Case}
{ts}View all results for cases{/ts}
+ title="{ts}View all results for cases{/ts}">
{ts}View all results for cases{/ts}
{/if}
{if $table}{include file="CRM/common/pager.tpl" location="below"}{/if}
@@ -236,7 +236,7 @@
{if !$table and $summary.addShowAllLink.Contribution}
{ts}View all results for contributions{/ts}
+ title="{ts}View all results for contributions{/ts}">
{ts}View all results for contributions{/ts}
{/if}
{if $table}{include file="CRM/common/pager.tpl" location="below"}{/if}
@@ -293,7 +293,7 @@
{if !$table and $summary.addShowAllLink.Participant}
{ts}View all results for participants{/ts}
+ title="{ts}View all results for participants{/ts}">
{ts}View all results for participants{/ts}
{/if}
{if $table}{include file="CRM/common/pager.tpl" location="below"}{/if}
{* END Actions/Results section *}
@@ -349,7 +349,7 @@
{if !$table and $summary.addShowAllLink.Membership}
{ts}View all results for memberships{/ts}
+ title="{ts}View all results for memberships{/ts}">
{ts}View all results for memberships{/ts}
{/if}
{if $table}{include file="CRM/common/pager.tpl" location="below"}{/if}
@@ -395,7 +395,7 @@
{if !$table and $summary.addShowAllLink.File}
{ts}View all results for files{/ts}
+ title="{ts}View all results for files{/ts}">
{ts}View all results for files{/ts}
{/if}
{if $table}{include file="CRM/common/pager.tpl" location="below"}{/if}
{* END Actions/Results section *}
diff --git a/templates/CRM/Event/Form/ParticipantFeeSelection.tpl b/templates/CRM/Event/Form/ParticipantFeeSelection.tpl
index 02246d54cba6..f9d3364dae5a 100644
--- a/templates/CRM/Event/Form/ParticipantFeeSelection.tpl
+++ b/templates/CRM/Event/Form/ParticipantFeeSelection.tpl
@@ -87,7 +87,7 @@ CRM.$(function($) {
{include file="CRM/common/formButtons.tpl" location="bottom"}
{if !$email}
{/if}
diff --git a/templates/CRM/Tag/Page/Tag.tpl b/templates/CRM/Tag/Page/Tag.tpl
index e59f24246a76..e0ded1e4bcb4 100644
--- a/templates/CRM/Tag/Page/Tag.tpl
+++ b/templates/CRM/Tag/Page/Tag.tpl
@@ -463,16 +463,16 @@
<% {rdelim} %>
@@ -519,21 +519,21 @@