Skip to content

Commit 879ff0b

Browse files
author
Michael Yu
committed
MAGETWO-91923 static test failures
- Fixed less file static test failures
1 parent 1db57fc commit 879ff0b

File tree

85 files changed

+201
-193
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+201
-193
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/_buttons.less

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// /**
2-
// * Copyright © Magento, Inc. All rights reserved.
3-
// * See COPYING.txt for license details.
4-
// */
2+
// * Copyright © Magento, Inc. All rights reserved.
3+
// * See COPYING.txt for license details.
4+
// */
55

66
//
7-
// _buttons contains {less} for generic buttons
7+
// _buttons contains less for generic buttons
88
// _____________________________________________
99

1010
@pagebuilder-button__margin: 0 10px 10px 0;

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/_config.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[data-role='modal'] {
77
.action-pagebuilder-cancel,
88
.action-pagebuilder-cancel:hover {
9-
color: #000;
9+
color: #000000;
1010
}
1111

1212
.pagebuilder-modal-content-body li {

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/_fonts.less

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,25 @@
66
//
77
// PageBuilder Admin Icons
88
// _____________________________________________
9+
910
@font-face {
1011
font-family: @icon_font;
1112
font-style: normal;
1213
font-weight: normal;
1314
src: url('@{baseDir}Magento_PageBuilder/fonts/pagebuilder-icons/pagebuilder-icons.eot');
1415
src: url('@{baseDir}Magento_PageBuilder/fonts/pagebuilder-icons/pagebuilder-icons.eot?#iefix') format('embedded-opentype'),
15-
url('@{baseDir}Magento_PageBuilder/fonts/pagebuilder-icons/pagebuilder-icons.woff') format('woff'),
16-
url('@{baseDir}Magento_PageBuilder/fonts/pagebuilder-icons/pagebuilder-icons.ttf') format('truetype'),
17-
url('@{baseDir}Magento_PageBuilder/fonts/pagebuilder-icons/pagebuilder-icons.svg#pagebuilder-icons') format('svg');
16+
url('@{baseDir}Magento_PageBuilder/fonts/pagebuilder-icons/pagebuilder-icons.woff') format('woff'),
17+
url('@{baseDir}Magento_PageBuilder/fonts/pagebuilder-icons/pagebuilder-icons.ttf') format('truetype'),
18+
url('@{baseDir}Magento_PageBuilder/fonts/pagebuilder-icons/pagebuilder-icons.svg#pagebuilder-icons') format('svg');
1819
}
1920

2021
[class^='icon-pagebuilder-'],
2122
[class*=' icon-pagebuilder-'] {
22-
/* use !important to prevent issues with browser extensions that change fonts */
23-
font-family: @icon_font !important;
24-
2523
/* Better Font Rendering =========== */
2624
-webkit-font-smoothing: antialiased;
2725
-moz-osx-font-smoothing: grayscale;
26+
/* use !important to prevent issues with browser extensions that change fonts */
27+
font-family: @icon_font !important;
2828
font-style: normal;
2929
font-variant: normal;
3030
font-weight: normal;

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/_icons.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
//
77
// Source -> Icons
88
// _____________________________________________
9+
910
@icon-pagebuilder-accordian__content: '\e900';
1011
@icon-pagebuilder-add__content: '\e919';
1112
@icon-pagebuilder-anchor__content: '\e901';

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/_module.less

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// */
55

66
//
7-
// {less} Variables
7+
// less Variables
88
// _____________________________________________
99

1010
@import '_mixins.less';
@@ -13,37 +13,37 @@
1313
@import '_buttons.less';
1414

1515
//
16-
// Import Slick {less}
16+
// Import Slick less
1717
// _____________________________________________
1818

1919
@import 'slick/_slick.less';
2020

2121
//
22-
// Import Panel {less}
22+
// Import Panel less
2323
// _____________________________________________
2424

2525
@import '_panel.less';
2626

2727
//
28-
// Import Page-builder {less}
28+
// Import Page-builder less
2929
// _____________________________________________
3030

3131
@import '_page-builder.less';
3232

3333
//
34-
// Import Image Uploader UI component {less}
34+
// Import Image Uploader UI component less
3535
// _____________________________________________
3636

3737
@import 'form/element/_import.less';
3838

3939
//
40-
// Import Config {less}
40+
// Import Config less
4141
// _____________________________________________
4242

4343
@import '_config.less';
4444

4545
//
46-
// Import Font Icons {less}
46+
// Import Font Icons less
4747
// _____________________________________________
4848

4949
@import '_icons.less';
@@ -52,7 +52,7 @@
5252
@import 'modal/_dismissible.less';
5353

5454
//
55-
// Import Content Type {less}
55+
// Import Content Type less
5656
// _____________________________________________
5757

5858
@import 'content-type/_import.less';

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/_page-builder.less

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
.pagebuilder-stage-wrapper {
2222
&.stage-full-screen {
23-
background: white;
23+
background: #ffffff;
2424
height: 100%;
2525
left: 0;
2626
overflow: scroll;
@@ -38,11 +38,11 @@
3838
width: 100%;
3939

4040
.pagebuilder-add-row {
41-
background: @rowColor;
4241
-webkit-border-radius: 5px;
4342
-moz-border-radius: 5px;
43+
background: @rowColor;
4444
border-radius: 5px;
45-
color: white;
45+
color: #ffffff;
4646
display: inline-block;
4747
font-size: 26px;
4848
height: 50px;
@@ -56,29 +56,29 @@
5656
}
5757

5858
.pagebuilder-stage {
59-
font-size: 0;
60-
margin-left: 170px; // temp
61-
min-height: 200px;
62-
padding: 0 0 60px; // 60px to include the add row button
6359
-webkit-user-select: none; /* Chrome/Safari */
6460
-moz-user-select: none; /* Firefox */
6561
-ms-user-select: none; /* IE10+ */
6662
/* Rules below not implemented in browsers yet */
6763
-o-user-select: none;
64+
font-size: 0;
65+
margin-left: 170px; // temp
66+
min-height: 200px;
67+
padding: 0 0 60px; // 60px to include the add row button
6868
user-select: none;
6969

7070
&.stage-full-screen {
71-
background: black;
71+
background: #000000;
7272
}
7373

7474
&.pagebuilder-no-user-select {
7575
* {
76-
-webkit-user-select: none !important; /* Chrome/Safari */
7776
-moz-user-select: none !important; /* Firefox */
7877
-ms-user-select: none !important; /* IE10+ */
7978

8079
/* Rules below not implemented in browsers yet */
8180
-o-user-select: none !important;
81+
-webkit-user-select: none !important; /* Chrome/Safari */
8282
user-select: none !important;
8383
}
8484
}
@@ -98,9 +98,9 @@
9898
}
9999

100100
.pagebuilder-canvas {
101-
opacity: 0;
102-
-webkit-transition: 1s ease-in-out;
103101
-moz-transition: 1s ease-in-out;
102+
-webkit-transition: 1s ease-in-out;
103+
opacity: 0;
104104
transition: 1s ease-in-out;
105105
visibility: hidden;
106106

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/_panel.less

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// */
55

66
//
7-
// _panel contains {less} for the left panel
7+
// _panel contains less for the left panel
88
// _____________________________________________
99

1010
.pagebuilder-draggable-block {
@@ -37,7 +37,7 @@
3737
}
3838
}
3939

40-
#pagebuilder-panel-wrapper {
40+
.pagebuilder-panel-wrapper {
4141
display: none;
4242
float: left;
4343
position: relative;
@@ -54,12 +54,12 @@
5454
top: 0;
5555

5656
a {
57-
background: @color-very-dark-grayish-orange;
5857
-webkit-border-bottom-right-radius: 2px;
59-
border-bottom-right-radius: 2px;
6058
-moz-border-radius-bottomright: 2px;
6159
-moz-border-radius-topright: 2px;
6260
-webkit-border-top-right-radius: 2px;
61+
background: @color-very-dark-grayish-orange;
62+
border-bottom-right-radius: 2px;
6363
border-top-right-radius: 2px;
6464
color: @color-gray65-lighten;
6565
display: block;
@@ -79,7 +79,7 @@
7979
}
8080
}
8181

82-
#pagebuilder-panel {
82+
.pagebuilder-panel {
8383
background: @color-very-dark-grayish-orange;
8484
-webkit-transition: .4s;
8585
-moz-transition: .4s;
@@ -217,7 +217,7 @@
217217

218218

219219

220-
#pagebuilder-panel-groups {
220+
.pagebuilder-panel-groups {
221221
list-style: none;
222222
margin: 0;
223223
padding: 0;
@@ -266,6 +266,7 @@
266266

267267
&.active {
268268
.group-title {
269+
269270
:before {
270271
content: @icon-caret-up__content;
271272
}

app/code/Magento/PageBuilder/view/adminhtml/web/css/source/_var.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// */
55

66
//
7-
// PageBuilder CMS {less} variables
7+
// PageBuilder CMS less variables
88
// _____________________________________________
99

1010
//

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// */
55

66
//
7-
// _import imports all content types {less} files
7+
// _import imports all content types less files
88
// _____________________________________________
99

1010
@import '_preview.less';

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191

9292
&.pagebuilder-abstract {
9393
background: @entityColor;
94-
color: white;
94+
color: #ffffff;
9595
text-align: center;
9696

9797
i {
@@ -104,7 +104,7 @@
104104
}
105105

106106
* {
107-
color: white;
107+
color: #ffffff;
108108
}
109109
}
110110

@@ -411,7 +411,7 @@
411411
}
412412

413413
.pagebuilder-options-links {
414-
background: white;
414+
background: #ffffff;
415415
display: flex;
416416
list-style: none;
417417
margin: 0;
@@ -598,7 +598,7 @@
598598
display: inline-block;
599599

600600
a {
601-
color: white;
601+
color: #ffffff;
602602
display: block;
603603
font-size: 13px;
604604
line-height: 42px;

0 commit comments

Comments
 (0)