Skip to content

Commit c469a0e

Browse files
committed
MAGETWO-86867: [Tech Debt] Revise LESS/CSS classes and icons
1 parent 91959ed commit c469a0e

File tree

28 files changed

+28
-28
lines changed

28 files changed

+28
-28
lines changed

app/code/Magento/PageBuilder/docs/how-to-add-new-content-type.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Optional: For template knockout bindings, you can use the original data-bind syn
5656
Preview template `app/code/Vendor/ModuleName/view/adminhtml/web/template/content-type/simple/default/preview.html`.
5757

5858
``` HTML
59-
<div class="pagebuilder-content-type pagebuilder-entity pagebuilder-entity-preview" event="{mouseover: onMouseOver, mouseout: onMouseOut}, mouseoverBubble: false">
59+
<div class="pagebuilder-content-type pagebuilder-entity-preview" event="{mouseover: onMouseOver, mouseout: onMouseOut}, mouseoverBubble: false">
6060
<div attr="data.main.attributes" ko-style="data.main.style" css="data.main.css" html="data.main.html"></div>
6161
<render args="getOptions().template" />
6262
</div>

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/_preview.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
}
8585
}
8686

87-
&.pagebuilder-entity {
87+
&.pagebuilder-content-type {
8888
display: inline-block;
8989
font-size: 0;
9090
width: 100%;

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/heading/_default.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// _____________________________________________
99

1010
.pagebuilder-heading {
11-
&.pagebuilder-content-type.pagebuilder-entity {
11+
&.pagebuilder-content-type {
1212
display: block;
1313
}
1414
> div {

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/content-type/text/_default.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// _____________________________________________
99

1010

11-
.pagebuilder-entity {
11+
.pagebuilder-content-type {
1212
.pagebuilder-textarea {
1313
ol {
1414
list-style: decimal;

app/code/Magento/PageBuilder/view/adminhtml/web/template/content-type/accordion/default/preview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
-->
77

8-
<div class="pagebuilder-content-type type-nested pagebuilder-entity pagebuilder-entity-preview pagebuilder-accordion" data-bind="event: { mouseover: onMouseOver, mouseout: onMouseOut }, mouseoverBubble: false">
8+
<div class="pagebuilder-content-type type-nested pagebuilder-entity-preview pagebuilder-accordion" data-bind="event: { mouseover: onMouseOver, mouseout: onMouseOut }, mouseoverBubble: false">
99
<!-- ko template: getOptions().template --><!-- /ko -->
1010
<!-- ko if: previewData.items().length == 0 -->
1111
<i class="icon-pagebuilder-accordian"></i> <span data-bind="text: $t('Accordion');"></span>

app/code/Magento/PageBuilder/view/adminhtml/web/template/content-type/anchor/default/preview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
-->
77

8-
<div class="pagebuilder-content-type pagebuilder-entity pagebuilder-entity-preview pagebuilder-anchor" attr="data.main.attributes" css="data.main.css" ko-style="data.main.style" event="{mouseover: onMouseOver, mouseout: onMouseOut}, mouseoverBubble: false">
8+
<div class="pagebuilder-content-type pagebuilder-entity-preview pagebuilder-anchor" attr="data.main.attributes" css="data.main.css" ko-style="data.main.style" event="{mouseover: onMouseOver, mouseout: onMouseOut}, mouseoverBubble: false">
99
<i class="icon-pagebuilder-anchor"></i>
1010
<span text="data.main.attributes().id ? '#' + data.main.attributes().id \: $t('Anchor')"></span>
1111
<render args="getOptions().template" />

app/code/Magento/PageBuilder/view/adminhtml/web/template/content-type/banner/collage-centered/preview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
-->
77

8-
<div class="pagebuilder-content-type pagebuilder-entity pagebuilder-entity-preview pagebuilder-banner" event="{ mouseover: onMouseOver, mouseout: onMouseOut }, mouseoverBubble: false">
8+
<div class="pagebuilder-content-type pagebuilder-entity-preview pagebuilder-banner" event="{ mouseover: onMouseOver, mouseout: onMouseOut }, mouseoverBubble: false">
99
<render args="getOptions().template" />
1010
<div attr="data.main.attributes" ko-style="Object.assign({}, data.main.style(), data.overlay.style(), data.desktop_image.style(), {paddingLeft: 'calc(25% + ' + data.desktop_image.style().paddingLeft + ')', paddingRight: 'calc(25% + ' + data.desktop_image.style().paddingRight + ')'})" css="data.main.css" event="{mouseover: onMouseOverWrapper, mouseout: onMouseOutWrapper}">
1111
<div class="pagebuilder-collage-overlay" ko-style="data.overlay.style()">

app/code/Magento/PageBuilder/view/adminhtml/web/template/content-type/banner/collage-left/preview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
-->
77

8-
<div class="pagebuilder-content-type pagebuilder-entity pagebuilder-entity-preview pagebuilder-banner" event="{ mouseover: onMouseOver, mouseout: onMouseOut }, mouseoverBubble: false">
8+
<div class="pagebuilder-content-type pagebuilder-entity-preview pagebuilder-banner" event="{ mouseover: onMouseOver, mouseout: onMouseOut }, mouseoverBubble: false">
99
<render args="getOptions().template" />
1010
<div css="data.main.css" attr="data.main.attributes" ko-style="Object.assign({}, data.main.style(), data.overlay.style(), data.desktop_image.style(), {paddingRight: 'calc(50% + ' + data.desktop_image.style().paddingRight + ')'})" event="{ mouseover: onMouseOverWrapper, mouseout: onMouseOutWrapper }">
1111
<div class="pagebuilder-collage-overlay" css="data.overlay.css" attr="data.overlay.attributes" ko-style="data.overlay.style">

app/code/Magento/PageBuilder/view/adminhtml/web/template/content-type/banner/collage-right/preview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
-->
77

8-
<div class="pagebuilder-content-type pagebuilder-entity pagebuilder-entity-preview pagebuilder-banner" event="{ mouseover: onMouseOver, mouseout: onMouseOut }, mouseoverBubble: false">
8+
<div class="pagebuilder-content-type pagebuilder-entity-preview pagebuilder-banner" event="{ mouseover: onMouseOver, mouseout: onMouseOut }, mouseoverBubble: false">
99
<render args="getOptions().template" />
1010
<div attr="data.main.attributes" ko-style="Object.assign({}, data.main.style(), data.overlay.style(), data.desktop_image.style(), {paddingLeft: 'calc(50% + ' + data.desktop_image.style().paddingLeft + ')'})" css="data.main.css" event="{mouseover: onMouseOverWrapper, mouseout: onMouseOutWrapper}">
1111
<div class="pagebuilder-collage-overlay" attr="data.overlay.attributes" ko-style="data.overlay.style" css="data.overlay.css">

app/code/Magento/PageBuilder/view/adminhtml/web/template/content-type/banner/poster/preview.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
-->
77

8-
<div class="pagebuilder-content-type pagebuilder-entity pagebuilder-entity-preview pagebuilder-banner" event="{ mouseover: onMouseOver, mouseout: onMouseOut }, mouseoverBubble: false">
8+
<div class="pagebuilder-content-type pagebuilder-entity-preview pagebuilder-banner" event="{ mouseover: onMouseOver, mouseout: onMouseOut }, mouseoverBubble: false">
99
<render args="getOptions().template" />
1010
<div class="pagebuilder-banner-wrapper" attr="data.main.attributes" ko-style="Object.assign(data.main.style(), data.desktop_image.style())" css="data.main.css" event="{mouseover: onMouseOverWrapper, mouseout: onMouseOutWrapper}">
1111
<div class="pagebuilder-poster-overlay" attr="data.overlay.attributes" ko-style="data.overlay.style" css="data.overlay.css">

0 commit comments

Comments
 (0)