Skip to content

Commit d69054c

Browse files
author
Momotenko,Natalia(nmomotenko)
committed
Merge pull request #158 from magento-webdev/UI
[UI] Bug fixes
2 parents 051fc59 + 7264538 commit d69054c

File tree

122 files changed

+543
-11323
lines changed

Some content is hidden

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

122 files changed

+543
-11323
lines changed

Gruntfile.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,14 @@ module.exports = function (grunt) {
6060
'less:luma',
6161
'less:backend'
6262
],
63-
63+
/**
64+
* Styles for backend theme
65+
*/
66+
backend: [
67+
'less:backend',
68+
'replace:escapeCalc',
69+
'less:override'
70+
],
6471
/**
6572
* Documentation
6673
*/

app/code/Magento/Tax/view/adminhtml/templates/rate/form.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// @codingStandardsIgnoreFile
88

99
?>
10-
<div class="entry-edit">
10+
<div class="entry-edit form-inline">
1111
<?php echo $block->getFormHtml() ?>
1212
</div>
1313
<?php echo $block->getChildHtml('form_after');?>

app/code/Magento/Tax/view/adminhtml/templates/rule/rate/form.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
/* @var $block \Magento\Tax\Block\Adminhtml\Rate\Form */
77
?>
8-
<div id="<?php echo $block->getNameInLayout() ?>" style="display:none">
8+
<div class="form-inline" id="<?php echo $block->getNameInLayout() ?>" style="display:none">
99
<?php echo $block->getFormHtml();?>
1010
<?php echo $block->getChildHtml('form_after');?>
1111
</div>

app/code/Magento/Ui/view/base/web/templates/massaction.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,10 @@
88
<button title="Actions" class="action-default scalable add" data-bind="click: onToggle('actionsVisible')">
99
<span data-bind="text: $t('Actions')"></span>
1010
</button>
11-
<button title="" class="action-toggle scalable add" data-toggle="dropdown" data-bind="click: onToggle('actionsVisible'), css: {active: actionsVisible}">
12-
<span>|</span>
11+
<button title="" class="action-toggle scalable add" data-toggle="dropdown" data-bind="click: onToggle('actionsVisible'), css: {active: actionsVisible}">
12+
<span data-bind="text: $t('Select')"></span>
1313
</button>
14-
1514
<ul class="dropdown-menu" data-bind="css: {'active': actionsVisible}, foreach: {data: actions, as: 'action'}">
1615
<li data-bind="click: $parent.setAction(action)"><span class="item" data-bind="text: label"></span></li>
1716
</ul>
18-
</div>
17+
</div>

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
// Crosspage components
88
// _____________________________________________
99

10-
@import 'module/_menu';
11-
@import 'module/_header';
12-
@import 'module/_footer';
13-
@import 'module/_main';
10+
@import 'module/_menu.less';
11+
@import 'module/_header.less';
12+
@import 'module/_footer.less';
13+
@import 'module/_main.less';
1414

1515
//
1616
// Pages
1717
// _____________________________________________
1818

19-
@import 'module/pages/_dashboard';
19+
@import 'module/pages/_dashboard.less';

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
// Components
1212
// ---------------------------------------------
1313

14-
@import 'header/_actions-group';
15-
@import 'header/_headings-group';
14+
@import 'header/_actions-group.less';
15+
@import 'header/_headings-group.less';
1616

1717
// Variables
1818
// ---------------------------------------------

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
// Components
1212
// ---------------------------------------------
1313

14-
@import 'main/_actions-bar';
14+
@import 'main/_actions-bar.less';

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,13 +234,14 @@
234234
.parent {
235235
margin-bottom: 4.5rem;
236236
// Section title
237-
// ToDo UI: Should be not a link, strong instead and have a classname
238-
> a {
237+
> a, // ToDo UI: Should be deleted after template changes a -> strong.submenu-group-title
238+
.submenu-group-title {
239239
color: @submenu-section-label__color;
240240
display: block;
241241
font-size: 1.6rem;
242242
font-weight: @font-weight__semibold;
243243
margin-bottom: .7rem;
244+
padding: 1.25rem @submenu__padding-horizontal;
244245
pointer-events: none;
245246
}
246247
}

app/design/adminhtml/Magento/backend/Magento_Backend/web/css/source/module/header/_actions-group.less

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
// Components
1212
// ---------------------------------------------
1313

14-
@import 'actions-group/_user';
15-
@import 'actions-group/_search';
16-
@import 'actions-group/_notifications';
14+
@import 'actions-group/_user.less';
15+
@import 'actions-group/_search.less';
16+
@import 'actions-group/_notifications.less';
1717

1818
//
1919
// Variables

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// Components
1313
// ---------------------------------------------
1414

15-
@import 'actions_bar/_store-switcher';
15+
@import 'actions_bar/_store-switcher.less';
1616

1717
//
1818
// Variables

0 commit comments

Comments
 (0)