Skip to content

Commit f61d146

Browse files
author
Natalia Momotenko
committed
Merge remote-tracking branch 'webdev/MAGETWO-53533' into MAGETWO-53533
2 parents 0a03ae5 + 98e7c4c commit f61d146

File tree

1 file changed

+73
-0
lines changed
  • app/design/adminhtml/Magento/backend/Magento_GiftWrapping/web/css/source

1 file changed

+73
-0
lines changed

app/design/adminhtml/Magento/backend/Magento_GiftWrapping/web/css/source/_module.less

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,76 @@
8282
}
8383
}
8484
}
85+
86+
//
87+
// Stores -> Other Settings -> Gift wrapping (create/edit)
88+
// _____________________________________________
89+
// TODO UI: remove after page build on ui-components
90+
91+
[class*='adminhtml-giftwrapping-'] {
92+
.field-base_price {
93+
.admin__field-control {
94+
max-width: @field-size__s;
95+
}
96+
97+
.admin__control-addon {
98+
> .addafter {
99+
&:extend(.admin__addon-prefix all);
100+
.lib-vendor-prefix-flex-basis(auto);
101+
.lib-vendor-prefix-flex-grow(0);
102+
.lib-vendor-prefix-flex-shrink(0);
103+
position: relative;
104+
z-index: 1;
105+
}
106+
107+
[class*='admin__control-'][class] {
108+
& ~ .addafter:last-child {
109+
padding-left: 1rem;
110+
position: static !important;
111+
z-index: 0;
112+
113+
> * {
114+
position: relative;
115+
vertical-align: top;
116+
z-index: 1;
117+
}
118+
}
119+
120+
& ~ .addafter:last-child:before {
121+
&:extend(.abs-form-control-pattern);
122+
bottom: 0;
123+
box-sizing: border-box;
124+
content: '';
125+
left: 0;
126+
position: absolute;
127+
top: 0;
128+
width: 100%;
129+
z-index: -1;
130+
}
131+
132+
&[disabled] ~ .addafter:last-child:before {
133+
&:extend(.abs-form-control-pattern[disabled]);
134+
}
135+
136+
&:focus ~ .addafter:last-child:before {
137+
&:extend(.abs-form-control-pattern:focus);
138+
}
139+
140+
&:hover ~ .addafter:last-child:before {
141+
&:extend(.abs-form-control-pattern:hover);
142+
}
143+
}
144+
}
145+
}
146+
147+
.field-image {
148+
.admin__field-control {
149+
padding-top: .8rem;
150+
151+
> a {
152+
display: inline-block;
153+
vertical-align: middle;
154+
}
155+
}
156+
}
157+
}

0 commit comments

Comments
 (0)