Skip to content

Commit 00e3721

Browse files
author
Natalia Momotenko
committed
Merge remote-tracking branch 'origin/MAGETWO-46054' into PR-2
2 parents dfdaaf9 + 2479154 commit 00e3721

File tree

2 files changed

+39
-9
lines changed
  • app/design/frontend/Magento

2 files changed

+39
-9
lines changed

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

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,31 @@
2121
}
2222
}
2323

24-
.filter-subtitle {
25-
display: none;
24+
.block-subtitle {
25+
display: inline-block;
26+
margin-bottom: @indent__s;
2627
}
27-
28+
29+
.filter-current {
30+
31+
.item {
32+
margin-bottom: @indent__s;
33+
}
34+
35+
.filter-label {
36+
display: block;
37+
font-weight: @font-weight__bold;
38+
39+
&:after {
40+
content: ':';
41+
}
42+
}
43+
44+
+ .filter-actions {
45+
margin-bottom: @indent__l;
46+
}
47+
}
48+
2849
.filter-options-content {
2950
.filter-count-label {
3051
&:extend(.abs-visually-hidden all);

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

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595

9696
&-label {
9797
font-weight: @font-weight__bold;
98+
9899
&:after {
99100
content: ': ';
100101
}
@@ -123,6 +124,7 @@
123124
text-transform: uppercase;
124125
word-break: break-all;
125126
z-index: 1;
127+
126128
.lib-icon-font(
127129
@_icon-font-content: @icon-down,
128130
@_icon-font-size: 13px,
@@ -133,7 +135,7 @@
133135
&:after {
134136
position: absolute;
135137
right: 13px;
136-
top: 9px;
138+
top: 12px;
137139
}
138140

139141
&:hover {
@@ -304,6 +306,7 @@
304306
position: relative;
305307
text-transform: uppercase;
306308
z-index: 1;
309+
307310
.lib-icon-font(
308311
@_icon-font-content: @icon-down,
309312
@_icon-font-size: 13px,
@@ -408,8 +411,8 @@
408411
}
409412

410413
&-subtitle {
411-
position: static;
412414
display: block;
415+
position: static;
413416
}
414417
}
415418

@@ -448,11 +451,15 @@
448451
border: 0;
449452
display: inline-block;
450453
margin-right: @indent__m;
454+
position: relative;
451455

452456
&.active {
453-
position: relative;
454457
z-index: 2;
455458

459+
.filter-options-content {
460+
visibility: visible;
461+
}
462+
456463
&:hover {
457464
z-index: 3;
458465
}
@@ -463,15 +470,14 @@
463470
bottom: -1px;
464471
content: '';
465472
display: block;
466-
left: 50%;
467-
margin-left: -@indent__base;
473+
left: @indent__xs;
468474
position: absolute;
469475
z-index: 3;
470476
}
471477

472478
&:after {
473479
.lib-css(border-bottom-color, @color-white);
474-
margin-top:2px;
480+
margin-top: 2px;
475481
z-index: 4;
476482
}
477483
}
@@ -496,6 +502,7 @@
496502
padding: @indent__xs 0;
497503
position: absolute;
498504
top: 100%;
505+
visibility: hidden;
499506
width: 180px;
500507
z-index: 2;
501508

@@ -537,6 +544,7 @@
537544

538545
.item {
539546
margin-right: @indent__m;
547+
white-space: nowrap;
540548
}
541549

542550
.action.remove {
@@ -546,6 +554,7 @@
546554

547555
&-actions {
548556
display: inline;
557+
white-space: nowrap;
549558

550559
& ~ .filter-options {
551560
margin-top: @indent__m;

0 commit comments

Comments
 (0)