Skip to content

Commit c6b58c4

Browse files
author
Tulika,Eugene(etulika)
committed
Merge pull request #309 from magento-webdev/PR
[UI] Bugfix
2 parents 317d92b + 844f1d4 commit c6b58c4

File tree

13 files changed

+102
-58
lines changed

13 files changed

+102
-58
lines changed

app/code/Magento/Backend/view/adminhtml/templates/admin/login_buttons.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<div class="actions">
88
<button
99
<?php $block->getUiId(); ?>
10-
class="action-login action-primary"
10+
class="action-login action-primary">
1111
<span><?php echo __('Sign in')?></span>
1212
</button>
1313
</div>

app/code/Magento/ConfigurableProduct/view/adminhtml/web/product/product.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858

5959
#configurable-attributes-container .field-pricing-value .pricing-value {
6060
width: 100%;
61-
padding: 4px;
61+
padding: 4px 10px;
6262
border-right: none;
63-
border-radius: 4px 0 0 4px;
63+
border-radius: 1px 0 0 1px;
6464
}
6565

6666
/* "Generate Variations" button */

app/code/Magento/Shipping/view/frontend/templates/items.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<a href="<?php echo $block->getPrintShipmentUrl($_shipment) ?>"
2626
onclick="this.target='_blank'"
2727
class="action print">
28-
<span><?php echo __('Print Shipment') ?></span
28+
<span><?php echo __('Print Shipment') ?></span>
2929
</a>
3030
<a href="#"
3131
data-mage-init='{"popupWindow": {"windowURL":"<?php echo $this->helper('Magento\Shipping\Helper\Data')->getTrackingPopupUrlBySalesModel($_shipment) ?>","windowName":"trackshipment","width":800,"height":600,"top":0,"left":0,"resizable":1,"scrollbars":1}}'

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

Lines changed: 24 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424

2525
//
2626

27-
.page-main-actions,
28-
.page-actions.fixed {
27+
.page-main-actions:not(._hidden),
28+
.page-actions._fixed {
2929
.extend__clearfix();
3030
background: @page-main-actions__background-color;
3131
border-bottom: 1px solid @page-main-actions__border-color;
@@ -35,6 +35,11 @@
3535

3636
.page-main-actions {
3737
margin: 0 0 @indent__l;
38+
&._hidden {
39+
.store-switcher {
40+
display: none;
41+
}
42+
}
3843
}
3944

4045
//
@@ -44,21 +49,23 @@
4449
.page-actions {
4550
@_page-action__indent: 1.3rem;
4651
float: right;
47-
&.fixed {
48-
left: @page-wrapper__indent-left;
49-
position: fixed;
50-
right: 0;
51-
top: 0;
52-
z-index: @page-actions__fixed__z-index;
53-
.page-actions-inner {
54-
&:before {
55-
.text-overflow-ellipsis();
56-
color: @page-title__color;
57-
content: attr(data-title);
58-
float: left;
59-
font-size: @page-title__font-size;
60-
margin-top: .3rem;
61-
max-width: 50%;
52+
.page-main-actions & {
53+
&._fixed {
54+
left: @page-wrapper__indent-left;
55+
position: fixed;
56+
right: 0;
57+
top: 0;
58+
z-index: @page-actions__fixed__z-index;
59+
.page-actions-inner {
60+
&:before {
61+
.text-overflow-ellipsis();
62+
color: @page-title__color;
63+
content: attr(data-title);
64+
float: left;
65+
font-size: @page-title__font-size;
66+
margin-top: .3rem;
67+
max-width: 50%;
68+
}
6269
}
6370
}
6471
}

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

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

1818
.action.toggle {
19-
padding: 1px 8px;
20-
border: 1px solid #ada89e;
2119
background: #fff;
22-
border-radius: 0 2px 2px 0;
20+
border-radius: 0 1px 1px 0;
21+
border: 1px solid #ada89e;
2322
height: 33px;
23+
padding: 4px 5px;
24+
25+
> span {
26+
display: inline-block;
27+
padding-top: 3px;
28+
}
2429

2530
&:after {
2631
width: 14px;

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -906,6 +906,11 @@ input.no-display,
906906
}
907907
}
908908

909+
// Fix for jquery.jstree.js (checkboxes in admin__scope-old only)
910+
.jstree .jstree-real-checkbox {
911+
display: none;
912+
}
913+
909914
input[type="radio"] {
910915
border-radius: 8px;
911916
&:checked {

app/design/frontend/Magento/blank/Magento_Catalog/web/css/source/_module.less

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -204,13 +204,9 @@
204204
.product-reviews-summary .reviews-actions {
205205
.font-size(@font-size__base);
206206
}
207-
.product-options-wrapper {
208-
.field {
209-
.note {
210-
display: block;
211-
}
212-
}
213-
}
207+
}
208+
209+
.product-options-wrapper {
214210
.fieldset-product-options-inner {
215211
.legend {
216212
border: none;
@@ -237,10 +233,10 @@
237233
}
238234
}
239235
}
240-
.datetime-picker {
241-
+ .time-picker {
242-
.css(margin-left, @indent__xs);
243-
}
236+
}
237+
.field {
238+
.note {
239+
display: block;
244240
}
245241
}
246242
}

app/design/frontend/Magento/blank/web/css/source/_extends.less

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,7 +1017,14 @@
10171017
position: relative;
10181018
}
10191019
input {
1020-
margin-right: @indent__s;
1021-
width: calc(~"100% - (@{icon-calendar__font-size} + @{indent__s})");
1020+
&:extend(.abs-field-date-input);
10221021
}
10231022
}
1023+
1024+
//
1025+
// Form Field Date Input
1026+
//--------------------------------------
1027+
.abs-field-date-input {
1028+
margin-right: @indent__s;
1029+
width: calc(~"100% - (@{icon-calendar__font-size} + @{indent__s})");
1030+
}

app/design/frontend/Magento/blank/web/css/source/_forms.less

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,15 @@ fieldset.field {
6060
border: 0;
6161
padding: 0;
6262
}
63+
6364
.field {
6465
&.date {
6566
&:extend(.abs-field-date all);
67+
.time-picker {
68+
display: inline-block;
69+
margin-top: @indent__s;
70+
white-space: nowrap;
71+
}
6672
}
6773
}
6874

@@ -137,7 +143,8 @@ select:focus ~ .tooltip .tooltip-content {
137143
.legend {
138144
&:extend(.abs-margin-for-forms-desktop all);
139145
}
140-
> .field {
146+
> .field,
147+
> .fields > .field {
141148
.form-field-type-revert();
142149
margin: 0 0 @form-field__vertical-indent__desktop;
143150
}

app/design/frontend/Magento/luma/Magento_Catalog/web/css/source/_module.less

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -249,15 +249,9 @@
249249
margin-top: @form-field__vertical-indent;
250250
}
251251
}
252-
.product-options-wrapper {
253-
.field {
254-
.note {
255-
display: block;
256-
.css(margin-top, @indent__xs);
257-
}
258-
}
252+
}
259253

260-
}
254+
.product-options-wrapper {
261255
.fieldset-product-options-inner {
262256
.legend {
263257
border: none;
@@ -284,10 +278,11 @@
284278
}
285279
}
286280
}
287-
.datetime-picker {
288-
+ .time-picker {
289-
.css(margin-left, @indent__xs);
290-
}
281+
}
282+
.field {
283+
.note {
284+
display: block;
285+
.css(margin-top, @indent__xs);
291286
}
292287
}
293288
}

0 commit comments

Comments
 (0)