Merge pull request #1620 from mailpoet/remove-tooltip
Remove font tooltip [MAILPOET-1623]
This commit is contained in:
@@ -192,10 +192,6 @@ select.mailpoet_font-size
|
|||||||
margin-left: 5px
|
margin-left: 5px
|
||||||
font-weight: normal
|
font-weight: normal
|
||||||
|
|
||||||
.tooltip-help-designer-styles
|
|
||||||
position: absolute
|
|
||||||
top: 40px
|
|
||||||
|
|
||||||
.tooltip-help-designer-full-width .dashicons
|
.tooltip-help-designer-full-width .dashicons
|
||||||
line-height 34px
|
line-height 34px
|
||||||
.tooltip-help-designer-full-width span
|
.tooltip-help-designer-full-width span
|
||||||
@@ -242,7 +238,7 @@ input.mailpoet_option_offset_left_small
|
|||||||
|
|
||||||
span.select2-container--open > span.select2-dropdown
|
span.select2-container--open > span.select2-dropdown
|
||||||
width: 150px !important
|
width: 150px !important
|
||||||
|
|
||||||
span.select2-container--open > span.select2-dropdown li.select2-results__option
|
span.select2-container--open > span.select2-dropdown li.select2-results__option
|
||||||
font-size: 13px
|
font-size: 13px
|
||||||
margin: 0px !important
|
margin: 0px !important
|
||||||
|
@@ -378,11 +378,6 @@ define([
|
|||||||
tooltipId: 'tooltip-editor-send-preview',
|
tooltipId: 'tooltip-editor-send-preview',
|
||||||
tooltip: MailPoet.I18n.t('helpTooltipSendPreview')
|
tooltip: MailPoet.I18n.t('helpTooltipSendPreview')
|
||||||
});
|
});
|
||||||
|
|
||||||
MailPoet.helpTooltip.show(document.getElementById('tooltip-designer-styles'), {
|
|
||||||
tooltipId: 'tooltip-editor-designer-styles',
|
|
||||||
tooltip: MailPoet.I18n.t('helpTooltipDesignerStyles')
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
|
|
||||||
return Module;
|
return Module;
|
||||||
|
@@ -350,7 +350,6 @@
|
|||||||
'newsletterPreviewSent': __('Your test email has been sent!'),
|
'newsletterPreviewSent': __('Your test email has been sent!'),
|
||||||
'templateNameMissing': __('Please add a template name'),
|
'templateNameMissing': __('Please add a template name'),
|
||||||
'helpTooltipSendPreview': helpTooltipSendPreview,
|
'helpTooltipSendPreview': helpTooltipSendPreview,
|
||||||
'helpTooltipDesignerStyles': __('We only include fonts that will display in all email clients. We understand it can feel limiting!'),
|
|
||||||
'helpTooltipDesignerSubjectLine': __("You can add MailPoet shortcodes here. For example, you can add your subscribers' first names by using this shortcode: [subscriber:firstname | default:reader]. Simply copy and paste the shortcode into the field."),
|
'helpTooltipDesignerSubjectLine': __("You can add MailPoet shortcodes here. For example, you can add your subscribers' first names by using this shortcode: [subscriber:firstname | default:reader]. Simply copy and paste the shortcode into the field."),
|
||||||
'helpTooltipDesignerPreheader': __("This optional text will appear in your subscribers' inboxes, beside the subject line. Write something enticing!"),
|
'helpTooltipDesignerPreheader': __("This optional text will appear in your subscribers' inboxes, beside the subject line. Write something enticing!"),
|
||||||
'helpTooltipDesignerFullWidth': __("This option eliminates padding around the image. It only works if the image is larger than the column size."),
|
'helpTooltipDesignerFullWidth': __("This option eliminates padding around the image. It only works if the image is larger than the column size."),
|
||||||
|
@@ -1,7 +1,6 @@
|
|||||||
<div class="handlediv" title="<%= __('Click to toggle') %>"><br></div>
|
<div class="handlediv" title="<%= __('Click to toggle') %>"><br></div>
|
||||||
<h3><%= __('Styles') %></h3>
|
<h3><%= __('Styles') %></h3>
|
||||||
<div class="mailpoet_region_content">
|
<div class="mailpoet_region_content">
|
||||||
<span id="tooltip-designer-styles" class="tooltip-help-designer-styles"></span>
|
|
||||||
<form id="mailpoet_newsletter_styles" action="" method="post" accept-charset="utf-8">
|
<form id="mailpoet_newsletter_styles" action="" method="post" accept-charset="utf-8">
|
||||||
<div class="mailpoet_form_field">
|
<div class="mailpoet_form_field">
|
||||||
<span>
|
<span>
|
||||||
@@ -112,4 +111,4 @@
|
|||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
fontsSelect('.mailpoet_font_family.mailpoet_select');
|
fontsSelect('.mailpoet_font_family.mailpoet_select');
|
||||||
</script>
|
</script>
|
||||||
|
Reference in New Issue
Block a user