Skip to content

Commit 8a1e511

Browse files
author
Stanislav Idolov
authored
ENGCOM-2474: [Forwardport] Fixes white color coding standard. #17014
2 parents 7046269 + 9059aa7 commit 8a1e511

File tree

10 files changed

+45
-45
lines changed

10 files changed

+45
-45
lines changed

app/design/adminhtml/Magento/backend/Magento_Backend/web/css/source/_module-old.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
display: inline-block;
1515
vertical-align: top;
1616
width: 100%;
17-
background-color: #fff;
17+
background-color: @color-white;
1818
border: 1px solid #ada89e;
1919
border-radius: 2px;
2020

@@ -72,7 +72,7 @@
7272
top: 100%;
7373
margin: 1px -1px 0 -1px;
7474
border: 1px solid #cac2b5;
75-
background: #fff;
75+
background: @color-white;
7676
box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
7777
z-index: 990;
7878

@@ -229,7 +229,7 @@
229229

230230
> input.ui-autocomplete-loading,
231231
> input.mage-suggest-state-loading {
232-
background: #fff url("@{baseDir}mui/images/ajax-loader-small.gif") no-repeat 190px 50%;
232+
background: @color-white url("@{baseDir}mui/images/ajax-loader-small.gif") no-repeat 190px 50%;
233233
}
234234
}
235235

app/design/adminhtml/Magento/backend/Magento_Catalog/web/css/source/_module-old.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
}
5454

5555
.attribute-change-checkbox {
56-
background: #fff;
56+
background: @color-white;
5757
display: block;
5858
margin-top: 5px;
5959

app/design/adminhtml/Magento/backend/Magento_ConfigurableProduct/web/css/source/_module-old.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
);
1717

