Reindent code by 2 spaces, instead of 4
This commit is contained in:
@ -135,7 +135,6 @@ select.mailpoet_font-size
|
|||||||
border: 1px solid $range-track-border-color
|
border: 1px solid $range-track-border-color
|
||||||
background: $range-track-background-color
|
background: $range-track-background-color
|
||||||
|
|
||||||
|
|
||||||
.mailpoet_range_small
|
.mailpoet_range_small
|
||||||
width: 100px
|
width: 100px
|
||||||
|
|
||||||
@ -174,7 +173,6 @@ select.mailpoet_font-size
|
|||||||
color: $button-default-text-color
|
color: $button-default-text-color
|
||||||
border-radius(3px)
|
border-radius(3px)
|
||||||
line-height: normal
|
line-height: normal
|
||||||
|
|
||||||
vertical-align: top
|
vertical-align: top
|
||||||
|
|
||||||
.mailpoet_button_full
|
.mailpoet_button_full
|
||||||
|
@ -45,7 +45,6 @@
|
|||||||
&::before
|
&::before
|
||||||
content: '\f140'
|
content: '\f140'
|
||||||
|
|
||||||
|
|
||||||
.mailpoet_save_as_template_container
|
.mailpoet_save_as_template_container
|
||||||
border-radius(3px)
|
border-radius(3px)
|
||||||
float: left
|
float: left
|
||||||
|
@ -25,7 +25,6 @@ $sidepanel-active-heading-color = $primary-active-color
|
|||||||
width: 120px
|
width: 120px
|
||||||
|
|
||||||
.mailpoet_sidepanel_field_title_inline
|
.mailpoet_sidepanel_field_title_inline
|
||||||
//clear: left
|
|
||||||
display: inline-block
|
display: inline-block
|
||||||
vertical-align: middle
|
vertical-align: middle
|
||||||
line-height: 30px
|
line-height: 30px
|
||||||
|
@ -17,4 +17,3 @@ $button-vertical-padding = 13px
|
|||||||
|
|
||||||
&:hover
|
&:hover
|
||||||
cursor: all-scroll
|
cursor: all-scroll
|
||||||
|
|
||||||
|
@ -49,7 +49,6 @@ $tool-width = 16px
|
|||||||
border: 1px dashed $active-social-icon-set-border-color
|
border: 1px dashed $active-social-icon-set-border-color
|
||||||
background-color: $active-social-icon-set-background-color
|
background-color: $active-social-icon-set-background-color
|
||||||
|
|
||||||
|
|
||||||
.mailpoet_social_icon_settings
|
.mailpoet_social_icon_settings
|
||||||
position: relative
|
position: relative
|
||||||
|
|
||||||
@ -68,7 +67,6 @@ $tool-width = 16px
|
|||||||
|
|
||||||
.mailpoet_social_icon_settings_label
|
.mailpoet_social_icon_settings_label
|
||||||
margin-right: 5px
|
margin-right: 5px
|
||||||
|
|
||||||
text-align: left
|
text-align: left
|
||||||
|
|
||||||
.mailpoet_social_icon_image
|
.mailpoet_social_icon_image
|
||||||
@ -90,7 +88,6 @@ $tool-width = 16px
|
|||||||
vertical-align: middle
|
vertical-align: middle
|
||||||
display: inline-block
|
display: inline-block
|
||||||
|
|
||||||
|
|
||||||
.mailpoet_social_icon_settings_tool
|
.mailpoet_social_icon_settings_tool
|
||||||
position: absolute
|
position: absolute
|
||||||
top: 10px
|
top: 10px
|
||||||
|
@ -15,7 +15,6 @@ div.mce-toolbar-grp.mce-container
|
|||||||
border-radius(3px)
|
border-radius(3px)
|
||||||
background-color: $primary-background-color
|
background-color: $primary-background-color
|
||||||
border: 1px solid $content-border-color
|
border: 1px solid $content-border-color
|
||||||
|
|
||||||
box-shadow(0px 0px 3px 1px rgba(0, 0, 0, 0.05))
|
box-shadow(0px 0px 3px 1px rgba(0, 0, 0, 0.05))
|
||||||
|
|
||||||
.mce-window
|
.mce-window
|
||||||
@ -39,13 +38,13 @@ div.mce-toolbar-grp.mce-container
|
|||||||
|
|
||||||
/* Style "No search term specified" in TinyMCE link editor */
|
/* Style "No search term specified" in TinyMCE link editor */
|
||||||
#wp-link li, #wp-link div.query-notice
|
#wp-link li, #wp-link div.query-notice
|
||||||
clear: both
|
clear: both
|
||||||
margin-bottom: 0
|
margin-bottom: 0
|
||||||
border-bottom: 1px solid #f1f1f1
|
border-bottom: 1px solid #f1f1f1
|
||||||
color: #333
|
color: #333
|
||||||
padding: 4px 6px
|
padding: 4px 6px
|
||||||
cursor: pointer
|
cursor: pointer
|
||||||
position: relative
|
position: relative
|
||||||
|
|
||||||
/* Remove empty space between WP admin sidebar and content */
|
/* Remove empty space between WP admin sidebar and content */
|
||||||
#wpbody-content > *
|
#wpbody-content > *
|
||||||
|
@ -2,4 +2,3 @@ box-shadow()
|
|||||||
-webkit-box-shadow: arguments
|
-webkit-box-shadow: arguments
|
||||||
-moz-box-shadow: arguments
|
-moz-box-shadow: arguments
|
||||||
box-shadow: arguments
|
box-shadow: arguments
|
||||||
|
|
||||||
|
@ -23,5 +23,4 @@ $warning-alternate-text-color = #f4c6c8
|
|||||||
$error-text-color = #d54e21
|
$error-text-color = #d54e21
|
||||||
|
|
||||||
// Dimensions
|
// Dimensions
|
||||||
|
|
||||||
$newsletter-width = 600px
|
$newsletter-width = 600px
|
||||||
|
@ -20,5 +20,4 @@ define('newsletter_editor/behaviors/ColorPickerBehavior', [
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -424,5 +424,4 @@ define('newsletter_editor/behaviors/ContainerDropZoneBehavior', [
|
|||||||
return depth === 0 || (depth === 1 && orientation === 'horizontal' && childCount <= this.options.columnLimit);
|
return depth === 0 || (depth === 1 && orientation === 'horizontal' && childCount <= this.options.columnLimit);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -128,5 +128,4 @@ define('newsletter_editor/behaviors/DraggableBehavior', [
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -65,5 +65,4 @@ define('newsletter_editor/behaviors/ResizableBehavior', [
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -36,5 +36,4 @@ define('newsletter_editor/behaviors/SortableBehavior', [
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -336,5 +336,4 @@ define('newsletter_editor/blocks/automatedLatestContent', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -215,5 +215,4 @@ define('newsletter_editor/blocks/base', [
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -158,5 +158,4 @@ define('newsletter_editor/blocks/button', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -344,5 +344,4 @@ define('newsletter_editor/blocks/container', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -169,5 +169,4 @@ define('newsletter_editor/blocks/divider', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -143,5 +143,4 @@ define('newsletter_editor/blocks/footer', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -143,5 +143,4 @@ define('newsletter_editor/blocks/header', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -385,5 +385,4 @@ define('newsletter_editor/blocks/image', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -476,5 +476,4 @@ define('newsletter_editor/blocks/posts', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -370,5 +370,4 @@ define('newsletter_editor/blocks/social', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -101,5 +101,4 @@ define('newsletter_editor/blocks/spacer', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -122,5 +122,4 @@ define('newsletter_editor/blocks/text', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -21,7 +21,10 @@ define('newsletter_editor/components/config', [
|
|||||||
// Global and available styles for access in blocks and their settings
|
// Global and available styles for access in blocks and their settings
|
||||||
Module._config = {};
|
Module._config = {};
|
||||||
Module.getConfig = function() { return Module._config; };
|
Module.getConfig = function() { return Module._config; };
|
||||||
Module.setConfig = function(options) { Module._config = new Module.ConfigModel(options, { parse: true }); return Module._config; };
|
Module.setConfig = function(options) {
|
||||||
|
Module._config = new Module.ConfigModel(options, { parse: true });
|
||||||
|
return Module._config;
|
||||||
|
};
|
||||||
|
|
||||||
App.on('before:start', function(options) {
|
App.on('before:start', function(options) {
|
||||||
// Expose config methods globally
|
// Expose config methods globally
|
||||||
@ -31,5 +34,4 @@ define('newsletter_editor/components/config', [
|
|||||||
App.setConfig(options.config);
|
App.setConfig(options.config);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -76,5 +76,4 @@ define('newsletter_editor/components/content', [
|
|||||||
App._appView.contentRegion.show(App._contentContainerView);
|
App._appView.contentRegion.show(App._contentContainerView);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -29,5 +29,4 @@ define('newsletter_editor/components/heading', [
|
|||||||
App._appView.headingRegion.show(new Module.HeadingView({ model: App.getNewsletter() }));
|
App._appView.headingRegion.show(new Module.HeadingView({ model: App.getNewsletter() }));
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -174,5 +174,4 @@ define('newsletter_editor/components/save', [
|
|||||||
App._appView.bottomRegion.show(saveView);
|
App._appView.bottomRegion.show(saveView);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -255,5 +255,4 @@ define('newsletter_editor/components/sidebar', [
|
|||||||
App._appView.sidebarRegion.show(sidebarView);
|
App._appView.sidebarRegion.show(sidebarView);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -79,5 +79,4 @@ define('newsletter_editor/components/styles', [
|
|||||||
App._appView.stylesRegion.show(stylesView);
|
App._appView.stylesRegion.show(stylesView);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -25,4 +25,3 @@ module.exports = {
|
|||||||
this.loadScript("views/newsletter/templates/" + path, w, options);
|
this.loadScript("views/newsletter/templates/" + path, w, options);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -397,5 +397,4 @@ define('test/newsletter_editor/blocks/automatedLatestContent', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -418,5 +418,4 @@ define('test/newsletter_editor/blocks/button', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -203,5 +203,4 @@ define('test/newsletter_editor/blocks/container', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -202,5 +202,4 @@ define('test/newsletter_editor/blocks/divider', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -196,5 +196,4 @@ define('test/newsletter_editor/blocks/footer', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -199,5 +199,4 @@ define('test/newsletter_editor/blocks/header', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -196,5 +196,4 @@ define('test/newsletter_editor/blocks/image', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -384,5 +384,4 @@ define('test/newsletter_editor/blocks/posts', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -276,5 +276,4 @@ define('test/newsletter_editor/blocks/social', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -139,5 +139,4 @@ define('test/newsletter_editor/blocks/spacer', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -68,5 +68,4 @@ define('test/newsletter_editor/blocks/text', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -44,5 +44,4 @@ define('test/newsletter_editor/components/heading', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -77,5 +77,4 @@ define('test/newsletter_editor/components/save', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -4,7 +4,6 @@ define('test/newsletter_editor/components/sidebar', [
|
|||||||
], function(EditorApplication) {
|
], function(EditorApplication) {
|
||||||
|
|
||||||
describe('Sidebar', function() {
|
describe('Sidebar', function() {
|
||||||
|
|
||||||
describe('content view', function() {
|
describe('content view', function() {
|
||||||
var view;
|
var view;
|
||||||
beforeEach(function() {
|
beforeEach(function() {
|
||||||
@ -185,5 +184,4 @@ define('test/newsletter_editor/components/sidebar', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -42,5 +42,4 @@ define('test/newsletter_editor/components/config', [
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user