Skip to content

Commit a4faad0

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

File tree

29 files changed

+241
-157
lines changed

29 files changed

+241
-157
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,12 @@
33
// * See COPYING.txt for license details.
44
// */
55

6+
@black: #000;
7+
68
[data-role='modal'] {
79
.action-pagebuilder-cancel,
810
.action-pagebuilder-cancel:hover {
9-
color: #000000;
11+
color: @black;
1012
}
1113

1214
.pagebuilder-modal-content-body li {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
[class^='icon-pagebuilder-'],
2222
[class*=' icon-pagebuilder-'] {
2323
/* Better Font Rendering =========== */
24-
-webkit-font-smoothing: antialiased;
2524
-moz-osx-font-smoothing: grayscale;
25+
-webkit-font-smoothing: antialiased;
2626
/* use !important to prevent issues with browser extensions that change fonts */
2727
font-family: @icon_font !important;
2828
font-style: normal;

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

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

66
@border-size: 2px;
7+
@white: #fff;
78

89
.pagebuilder-header {
910
text-align: right;
@@ -20,7 +21,7 @@
2021

2122
.pagebuilder-stage-wrapper {
2223
&.stage-full-screen {
23-
background: #ffffff;
24+
background: @white;
2425
height: 100%;
2526
left: 0;
2627
overflow: scroll;
@@ -38,37 +39,37 @@
3839
width: 100%;
3940

4041
.pagebuilder-add-row {
41-
-webkit-border-radius: 5px;
4242
-moz-border-radius: 5px;
43-
background: @rowColor;
43+
-webkit-border-radius: 5px;
44+
background: @row-color;
4445
border-radius: 5px;
45-
color: #ffffff;
46+
color: @white;
4647
display: inline-block;
4748
font-size: 26px;
4849
height: 50px;
4950
line-height: 50px;
5051
width: 50px;
5152

5253
&:hover {
53-
background: darken(@rowColor, 15%);
54+
background: darken(@row-color, 15%);
5455
}
5556
}
5657
}
5758

5859
.pagebuilder-stage {
59-
-webkit-user-select: none; /* Chrome/Safari */
6060
-moz-user-select: none; /* Firefox */
6161
-ms-user-select: none; /* IE10+ */
6262
/* Rules below not implemented in browsers yet */
6363
-o-user-select: none;
64+
-webkit-user-select: none; /* Chrome/Safari */
6465
font-size: 0;
6566
margin-left: 170px; // temp
6667
min-height: 200px;
6768
padding: 0 0 60px; // 60px to include the add row button
6869
user-select: none;
6970

7071
&.stage-full-screen {
71-
background: #000000;
72+
background: @black;
7273
}
7374

7475
&.pagebuilder-no-user-select {

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

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@
5454
top: 0;
5555

5656
a {
57-
-webkit-border-bottom-right-radius: 2px;
5857
-moz-border-radius-bottomright: 2px;
5958
-moz-border-radius-topright: 2px;
59+
-webkit-border-bottom-right-radius: 2px;
6060
-webkit-border-top-right-radius: 2px;
6161
background: @color-very-dark-grayish-orange;
6262
border-bottom-right-radius: 2px;
@@ -80,15 +80,15 @@
8080
}
8181

8282
.pagebuilder-panel {
83-
background: @color-very-dark-grayish-orange;
84-
-webkit-transition: .4s;
8583
-moz-transition: .4s;
86-
transition: .4s;
87-
-webkit-user-select: none; /* Chrome/Safari */
8884
-moz-user-select: none; /* Firefox */
8985
-ms-user-select: none; /* IE10+ */
9086
/* Rules below not implemented in browsers yet */
9187
-o-user-select: none;
88+
-webkit-transition: .4s;
89+
-webkit-user-select: none; /* Chrome/Safari */
90+
background: @color-very-dark-grayish-orange;
91+
transition: .4s;
9292
user-select: none;
9393

9494
.search-results-empty {
@@ -102,10 +102,10 @@
102102
position: relative;
103103

104104
label {
105+
-webkit-font-smoothing: antialiased;
105106
color: @color-gray65-lighten;
106107
font-family: @icons-admin__font-name;
107108
font-size: 1.5rem;
108-
-webkit-font-smoothing: antialiased;
109109
font-style: normal;
110110
font-weight: normal;
111111
left: 12px;
@@ -266,8 +266,7 @@
266266

267267
&.active {
268268
.group-title {
269-
270-
:before {
269+
&::before {
271270
content: @icon-caret-up__content;
272271
}
273272
h4 {

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

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@
1414
@theme_color_1: #779ecb;
1515
@theme_color_2: #5284bd;
1616
@error_color: #df504d;
17-
@dropColor: #244f72;
17+
@drop-color: #244f72;
1818
@border_color: #d0d0d0;
1919
@light_grey: #f5f5f5;
20-
@panelColor: #2b2625;
21-
@iconColor: #6d6361;
22-
@iconColorHover: #f8f3eb;
23-
@iconColorBackgroundHover: #534d49;
24-
@configureColor: #f9f9f9;
25-
@confirgureColorDark: #dcdcdc;
26-
@configureTextColor: darken(@panelColor, 5%);
27-
@rowColor: #3370b5;
28-
@columnColor: #28b78c;
29-
@entityColor: #243743;
30-
@textColor: #545454;
31-
@entityBackgroundColor: #7e7e7e;
20+
@panel-color: #2b2625;
21+
@icon-color: #6d6361;
22+
@icon-color-hover: #f8f3eb;
23+
@icon-color-background-hover: #534d49;
24+
@configure-color: #f9f9f9;
25+
@configure-color-dark: #dcdcdc;
26+
@configure-text-color: darken(@panel-color, 5%);
27+
@row-color: #3370b5;
28+
@column-color: #28b78c;
29+
@entity-color: #243743;
30+
@text-color: #545454;
31+
@entity-background-color: #7e7e7e;
3232

3333
//
3434
// Fonts
@@ -41,16 +41,16 @@
4141
// Layout Variables
4242
// ---------------------------------------------
4343

44-
@logoWidth: 150px;
45-
@logoHeight: 40px;
46-
@geneLogoWidth: 67px;
47-
@geneLogoHeight: 30px;
48-
@sidebarWidth: 650px;
49-
@optionHeight: 32px;
50-
@commonHeight: 32px;
51-
@largeHeight: 50px;
52-
@panelWidth: 260px;
44+
@logo-width: 150px;
45+
@logo-height: 40px;
46+
@gene-logo-width: 67px;
47+
@gene-logo-height: 30px;
48+
@sidebar-width: 650px;
49+
@option-height: 32px;
50+
@common-height: 32px;
51+
@large-height: 50px;
52+
@panel-width: 260px;
5353
@margin: 20px;
54-
@tabSize: 80px;
55-
@borderWidth: 2px;
56-
@entityBorderWidth: 1px;
54+
@tab-size: 80px;
55+
@border-width: 2px;
56+
@entity-border-width: 1px;

0 commit comments

Comments
 (0)