1818
.action.toggle {
19-
background: #fff;
19+
background: @color-white;
2020
border-radius: 0 1px 1px 0;
2121
border: 1px solid #ada89e;
2222
height: 33px;
@@ -58,7 +58,7 @@
5858
.action.toggle {
5959
padding: 0 3px;
6060
border: 1px solid #b7b2a7;
61-
background: #fff;
61+
background: @color-white;
6262
border-radius: 0 1px 1px 0;
6363
border-left: none;
6464
height: 50px;
@@ -121,7 +121,7 @@
121121
width: auto;
122122

123123
.addafter {
124-
background: #fff;
124+
background: @color-white;
125125
border-width: 1px 0 1px 1px;
126126
direction: ltr;
127127
height: 33px;

app/design/adminhtml/Magento/backend/Magento_Enterprise/web/css/source/_module-old.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@
299299
.invitee_information .data-table tbody tr th,
300300
.inviter_information .data-table tbody tr td,
301301
.inviter_information .data-table tbody tr th {
302-
background-color: #fff;
302+
background-color: @color-white;
303303
border: 0;
304304
color: #666;
305305
padding: 9px 10px 10px;

app/design/adminhtml/Magento/backend/Magento_Ui/web/css/source/_module-old.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878

7979
&.ui-state-active {
8080
z-index: 2;
81-
background: #FFF;
81+
background: @color-white;
8282
padding: 1px (@spacing-m - 1px);
8383
border: 2px solid #eb5202;
8484
margin: -1px;

app/design/adminhtml/Magento/backend/web/css/styles-old.less

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@
525525
right: 0;
526526
top: 100%;
527527
border: 1px solid #cac2b5;
528-
background: #fff;
528+
background: @color-white;
529529
box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
530530
z-index: 990;
531531
}
@@ -786,7 +786,7 @@
786786
border-radius: 1px;
787787
padding: 4px;
788788
color: #303030;
789-
background-color: #fff;
789+
background-color: @color-white;
790790
font-weight: 500;
791791
font-size: 14px;
792792
height: 33px;
@@ -860,7 +860,7 @@
860860
input[type="radio"],
861861
input[type="checkbox"] {
862862
.lib-css(appearance, none, 1);
863-
background: #fff;
863+
background: @color-white;
864864
border-radius: 2px;
865865
border: 1px solid #adadad;
866866
cursor: pointer;
@@ -945,7 +945,7 @@
945945
}
946946

947947
select[disabled] option[selected] {
948-
color: #fff;
948+
color: @color-white;
949949
background: #aaa;
950950
}
951951

@@ -1157,7 +1157,7 @@
11571157

11581158
.fieldset-wrapper,
11591159
.fieldset {
1160-
background: #fff;
1160+
background: @color-white;
11611161
border: 0;
11621162
margin: 0;
11631163
padding: 5px 0 38px;
@@ -1574,7 +1574,7 @@
15741574

15751575
.multiselect-alt .item {
15761576
position: relative;
1577-
border-top: 1px solid #fff;
1577+
border-top: 1px solid @color-white;
15781578
cursor: pointer;
15791579
}
15801580

@@ -1651,7 +1651,7 @@
16511651

16521652
~ .addafter strong {
16531653
display: inline-block;
1654-
background: #fff;
1654+
background: @color-white;
16551655
line-height: 24px;
16561656
margin: 0 3px 0 0;
16571657
padding-left: 4px;
@@ -2041,7 +2041,7 @@
20412041
&:before {
20422042
position: absolute;
20432043
content: "";
2044-
background-color: #fff;
2044+
background-color: @color-white;
20452045
right: 0;
20462046
top: 0;
20472047
bottom: 0;
@@ -2298,7 +2298,7 @@
22982298
// --------------------------------------
22992299

23002300
.preview-window {
2301-
background: #fff;
2301+
background: @color-white;
23022302
}
23032303

23042304
.preview-window .toolbar {
@@ -2458,7 +2458,7 @@
24582458
}
24592459

24602460
.attribute-popup .page-actions.fixed .page-actions-inner {
2461-
background: #fff;
2461+
background: @color-white;
24622462
padding: 0;
24632463
min-width: 100%;
24642464
max-width: 100%;
@@ -2757,7 +2757,7 @@
27572757
border: 1px solid #c9c2b8;
27582758
border-width: 0 0 1px;
27592759
padding: 6px 10px 7px;
2760-
background: #fff;
2760+
background: @color-white;
27612761
.style2();
27622762

27632763
span {
@@ -2769,7 +2769,7 @@
27692769
td {
27702770
border: none;
27712771
padding: 6px 10px 7px;
2772-
background: #fff;
2772+
background: @color-white;
27732773
}
27742774

27752775
tr:last-child td {
@@ -2858,7 +2858,7 @@
28582858

28592859
.table-fieldset-alt tbody tr:nth-child(odd) td,
28602860
.table-fieldset-alt tbody tr:nth-child(odd):hover td {
2861-
background: #fff;
2861+
background: @color-white;
28622862
}
28632863

28642864
//
@@ -2918,7 +2918,7 @@
29182918
}
29192919

29202920
.order-details-existing-customer {
2921-
background: #fff;
2921+
background: @color-white;
29222922
padding-left: 0;
29232923
position: relative;
29242924
width: 77.9%;
@@ -3035,7 +3035,7 @@
30353035
}
30363036

30373037
.gift-options-tooltip {
3038-
background: #fff;
3038+
background: @color-white;
30393039
border-radius: 5px;
30403040
padding: 10px;
30413041
box-shadow: 0 0 3px rgba(0, 0, 0, .3);
@@ -3194,7 +3194,7 @@
31943194
left: 0;
31953195
margin: 0 8px;
31963196
padding: 10px;
3197-
background: #fff;
3197+
background: @color-white;
31983198
}
31993199
}
32003200

@@ -3386,7 +3386,7 @@
33863386

33873387
.rma-popup,
33883388
.cms-popup {
3389-
background: #fff;
3389+
background: @color-white;
33903390
box-shadow: 0 3px 6px rgba(0, 0, 0, .4);
33913391
cursor: default;
33923392
position: fixed;
@@ -3410,7 +3410,7 @@
34103410
}
34113411

34123412
.rma-popup .content {
3413-
background: #fff;
3413+
background: @color-white;
34143414
border-bottom: 1px solid #ccc;
34153415
max-height: 400px;
34163416
overflow: auto;
@@ -3467,7 +3467,7 @@
34673467
.grid .rma-popup .form-list tr,
34683468
.grid tr.even .rma-popup .form-list tr,
34693469
.grid tr.on-mouse .rma-popup .form-list tr {
3470-
background: #fff !important;
3470+
background: @color-white !important;
34713471
}
34723472

34733473
//
@@ -3885,7 +3885,7 @@
38853885
.defaultSkin {
38863886
table.mceLayout {
38873887
td {
3888-
background: #fff;
3888+
background: @color-white;
38893889
}
38903890
}
38913891

app/design/adminhtml/Magento/backend/web/mui/styles/_table.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ td.col-type {
360360
position: relative;
361361
border-bottom-right-radius: 0;
362362
box-shadow: none;
363-
background: #fff;
363+
background: @color-white;
364364

365365
&:after {
366366
position: absolute;
@@ -369,7 +369,7 @@ td.col-type {
369369
right: 0;
370370
height: 2px;
371371
margin-top: -1px;
372-
background: #fff;
372+
background: @color-white;
373373
content: '';
374374
z-index: 2;
375375
}

lib/web/css/docs/source/_buttons.less

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -524,10 +524,10 @@ button {
524524
}
525525
&.example-button-6 {
526526
.lib-button-s();
527-
color: #fff;
527+
color: @color-white;
528528
&:hover,
529529
&.active {
530-
color: #fff;
530+
color: @color-white;
531531
}
532532
}
533533
}
@@ -721,13 +721,13 @@ button {
721721
@_button-padding: @button__padding,
722722
@_button-gradient-color-start: #1979c3,
723723
@_button-gradient-color-end: #006bb4,
724-
@_button-color: #fff,
724+
@_button-color: @color-white,
725725
@_button-gradient-color-start-hover: #006bb4,
726726
@_button-gradient-color-end-hover: #1979c3,
727-
@_button-color-hover: #fff,
727+
@_button-color-hover: @color-white,
728728
@_button-gradient-color-start-active: #006bb4,
729729
@_button-gradient-color-end-active: #006bb4,
730-
@_button-color-active: #fff,
730+
@_button-color-active: @color-white,
731731
@_button-gradient: true,
732732
@_button-gradient-direction: vertical,
733733
@_button-border: @button-primary__border,

lib/web/css/docs/source/_pages.less

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -852,22 +852,22 @@
852852
.example-pages-3 {
853853
.lib-pager(
854854
@_pager-label-display: none,
855-
@_pager-color: #fff,
855+
@_pager-color: @color-white,
856856
@_pager-background: @link__color,
857-
@_pager-color-visited: #fff,
857+
@_pager-color-visited: @color-white,
858858
@_pager-background-visited: @link__visited__color,
859-
@_pager-color-hover: #fff,
859+
@_pager-color-hover: @color-white,
860860
@_pager-background-hover: @link__hover__color,
861-
@_pager-color-active: #fff,
861+
@_pager-color-active: @color-white,
862862
@_pager-background-active: @link__active__color,
863-
@_pager-current-color: #fff,
863+
@_pager-current-color: @color-white,
864864
@_pager-current-background: @link__visited__color,
865865
@_pager-action-background: @link__color,
866866
@_pager-action-background-visited: @link__visited__color,
867867
@_pager-action-background-hover: @link__hover__color,
868868
@_pager-action-background-active: @link__active__color,
869-
@_pager-action-color: #fff,
870-
@_pager-action-color-hover: #fff,
871-
@_pager-action-color-active: #fff
869+
@_pager-action-color: @color-white,
870+
@_pager-action-color-hover: @color-white,
871+
@_pager-action-color-active: @color-white
872872
);
873873
}

lib/web/css/docs/source/_tables.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@
677677
.example-table-5 {
678678
.lib-table();
679679
.lib-table-background-color(
680-
@_table-background-color: #fff,
680+
@_table-background-color: @color-white,
681681
@_table-head-background-color: #ccf,
682682
@_table-foot-background-color: #cff,
683683
@_table-td-background-color: #fcc,

0 commit comments

Comments
 (0)