}
.crm-container .replace-plain:before {
- content: "";
+ content: "\f040";
position: absolute;
top: .4em;
right: .5em;
+ opacity: .5;
}
/* in place edit */
display: inline-block !important;
}
-.crm-container .crm-editable-placeholder,
-.crm-container .replace-plain:before {
- background: url("../i/icons/jquery-ui-3E3E3E.png") -66px -114px no-repeat;
- text-indent: -10000px;
- display: block;
- height: 16px;
- width: 16px;
+.crm-container .crm-editable-enabled .crm-i {
opacity: .5;
}
.crm-container .replace-plain a:active:before,
.crm-container .replace-plain:focus:before,
.crm-container .replace-plain:hover:before,
-.crm-container .crm-editable-enabled:hover .crm-editable-placeholder {
- background-image: url("../i/icons/jquery-ui-2786C2.png");
+.crm-container .crm-editable-enabled:hover .crm-i {
opacity: 1;
}
is loaded before font-awesome.css so that .fa-XXX classes can modify it. */
.ui-icon[class*=" fa-"],
.crm-container a.helpicon,
+.crm-container .replace-plain:before,
.crm-i {
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
var settings = {
tooltip: $i.data('tooltip') || ts('Click to edit'),
- placeholder: $i.data('placeholder') || '<span class="crm-editable-placeholder">' + ts('Click to edit') + '</span>',
+ placeholder: $i.data('placeholder') || '<i class="crm-i fa-pencil crm-editable-placeholder"></i>',
onblur: 'cancel',
cancel: '<button type="cancel"><i class="crm-i fa-times"></i></button>',
submit: '<button type="submit"><i class="crm-i fa-check"></i></button>',