Skip to content

Commit 4734976

Browse files
author
Natalia Momotenko
committed
Merge remote-tracking branch 'origin/MAGETWO-38963' into PR-4
2 parents 4959ef3 + 4ae733a commit 4734976

File tree

3 files changed

+56
-54
lines changed

3 files changed

+56
-54
lines changed

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

Lines changed: 47 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -11,68 +11,69 @@
1111

1212
.block.filter {
1313
margin-bottom: @indent__xl ;
14-
.title {
14+
.filter-title {
1515
margin-bottom: @indent__base;
1616
strong {
1717
font-size: 18px;
1818
}
1919
}
20-
.subtitle {
21-
display: none;
20+
}
21+
.filter-subtitle {
22+
display: none;
23+
}
24+
25+
.filter-options-content {
26+
.filter-count-label {
27+
&:extend(.abs-visually-hidden all);
2228
}
23-
.filter-options-content {
24-
.filter-count-label {
25-
&:extend(.abs-visually-hidden all);
26-
}
29+
}
30+
.filter-options {
31+
margin: 0;
32+
> dt {
33+
.lib-heading(h4);
34+
margin: 0 0 @indent__s;
2735
}
28-
.options {
29-
margin: 0;
30-
> dt {
31-
.lib-heading(h4);
32-
margin: 0 0 @indent__s;
33-
}
34-
> dd {
35-
margin: 0 0 @indent__m;
36+
> dd {
37+
margin: 0 0 @indent__m;
3638

37-
.item {
38-
margin-bottom: 3px;
39-
}
39+
.item {
40+
margin-bottom: 3px;
4041
}
41-
.count {
42-
.lib-css(color, @text__color__muted);
43-
&:before {
44-
content: '(';
45-
}
46-
&:after {
47-
content: ')';
48-
}
42+
}
43+
.count {
44+
.lib-css(color, @text__color__muted);
45+
&:before {
46+
content: '(';
47+
}
48+
&:after {
49+
content: ')';
4950
}
5051
}
52+
}
53+
.items {
54+
&:extend(.abs-reset-list all);
55+
}
56+
.filtered {
5157
.items {
52-
&:extend(.abs-reset-list all);
58+
margin: 15px 0;
5359
}
54-
.filtered {
55-
.items {
56-
margin: 15px 0;
60+
.item {
61+
position: relative;
62+
padding-left: 22px;
63+
margin-bottom: 6px;
64+
.label {
65+
font-weight: @font-weight__bold;
5766
}
58-
.item {
59-
margin-bottom: 6px;
60-
padding-left: 22px;
61-
position: relative;
62-
.label {
63-
font-weight: @font-weight__bold;
64-
}
65-
.action.remove {
66-
&:extend(.abs-remove-button-for-blocks all);
67-
left: -6px;
68-
position: absolute;
69-
top: 0;
70-
}
71-
}
72-
& + .actions {
73-
margin-bottom: 35px;
67+
.action.remove {
68+
&:extend(.abs-remove-button-for-blocks all);
69+
position: absolute;
70+
left: -6px;
71+
top: 0;
7472
}
7573
}
74+
& + .actions {
75+
margin-bottom: 35px;
76+
}
7677
}
7778
}
7879

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

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,10 @@
102102
font-weight: @font-weight__semibold;
103103
margin: 0;
104104
overflow: hidden;
105-
padding: @indent__s 20px+@indent__s 0 @indent__s;
105+
padding: @indent__s 30px+@indent__s 0 @indent__s;
106106
position: relative;
107107
text-transform: uppercase;
108+
word-break: break-all;
108109
z-index: 1;
109110
.lib-icon-font(
110111
@_icon-font-content: @icon-down,
@@ -267,10 +268,10 @@
267268
text-transform: uppercase;
268269
z-index: 1;
269270
.lib-icon-font(
270-
@_icon-font-content: @icon-down,
271-
@_icon-font-size: 13px,
272-
@_icon-font-position: before,
273-
@_icon-font-display: block
271+
@_icon-font-content: @icon-down,
272+
@_icon-font-size: 13px,
273+
@_icon-font-position: before,
274+
@_icon-font-display: block
274275
);
275276
&:before {
276277
position: absolute;
@@ -288,8 +289,8 @@
288289
padding-bottom: 30px;
289290
.block-subtitle {
290291
.lib-icon-font-symbol(
291-
@_icon-font-content: @icon-up,
292-
@_icon-font-position: before
292+
@_icon-font-content: @icon-up,
293+
@_icon-font-position: before
293294
);
294295
}
295296
.items {

lib/internal/Magento/Framework/Component/ComponentRegistrar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static function register($type, $componentName, $path)
4848
if (isset(self::$paths[$type][$componentName])) {
4949
throw new \LogicException('\'' . $componentName . '\' component already exists');
5050
} else {
51-
self::$paths[$type][$componentName] = str_replace('\\', '/', $path);
51+
self::$paths[$type][$componentName] = $path;
5252
}
5353
}
5454

0 commit comments

Comments
 (0)