Skip to content

Commit 840a62b

Browse files
Fixes white color coding standard.
1 parent ff04f26 commit 840a62b

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
}
@@ -789,7 +789,7 @@
789789
border-radius: 1px;
790790
padding: 4px;
791791
color: #303030;
792-
background-color: #fff;
792+
background-color: @color-white;
793793
font-weight: 500;
794794
font-size: 14px;
795795
height: 33px;
@@ -863,7 +863,7 @@
863863
input[type="radio"],
864864
input[type="checkbox"] {
865865
.lib-css(appearance, none, 1);
866-
background: #fff;
866+
background: @color-white;
867867
border-radius: 2px;
868868
border: 1px solid #adadad;
869869
cursor: pointer;
@@ -948,7 +948,7 @@
948948
}
949949

950950
select[disabled] option[selected] {
951-
color: #fff;
951+
color: @color-white;
952952
background: #aaa;
953953
}
954954

@@ -1160,7 +1160,7 @@
11601160

11611161
.fieldset-wrapper,
11621162
.fieldset {
1163-
background: #fff;
1163+
background: @color-white;
11641164
border: 0;
11651165
margin: 0;
11661166
padding: 5px 0 38px;
@@ -1578,7 +1578,7 @@
15781578

15791579
.multiselect-alt .item {
15801580
position: relative;
1581-
border-top: 1px solid #fff;
1581+
border-top: 1px solid @color-white;
15821582
cursor: pointer;
15831583
}
15841584

@@ -1655,7 +1655,7 @@
16551655

16561656
~ .addafter strong {
16571657
display: inline-block;
1658-
background: #fff;
1658+
background: @color-white;
16591659
line-height: 24px;
16601660
margin: 0 3px 0 0;
16611661
padding-left: 4px;
@@ -2045,7 +2045,7 @@
20452045
&:before {
20462046
position: absolute;
20472047
content: "";
2048-
background-color: #fff;
2048+
background-color: @color-white;
20492049
right: 0;
20502050
top: 0;
20512051
bottom: 0;
@@ -2302,7 +2302,7 @@
23022302
// --------------------------------------
23032303

23042304
.preview-window {
2305-
background: #fff;
2305+
background: @color-white;
23062306
}
23072307

23082308
.preview-window .toolbar {
@@ -2462,7 +2462,7 @@
24622462
}
24632463

24642464
.attribute-popup .page-actions.fixed .page-actions-inner {
2465-
background: #fff;
2465+
background: @color-white;
24662466
padding: 0;
24672467
min-width: 100%;
24682468
max-width: 100%;
@@ -2761,7 +2761,7 @@
27612761
border: 1px solid #c9c2b8;
27622762
border-width: 0 0 1px;
27632763
padding: 6px 10px 7px;
2764-
background: #fff;
2764+
background: @color-white;
27652765
.style2();
27662766

27672767
span {
@@ -2773,7 +2773,7 @@
27732773
td {
27742774
border: none;
27752775
padding: 6px 10px 7px;
2776-
background: #fff;
2776+
background: @color-white;
27772777
}
27782778

27792779
tr:last-child td {
@@ -2862,7 +2862,7 @@
28622862

28632863
.table-fieldset-alt tbody tr:nth-child(odd) td,
28642864
.table-fieldset-alt tbody tr:nth-child(odd):hover td {
2865-
background: #fff;
2865+
background: @color-white;
28662866
}
28672867

28682868
//
@@ -2922,7 +2922,7 @@
29222922
}
29232923

29242924
.order-details-existing-customer {
2925-
background: #fff;
2925+
background: @color-white;
29262926
padding-left: 0;
29272927
position: relative;
29282928
width: 77.9%;
@@ -3039,7 +3039,7 @@
30393039
}
30403040

30413041
.gift-options-tooltip {
3042-
background: #fff;
3042+
background: @color-white;
30433043
border-radius: 5px;
30443044
padding: 10px;
30453045
box-shadow: 0 0 3px rgba(0, 0, 0, .3);
@@ -3198,7 +3198,7 @@
31983198
left: 0;
31993199
margin: 0 8px;
32003200
padding: 10px;
3201-
background: #fff;
3201+
background: @color-white;
32023202
}
32033203
}
32043204

@@ -3390,7 +3390,7 @@
33903390

33913391
.rma-popup,
33923392
.cms-popup {
3393-
background: #fff;
3393+
background: @color-white;
33943394
box-shadow: 0 3px 6px rgba(0, 0, 0, .4);
33953395
cursor: default;
33963396
position: fixed;
@@ -3414,7 +3414,7 @@
34143414
}
34153415

34163416
.rma-popup .content {
3417-
background: #fff;
3417+
background: @color-white;
34183418
border-bottom: 1px solid #ccc;
34193419
max-height: 400px;
34203420
overflow: auto;
@@ -3471,7 +3471,7 @@
34713471
.grid .rma-popup .form-list tr,
34723472
.grid tr.even .rma-popup .form-list tr,
34733473
.grid tr.on-mouse .rma-popup .form-list tr {
3474-
background: #fff !important;
3474+
background: @color-white !important;
34753475
}
34763476

34773477
//
@@ -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)