Skip to content

Commit 7249291

Browse files
committed
MAGETWO-40722: Rename lib mixins using "mixin-" prefix
1 parent 35e5bab commit 7249291

File tree

89 files changed

+2506
-2660
lines changed

Some content is hidden

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

89 files changed

+2506
-2660
lines changed

app/design/adminhtml/Magento/backend/Magento_Backend/web/css/source/module/main/_actions-bar.less

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
&.action-back {
7373
// ToDo UI: Should be changed to ._back
7474
float: left;
75-
.vendor-prefix-order(-1);
75+
.mixin-vendor-prefix-order(-1);
7676
&:before {
7777
&:extend(.abs-icon all);
7878
content: @icon-back-arrow__content;
@@ -86,24 +86,24 @@
8686
// ToDo UI: Should be changed to .action-primary
8787
&:extend(.abs-action-primary all);
8888
&:extend(.abs-action-l all);
89-
.vendor-prefix-order(2);
89+
.mixin-vendor-prefix-order(2);
9090
}
9191
&.save {
9292
// ToDo UI: Should be changed to ._save
9393
&:not(.primary) {
94-
.vendor-prefix-order(1);
94+
.mixin-vendor-prefix-order(1);
9595
}
9696
}
9797
&.delete {
9898
// ToDo UI: Should be changed to ._delete
99-
.vendor-prefix-order(-1);
99+
.mixin-vendor-prefix-order(-1);
100100
}
101101
}
102102
.actions-split {
103103
&:extend(.abs-actions-split-xl all);
104104
float: right;
105105
margin-left: @_page-action__indent;
106-
.vendor-prefix-order(2);
106+
.mixin-vendor-prefix-order(2);
107107
.dropdown-menu {
108108
.item {
109109
display: block;
@@ -115,7 +115,7 @@
115115
.page-actions-buttons {
116116
float: right;
117117
justify-content: flex-end;
118-
.vendor-prefix-display(flex);
118+
.mixin-vendor-prefix-display(flex);
119119
.customer-index-edit & {
120120
background-color: transparent;
121121
}

app/design/adminhtml/Magento/backend/Magento_Backend/web/css/source/module/main/_page-nav.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@
282282
z-index: 2;
283283
&:after,
284284
&:before {
285-
.arrow(
285+
.mixin-arrow(
286286
@_position: down,
287287
@_size: 15px,
288288
@_color: @admin__page-nav-tooltip__background

app/design/adminhtml/Magento/backend/Magento_Backend/web/css/source/module/main/actions-bar/_store-switcher.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@
217217
font-size: 1.7rem;
218218
}
219219
span {
220-
.visually-hidden();
220+
.mixin-visually-hidden();
221221
}
222222
}
223223
a {

app/design/adminhtml/Magento/backend/Magento_Backend/web/css/source/module/pages/_dashboard.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
margin-bottom: 0;
170170
position: relative;
171171
&:before {
172-
.background-gradient(
172+
.mixin-background-gradient(
173173
@_background-gradient: true,
174174
@_background-gradient-direction: horizontal,
175175
@_background-gradient-color-start: rgba(255,255,255,0),

app/design/adminhtml/Magento/backend/Magento_Backend/web/css/source/module/pages/_login.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@
2626
// Login box
2727
.page-layout-admin-login {
2828
align-items: center;
29-
.vendor-prefix-display(flex);
29+
.mixin-vendor-prefix-display(flex);
3030
background-color: @login-page__background-color;
3131
padding: 2rem 0 20rem;
3232
.page-wrapper {
33-
.vendor-prefix-flex-shrink(0);
34-
.vendor-prefix-flex-grow(0);
33+
.mixin-vendor-prefix-flex-shrink(0);
34+
.mixin-vendor-prefix-flex-grow(0);
3535
background-color: @login-box__background-color;
3636
border: @login-box__border;
3737
box-shadow: @login-box__shadow;

app/design/adminhtml/Magento/backend/Magento_ConfigurableProduct/web/css/source/module.less

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

66
.product-actions {
7-
.clearfix();
7+
.mixin-clearfix();
88
.switcher {
99
float: right;
1010
}

app/design/adminhtml/Magento/backend/Magento_ConfigurableProduct/web/css/source/module/components/navigation-bar/_navigation-bar.less

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

8686
// Progress line tunnel
8787
&:before {
88-
.background-gradient( @_background-gradient: true, @_background-gradient-direction: vertical, @_background-gradient-color-start: @color-gray82, @_background-gradient-color-end: @color-gray83 );
88+
.mixin-background-gradient( @_background-gradient: true, @_background-gradient-direction: vertical, @_background-gradient-color-start: @color-gray82, @_background-gradient-color-end: @color-gray83 );
8989
border-bottom: 1px solid @nav-bar-bullet-wrap__border-bottom-color;
9090
border-top: 1px solid @nav-bar-bullet-wrap__border-top-color;
9191
content: '';

app/design/adminhtml/Magento/backend/Magento_Ui/web/css/source/module.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
.pager {
167167
text-align: left;
168168
padding-bottom: 10px;
169-
.clearfix();
169+
.mixin-clearfix();
170170
[data-part=left] {
171171
display: inline-block;
172172
width: 45%;
@@ -208,7 +208,7 @@
208208
text-align: center;
209209
}
210210
.actions-split {
211-
.clearfix();
211+
.mixin-clearfix();
212212
display: inline-block;
213213
position: relative;
214214
z-index: 100;
@@ -257,7 +257,7 @@
257257
}
258258
}
259259
> span {
260-
.visually-hidden();
260+
.mixin-visually-hidden();
261261
}
262262
}
263263
}

app/design/adminhtml/Magento/backend/web/app/setup/styles/less/components/_navigation-bar.less

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

9393
// Progress line tunnel
9494
&:before {
95-
.background-gradient( @_background-gradient: true, @_background-gradient-direction: vertical, @_background-gradient-color-start: @color-gray82, @_background-gradient-color-end: @color-gray83 );
95+
.mixin-background-gradient( @_background-gradient: true, @_background-gradient-direction: vertical, @_background-gradient-color-start: @color-gray82, @_background-gradient-color-end: @color-gray83 );
9696
border-bottom: 1px solid @nav-bar-bullet-wrap__border-bottom-color;
9797
border-top: 1px solid @nav-bar-bullet-wrap__border-top-color;
9898
content: '';

app/design/adminhtml/Magento/backend/web/app/setup/styles/less/lib/_buttons.less

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
color: @btn-prime__color;
103103
text-shadow: 1px 1px 0 rgba(0, 0, 0, .25);
104104
&:hover {
105-
.background-gradient(
105+
.mixin-background-gradient(
106106
@_background-gradient: true,
107107
@_background-gradient-direction: horizontal,
108108
@_background-gradient-color-start: @btn-prime__color-gradient-start,
@@ -111,7 +111,7 @@
111111
color: @btn-prime__color;
112112
}
113113
&:active {
114-
.background-gradient(
114+
.mixin-background-gradient(
115115
@_background-gradient: true,
116116
@_background-gradient-direction: horizontal,
117117
@_background-gradient-color-start: @btn-prime__color-gradient-end,

0 commit comments

Comments
 (0)